| OLD | NEW |
| 1 dnl Process this with autoconf to create configure | 1 dnl Process this with autoconf to create configure |
| 2 | 2 |
| 3 AC_PREREQ(2.59) | 3 AC_PREREQ(2.64) |
| 4 AC_INIT | 4 AC_INIT |
| 5 AC_CONFIG_SRCDIR([zlib.h]) | 5 AC_CONFIG_SRCDIR([zlib.h]) |
| 6 | 6 |
| 7 AM_ENABLE_MULTILIB(, ..) | 7 AM_ENABLE_MULTILIB(, ..) |
| 8 | 8 |
| 9 AC_CANONICAL_SYSTEM | 9 AC_CANONICAL_SYSTEM |
| 10 | 10 |
| 11 # This works around an automake problem. | 11 # This works around an automake problem. |
| 12 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs" | 12 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs" |
| 13 AC_SUBST(mkinstalldirs) | 13 AC_SUBST(mkinstalldirs) |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 GCC_NO_EXECUTABLES | 47 GCC_NO_EXECUTABLES |
| 48 | 48 |
| 49 # The same as in boehm-gc and libstdc++. Have to borrow it from there. | 49 # The same as in boehm-gc and libstdc++. Have to borrow it from there. |
| 50 # We must force CC to /not/ be precious variables; otherwise | 50 # We must force CC to /not/ be precious variables; otherwise |
| 51 # the wrong, non-multilib-adjusted value will be used in multilibs. | 51 # the wrong, non-multilib-adjusted value will be used in multilibs. |
| 52 # As a side effect, we have to subst CFLAGS ourselves. | 52 # As a side effect, we have to subst CFLAGS ourselves. |
| 53 | 53 |
| 54 m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS]) | 54 m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS]) |
| 55 m4_define([_AC_ARG_VAR_PRECIOUS],[]) | 55 m4_define([_AC_ARG_VAR_PRECIOUS],[]) |
| 56 AC_PROG_CC | 56 AC_PROG_CC |
| 57 m4_rename([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS]) | 57 m4_rename_force([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS]) |
| 58 | 58 |
| 59 AC_SUBST(CFLAGS) | 59 AC_SUBST(CFLAGS) |
| 60 | 60 |
| 61 AC_PROG_LIBTOOL | 61 AC_PROG_LIBTOOL |
| 62 | 62 |
| 63 # Find CPP now so that any conditional tests below won't do it and | 63 # Find CPP now so that any conditional tests below won't do it and |
| 64 # thereby make the resulting definitions conditional. | 64 # thereby make the resulting definitions conditional. |
| 65 AC_PROG_CPP | 65 AC_PROG_CPP |
| 66 | 66 |
| 67 if test -n "$with_cross_host"; then | 67 if test -n "$with_cross_host"; then |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 AM_CONDITIONAL(TARGET_LIBRARY, test -n "$with_target_subdir") | 114 AM_CONDITIONAL(TARGET_LIBRARY, test -n "$with_target_subdir") |
| 115 | 115 |
| 116 if test "${multilib}" = "yes"; then | 116 if test "${multilib}" = "yes"; then |
| 117 multilib_arg="--enable-multilib" | 117 multilib_arg="--enable-multilib" |
| 118 else | 118 else |
| 119 multilib_arg= | 119 multilib_arg= |
| 120 fi | 120 fi |
| 121 | 121 |
| 122 AC_CONFIG_FILES([Makefile]) | 122 AC_CONFIG_FILES([Makefile]) |
| 123 AC_OUTPUT | 123 AC_OUTPUT |
| OLD | NEW |