ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/branches/1.0.x/configure
(Generate patch)

Comparing hopm/branches/1.0.x/configure (file contents):
Revision 5166 by michael, Fri Dec 26 18:57:18 2014 UTC vs.
Revision 5946 by michael, Thu May 7 18:56:21 2015 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 + # From configure.ac Id: configure.ac 5944 2015-05-06 19:10:11Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.69 for hopm 1.0.0beta1.
4 > # Generated by GNU Autoconf 2.69 for hopm 1.0.5.
5 > #
6 > # Report bugs to <bugs@ircd-hybrid.org>.
7   #
8   #
9   # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
# Line 272 | Line 275 | fi
275      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277    else
278 <    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
279 < $0: including any error possibly output before this
280 < $0: message. Then install a modern shell, or manually run
281 < $0: the script under such a shell if you do have one."
278 >    $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 > $0: bugs@ircd-hybrid.org about your system, including any
280 > $0: error possibly output before this message. Then install
281 > $0: a modern shell, or manually run the script under such a
282 > $0: shell if you do have one."
283    fi
284    exit 1
285   fi
# Line 587 | Line 591 | MAKEFLAGS=
591   # Identity of this package.
592   PACKAGE_NAME='hopm'
593   PACKAGE_TARNAME='hopm'
594 < PACKAGE_VERSION='1.0.0beta1'
595 < PACKAGE_STRING='hopm 1.0.0beta1'
596 < PACKAGE_BUGREPORT=''
594 > PACKAGE_VERSION='1.0.5'
595 > PACKAGE_STRING='hopm 1.0.5'
596 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
597   PACKAGE_URL=''
598  
599   ac_unique_file="src/opercmd.h"
# Line 630 | Line 634 | ac_includes_default="\
634   # include <unistd.h>
635   #endif"
636  
633 enable_option_checking=no
637   ac_subst_vars='am__EXEEXT_FALSE
638   am__EXEEXT_TRUE
639   LTLIBOBJS
640   LIBOBJS
638 subdirs
641   LEXLIB
642   LEX_OUTPUT_ROOT
643   LEX
644   YFLAGS
645   YACC
646   CPP
647 + LT_SYS_LIBRARY_PATH
648   OTOOL64
649   OTOOL
650   LIPO
# Line 761 | Line 764 | ac_user_opts='
764   enable_option_checking
765   enable_silent_rules
766   enable_maintainer_mode
764 with_extra_fascism
767   enable_dependency_tracking
768   enable_shared
769   enable_static
# Line 780 | Line 782 | CFLAGS
782   LDFLAGS
783   LIBS
784   CPPFLAGS
785 + LT_SYS_LIBRARY_PATH
786   CPP
787   YACC
788   YFLAGS'
789 < ac_subdirs_all='src/libopm'
789 >
790  
791   # Initialize some variables set by options.
792   ac_init_help=
# Line 1323 | Line 1326 | if test "$ac_init_help" = "long"; then
1326    # Omit some internal or obsolete options to make the list less imposing.
1327    # This message is too long to be a string in the A/UX 3.1 sh.
1328    cat <<_ACEOF
1329 < \`configure' configures hopm 1.0.0beta1 to adapt to many kinds of systems.
1329 > \`configure' configures hopm 1.0.5 to adapt to many kinds of systems.
1330  
1331   Usage: $0 [OPTION]... [VAR=VALUE]...
1332  
# Line 1393 | Line 1396 | fi
1396  
1397   if test -n "$ac_init_help"; then
1398    case $ac_init_help in
1399 <     short | recursive ) echo "Configuration of hopm 1.0.0beta1:";;
1399 >     short | recursive ) echo "Configuration of hopm 1.0.5:";;
1400     esac
1401    cat <<\_ACEOF
1402  
# Line 1419 | Line 1422 | Optional Features:
1422   Optional Packages:
1423    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1424    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1422  --with-extra-fascism    Add extra gcc3-specific warning flags
1425    --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1426                            both]
1427    --with-aix-soname=aix|svr4|both
# Line 1437 | Line 1439 | Some influential environment variables:
1439    LIBS        libraries to pass to the linker, e.g. -l<library>
1440    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1441                you have headers in a nonstandard directory <include dir>
1442 +  LT_SYS_LIBRARY_PATH
1443 +              User-defined run-time library search path.
1444    CPP         C preprocessor
1445    YACC        The `Yet Another Compiler Compiler' implementation to use.
1446                Defaults to the first program found out of: `bison -y', `byacc',
# Line 1448 | Line 1452 | Some influential environment variables:
1452   Use these variables to override the choices made by `configure' or to help
1453   it to find libraries and programs with nonstandard names/locations.
1454  
1455 < Report bugs to the package provider.
1455 > Report bugs to <bugs@ircd-hybrid.org>.
1456   _ACEOF
1457   ac_status=$?
1458   fi
# Line 1511 | Line 1515 | fi
1515   test -n "$ac_init_help" && exit $ac_status
1516   if $ac_init_version; then
1517    cat <<\_ACEOF
1518 < hopm configure 1.0.0beta1
1518 > hopm configure 1.0.5
1519   generated by GNU Autoconf 2.69
1520  
1521   Copyright (C) 2012 Free Software Foundation, Inc.
# Line 1785 | Line 1789 | $as_echo "$ac_res" >&6; }
1789    eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790  
1791   } # ac_fn_c_check_func
1788
1789 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1790 # -------------------------------------------------------
1791 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1792 # the include files in INCLUDES and setting the cache variable VAR
1793 # accordingly.
1794 ac_fn_c_check_header_mongrel ()
1795 {
1796  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797  if eval \${$3+:} false; then :
1798  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 $as_echo_n "checking for $2... " >&6; }
1800 if eval \${$3+:} false; then :
1801  $as_echo_n "(cached) " >&6
1802 fi
1803 eval ac_res=\$$3
1804               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1805 $as_echo "$ac_res" >&6; }
1806 else
1807  # Is the header compilable?
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1809 $as_echo_n "checking $2 usability... " >&6; }
1810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1811 /* end confdefs.h.  */
1812 $4
1813 #include <$2>
1814 _ACEOF
1815 if ac_fn_c_try_compile "$LINENO"; then :
1816  ac_header_compiler=yes
1817 else
1818  ac_header_compiler=no
1819 fi
1820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1822 $as_echo "$ac_header_compiler" >&6; }
1823
1824 # Is the header present?
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1826 $as_echo_n "checking $2 presence... " >&6; }
1827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h.  */
1829 #include <$2>
1830 _ACEOF
1831 if ac_fn_c_try_cpp "$LINENO"; then :
1832  ac_header_preproc=yes
1833 else
1834  ac_header_preproc=no
1835 fi
1836 rm -f conftest.err conftest.i conftest.$ac_ext
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1838 $as_echo "$ac_header_preproc" >&6; }
1839
1840 # So?  What about this header?
1841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1842  yes:no: )
1843    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1844 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1845    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1846 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1847    ;;
1848  no:yes:* )
1849    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1850 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1851    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1852 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1853    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1854 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1855    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1856 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1857    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1858 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1859    ;;
1860 esac
1861  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862 $as_echo_n "checking for $2... " >&6; }
1863 if eval \${$3+:} false; then :
1864  $as_echo_n "(cached) " >&6
1865 else
1866  eval "$3=\$ac_header_compiler"
1867 fi
1868 eval ac_res=\$$3
1869               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870 $as_echo "$ac_res" >&6; }
1871 fi
1872  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873
1874 } # ac_fn_c_check_header_mongrel
1792   cat >config.log <<_ACEOF
1793   This file contains any messages produced by compilers while
1794   running configure, to aid debugging if configure makes a mistake.
1795  
1796 < It was created by hopm $as_me 1.0.0beta1, which was
1796 > It was created by hopm $as_me 1.0.5, which was
1797   generated by GNU Autoconf 2.69.  Invocation command line was
1798  
1799    $ $0 $@
# Line 2224 | Line 2141 | ac_link='$CC -o conftest$ac_exeext $CFLA
2141   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2142  
2143  
2144 <
2228 < ac_config_headers="$ac_config_headers src/setup.h"
2229 <
2230 < am__api_version='1.14'
2144 > am__api_version='1.15'
2145  
2146   ac_aux_dir=
2147   for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
# Line 2428 | Line 2342 | test "$program_suffix" != NONE &&
2342   ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2343   program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2344  
2345 < # expand $ac_aux_dir to an absolute path
2346 < am_aux_dir=`cd $ac_aux_dir && pwd`
2345 > # Expand $ac_aux_dir to an absolute path.
2346 > am_aux_dir=`cd "$ac_aux_dir" && pwd`
2347  
2348   if test x"${MISSING+set}" != xset; then
2349    case $am_aux_dir in
# Line 2448 | Line 2362 | else
2362   $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2363   fi
2364  
2365 < if test x"${install_sh}" != xset; then
2365 > if test x"${install_sh+set}" != xset; then
2366    case $am_aux_dir in
2367    *\ * | *\     *)
2368      install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
# Line 2742 | Line 2656 | fi
2656  
2657   # Define the identity of the package.
2658   PACKAGE='hopm'
2659 < VERSION='1.0.0beta1'
2659 > VERSION='1.0.5'
2660  
2661  
2662   cat >>confdefs.h <<_ACEOF
# Line 2776 | Line 2690 | MAKEINFO=${MAKEINFO-"${am_missing_run}ma
2690   # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2691   mkdir_p='$(MKDIR_P)'
2692  
2693 < # We need awk for the "check" target.  The system "awk" is bad on
2694 < # some platforms.
2693 > # We need awk for the "check" target (and possibly the TAP driver).  The
2694 > # system "awk" is bad on some platforms.
2695   # Always define AMTAR for backward compatibility.  Yes, it's still used
2696   # in the wild :-(  We should find a proper way to deprecate it ...
2697   AMTAR='$${TAR-tar}'
# Line 2859 | Line 2773 | fi
2773  
2774  
2775  
2776 <
2863 < # Check whether --with-extra-fascism was given.
2864 < if test "${with_extra_fascism+set}" = set; then :
2865 <  withval=$with_extra_fascism; CFLAGS="$CFLAGS -g -O0 -W -Wall -Wfloat-equal -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs"
2866 < fi
2867 <
2868 <
2776 > ac_config_headers="$ac_config_headers src/setup.h"
2777  
2778  
2779  
# Line 4096 | Line 4004 | esac
4004  
4005  
4006  
4007 < macro_version='2.4.4'
4008 < macro_revision='2.4.4'
4007 > macro_version='2.4.6'
4008 > macro_revision='2.4.6'
4009  
4010  
4011  
# Line 6520 | Line 6428 | $as_echo "$lt_cv_truncate_bin" >&6; }
6428  
6429  
6430  
6431 +
6432 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6433 + func_cc_basename ()
6434 + {
6435 +    for cc_temp in $*""; do
6436 +      case $cc_temp in
6437 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6438 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6439 +        \-*) ;;
6440 +        *) break;;
6441 +      esac
6442 +    done
6443 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6444 + }
6445 +
6446   # Check whether --enable-libtool-lock was given.
6447   if test "${enable_libtool_lock+set}" = set; then :
6448    enableval=$enable_libtool_lock;
# Line 7527 | Line 7450 | $as_echo "$lt_cv_ld_force_load" >&6; }
7450      ;;
7451    esac
7452  
7453 + # func_munge_path_list VARIABLE PATH
7454 + # -----------------------------------
7455 + # VARIABLE is name of variable containing _space_ separated list of
7456 + # directories to be munged by the contents of PATH, which is string
7457 + # having a format:
7458 + # "DIR[:DIR]:"
7459 + #       string "DIR[ DIR]" will be prepended to VARIABLE
7460 + # ":DIR[:DIR]"
7461 + #       string "DIR[ DIR]" will be appended to VARIABLE
7462 + # "DIRP[:DIRP]::[DIRA:]DIRA"
7463 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7464 + #       "DIRA[ DIRA]" will be appended to VARIABLE
7465 + # "DIR[:DIR]"
7466 + #       VARIABLE will be replaced by "DIR[ DIR]"
7467 + func_munge_path_list ()
7468 + {
7469 +    case x$2 in
7470 +    x)
7471 +        ;;
7472 +    *:)
7473 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7474 +        ;;
7475 +    x:*)
7476 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7477 +        ;;
7478 +    *::*)
7479 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7480 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7481 +        ;;
7482 +    *)
7483 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7484 +        ;;
7485 +    esac
7486 + }
7487 +
7488   ac_ext=c
7489   ac_cpp='$CPP $CPPFLAGS'
7490   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 8114 | Line 8072 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8072   test -z "$LD" && LD=ld
8073   test -z "$ac_objext" && ac_objext=o
8074  
8075 < for cc_temp in $compiler""; do
8076 <  case $cc_temp in
8119 <    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8120 <    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8121 <    \-*) ;;
8122 <    *) break;;
8123 <  esac
8124 < done
8125 < cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8075 > func_cc_basename $compiler
8076 > cc_basename=$func_cc_basename_result
8077  
8078  
8079   # Only perform the check for file, if the check method requires it
# Line 10577 | Line 10528 | hardcode_into_libs=no
10528   # flags to be left without arguments
10529   need_version=unknown
10530  
10531 +
10532 +
10533   case $host_os in
10534   aix3*)
10535    version_type=linux # correct to gnu/linux during the next big refactor
# Line 10865 | Line 10818 | freebsd* | dragonfly*)
10818    case $version_type in
10819      freebsd-elf*)
10820        library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10821 +      soname_spec='$libname$release$shared_ext$major'
10822        need_version=no
10823        need_lib_prefix=no
10824        ;;
# Line 10924 | Line 10878 | hpux9* | hpux10* | hpux11*)
10878      soname_spec='$libname$release$shared_ext$major'
10879      if test 32 = "$HPUX_IA64_MODE"; then
10880        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10881 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10882      else
10883        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10884 +      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10885      fi
10930    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10886      ;;
10887    hppa*64*)
10888      shrext_cmds='.sl'
# Line 11079 | Line 11034 | fi
11034    # before this can be enabled.
11035    hardcode_into_libs=yes
11036  
11037 <  # Append ld.so.conf contents to the search path
11037 >  # Ideally, we could use ldconfig to report *all* directores which are
11038 >  # searched for libraries, however this is still not possible.  Aside from not
11039 >  # being certain /sbin/ldconfig is available, command
11040 >  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11041 >  # even though it is searched at run-time.  Try to do the best guess by
11042 >  # appending ld.so.conf contents (and includes) to the search path.
11043    if test -f /etc/ld.so.conf; then
11044      lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11045      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
# Line 11304 | Line 11264 | fi
11264   if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11265    sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11266   fi
11267 +
11268   if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11269    sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11270   fi
11271  
11272 + # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11273 + configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11274 +
11275 + # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11276 + func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11277 +
11278 + # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11279 + configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11280 +
11281 +
11282 +
11283 +
11284 +
11285 +
11286  
11287  
11288  
# Line 12088 | Line 12063 | CC=$lt_save_CC
12063  
12064  
12065  
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12092 $as_echo_n "checking for ANSI C header files... " >&6; }
12093 if ${ac_cv_header_stdc+:} false; then :
12094  $as_echo_n "(cached) " >&6
12095 else
12096  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12097 /* end confdefs.h.  */
12098 #include <stdlib.h>
12099 #include <stdarg.h>
12100 #include <string.h>
12101 #include <float.h>
12102
12103 int
12104 main ()
12105 {
12106
12107  ;
12108  return 0;
12109 }
12110 _ACEOF
12111 if ac_fn_c_try_compile "$LINENO"; then :
12112  ac_cv_header_stdc=yes
12113 else
12114  ac_cv_header_stdc=no
12115 fi
12116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12117
12118 if test $ac_cv_header_stdc = yes; then
12119  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12120  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12121 /* end confdefs.h.  */
12122 #include <string.h>
12123
12124 _ACEOF
12125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12126  $EGREP "memchr" >/dev/null 2>&1; then :
12127
12128 else
12129  ac_cv_header_stdc=no
12130 fi
12131 rm -f conftest*
12132
12133 fi
12134
12135 if test $ac_cv_header_stdc = yes; then
12136  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12137  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12138 /* end confdefs.h.  */
12139 #include <stdlib.h>
12140
12141 _ACEOF
12142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12143  $EGREP "free" >/dev/null 2>&1; then :
12144
12145 else
12146  ac_cv_header_stdc=no
12147 fi
12148 rm -f conftest*
12149
12150 fi
12151
12152 if test $ac_cv_header_stdc = yes; then
12153  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12154  if test "$cross_compiling" = yes; then :
12155  :
12156 else
12157  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h.  */
12159 #include <ctype.h>
12160 #include <stdlib.h>
12161 #if ((' ' & 0x0FF) == 0x020)
12162 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12163 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12164 #else
12165 # define ISLOWER(c) \
12166                   (('a' <= (c) && (c) <= 'i') \
12167                     || ('j' <= (c) && (c) <= 'r') \
12168                     || ('s' <= (c) && (c) <= 'z'))
12169 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12170 #endif
12171
12172 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12173 int
12174 main ()
12175 {
12176  int i;
12177  for (i = 0; i < 256; i++)
12178    if (XOR (islower (i), ISLOWER (i))
12179        || toupper (i) != TOUPPER (i))
12180      return 2;
12181  return 0;
12182 }
12183 _ACEOF
12184 if ac_fn_c_try_run "$LINENO"; then :
12185
12186 else
12187  ac_cv_header_stdc=no
12188 fi
12189 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12190  conftest.$ac_objext conftest.beam conftest.$ac_ext
12191 fi
12192
12193 fi
12194 fi
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12196 $as_echo "$ac_cv_header_stdc" >&6; }
12197 if test $ac_cv_header_stdc = yes; then
12198
12199 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12200
12201 fi
12202
12203
12204 for ac_header in sys/poll.h
12205 do :
12206  ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
12207 if test "x$ac_cv_header_sys_poll_h" = xyes; then :
12208  cat >>confdefs.h <<_ACEOF
12209 #define HAVE_SYS_POLL_H 1
12210 _ACEOF
12211 have_poll_sys_h=yes
12212 else
12213  have_sys_poll_h=no
12214 fi
12215
12216 done
12217
12218
12219 for ac_header in fcntl.h sys/time.h unistd.h strings.h
12220 do :
12221  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12222 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12223 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12224  cat >>confdefs.h <<_ACEOF
12225 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12226 _ACEOF
12227
12228 fi
12229
12230 done
12231
12232
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12234 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12235 if ${ac_cv_header_time+:} false; then :
12236  $as_echo_n "(cached) " >&6
12237 else
12238  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12239 /* end confdefs.h.  */
12240 #include <sys/types.h>
12241 #include <sys/time.h>
12242 #include <time.h>
12243
12244 int
12245 main ()
12246 {
12247 if ((struct tm *) 0)
12248 return 0;
12249  ;
12250  return 0;
12251 }
12252 _ACEOF
12253 if ac_fn_c_try_compile "$LINENO"; then :
12254  ac_cv_header_time=yes
12255 else
12256  ac_cv_header_time=no
12257 fi
12258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12259 fi
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12261 $as_echo "$ac_cv_header_time" >&6; }
12262 if test $ac_cv_header_time = yes; then
12263
12264 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
12265
12266 fi
12267
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12269 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12270 if ${ac_cv_struct_tm+:} false; then :
12271  $as_echo_n "(cached) " >&6
12272 else
12273  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h.  */
12275 #include <sys/types.h>
12276 #include <time.h>
12277
12278 int
12279 main ()
12280 {
12281 struct tm tm;
12282                                     int *p = &tm.tm_sec;
12283                                     return !p;
12284  ;
12285  return 0;
12286 }
12287 _ACEOF
12288 if ac_fn_c_try_compile "$LINENO"; then :
12289  ac_cv_struct_tm=time.h
12290 else
12291  ac_cv_struct_tm=sys/time.h
12292 fi
12293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12294 fi
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12296 $as_echo "$ac_cv_struct_tm" >&6; }
12297 if test $ac_cv_struct_tm = sys/time.h; then
12298
12299 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12300
12301 fi
12302
12303
12304
12066   for ac_prog in 'bison -y' byacc
12067   do
12068    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 12692 | Line 12453 | fi
12453   fi
12454  
12455  
12456 < for ac_func in strlcpy strlcat inet_aton socket strdup strstr
12456 > for ac_func in strlcpy strlcat
12457   do :
12458    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12459   ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
# Line 12705 | Line 12466 | fi
12466   done
12467  
12468  
12708 for ac_func in gethostbyname
12709 do :
12710  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12711 if test "x$ac_cv_func_gethostbyname" = xyes; then :
12712  cat >>confdefs.h <<_ACEOF
12713 #define HAVE_GETHOSTBYNAME 1
12714 _ACEOF
12715
12716 fi
12717 done
12718
12719
12469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12470   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12471   if ${ac_cv_c_bigendian+:} false; then :
# Line 12942 | Line 12691 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
12691   esac
12692  
12693  
12694 <
12946 <
12947 <
12948 < subdirs="$subdirs src/libopm"
12949 <
12950 <
12951 < ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
12694 > ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile"
12695  
12696   cat >confcache <<\_ACEOF
12697   # This file is a shell script that caches the results of configure
# Line 13485 | Line 13228 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
13228   # report actual input values of CONFIG_FILES etc. instead of their
13229   # values after options handling.
13230   ac_log="
13231 < This file was extended by hopm $as_me 1.0.0beta1, which was
13231 > This file was extended by hopm $as_me 1.0.5, which was
13232   generated by GNU Autoconf 2.69.  Invocation command line was
13233  
13234    CONFIG_FILES    = $CONFIG_FILES
# Line 13545 | Line 13288 | $config_headers
13288   Configuration commands:
13289   $config_commands
13290  
13291 < Report bugs to the package provider."
13291 > Report bugs to <bugs@ircd-hybrid.org>."
13292  
13293   _ACEOF
13294   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13295   ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13296   ac_cs_version="\\
13297 < hopm config.status 1.0.0beta1
13297 > hopm config.status 1.0.5
13298   configured by $0, generated by GNU Autoconf 2.69,
13299    with options \\"\$ac_cs_config\\"
13300  
# Line 13807 | Line 13550 | finish_cmds='`$ECHO "$finish_cmds" | $SE
13550   finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13551   hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13552   sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13553 < sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13553 > configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
13554 > configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
13555   hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13556   enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13557   enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
# Line 13925 | Line 13669 | postinstall_cmds \
13669   postuninstall_cmds \
13670   finish_cmds \
13671   sys_lib_search_path_spec \
13672 < sys_lib_dlsearch_path_spec; do
13672 > configure_time_dlsearch_path \
13673 > configure_time_lt_sys_library_path; do
13674      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13675      *[\\\\\\\`\\"\\\$]*)
13676        eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
# Line 13967 | Line 13712 | do
13712      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13713      "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13714      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13715 +    "src/libopm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/Makefile" ;;
13716 +    "src/libopm/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/libopm/src/Makefile" ;;
13717  
13718    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13719    esac
# Line 14702 | Line 14449 | $as_echo X"$file" |
14449   # The names of the tagged configurations supported by this script.
14450   available_tags=''
14451  
14452 + # Configured defaults for sys_lib_dlsearch_path munging.
14453 + : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
14454 +
14455   # ### BEGIN LIBTOOL CONFIG
14456  
14457   # Which release of libtool.m4 was used?
# Line 14951 | Line 14701 | hardcode_into_libs=$hardcode_into_libs
14701   # Compile-time system search path for libraries.
14702   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14703  
14704 < # Run-time system search path for libraries.
14705 < sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14704 > # Detected run-time system search path for libraries.
14705 > sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
14706 >
14707 > # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
14708 > configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
14709  
14710   # Whether dlopen is supported.
14711   dlopen_support=$enable_dlopen
# Line 15103 | Line 14856 | hardcode_action=$hardcode_action
14856  
14857   _LT_EOF
14858  
14859 +    cat <<'_LT_EOF' >> "$cfgfile"
14860 +
14861 + # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
14862 +
14863 + # func_munge_path_list VARIABLE PATH
14864 + # -----------------------------------
14865 + # VARIABLE is name of variable containing _space_ separated list of
14866 + # directories to be munged by the contents of PATH, which is string
14867 + # having a format:
14868 + # "DIR[:DIR]:"
14869 + #       string "DIR[ DIR]" will be prepended to VARIABLE
14870 + # ":DIR[:DIR]"
14871 + #       string "DIR[ DIR]" will be appended to VARIABLE
14872 + # "DIRP[:DIRP]::[DIRA:]DIRA"
14873 + #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
14874 + #       "DIRA[ DIRA]" will be appended to VARIABLE
14875 + # "DIR[:DIR]"
14876 + #       VARIABLE will be replaced by "DIR[ DIR]"
14877 + func_munge_path_list ()
14878 + {
14879 +    case x$2 in
14880 +    x)
14881 +        ;;
14882 +    *:)
14883 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
14884 +        ;;
14885 +    x:*)
14886 +        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
14887 +        ;;
14888 +    *::*)
14889 +        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
14890 +        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
14891 +        ;;
14892 +    *)
14893 +        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
14894 +        ;;
14895 +    esac
14896 + }
14897 +
14898 +
14899 + # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
14900 + func_cc_basename ()
14901 + {
14902 +    for cc_temp in $*""; do
14903 +      case $cc_temp in
14904 +        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14905 +        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14906 +        \-*) ;;
14907 +        *) break;;
14908 +      esac
14909 +    done
14910 +    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14911 + }
14912 +
14913 +
14914 + # ### END FUNCTIONS SHARED WITH CONFIGURE
14915 +
14916 + _LT_EOF
14917 +
14918    case $host_os in
14919    aix3*)
14920      cat <<\_LT_EOF >> "$cfgfile"
# Line 15166 | Line 14978 | if test "$no_create" != yes; then
14978    # would make configure fail if this is the last instruction.
14979    $ac_cs_success || as_fn_exit 1
14980   fi
15169
15170 #
15171 # CONFIG_SUBDIRS section.
15172 #
15173 if test "$no_recursion" != yes; then
15174
15175  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
15176  # so they do not pile up.
15177  ac_sub_configure_args=
15178  ac_prev=
15179  eval "set x $ac_configure_args"
15180  shift
15181  for ac_arg
15182  do
15183    if test -n "$ac_prev"; then
15184      ac_prev=
15185      continue
15186    fi
15187    case $ac_arg in
15188    -cache-file | --cache-file | --cache-fil | --cache-fi \
15189    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15190      ac_prev=cache_file ;;
15191    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15192    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
15193    | --c=*)
15194      ;;
15195    --config-cache | -C)
15196      ;;
15197    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15198      ac_prev=srcdir ;;
15199    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15200      ;;
15201    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
15202      ac_prev=prefix ;;
15203    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
15204      ;;
15205    --disable-option-checking)
15206      ;;
15207    *)
15208      case $ac_arg in
15209      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15210      esac
15211      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
15212    esac
15213  done
15214
15215  # Always prepend --prefix to ensure using the same prefix
15216  # in subdir configurations.
15217  ac_arg="--prefix=$prefix"
15218  case $ac_arg in
15219  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
15220  esac
15221  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
15222
15223  # Pass --silent
15224  if test "$silent" = yes; then
15225    ac_sub_configure_args="--silent $ac_sub_configure_args"
15226  fi
15227
15228  # Always prepend --disable-option-checking to silence warnings, since
15229  # different subdirs can have different --enable and --with options.
15230  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
15231
15232  ac_popdir=`pwd`
15233  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
15234
15235    # Do not complain, so a configure script can configure whichever
15236    # parts of a large source tree are present.
15237    test -d "$srcdir/$ac_dir" || continue
15238
15239    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
15240    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
15241    $as_echo "$ac_msg" >&6
15242    as_dir="$ac_dir"; as_fn_mkdir_p
15243    ac_builddir=.
15244
15245 case "$ac_dir" in
15246 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15247 *)
15248  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15249  # A ".." for each directory in $ac_dir_suffix.
15250  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15251  case $ac_top_builddir_sub in
15252  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15253  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15254  esac ;;
15255 esac
15256 ac_abs_top_builddir=$ac_pwd
15257 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15258 # for backward compatibility:
15259 ac_top_builddir=$ac_top_build_prefix
15260
15261 case $srcdir in
15262  .)  # We are building in place.
15263    ac_srcdir=.
15264    ac_top_srcdir=$ac_top_builddir_sub
15265    ac_abs_top_srcdir=$ac_pwd ;;
15266  [\\/]* | ?:[\\/]* )  # Absolute name.
15267    ac_srcdir=$srcdir$ac_dir_suffix;
15268    ac_top_srcdir=$srcdir
15269    ac_abs_top_srcdir=$srcdir ;;
15270  *) # Relative name.
15271    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15272    ac_top_srcdir=$ac_top_build_prefix$srcdir
15273    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15274 esac
15275 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15276
15277
15278    cd "$ac_dir"
15279
15280    # Check for guested configure; otherwise get Cygnus style configure.
15281    if test -f "$ac_srcdir/configure.gnu"; then
15282      ac_sub_configure=$ac_srcdir/configure.gnu
15283    elif test -f "$ac_srcdir/configure"; then
15284      ac_sub_configure=$ac_srcdir/configure
15285    elif test -f "$ac_srcdir/configure.in"; then
15286      # This should be Cygnus configure.
15287      ac_sub_configure=$ac_aux_dir/configure
15288    else
15289      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
15290 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
15291      ac_sub_configure=
15292    fi
15293
15294    # The recursion is here.
15295    if test -n "$ac_sub_configure"; then
15296      # Make the cache file name correct relative to the subdirectory.
15297      case $cache_file in
15298      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
15299      *) # Relative name.
15300        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
15301      esac
15302
15303      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
15304 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
15305      # The eval makes quoting arguments work.
15306      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15307           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15308        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15309    fi
15310
15311    cd "$ac_popdir"
15312  done
15313 fi
14981   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14982    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14983   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)