1 | #! /bin/sh |
1 | #! /bin/sh |
2 | # From configure.ac Id: configure.ac. |
|
|
3 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Guess values for system-dependent variables and create Makefiles. |
4 | # Generated by GNU Autoconf 2.59 for crossfire 1.8.0. |
3 | # Generated by GNU Autoconf 2.59 for crossfire 1.9.0. |
5 | # |
4 | # |
6 | # Report bugs to <crossfire-devel@listserv.real-time.com>. |
5 | # Report bugs to <crossfire-devel@listserv.real-time.com>. |
7 | # |
6 | # |
8 | # Copyright (C) 2003 Free Software Foundation, Inc. |
7 | # Copyright (C) 2003 Free Software Foundation, Inc. |
9 | # This configure script is free software; the Free Software Foundation |
8 | # This configure script is free software; the Free Software Foundation |
… | |
… | |
418 | : ${ac_max_here_lines=38} |
417 | : ${ac_max_here_lines=38} |
419 | |
418 | |
420 | # Identity of this package. |
419 | # Identity of this package. |
421 | PACKAGE_NAME='crossfire' |
420 | PACKAGE_NAME='crossfire' |
422 | PACKAGE_TARNAME='crossfire' |
421 | PACKAGE_TARNAME='crossfire' |
423 | PACKAGE_VERSION='1.8.0' |
422 | PACKAGE_VERSION='1.9.0' |
424 | PACKAGE_STRING='crossfire 1.8.0' |
423 | PACKAGE_STRING='crossfire 1.9.0' |
425 | PACKAGE_BUGREPORT='crossfire-devel@listserv.real-time.com' |
424 | PACKAGE_BUGREPORT='crossfire-devel@listserv.real-time.com' |
426 | |
425 | |
427 | ac_unique_file="server/main.c" |
426 | ac_unique_file="server/main.c" |
428 | ac_default_prefix=/usr/games/crossfire |
427 | ac_default_prefix=/usr/games/crossfire |
429 | # Factoring default headers for most tests. |
428 | # Factoring default headers for most tests. |
… | |
… | |
461 | #endif |
460 | #endif |
462 | #if HAVE_UNISTD_H |
461 | #if HAVE_UNISTD_H |
463 | # include <unistd.h> |
462 | # include <unistd.h> |
464 | #endif" |
463 | #endif" |
465 | |
464 | |
466 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE SED EGREP LD NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB ECHO CPP LEX LEXLIB LEX_OUTPUT_ROOT LATEX GZIP GUNZIP TAR PERL BASENAME COMPRESS UNCOMPRESS BZIP BUNZIP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LIBOBJS x_includes x_libraries no_x HAVE_X_TRUE HAVE_X_FALSE X11LIBS pkgstatedir pkgconfdir PERLLIB PERLFLAGS PERLPRIVLIBEXP PERL_PLUGIN_TRUE PERL_PLUGIN_FALSE PERL_PLUGIN HAVE_LIBDL_TRUE HAVE_LIBDL_FALSE PYTHON_LIB PY_LIBS PY_INCLUDES PYTHON_PLUGIN_TRUE PYTHON_PLUGIN_FALSE PLUGIN_PYTHON LTLIBOBJS' |
465 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE SED EGREP LD NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB ECHO CPP LEX LEXLIB LEX_OUTPUT_ROOT LATEX GZIP GUNZIP TAR PERL BASENAME COMPRESS UNCOMPRESS BZIP BUNZIP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LIBOBJS x_includes x_libraries no_x HAVE_X_TRUE HAVE_X_FALSE X11LIBS pkgstatedir pkgconfdir PERLLIB PERLFLAGS PERLPRIVLIBEXP PERL_PLUGIN_TRUE PERL_PLUGIN_FALSE PERL_PLUGIN HAVE_LIBDL_TRUE HAVE_LIBDL_FALSE PYTHON_LIB PY_LIBS PY_INCLUDES PYTHON_PLUGIN_TRUE PYTHON_PLUGIN_FALSE PLUGIN_PYTHON CROSSEDIT LTLIBOBJS' |
467 | ac_subst_files='' |
466 | ac_subst_files='' |
468 | |
467 | |
469 | # Initialize some variables set by options. |
468 | # Initialize some variables set by options. |
470 | ac_init_help= |
469 | ac_init_help= |
471 | ac_init_version=false |
470 | ac_init_version=false |
… | |
… | |
930 | # |
929 | # |
931 | if test "$ac_init_help" = "long"; then |
930 | if test "$ac_init_help" = "long"; then |
932 | # Omit some internal or obsolete options to make the list less imposing. |
931 | # Omit some internal or obsolete options to make the list less imposing. |
933 | # This message is too long to be a string in the A/UX 3.1 sh. |
932 | # This message is too long to be a string in the A/UX 3.1 sh. |
934 | cat <<_ACEOF |
933 | cat <<_ACEOF |
935 | \`configure' configures crossfire 1.8.0 to adapt to many kinds of systems. |
934 | \`configure' configures crossfire 1.9.0 to adapt to many kinds of systems. |
936 | |
935 | |
937 | Usage: $0 [OPTION]... [VAR=VALUE]... |
936 | Usage: $0 [OPTION]... [VAR=VALUE]... |
938 | |
937 | |
939 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
938 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
940 | VAR=VALUE. See below for descriptions of some of the useful variables. |
939 | VAR=VALUE. See below for descriptions of some of the useful variables. |
… | |
… | |
1000 | _ACEOF |
999 | _ACEOF |
1001 | fi |
1000 | fi |
1002 | |
1001 | |
1003 | if test -n "$ac_init_help"; then |
1002 | if test -n "$ac_init_help"; then |
1004 | case $ac_init_help in |
1003 | case $ac_init_help in |
1005 | short | recursive ) echo "Configuration of crossfire 1.8.0:";; |
1004 | short | recursive ) echo "Configuration of crossfire 1.9.0:";; |
1006 | esac |
1005 | esac |
1007 | cat <<\_ACEOF |
1006 | cat <<\_ACEOF |
1008 | |
1007 | |
1009 | Optional Features: |
1008 | Optional Features: |
1010 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1009 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1011 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1010 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1012 | --enable-maintainer-mode enable make rules and dependencies not useful |
1011 | --enable-maintainer-mode enable make rules and dependencies not useful |
1013 | (and sometimes confusing) to the casual installer |
1012 | (and sometimes confusing) to the casual installer |
1014 | --enable-shared[=PKGS] |
1013 | --enable-shared[=PKGS] |
1015 | build shared libraries [default=yes] |
1014 | build shared libraries [default=yes] |
1016 | --enable-static[=PKGS] |
1015 | --enable-static[=PKGS] |
1017 | build static libraries [default=yes] |
1016 | build static libraries [default=yes] |
1018 | --enable-fast-install[=PKGS] |
1017 | --enable-fast-install[=PKGS] |
1019 | optimize for fast installation [default=yes] |
1018 | optimize for fast installation [default=yes] |
1020 | --disable-dependency-tracking speeds up one-time build |
1019 | --disable-dependency-tracking Speeds up one-time builds |
1021 | --enable-dependency-tracking do not reject slow dependency extractors |
1020 | --enable-dependency-tracking Do not reject slow dependency extractors |
1022 | --disable-libtool-lock avoid locking (might break parallel builds) |
1021 | --disable-libtool-lock avoid locking (might break parallel builds) |
1023 | --enable-dmalloc Use the dmalloc library if available, may prevent plugins from working |
1022 | --enable-dmalloc Use the dmalloc library if available, may prevent plugins from working |
1024 | |
1023 | |
1025 | Optional Packages: |
1024 | Optional Packages: |
1026 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1025 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
… | |
… | |
1137 | fi |
1136 | fi |
1138 | |
1137 | |
1139 | test -n "$ac_init_help" && exit 0 |
1138 | test -n "$ac_init_help" && exit 0 |
1140 | if $ac_init_version; then |
1139 | if $ac_init_version; then |
1141 | cat <<\_ACEOF |
1140 | cat <<\_ACEOF |
1142 | crossfire configure 1.8.0 |
1141 | crossfire configure 1.9.0 |
1143 | generated by GNU Autoconf 2.59 |
1142 | generated by GNU Autoconf 2.59 |
1144 | |
1143 | |
1145 | Copyright (C) 2003 Free Software Foundation, Inc. |
1144 | Copyright (C) 2003 Free Software Foundation, Inc. |
1146 | This configure script is free software; the Free Software Foundation |
1145 | This configure script is free software; the Free Software Foundation |
1147 | gives unlimited permission to copy, distribute and modify it. |
1146 | gives unlimited permission to copy, distribute and modify it. |
… | |
… | |
1151 | exec 5>config.log |
1150 | exec 5>config.log |
1152 | cat >&5 <<_ACEOF |
1151 | cat >&5 <<_ACEOF |
1153 | This file contains any messages produced by compilers while |
1152 | This file contains any messages produced by compilers while |
1154 | running configure, to aid debugging if configure makes a mistake. |
1153 | running configure, to aid debugging if configure makes a mistake. |
1155 | |
1154 | |
1156 | It was created by crossfire $as_me 1.8.0, which was |
1155 | It was created by crossfire $as_me 1.9.0, which was |
1157 | generated by GNU Autoconf 2.59. Invocation command line was |
1156 | generated by GNU Autoconf 2.59. Invocation command line was |
1158 | |
1157 | |
1159 | $ $0 $@ |
1158 | $ $0 $@ |
1160 | |
1159 | |
1161 | _ACEOF |
1160 | _ACEOF |
… | |
… | |
1513 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1512 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1514 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1513 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1515 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1514 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1516 | |
1515 | |
1517 | |
1516 | |
1518 | am__api_version="1.9" |
1517 | am__api_version="1.7" |
1519 | # Find a good install program. We prefer a C program (faster), |
1518 | # Find a good install program. We prefer a C program (faster), |
1520 | # so one script is as good as another. But avoid the broken or |
1519 | # so one script is as good as another. But avoid the broken or |
1521 | # incompatible versions: |
1520 | # incompatible versions: |
1522 | # SysV /etc/install, /usr/sbin/install |
1521 | # SysV /etc/install, /usr/sbin/install |
1523 | # SunOS /usr/etc/install |
1522 | # SunOS /usr/etc/install |
… | |
… | |
1651 | s/[\\$]/&&/g;s/;s,x,x,$// |
1650 | s/[\\$]/&&/g;s/;s,x,x,$// |
1652 | _ACEOF |
1651 | _ACEOF |
1653 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
1652 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
1654 | rm conftest.sed |
1653 | rm conftest.sed |
1655 | |
1654 | |
|
|
1655 | |
1656 | # expand $ac_aux_dir to an absolute path |
1656 | # expand $ac_aux_dir to an absolute path |
1657 | am_aux_dir=`cd $ac_aux_dir && pwd` |
1657 | am_aux_dir=`cd $ac_aux_dir && pwd` |
1658 | |
1658 | |
1659 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
1659 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
1660 | # Use eval to expand $SHELL |
1660 | # Use eval to expand $SHELL |
… | |
… | |
1662 | am_missing_run="$MISSING --run " |
1662 | am_missing_run="$MISSING --run " |
1663 | else |
1663 | else |
1664 | am_missing_run= |
1664 | am_missing_run= |
1665 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
1665 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
1666 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
1666 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
1667 | fi |
|
|
1668 | |
|
|
1669 | if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
|
|
1670 | # We used to keeping the `.' as first argument, in order to |
|
|
1671 | # allow $(mkdir_p) to be used without argument. As in |
|
|
1672 | # $(mkdir_p) $(somedir) |
|
|
1673 | # where $(somedir) is conditionally defined. However this is wrong |
|
|
1674 | # for two reasons: |
|
|
1675 | # 1. if the package is installed by a user who cannot write `.' |
|
|
1676 | # make install will fail, |
|
|
1677 | # 2. the above comment should most certainly read |
|
|
1678 | # $(mkdir_p) $(DESTDIR)$(somedir) |
|
|
1679 | # so it does not work when $(somedir) is undefined and |
|
|
1680 | # $(DESTDIR) is not. |
|
|
1681 | # To support the latter case, we have to write |
|
|
1682 | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), |
|
|
1683 | # so the `.' trick is pointless. |
|
|
1684 | mkdir_p='mkdir -p --' |
|
|
1685 | else |
|
|
1686 | # On NextStep and OpenStep, the `mkdir' command does not |
|
|
1687 | # recognize any option. It will interpret all options as |
|
|
1688 | # directories to create, and then abort because `.' already |
|
|
1689 | # exists. |
|
|
1690 | for d in ./-p ./--version; |
|
|
1691 | do |
|
|
1692 | test -d $d && rmdir $d |
|
|
1693 | done |
|
|
1694 | # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. |
|
|
1695 | if test -f "$ac_aux_dir/mkinstalldirs"; then |
|
|
1696 | mkdir_p='$(mkinstalldirs)' |
|
|
1697 | else |
|
|
1698 | mkdir_p='$(install_sh) -d' |
|
|
1699 | fi |
|
|
1700 | fi |
1667 | fi |
1701 | |
1668 | |
1702 | for ac_prog in gawk mawk nawk awk |
1669 | for ac_prog in gawk mawk nawk awk |
1703 | do |
1670 | do |
1704 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
1671 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
… | |
… | |
1775 | else |
1742 | else |
1776 | am__leading_dot=_ |
1743 | am__leading_dot=_ |
1777 | fi |
1744 | fi |
1778 | rmdir .tst 2>/dev/null |
1745 | rmdir .tst 2>/dev/null |
1779 | |
1746 | |
1780 | # test to see if srcdir already configured |
1747 | # test to see if srcdir already configured |
1781 | if test "`cd $srcdir && pwd`" != "`pwd`" && |
1748 | if test "`cd $srcdir && pwd`" != "`pwd`" && |
1782 | test -f $srcdir/config.status; then |
1749 | test -f $srcdir/config.status; then |
1783 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
1750 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
1784 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
1751 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
1785 | { (exit 1); exit 1; }; } |
1752 | { (exit 1); exit 1; }; } |
… | |
… | |
1795 | fi |
1762 | fi |
1796 | |
1763 | |
1797 | |
1764 | |
1798 | # Define the identity of the package. |
1765 | # Define the identity of the package. |
1799 | PACKAGE='crossfire' |
1766 | PACKAGE='crossfire' |
1800 | VERSION='1.8.0' |
1767 | VERSION='1.9.0' |
1801 | |
1768 | |
1802 | |
1769 | |
1803 | cat >>confdefs.h <<_ACEOF |
1770 | cat >>confdefs.h <<_ACEOF |
1804 | #define PACKAGE "$PACKAGE" |
1771 | #define PACKAGE "$PACKAGE" |
1805 | _ACEOF |
1772 | _ACEOF |
… | |
… | |
1822 | |
1789 | |
1823 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
1790 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
1824 | |
1791 | |
1825 | |
1792 | |
1826 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
1793 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
|
1794 | |
|
|
1795 | |
|
|
1796 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
1827 | |
1797 | |
1828 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
1798 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
1829 | |
1799 | |
1830 | # Installed binaries are usually stripped using `strip' when the user |
1800 | # Installed binaries are usually stripped using `strip' when the user |
1831 | # run `make install-strip'. However `strip' might not be the right |
1801 | # run `make install-strip'. However `strip' might not be the right |
… | |
… | |
1915 | fi |
1885 | fi |
1916 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
1886 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
1917 | |
1887 | |
1918 | # We need awk for the "check" target. The system "awk" is bad on |
1888 | # We need awk for the "check" target. The system "awk" is bad on |
1919 | # some platforms. |
1889 | # some platforms. |
1920 | # Always define AMTAR for backward compatibility. |
|
|
1921 | |
|
|
1922 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
|
1923 | |
|
|
1924 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
|
|
1925 | |
|
|
1926 | |
|
|
1927 | |
1890 | |
1928 | |
1891 | |
1929 | |
1892 | |
1930 | ac_config_headers="$ac_config_headers include/autoconf.h" |
1893 | ac_config_headers="$ac_config_headers include/autoconf.h" |
1931 | |
1894 | |
… | |
… | |
3062 | # overwrite some of them when testing with obscure command lines. |
3025 | # overwrite some of them when testing with obscure command lines. |
3063 | # This happens at least with the AIX C compiler. |
3026 | # This happens at least with the AIX C compiler. |
3064 | : > sub/conftest.c |
3027 | : > sub/conftest.c |
3065 | for i in 1 2 3 4 5 6; do |
3028 | for i in 1 2 3 4 5 6; do |
3066 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3029 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3067 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
|
3068 | # Solaris 8's {/usr,}/bin/sh. |
|
|
3069 | touch sub/conftst$i.h |
3030 | : > sub/conftst$i.h |
3070 | done |
3031 | done |
3071 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3032 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3072 | |
3033 | |
3073 | case $depmode in |
3034 | case $depmode in |
3074 | nosideeffect) |
3035 | nosideeffect) |
… | |
… | |
3092 | >/dev/null 2>conftest.err && |
3053 | >/dev/null 2>conftest.err && |
3093 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
3054 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
3094 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
3055 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
3095 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3056 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3096 | # icc doesn't choke on unknown options, it will just issue warnings |
3057 | # icc doesn't choke on unknown options, it will just issue warnings |
3097 | # or remarks (even with -Werror). So we grep stderr for any message |
3058 | # (even with -Werror). So we grep stderr for any message |
3098 | # that says an option was ignored or not supported. |
3059 | # that says an option was ignored. |
3099 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
|
3100 | # icc: Command line warning: ignoring option '-M'; no argument required |
|
|
3101 | # The diagnosis changed in icc 8.0: |
|
|
3102 | # icc: Command line remark: option '-MP' not supported |
|
|
3103 | if (grep 'ignoring option' conftest.err || |
|
|
3104 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
3060 | if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
3105 | am_cv_CC_dependencies_compiler_type=$depmode |
3061 | am_cv_CC_dependencies_compiler_type=$depmode |
3106 | break |
3062 | break |
3107 | fi |
3063 | fi |
3108 | fi |
3064 | fi |
3109 | done |
3065 | done |
… | |
… | |
4291 | fi |
4247 | fi |
4292 | rm -rf conftest* |
4248 | rm -rf conftest* |
4293 | ;; |
4249 | ;; |
4294 | *-*-irix6*) |
4250 | *-*-irix6*) |
4295 | # Find out which ABI we are using. |
4251 | # Find out which ABI we are using. |
4296 | echo '#line 4296 "configure"' > conftest.$ac_ext |
4252 | echo '#line 4252 "configure"' > conftest.$ac_ext |
4297 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4253 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4298 | (eval $ac_compile) 2>&5 |
4254 | (eval $ac_compile) 2>&5 |
4299 | ac_status=$? |
4255 | ac_status=$? |
4300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4256 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4301 | (exit $ac_status); }; then |
4257 | (exit $ac_status); }; then |
… | |
… | |
5434 | lt_cv_prog_cc_can_build_shared=no |
5390 | lt_cv_prog_cc_can_build_shared=no |
5435 | fi |
5391 | fi |
5436 | fi |
5392 | fi |
5437 | |
5393 | |
5438 | |
5394 | |
5439 | ## CAVEAT EMPTOR: |
|
|
5440 | ## There is no encapsulation within the following macros, do not change |
|
|
5441 | ## the running order or otherwise move them around unless you know exactly |
|
|
5442 | ## what you are doing... |
|
|
5443 | if test -n "$compiler"; then |
5395 | if test -n "$compiler"; then |
5444 | |
5396 | |
5445 | lt_prog_compiler_no_builtin_flag= |
5397 | lt_prog_compiler_no_builtin_flag= |
5446 | |
5398 | |
5447 | if test "$GCC" = yes; then |
5399 | if test "$GCC" = yes; then |
… | |
… | |
5463 | # The option is referenced via a variable to avoid confusing sed. |
5415 | # The option is referenced via a variable to avoid confusing sed. |
5464 | lt_compile=`echo "$ac_compile" | $SED \ |
5416 | lt_compile=`echo "$ac_compile" | $SED \ |
5465 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
5417 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
5466 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
5418 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
5467 | -e 's:$: $lt_compiler_flag:'` |
5419 | -e 's:$: $lt_compiler_flag:'` |
5468 | (eval echo "\"\$as_me:5468: $lt_compile\"" >&5) |
5420 | (eval echo "\"\$as_me:5420: $lt_compile\"" >&5) |
5469 | (eval "$lt_compile" 2>conftest.err) |
5421 | (eval "$lt_compile" 2>conftest.err) |
5470 | ac_status=$? |
5422 | ac_status=$? |
5471 | cat conftest.err >&5 |
5423 | cat conftest.err >&5 |
5472 | echo "$as_me:5472: \$? = $ac_status" >&5 |
5424 | echo "$as_me:5424: \$? = $ac_status" >&5 |
5473 | if (exit $ac_status) && test -s "$ac_outfile"; then |
5425 | if (exit $ac_status) && test -s "$ac_outfile"; then |
5474 | # The compiler can only warn and ignore the option if not recognized |
5426 | # The compiler can only warn and ignore the option if not recognized |
5475 | # So say no if there are warnings |
5427 | # So say no if there are warnings |
5476 | if test ! -s conftest.err; then |
5428 | if test ! -s conftest.err; then |
5477 | lt_cv_prog_compiler_rtti_exceptions=yes |
5429 | lt_cv_prog_compiler_rtti_exceptions=yes |
… | |
… | |
5726 | # The option is referenced via a variable to avoid confusing sed. |
5678 | # The option is referenced via a variable to avoid confusing sed. |
5727 | lt_compile=`echo "$ac_compile" | $SED \ |
5679 | lt_compile=`echo "$ac_compile" | $SED \ |
5728 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
5680 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
5729 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
5681 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
5730 | -e 's:$: $lt_compiler_flag:'` |
5682 | -e 's:$: $lt_compiler_flag:'` |
5731 | (eval echo "\"\$as_me:5731: $lt_compile\"" >&5) |
5683 | (eval echo "\"\$as_me:5683: $lt_compile\"" >&5) |
5732 | (eval "$lt_compile" 2>conftest.err) |
5684 | (eval "$lt_compile" 2>conftest.err) |
5733 | ac_status=$? |
5685 | ac_status=$? |
5734 | cat conftest.err >&5 |
5686 | cat conftest.err >&5 |
5735 | echo "$as_me:5735: \$? = $ac_status" >&5 |
5687 | echo "$as_me:5687: \$? = $ac_status" >&5 |
5736 | if (exit $ac_status) && test -s "$ac_outfile"; then |
5688 | if (exit $ac_status) && test -s "$ac_outfile"; then |
5737 | # The compiler can only warn and ignore the option if not recognized |
5689 | # The compiler can only warn and ignore the option if not recognized |
5738 | # So say no if there are warnings |
5690 | # So say no if there are warnings |
5739 | if test ! -s conftest.err; then |
5691 | if test ! -s conftest.err; then |
5740 | lt_prog_compiler_pic_works=yes |
5692 | lt_prog_compiler_pic_works=yes |
… | |
… | |
5823 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
5775 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
5824 | lt_compile=`echo "$ac_compile" | $SED \ |
5776 | lt_compile=`echo "$ac_compile" | $SED \ |
5825 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
5777 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
5826 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
5778 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
5827 | -e 's:$: $lt_compiler_flag:'` |
5779 | -e 's:$: $lt_compiler_flag:'` |
5828 | (eval echo "\"\$as_me:5828: $lt_compile\"" >&5) |
5780 | (eval echo "\"\$as_me:5780: $lt_compile\"" >&5) |
5829 | (eval "$lt_compile" 2>out/conftest.err) |
5781 | (eval "$lt_compile" 2>out/conftest.err) |
5830 | ac_status=$? |
5782 | ac_status=$? |
5831 | cat out/conftest.err >&5 |
5783 | cat out/conftest.err >&5 |
5832 | echo "$as_me:5832: \$? = $ac_status" >&5 |
5784 | echo "$as_me:5784: \$? = $ac_status" >&5 |
5833 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
5785 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
5834 | then |
5786 | then |
5835 | # The compiler can only warn and ignore the option if not recognized |
5787 | # The compiler can only warn and ignore the option if not recognized |
5836 | # So say no if there are warnings |
5788 | # So say no if there are warnings |
5837 | if test ! -s out/conftest.err; then |
5789 | if test ! -s out/conftest.err; then |
… | |
… | |
8271 | lt_cv_dlopen_self=cross |
8223 | lt_cv_dlopen_self=cross |
8272 | else |
8224 | else |
8273 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8225 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8274 | lt_status=$lt_dlunknown |
8226 | lt_status=$lt_dlunknown |
8275 | cat > conftest.$ac_ext <<_LT_EOF |
8227 | cat > conftest.$ac_ext <<_LT_EOF |
8276 | #line 8276 "configure" |
8228 | #line 8228 "configure" |
8277 | #include "confdefs.h" |
8229 | #include "confdefs.h" |
8278 | |
8230 | |
8279 | #if HAVE_DLFCN_H |
8231 | #if HAVE_DLFCN_H |
8280 | #include <dlfcn.h> |
8232 | #include <dlfcn.h> |
8281 | #endif |
8233 | #endif |
… | |
… | |
8369 | lt_cv_dlopen_self_static=cross |
8321 | lt_cv_dlopen_self_static=cross |
8370 | else |
8322 | else |
8371 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8323 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8372 | lt_status=$lt_dlunknown |
8324 | lt_status=$lt_dlunknown |
8373 | cat > conftest.$ac_ext <<_LT_EOF |
8325 | cat > conftest.$ac_ext <<_LT_EOF |
8374 | #line 8374 "configure" |
8326 | #line 8326 "configure" |
8375 | #include "confdefs.h" |
8327 | #include "confdefs.h" |
8376 | |
8328 | |
8377 | #if HAVE_DLFCN_H |
8329 | #if HAVE_DLFCN_H |
8378 | #include <dlfcn.h> |
8330 | #include <dlfcn.h> |
8379 | #endif |
8331 | #endif |
… | |
… | |
9319 | # overwrite some of them when testing with obscure command lines. |
9271 | # overwrite some of them when testing with obscure command lines. |
9320 | # This happens at least with the AIX C compiler. |
9272 | # This happens at least with the AIX C compiler. |
9321 | : > sub/conftest.c |
9273 | : > sub/conftest.c |
9322 | for i in 1 2 3 4 5 6; do |
9274 | for i in 1 2 3 4 5 6; do |
9323 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
9275 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
9324 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
|
9325 | # Solaris 8's {/usr,}/bin/sh. |
|
|
9326 | touch sub/conftst$i.h |
9276 | : > sub/conftst$i.h |
9327 | done |
9277 | done |
9328 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
9278 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
9329 | |
9279 | |
9330 | case $depmode in |
9280 | case $depmode in |
9331 | nosideeffect) |
9281 | nosideeffect) |
… | |
… | |
9349 | >/dev/null 2>conftest.err && |
9299 | >/dev/null 2>conftest.err && |
9350 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
9300 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
9351 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
9301 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
9352 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
9302 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
9353 | # icc doesn't choke on unknown options, it will just issue warnings |
9303 | # icc doesn't choke on unknown options, it will just issue warnings |
9354 | # or remarks (even with -Werror). So we grep stderr for any message |
9304 | # (even with -Werror). So we grep stderr for any message |
9355 | # that says an option was ignored or not supported. |
9305 | # that says an option was ignored. |
9356 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
|
9357 | # icc: Command line warning: ignoring option '-M'; no argument required |
|
|
9358 | # The diagnosis changed in icc 8.0: |
|
|
9359 | # icc: Command line remark: option '-MP' not supported |
|
|
9360 | if (grep 'ignoring option' conftest.err || |
|
|
9361 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
9306 | if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
9362 | am_cv_CC_dependencies_compiler_type=$depmode |
9307 | am_cv_CC_dependencies_compiler_type=$depmode |
9363 | break |
9308 | break |
9364 | fi |
9309 | fi |
9365 | fi |
9310 | fi |
9366 | done |
9311 | done |
… | |
… | |
15889 | cat >>confdefs.h <<_ACEOF |
15834 | cat >>confdefs.h <<_ACEOF |
15890 | #define BUNZIP "${BUNZIP}" |
15835 | #define BUNZIP "${BUNZIP}" |
15891 | _ACEOF |
15836 | _ACEOF |
15892 | |
15837 | |
15893 | |
15838 | |
15894 | if true; then |
|
|
15895 | # Extract the first word of "perl5", so it can be a program name with args. |
15839 | # Extract the first word of "perl5", so it can be a program name with args. |
15896 | set dummy perl5; ac_word=$2 |
15840 | set dummy perl5; ac_word=$2 |
15897 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
15841 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
15898 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
15842 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
15899 | if test "${ac_cv_path_PERL+set}" = set; then |
15843 | if test "${ac_cv_path_PERL+set}" = set; then |
15900 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15844 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
15929 | else |
15873 | else |
15930 | echo "$as_me:$LINENO: result: no" >&5 |
15874 | echo "$as_me:$LINENO: result: no" >&5 |
15931 | echo "${ECHO_T}no" >&6 |
15875 | echo "${ECHO_T}no" >&6 |
15932 | fi |
15876 | fi |
15933 | |
15877 | |
15934 | # Extract the first word of "perl", so it can be a program name with args. |
15878 | # Extract the first word of "perl", so it can be a program name with args. |
15935 | set dummy perl; ac_word=$2 |
15879 | set dummy perl; ac_word=$2 |
15936 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
15880 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
15937 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
15881 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
15938 | if test "${ac_cv_path_PERL+set}" = set; then |
15882 | if test "${ac_cv_path_PERL+set}" = set; then |
15939 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15883 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
15969 | echo "$as_me:$LINENO: result: no" >&5 |
15913 | echo "$as_me:$LINENO: result: no" >&5 |
15970 | echo "${ECHO_T}no" >&6 |
15914 | echo "${ECHO_T}no" >&6 |
15971 | fi |
15915 | fi |
15972 | |
15916 | |
15973 | |
15917 | |
15974 | echo "$as_me:$LINENO: checking for $PERL suitability" >&5 |
15918 | echo "$as_me:$LINENO: checking for $PERL suitability" >&5 |
15975 | echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6 |
15919 | echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6 |
15976 | if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then |
15920 | if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then |
15977 | |
15921 | |
15978 | save_CFLAGS="$CFLAGS" |
15922 | save_CFLAGS="$CFLAGS" |
15979 | save_LIBS="$LIBS" |
15923 | save_LIBS="$LIBS" |
15980 | CFLAGS="$CFLAGS `$PERL -MExtUtils::Embed -e ccopts`" |
15924 | CFLAGS="$CFLAGS `$PERL -MExtUtils::Embed -e ccopts`" |
15981 | LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" |
15925 | LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" |
15982 | cat >conftest.$ac_ext <<_ACEOF |
15926 | cat >conftest.$ac_ext <<_ACEOF |
15983 | /* confdefs.h. */ |
15927 | /* confdefs.h. */ |
15984 | _ACEOF |
15928 | _ACEOF |
15985 | cat confdefs.h >>conftest.$ac_ext |
15929 | cat confdefs.h >>conftest.$ac_ext |
15986 | cat >>conftest.$ac_ext <<_ACEOF |
15930 | cat >>conftest.$ac_ext <<_ACEOF |
15987 | /* end confdefs.h. */ |
15931 | /* end confdefs.h. */ |
… | |
… | |
15992 | |
15936 | |
15993 | int |
15937 | int |
15994 | main () |
15938 | main () |
15995 | { |
15939 | { |
15996 | |
15940 | |
15997 | PerlInterpreter *perl = perl_alloc (); |
15941 | PerlInterpreter *perl = perl_alloc (); |
15998 | |
15942 | |
15999 | ; |
15943 | ; |
16000 | return 0; |
15944 | return 0; |
16001 | } |
15945 | } |
16002 | _ACEOF |
15946 | _ACEOF |
… | |
… | |
16028 | |
15972 | |
16029 | perl_link=no |
15973 | perl_link=no |
16030 | fi |
15974 | fi |
16031 | rm -f conftest.err conftest.$ac_objext \ |
15975 | rm -f conftest.err conftest.$ac_objext \ |
16032 | conftest$ac_exeext conftest.$ac_ext |
15976 | conftest$ac_exeext conftest.$ac_ext |
16033 | CXXFLAGS="$save_CFLAGS" |
15977 | CXXFLAGS="$save_CFLAGS" |
16034 | LIBS="$save_LIBS" |
15978 | LIBS="$save_LIBS" |
16035 | |
15979 | |
16036 | if test x$perl_link = xyes; then |
15980 | if test x$perl_link = xyes; then |
16037 | echo "$as_me:$LINENO: result: ok" >&5 |
15981 | echo "$as_me:$LINENO: result: ok" >&5 |
16038 | echo "${ECHO_T}ok" >&6 |
15982 | echo "${ECHO_T}ok" >&6 |
16039 | |
15983 | |
16040 | cat >>confdefs.h <<\_ACEOF |
15984 | cat >>confdefs.h <<\_ACEOF |
16041 | #define ENABLE_PERL 1 |
15985 | #define ENABLE_PERL 1 |
16042 | _ACEOF |
15986 | _ACEOF |
16043 | |
15987 | |
16044 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
15988 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
16045 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
15989 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
16046 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
15990 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
16047 | PERL_PLUGIN=yes |
15991 | PERL_PLUGIN=yes |
16048 | else |
15992 | else |
16049 | { { echo "$as_me:$LINENO: error: no, unable to link" >&5 |
15993 | { { echo "$as_me:$LINENO: error: no, unable to link" >&5 |
16050 | echo "$as_me: error: no, unable to link" >&2;} |
15994 | echo "$as_me: error: no, unable to link" >&2;} |
16051 | { (exit 1); exit 1; }; } |
15995 | { (exit 1); exit 1; }; } |
16052 | fi |
15996 | fi |
16053 | else |
15997 | else |
16054 | { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5 |
15998 | { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5 |
16055 | echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;} |
15999 | echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;} |
16056 | { (exit 1); exit 1; }; } |
16000 | { (exit 1); exit 1; }; } |
16057 | fi |
|
|
16058 | fi |
16001 | fi |
16059 | |
16002 | |
16060 | |
16003 | |
16061 | |
16004 | |
16062 | |
16005 | |
… | |
… | |
16069 | PERL_PLUGIN_TRUE='#' |
16012 | PERL_PLUGIN_TRUE='#' |
16070 | PERL_PLUGIN_FALSE= |
16013 | PERL_PLUGIN_FALSE= |
16071 | fi |
16014 | fi |
16072 | |
16015 | |
16073 | |
16016 | |
16074 | |
|
|
16075 | cat >conftest.$ac_ext <<_ACEOF |
|
|
16076 | /* confdefs.h. */ |
|
|
16077 | _ACEOF |
|
|
16078 | cat confdefs.h >>conftest.$ac_ext |
|
|
16079 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
16080 | /* end confdefs.h. */ |
|
|
16081 | |
|
|
16082 | #include <EXTERN.h> |
|
|
16083 | #include <perl.h> |
|
|
16084 | #include <XSUB.h> |
|
|
16085 | |
|
|
16086 | int |
|
|
16087 | main () |
|
|
16088 | { |
|
|
16089 | |
|
|
16090 | PerlInterpreter *perl = perl_alloc (); |
|
|
16091 | |
|
|
16092 | ; |
|
|
16093 | return 0; |
|
|
16094 | } |
|
|
16095 | _ACEOF |
|
|
16096 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
16097 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
16098 | (eval $ac_link) 2>conftest.er1 |
|
|
16099 | ac_status=$? |
|
|
16100 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
16101 | rm -f conftest.er1 |
|
|
16102 | cat conftest.err >&5 |
|
|
16103 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16104 | (exit $ac_status); } && |
|
|
16105 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
16106 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16107 | (eval $ac_try) 2>&5 |
|
|
16108 | ac_status=$? |
|
|
16109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16110 | (exit $ac_status); }; } && |
|
|
16111 | { ac_try='test -s conftest$ac_exeext' |
|
|
16112 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16113 | (eval $ac_try) 2>&5 |
|
|
16114 | ac_status=$? |
|
|
16115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16116 | (exit $ac_status); }; }; then |
|
|
16117 | rxvt_perl_link=yes |
|
|
16118 | else |
|
|
16119 | echo "$as_me: failed program was:" >&5 |
|
|
16120 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
16121 | |
|
|
16122 | rxvt_perl_link=no |
|
|
16123 | fi |
|
|
16124 | rm -f conftest.err conftest.$ac_objext \ |
|
|
16125 | conftest$ac_exeext conftest.$ac_ext |
|
|
16126 | if test x$support_perl = xyes; then |
|
|
16127 | support_frills=yes |
|
|
16128 | fi |
|
|
16129 | |
16017 | |
16130 | ############################################# |
16018 | ############################################# |
16131 | # Plugin configuration |
16019 | # Plugin configuration |
16132 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
16020 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
16133 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
16021 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
… | |
… | |
17105 | PYTHON_PLUGIN_FALSE= |
16993 | PYTHON_PLUGIN_FALSE= |
17106 | fi |
16994 | fi |
17107 | |
16995 | |
17108 | |
16996 | |
17109 | |
16997 | |
|
|
16998 | # crossedit compilability check |
|
|
16999 | |
|
|
17000 | |
|
|
17001 | ac_save_LIBS="$LIBS" |
|
|
17002 | |
|
|
17003 | LIBS=""$X11LIBS" $LIBS" |
|
|
17004 | echo "$as_me:$LINENO: checking for crossedit required headers" >&5 |
|
|
17005 | echo $ECHO_N "checking for crossedit required headers... $ECHO_C" >&6 |
|
|
17006 | cat >conftest.$ac_ext <<_ACEOF |
|
|
17007 | /* confdefs.h. */ |
|
|
17008 | _ACEOF |
|
|
17009 | cat confdefs.h >>conftest.$ac_ext |
|
|
17010 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
17011 | /* end confdefs.h. */ |
|
|
17012 | |
|
|
17013 | #include <X11/Xaw/AllWidgets.h> |
|
|
17014 | |
|
|
17015 | int |
|
|
17016 | main () |
|
|
17017 | { |
|
|
17018 | |
|
|
17019 | ; |
|
|
17020 | return 0; |
|
|
17021 | } |
|
|
17022 | _ACEOF |
|
|
17023 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
17024 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
17025 | (eval $ac_link) 2>conftest.er1 |
|
|
17026 | ac_status=$? |
|
|
17027 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
17028 | rm -f conftest.er1 |
|
|
17029 | cat conftest.err >&5 |
|
|
17030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17031 | (exit $ac_status); } && |
|
|
17032 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
17033 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17034 | (eval $ac_try) 2>&5 |
|
|
17035 | ac_status=$? |
|
|
17036 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17037 | (exit $ac_status); }; } && |
|
|
17038 | { ac_try='test -s conftest$ac_exeext' |
|
|
17039 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17040 | (eval $ac_try) 2>&5 |
|
|
17041 | ac_status=$? |
|
|
17042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17043 | (exit $ac_status); }; }; then |
|
|
17044 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
17045 | echo "${ECHO_T}yes" >&6 |
|
|
17046 | cf_will_build_crossedit="yes" |
|
|
17047 | CROSSEDIT='crossedit' |
|
|
17048 | |
|
|
17049 | else |
|
|
17050 | echo "$as_me: failed program was:" >&5 |
|
|
17051 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
17052 | |
|
|
17053 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
17054 | echo "${ECHO_T}no" >&6 |
|
|
17055 | cf_will_build_crossedit="no" |
|
|
17056 | fi |
|
|
17057 | rm -f conftest.err conftest.$ac_objext \ |
|
|
17058 | conftest$ac_exeext conftest.$ac_ext |
|
|
17059 | LIBS="$ac_save_LIBS" |
|
|
17060 | |
|
|
17061 | |
17110 | ac_config_files="$ac_config_files Makefile crossedit/Makefile crossedit/doc/Makefile crossedit/include/Makefile crossedit/Cnv/Makefile crossedit/bitmaps/Makefile doc/Makefile doc/Developers/Makefile doc/spell-docs/Makefile doc/spoiler/Makefile doc/spoiler-html/Makefile doc/playbook/Makefile doc/playbook-html/Makefile doc/scripts/Makefile lib/Makefile random_maps/Makefile socket/Makefile server/Makefile include/Makefile utils/Makefile lib/checkarch.pl lib/collect.pl utils/add_throw.perl utils/crossloop.tmpl utils/crossloop.pl.tmpl utils/metaserver.pl utils/crossloop.web utils/scores.pl utils/player_dl.pl common/Makefile plugins/Makefile plugins/cfperl/Makefile plugins/cfpython/Makefile plugins/cfanim/Makefile devel/Makefile" |
17062 | ac_config_files="$ac_config_files Makefile crossedit/Makefile crossedit/doc/Makefile crossedit/include/Makefile crossedit/Cnv/Makefile crossedit/bitmaps/Makefile doc/Makefile doc/Developers/Makefile doc/spell-docs/Makefile doc/spoiler/Makefile doc/spoiler-html/Makefile doc/playbook/Makefile doc/playbook-html/Makefile doc/scripts/Makefile lib/Makefile random_maps/Makefile socket/Makefile server/Makefile include/Makefile utils/Makefile lib/checkarch.pl lib/collect.pl utils/add_throw.perl utils/crossloop.tmpl utils/crossloop.pl.tmpl utils/metaserver.pl utils/crossloop.web utils/scores.pl utils/player_dl.pl common/Makefile plugins/Makefile plugins/cfpython/Makefile plugins/cfpython/include/Makefile plugins/cfanim/Makefile plugins/cfanim/include/Makefile plugins/common/Makefile plugins/common/include/Makefile devel/Makefile plugins/cfperl/Makefile" |
17111 | cat >confcache <<\_ACEOF |
17063 | cat >confcache <<\_ACEOF |
17112 | # This file is a shell script that caches the results of configure |
17064 | # This file is a shell script that caches the results of configure |
17113 | # tests run on this system so they can be shared between configure |
17065 | # tests run on this system so they can be shared between configure |
17114 | # scripts and configure runs, see configure's option --config-cache. |
17066 | # scripts and configure runs, see configure's option --config-cache. |
17115 | # It is not useful on other systems. If it contains results you don't |
17067 | # It is not useful on other systems. If it contains results you don't |
… | |
… | |
17524 | ## Running $as_me. ## |
17476 | ## Running $as_me. ## |
17525 | _ASBOX |
17477 | _ASBOX |
17526 | } >&5 |
17478 | } >&5 |
17527 | cat >&5 <<_CSEOF |
17479 | cat >&5 <<_CSEOF |
17528 | |
17480 | |
17529 | This file was extended by crossfire $as_me 1.8.0, which was |
17481 | This file was extended by crossfire $as_me 1.9.0, which was |
17530 | generated by GNU Autoconf 2.59. Invocation command line was |
17482 | generated by GNU Autoconf 2.59. Invocation command line was |
17531 | |
17483 | |
17532 | CONFIG_FILES = $CONFIG_FILES |
17484 | CONFIG_FILES = $CONFIG_FILES |
17533 | CONFIG_HEADERS = $CONFIG_HEADERS |
17485 | CONFIG_HEADERS = $CONFIG_HEADERS |
17534 | CONFIG_LINKS = $CONFIG_LINKS |
17486 | CONFIG_LINKS = $CONFIG_LINKS |
… | |
… | |
17587 | Report bugs to <bug-autoconf@gnu.org>." |
17539 | Report bugs to <bug-autoconf@gnu.org>." |
17588 | _ACEOF |
17540 | _ACEOF |
17589 | |
17541 | |
17590 | cat >>$CONFIG_STATUS <<_ACEOF |
17542 | cat >>$CONFIG_STATUS <<_ACEOF |
17591 | ac_cs_version="\\ |
17543 | ac_cs_version="\\ |
17592 | crossfire config.status 1.8.0 |
17544 | crossfire config.status 1.9.0 |
17593 | configured by $0, generated by GNU Autoconf 2.59, |
17545 | configured by $0, generated by GNU Autoconf 2.59, |
17594 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
17546 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
17595 | |
17547 | |
17596 | Copyright (C) 2003 Free Software Foundation, Inc. |
17548 | Copyright (C) 2003 Free Software Foundation, Inc. |
17597 | This config.status script is free software; the Free Software Foundation |
17549 | This config.status script is free software; the Free Software Foundation |
… | |
… | |
17871 | "utils/crossloop.web" ) CONFIG_FILES="$CONFIG_FILES utils/crossloop.web" ;; |
17823 | "utils/crossloop.web" ) CONFIG_FILES="$CONFIG_FILES utils/crossloop.web" ;; |
17872 | "utils/scores.pl" ) CONFIG_FILES="$CONFIG_FILES utils/scores.pl" ;; |
17824 | "utils/scores.pl" ) CONFIG_FILES="$CONFIG_FILES utils/scores.pl" ;; |
17873 | "utils/player_dl.pl" ) CONFIG_FILES="$CONFIG_FILES utils/player_dl.pl" ;; |
17825 | "utils/player_dl.pl" ) CONFIG_FILES="$CONFIG_FILES utils/player_dl.pl" ;; |
17874 | "common/Makefile" ) CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; |
17826 | "common/Makefile" ) CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; |
17875 | "plugins/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;; |
17827 | "plugins/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;; |
|
|
17828 | "plugins/cfpython/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/cfpython/Makefile" ;; |
|
|
17829 | "plugins/cfpython/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/cfpython/include/Makefile" ;; |
|
|
17830 | "plugins/cfanim/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/cfanim/Makefile" ;; |
|
|
17831 | "plugins/cfanim/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/cfanim/include/Makefile" ;; |
|
|
17832 | "plugins/common/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/common/Makefile" ;; |
|
|
17833 | "plugins/common/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/common/include/Makefile" ;; |
|
|
17834 | "devel/Makefile" ) CONFIG_FILES="$CONFIG_FILES devel/Makefile" ;; |
17876 | "plugins/cfperl/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/cfperl/Makefile" ;; |
17835 | "plugins/cfperl/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/cfperl/Makefile" ;; |
17877 | "plugins/cfpython/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/cfpython/Makefile" ;; |
|
|
17878 | "plugins/cfanim/Makefile" ) CONFIG_FILES="$CONFIG_FILES plugins/cfanim/Makefile" ;; |
|
|
17879 | "devel/Makefile" ) CONFIG_FILES="$CONFIG_FILES devel/Makefile" ;; |
|
|
17880 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
17836 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
17881 | "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
17837 | "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
17882 | "include/autoconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/autoconf.h" ;; |
17838 | "include/autoconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/autoconf.h" ;; |
17883 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
17839 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
17884 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
17840 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
… | |
… | |
17974 | s,@ACLOCAL@,$ACLOCAL,;t t |
17930 | s,@ACLOCAL@,$ACLOCAL,;t t |
17975 | s,@AUTOCONF@,$AUTOCONF,;t t |
17931 | s,@AUTOCONF@,$AUTOCONF,;t t |
17976 | s,@AUTOMAKE@,$AUTOMAKE,;t t |
17932 | s,@AUTOMAKE@,$AUTOMAKE,;t t |
17977 | s,@AUTOHEADER@,$AUTOHEADER,;t t |
17933 | s,@AUTOHEADER@,$AUTOHEADER,;t t |
17978 | s,@MAKEINFO@,$MAKEINFO,;t t |
17934 | s,@MAKEINFO@,$MAKEINFO,;t t |
|
|
17935 | s,@AMTAR@,$AMTAR,;t t |
17979 | s,@install_sh@,$install_sh,;t t |
17936 | s,@install_sh@,$install_sh,;t t |
17980 | s,@STRIP@,$STRIP,;t t |
17937 | s,@STRIP@,$STRIP,;t t |
17981 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
17938 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
17982 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
17939 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
17983 | s,@mkdir_p@,$mkdir_p,;t t |
|
|
17984 | s,@AWK@,$AWK,;t t |
17940 | s,@AWK@,$AWK,;t t |
17985 | s,@SET_MAKE@,$SET_MAKE,;t t |
17941 | s,@SET_MAKE@,$SET_MAKE,;t t |
17986 | s,@am__leading_dot@,$am__leading_dot,;t t |
17942 | s,@am__leading_dot@,$am__leading_dot,;t t |
17987 | s,@AMTAR@,$AMTAR,;t t |
|
|
17988 | s,@am__tar@,$am__tar,;t t |
|
|
17989 | s,@am__untar@,$am__untar,;t t |
|
|
17990 | s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t |
17943 | s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t |
17991 | s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t |
17944 | s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t |
17992 | s,@MAINT@,$MAINT,;t t |
17945 | s,@MAINT@,$MAINT,;t t |
17993 | s,@LIBTOOL@,$LIBTOOL,;t t |
17946 | s,@LIBTOOL@,$LIBTOOL,;t t |
17994 | s,@build@,$build,;t t |
17947 | s,@build@,$build,;t t |
… | |
… | |
18064 | s,@PY_LIBS@,$PY_LIBS,;t t |
18017 | s,@PY_LIBS@,$PY_LIBS,;t t |
18065 | s,@PY_INCLUDES@,$PY_INCLUDES,;t t |
18018 | s,@PY_INCLUDES@,$PY_INCLUDES,;t t |
18066 | s,@PYTHON_PLUGIN_TRUE@,$PYTHON_PLUGIN_TRUE,;t t |
18019 | s,@PYTHON_PLUGIN_TRUE@,$PYTHON_PLUGIN_TRUE,;t t |
18067 | s,@PYTHON_PLUGIN_FALSE@,$PYTHON_PLUGIN_FALSE,;t t |
18020 | s,@PYTHON_PLUGIN_FALSE@,$PYTHON_PLUGIN_FALSE,;t t |
18068 | s,@PLUGIN_PYTHON@,$PLUGIN_PYTHON,;t t |
18021 | s,@PLUGIN_PYTHON@,$PLUGIN_PYTHON,;t t |
|
|
18022 | s,@CROSSEDIT@,$CROSSEDIT,;t t |
18069 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
18023 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
18070 | CEOF |
18024 | CEOF |
18071 | |
18025 | |
18072 | _ACEOF |
18026 | _ACEOF |
18073 | |
18027 | |
… | |
… | |
18688 | /^X\(\/\).*/{ s//\1/; q; } |
18642 | /^X\(\/\).*/{ s//\1/; q; } |
18689 | s/.*/./; q'` |
18643 | s/.*/./; q'` |
18690 | else |
18644 | else |
18691 | continue |
18645 | continue |
18692 | fi |
18646 | fi |
18693 | # Extract the definition of DEPDIR, am__include, and am__quote |
18647 | grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
18694 | # from the Makefile without running `make'. |
18648 | # Extract the definition of DEP_FILES from the Makefile without |
|
|
18649 | # running `make'. |
18695 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
18650 | DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` |
18696 | test -z "$DEPDIR" && continue |
18651 | test -z "$DEPDIR" && continue |
18697 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
|
18698 | test -z "am__include" && continue |
|
|
18699 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
|
18700 | # When using ansi2knr, U may be empty or an underscore; expand it |
18652 | # When using ansi2knr, U may be empty or an underscore; expand it |
18701 | U=`sed -n 's/^U = //p' < "$mf"` |
18653 | U=`sed -n -e '/^U = / s///p' < "$mf"` |
18702 | # Find all dependency output files, they are included files with |
18654 | test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" |
18703 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
18655 | # We invoke sed twice because it is the simplest approach to |
18704 | # simplest approach to changing $(DEPDIR) to its actual value in the |
18656 | # changing $(DEPDIR) to its actual value in the expansion. |
18705 | # expansion. |
|
|
18706 | for file in `sed -n " |
18657 | for file in `sed -n -e ' |
18707 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
18658 | /^DEP_FILES = .*\\\\$/ { |
|
|
18659 | s/^DEP_FILES = // |
|
|
18660 | :loop |
|
|
18661 | s/\\\\$// |
|
|
18662 | p |
|
|
18663 | n |
|
|
18664 | /\\\\$/ b loop |
|
|
18665 | p |
|
|
18666 | } |
|
|
18667 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
18708 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
18668 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
18709 | # Make sure the directory exists. |
18669 | # Make sure the directory exists. |
18710 | test -f "$dirpart/$file" && continue |
18670 | test -f "$dirpart/$file" && continue |
18711 | fdir=`(dirname "$file") 2>/dev/null || |
18671 | fdir=`(dirname "$file") 2>/dev/null || |
18712 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
18672 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |