OLD | NEW |
1 # Process this file with autoconf to produce a configure script. | 1 # Process this file with autoconf to produce a configure script. |
2 | 2 |
3 AC_PREREQ(2.59) | 3 AC_PREREQ(2.59) |
4 | 4 |
5 AC_INIT(libchewing, 0.3.2, chewing-devel@googlegroups.com) | 5 AC_INIT(libchewing, 0.3.2, chewing-devel@googlegroups.com) |
6 AC_CONFIG_AUX_DIR([autotools]) | 6 AC_CONFIG_AUX_DIR([autotools]) |
7 AC_CONFIG_SRCDIR([src/chewingio.c]) | 7 AC_CONFIG_SRCDIR([src/chewingio.c]) |
8 | 8 |
9 AC_SUBST(PACKAGE_VERSION) | 9 AC_SUBST(PACKAGE_VERSION) |
10 | 10 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 # libtool option to control which symbols are exported | 48 # libtool option to control which symbols are exported |
49 # right now, symbols starting with _ are not exported | 49 # right now, symbols starting with _ are not exported |
50 LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[[^_]].*"' | 50 LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[[^_]].*"' |
51 AC_SUBST(LIBTOOL_EXPORT_OPTIONS) | 51 AC_SUBST(LIBTOOL_EXPORT_OPTIONS) |
52 | 52 |
53 # Checks for programs. | 53 # Checks for programs. |
54 AC_PROG_CC | 54 AC_PROG_CC |
55 AC_LANG(C) | 55 AC_LANG(C) |
56 AC_C_CONST | 56 AC_C_CONST |
57 | 57 |
| 58 CC_FOR_BUILD=${CC_FOR_BUILD-${CC}} |
| 59 AC_SUBST(CC_FOR_BUILD) |
| 60 |
58 # Checks if doxygen is avaiable | 61 # Checks if doxygen is avaiable |
59 AC_PATH_PROG(DOXYGEN, doxygen, no) | 62 AC_PATH_PROG(DOXYGEN, doxygen, no) |
60 AM_CONDITIONAL(HAVE_DOXYGEN, test x$DOXYGEN != xno) | 63 AM_CONDITIONAL(HAVE_DOXYGEN, test x$DOXYGEN != xno) |
61 AC_SUBST(DOXYGEN) | 64 AC_SUBST(DOXYGEN) |
62 | 65 |
63 # Checks if graphviz is available | 66 # Checks if graphviz is available |
64 AC_CHECK_PROG(HAVE_GRAPHVIZ, dot, YES, NO) | 67 AC_CHECK_PROG(HAVE_GRAPHVIZ, dot, YES, NO) |
65 AC_PATH_PROG(DOT, dot) | 68 AC_PATH_PROG(DOT, dot) |
66 AC_SUBST(DOT) | 69 AC_SUBST(DOT) |
67 AC_PATH_PROG(PERL, perl) | 70 AC_PATH_PROG(PERL, perl) |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 232 |
230 AC_MSG_RESULT([ | 233 AC_MSG_RESULT([ |
231 Build options: | 234 Build options: |
232 Version $PACKAGE_VERSION | 235 Version $PACKAGE_VERSION |
233 Install prefix $prefix | 236 Install prefix $prefix |
234 Enable debug $LIBDEBUG | 237 Enable debug $LIBDEBUG |
235 Enable binary data $binary_data | 238 Enable binary data $binary_data |
236 Build Unit Test $enable_check | 239 Build Unit Test $enable_check |
237 Build TextUI sample $enable_ncursesw | 240 Build TextUI sample $enable_ncursesw |
238 ]) | 241 ]) |
OLD | NEW |