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 # $Id: configure.ac 2353 2010-08-07 16:37:52Z peter $ | |
3 | 2 |
4 # | 3 # |
5 # autoconf setup | 4 # autoconf setup |
6 # | 5 # |
7 AC_PREREQ(2.53) | 6 AC_PREREQ(2.53) |
8 AC_INIT([yasm], [1.1.0], [bug-yasm@tortall.net]) | 7 AC_INIT([yasm], |
| 8 »m4_esyscmd([./YASM-VERSION-GEN.sh && tr -d '\n' <YASM-VERSION-FILE]), |
| 9 [bug-yasm@tortall.net]) |
9 #AC_CONFIG_SRCDIR([src/main.c]) | 10 #AC_CONFIG_SRCDIR([src/main.c]) |
10 AC_CONFIG_AUX_DIR(config) | 11 AC_CONFIG_AUX_DIR(config) |
11 AC_CONFIG_HEADER([config.h]) | 12 AC_CONFIG_HEADER([config.h]) |
12 | 13 |
13 AM_INIT_AUTOMAKE([1.9.6 foreign]) | 14 AM_INIT_AUTOMAKE([1.9.6 foreign]) |
14 AM_MAINTAINER_MODE | 15 AM_MAINTAINER_MODE |
15 | 16 |
16 AC_DEFINE(PACKAGE_INTVER, ["1.1.0"], | |
17 [Define to internal version of this package.]) | |
18 AC_DEFINE(PACKAGE_BUILD, ["2352"], [Define to build version of this package.]) | |
19 | |
20 # | 17 # |
21 # autoconf command-line options | 18 # autoconf command-line options |
22 # | 19 # |
23 AC_ARG_ENABLE(debug, | 20 AC_ARG_ENABLE(debug, |
24 AC_HELP_STRING([--enable-debug], | 21 AC_HELP_STRING([--enable-debug], |
25 [Turn on debugging and compile time warnings]), | 22 [Turn on debugging and compile time warnings]), |
26 [case "${enableval}" in | 23 [case "${enableval}" in |
27 yes) debugging="yes" ;; | 24 yes) debugging="yes" ;; |
28 no) debugging="no" ;; | 25 no) debugging="no" ;; |
29 *) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;; | 26 *) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;; |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 fi | 304 fi |
308 fi | 305 fi |
309 | 306 |
310 AM_CONDITIONAL(HAVE_PYTHON, test x$have_python = xyes) | 307 AM_CONDITIONAL(HAVE_PYTHON, test x$have_python = xyes) |
311 AM_CONDITIONAL(HAVE_PYTHON_BINDINGS, test x$have_python_bindings = xyes) | 308 AM_CONDITIONAL(HAVE_PYTHON_BINDINGS, test x$have_python_bindings = xyes) |
312 | 309 |
313 AC_CONFIG_FILES([Makefile | 310 AC_CONFIG_FILES([Makefile |
314 po/Makefile.in | 311 po/Makefile.in |
315 ]) | 312 ]) |
316 AC_OUTPUT | 313 AC_OUTPUT |
OLD | NEW |