Mercurial > pidgin
comparison configure.ac @ 21354:fcb848b2d669
merge of '1037fab539d2a95db4fc657f42420566f7e53440'
and 'd1b14e76c499bc5d99b77e71539d5ebb0e14b965'
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 16 Nov 2007 23:32:17 +0000 |
parents | 059d6deebee7 |
children | 6de09629f091 |
comparison
equal
deleted
inserted
replaced
21099:51cf02dbdb0e | 21354:fcb848b2d669 |
---|---|
41 # For code under development: [devel] | 41 # For code under development: [devel] |
42 # For production releases: [] | 42 # For production releases: [] |
43 # | 43 # |
44 # Make sure to update finch/libgnt/configure.ac with libgnt version changes. | 44 # Make sure to update finch/libgnt/configure.ac with libgnt version changes. |
45 # | 45 # |
46 m4_define([purple_lt_current], [2]) | 46 m4_define([purple_lt_current], [3]) |
47 m4_define([purple_major_version], [2]) | 47 m4_define([purple_major_version], [2]) |
48 m4_define([purple_minor_version], [2]) | 48 m4_define([purple_minor_version], [3]) |
49 m4_define([purple_micro_version], [2]) | 49 m4_define([purple_micro_version], [0]) |
50 m4_define([purple_version_suffix], []) | 50 m4_define([purple_version_suffix], []) |
51 m4_define([purple_version], | 51 m4_define([purple_version], |
52 [purple_major_version.purple_minor_version.purple_micro_version]) | 52 [purple_major_version.purple_minor_version.purple_micro_version]) |
53 m4_define([purple_display_version], purple_version[]m4_ifdef([purple_version_suffix],[purple_version_suffix])) | 53 m4_define([purple_display_version], purple_version[]m4_ifdef([purple_version_suffix],[purple_version_suffix])) |
54 | 54 |
140 AM_GLIB_GNU_GETTEXT | 140 AM_GLIB_GNU_GETTEXT |
141 | 141 |
142 dnl If we don't have msgfmt, then po/ is going to fail -- ensure that | 142 dnl If we don't have msgfmt, then po/ is going to fail -- ensure that |
143 dnl AM_GLIB_GNU_GETTEXT found it. | 143 dnl AM_GLIB_GNU_GETTEXT found it. |
144 | 144 |
145 if test x$MSGFMT = xno | 145 if test x$MSGFMT = xno -o x$MSGFMT$GMSGFMT = x |
146 then | 146 then |
147 AC_ERROR([ | 147 AC_ERROR([ |
148 | 148 |
149 The msgfmt command is required to build libpurple. If it is installed | 149 The msgfmt command is required to build libpurple. If it is installed |
150 on your system, ensure that it is in your path. If it is not, install | 150 on your system, ensure that it is in your path. If it is not, install |
151 GNU gettext to continue. | 151 GNU gettext to continue. |
152 | |
153 If you have msgfmt installed, but for some reason this error message | |
154 is still displayed, you have encountered what appears to be a bug in | |
155 third-party configure macros. Try setting the MSGFMT environment | |
156 variable to the absolute path to your msgfmt binary and trying | |
157 configure again, like this: | |
158 | |
159 MSGFMT=/path/to/msgfmt ./configure ... | |
152 ]) | 160 ]) |
153 fi | 161 fi |
154 | 162 |
155 dnl we don't use autobreak on cygwin!! | 163 dnl we don't use autobreak on cygwin!! |
156 dnl AC_CYGWIN | 164 dnl AC_CYGWIN |
2091 enable_doxygen="$enableval", enable_doxygen="yes") | 2099 enable_doxygen="$enableval", enable_doxygen="yes") |
2092 AC_ARG_ENABLE(dot, | 2100 AC_ARG_ENABLE(dot, |
2093 [AC_HELP_STRING([--enable-dot], | 2101 [AC_HELP_STRING([--enable-dot], |
2094 [enable graphs in doxygen via 'dot'])], | 2102 [enable graphs in doxygen via 'dot'])], |
2095 enable_dot="$enableval", enable_dot="yes") | 2103 enable_dot="$enableval", enable_dot="yes") |
2104 AC_ARG_ENABLE(devhelp, | |
2105 [AC_HELP_STRING([--enable-devhelp], | |
2106 [enable building index for devhelp documentation browser])], | |
2107 enable_devhelp="$enableval", enable_devhelp="yes") | |
2096 | 2108 |
2097 if test "x$enable_doxygen" = xyes; then | 2109 if test "x$enable_doxygen" = xyes; then |
2098 AC_CHECK_PROG(DOXYGEN, doxygen, true, false) | 2110 AC_CHECK_PROG(DOXYGEN, doxygen, true, false) |
2099 if test $DOXYGEN = false; then | 2111 if test $DOXYGEN = false; then |
2100 AC_MSG_WARN([*** Doxygen not found, docs will not be available]) | 2112 AC_MSG_WARN([*** Doxygen not found, docs will not be available]) |
2110 AC_MSG_WARN([*** GraphViz dot not found, docs will not have graphs]) | 2122 AC_MSG_WARN([*** GraphViz dot not found, docs will not have graphs]) |
2111 else | 2123 else |
2112 AC_DEFINE_UNQUOTED(HAVE_DOT, 1, [whether or not we have dot]) | 2124 AC_DEFINE_UNQUOTED(HAVE_DOT, 1, [whether or not we have dot]) |
2113 fi | 2125 fi |
2114 fi | 2126 fi |
2127 | |
2128 if test "x$enable_devhelp" = "xyes"; then | |
2129 AC_CHECK_PROG(XSLTPROC, xsltproc, true, false) | |
2130 | |
2131 if test $XSLTPROC = false; then | |
2132 enable_devhelp="no"; | |
2133 AC_MSG_WARN([*** xsltproc not found; devhelp index will not be created]) | |
2134 else | |
2135 AC_DEFINE_UNQUOTED(HAVE_XSLTPROC, 1, [whether or not we have xsltproc for devhelp index]) | |
2136 fi | |
2137 fi | |
2115 fi | 2138 fi |
2116 else | 2139 else |
2117 enable_dot="no" | 2140 enable_dot="no" |
2141 enable_devhelp="no" | |
2118 fi | 2142 fi |
2119 | 2143 |
2120 AC_SUBST(enable_doxygen) | 2144 AC_SUBST(enable_doxygen) |
2121 AC_SUBST(enable_dot) | 2145 AC_SUBST(enable_dot) |
2146 AC_SUBST(enable_devhelp) | |
2122 AM_CONDITIONAL(HAVE_DOXYGEN, test "x$enable_doxygen" = "xyes") | 2147 AM_CONDITIONAL(HAVE_DOXYGEN, test "x$enable_doxygen" = "xyes") |
2148 AM_CONDITIONAL(HAVE_XSLTPROC, test "x$enable_devhelp" = "xyes") | |
2123 | 2149 |
2124 AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], | 2150 AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], |
2125 [compile with debugging support])], , enable_debug=no) | 2151 [compile with debugging support])], , enable_debug=no) |
2126 | 2152 |
2127 if test "x$enable_debug" = "xyes" ; then | 2153 if test "x$enable_debug" = "xyes" ; then |