ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.0.x/configure
(Generate patch)

Comparing:
ircd-hybrid-7.2/configure (file contents), Revision 977 by michael, Sat Aug 8 07:33:08 2009 UTC vs.
ircd-hybrid-7.3/configure (file contents), Revision 1094 by michael, Sun Jun 13 10:09:34 2010 UTC

# Line 1 | Line 1
1   #! /bin/sh
2 < # From configure.ac Id: configure.ac 955 2009-07-27 00:27:20Z michael .
2 > # From configure.ac Id: configure.ac 1092 2010-03-25 11:10:59Z michael .
3   # Guess values for system-dependent variables and create Makefiles.
4 < # Generated by GNU Autoconf 2.64 for ircd-hybrid 7.2.4.
4 > # Generated by GNU Autoconf 2.65 for ircd-hybrid 7.3-rc1.
5 > #
6 > # Report bugs to <bugs@ircd-hybrid.org>.
7 > #
8   #
9   # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 < # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 < # Foundation, Inc.
10 > # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 > # Inc.
12 > #
13   #
14   # This configure script is free software; the Free Software Foundation
15   # gives unlimited permission to copy, distribute and modify it.
# Line 170 | Line 174 | test x\$exitcode = x0 || exit 1"
174    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 +
178 +  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 +    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 +    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 +    PATH=/empty FPATH=/empty; export PATH FPATH
183 +    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 +      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185   test \$(( 1 + 1 )) = 2 || exit 1"
186    if (eval "$as_required") 2>/dev/null; then :
187    as_have_required=yes
# Line 227 | Line 239 | fi
239      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
240      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241    else
242 <    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
243 < $0: including any error possibly output before this
244 < $0: message. Then install a modern shell, or manually run
245 < $0: the script under such a shell if you do have one."
242 >    $as_echo "$0: Please tell bug-autoconf@gnu.org and
243 > $0: bugs@ircd-hybrid.org about your system, including any
244 > $0: error possibly output before this message. Then install
245 > $0: a modern shell, or manually run the script under such a
246 > $0: shell if you do have one."
247    fi
248    exit 1
249   fi
# Line 524 | Line 537 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P
537   # Sed expression to map a string onto a valid variable name.
538   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539  
540 + lt_ltdl_dir='libltdl'
541  
528
529 # Check that we are running under the correct shell.
542   SHELL=${CONFIG_SHELL-/bin/sh}
543  
532 case X$lt_ECHO in
533 X*--fallback-echo)
534  # Remove one level of quotation (which was required for Make).
535  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
536  ;;
537 esac
538
539 ECHO=${lt_ECHO-echo}
540 if test "X$1" = X--no-reexec; then
541  # Discard the --no-reexec flag, and continue.
542  shift
543 elif test "X$1" = X--fallback-echo; then
544  # Avoid inline document here, it may be left over
545  :
546 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
547  # Yippee, $ECHO works!
548  :
549 else
550  # Restart under the correct shell.
551  exec $SHELL "$0" --no-reexec ${1+"$@"}
552 fi
553
554 if test "X$1" = X--fallback-echo; then
555  # used as fallback echo
556  shift
557  cat <<_LT_EOF
558 $*
559 _LT_EOF
560  exit 0
561 fi
562
563 # The HP-UX ksh and POSIX shell print the target directory to stdout
564 # if CDPATH is set.
565 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566
567 if test -z "$lt_ECHO"; then
568  if test "X${echo_test_string+set}" != Xset; then
569    # find a string as large as possible, as long as the shell can cope with it
570    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
571      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
572      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
573         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
574      then
575        break
576      fi
577    done
578  fi
579
580  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
581     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
582     test "X$echo_testing_string" = "X$echo_test_string"; then
583    :
584  else
585    # The Solaris, AIX, and Digital Unix default echo programs unquote
586    # backslashes.  This makes it impossible to quote backslashes using
587    #   echo "$something" | sed 's/\\/\\\\/g'
588    #
589    # So, first we look for a working echo in the user's PATH.
590
591    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
592    for dir in $PATH /usr/ucb; do
593      IFS="$lt_save_ifs"
594      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
595         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
596         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
597         test "X$echo_testing_string" = "X$echo_test_string"; then
598        ECHO="$dir/echo"
599        break
600      fi
601    done
602    IFS="$lt_save_ifs"
603
604    if test "X$ECHO" = Xecho; then
605      # We didn't find a better echo, so look for alternatives.
606      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
607         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
608         test "X$echo_testing_string" = "X$echo_test_string"; then
609        # This shell has a builtin print -r that does the trick.
610        ECHO='print -r'
611      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
612           test "X$CONFIG_SHELL" != X/bin/ksh; then
613        # If we have ksh, try running configure again with it.
614        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
615        export ORIGINAL_CONFIG_SHELL
616        CONFIG_SHELL=/bin/ksh
617        export CONFIG_SHELL
618        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
619      else
620        # Try using printf.
621        ECHO='printf %s\n'
622        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
623           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
624           test "X$echo_testing_string" = "X$echo_test_string"; then
625          # Cool, printf works
626          :
627        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
628             test "X$echo_testing_string" = 'X\t' &&
629             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
630             test "X$echo_testing_string" = "X$echo_test_string"; then
631          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
632          export CONFIG_SHELL
633          SHELL="$CONFIG_SHELL"
634          export SHELL
635          ECHO="$CONFIG_SHELL $0 --fallback-echo"
636        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
637             test "X$echo_testing_string" = 'X\t' &&
638             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
639             test "X$echo_testing_string" = "X$echo_test_string"; then
640          ECHO="$CONFIG_SHELL $0 --fallback-echo"
641        else
642          # maybe with a smaller string...
643          prev=:
644
645          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
646            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
647            then
648              break
649            fi
650            prev="$cmd"
651          done
544  
545 <          if test "$prev" != 'sed 50q "$0"'; then
546 <            echo_test_string=`eval $prev`
655 <            export echo_test_string
656 <            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657 <          else
658 <            # Oops.  We lost completely, so just stick with echo.
659 <            ECHO=echo
660 <          fi
661 <        fi
662 <      fi
663 <    fi
664 <  fi
665 < fi
666 <
667 < # Copy echo and quote the copy suitably for passing to libtool from
668 < # the Makefile, instead of quoting the original, which is used later.
669 < lt_ECHO=$ECHO
670 < if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
671 <   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
672 < fi
673 <
674 <
675 <
676 <
677 < lt_ltdl_dir='libltdl'
678 <
679 < lt_dlopen_dir="$lt_ltdl_dir"
680 <
681 < exec 7<&0 </dev/null 6>&1
545 > test -n "$DJDIR" || exec 7<&0 </dev/null
546 > exec 6>&1
547  
548   # Name of the host.
549   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# Line 700 | Line 565 | MAKEFLAGS=
565   # Identity of this package.
566   PACKAGE_NAME='ircd-hybrid'
567   PACKAGE_TARNAME='ircd-hybrid'
568 < PACKAGE_VERSION='7.2.4'
569 < PACKAGE_STRING='ircd-hybrid 7.2.4'
570 < PACKAGE_BUGREPORT=''
568 > PACKAGE_VERSION='7.3-rc1'
569 > PACKAGE_STRING='ircd-hybrid 7.3-rc1'
570 > PACKAGE_BUGREPORT='bugs@ircd-hybrid.org'
571   PACKAGE_URL=''
572  
573   ac_unique_file="src/ircd.c"
# Line 742 | Line 607 | ac_includes_default="\
607   # include <unistd.h>
608   #endif"
609  
745 enable_option_checking=no
610   ac_func_list=
611   ac_header_list=
612   ac_subst_vars='ltdl_LTLIBOBJS
# Line 760 | Line 624 | EFNET_FALSE
624   EFNET_TRUE
625   ENABLE_SSL_FALSE
626   ENABLE_SSL_TRUE
627 + ENABLE_PCRE_FALSE
628 + ENABLE_PCRE_TRUE
629   LTDLOPEN
630   LT_CONFIG_H
765 subdirs
631   CONVENIENCE_LTDL_FALSE
632   CONVENIENCE_LTDL_TRUE
633   INSTALL_LTDL_FALSE
# Line 785 | Line 650 | OTOOL
650   LIPO
651   NMEDIT
652   DSYMUTIL
788 lt_ECHO
653   RANLIB
654   AR
655   OBJDUMP
# Line 909 | Line 773 | with_ltdl_lib
773   enable_ltdl_install
774   with_zlib_path
775   enable_zlib
776 + with_libpcre_path
777 + enable_libpcre
778   enable_openssl
779   enable_assert
780   enable_small_net
# Line 938 | Line 804 | CPPFLAGS
804   YACC
805   YFLAGS
806   CPP'
807 < ac_subdirs_all='libltdl'
807 >
808  
809   # Initialize some variables set by options.
810   ac_init_help=
# Line 1479 | Line 1345 | if test "$ac_init_help" = "long"; then
1345    # Omit some internal or obsolete options to make the list less imposing.
1346    # This message is too long to be a string in the A/UX 3.1 sh.
1347    cat <<_ACEOF
1348 < \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1348 > \`configure' configures ircd-hybrid 7.3-rc1 to adapt to many kinds of systems.
1349  
1350   Usage: $0 [OPTION]... [VAR=VALUE]...
1351  
# Line 1549 | Line 1415 | fi
1415  
1416   if test -n "$ac_init_help"; then
1417    case $ac_init_help in
1418 <     short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1418 >     short | recursive ) echo "Configuration of ircd-hybrid 7.3-rc1:";;
1419     esac
1420    cat <<\_ACEOF
1421  
# Line 1568 | Line 1434 | Optional Features:
1434    --disable-libtool-lock  avoid locking (might break parallel builds)
1435    --enable-ltdl-install   install libltdl
1436    --disable-zlib          Disable ziplinks support
1437 +  --disable-libpcre       Disable PCRE support
1438    --enable-openssl=DIR       Enable OpenSSL support (DIR optional).
1439    --disable-openssl            Disable OpenSSL support.
1440    --enable-assert         Enable assert() statements
# Line 1596 | Line 1463 | Optional Packages:
1463    --with-ltdl-include=DIR use the ltdl headers installed in DIR
1464    --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1465    --with-zlib-path=DIR    Path to libz.so for ziplinks support.
1466 +  --with-libpcre-path=DIR Path to libpcre.so for PCRE support.
1467    --with-nicklen=<value>  Set nickname length (default 9).
1468    --with-topiclen=<value> Set topic length (default 160).
1469    --with-syslog-facility=LOG
# Line 1608 | Line 1476 | Some influential environment variables:
1476    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1477                nonstandard directory <lib dir>
1478    LIBS        libraries to pass to the linker, e.g. -l<library>
1479 <  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1479 >  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1480                you have headers in a nonstandard directory <include dir>
1481    YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1482                the first program found out of: `bison -y', `byacc', `yacc'.
# Line 1620 | Line 1488 | Some influential environment variables:
1488   Use these variables to override the choices made by `configure' or to help
1489   it to find libraries and programs with nonstandard names/locations.
1490  
1491 < Report bugs to the package provider.
1491 > Report bugs to <bugs@ircd-hybrid.org>.
1492   _ACEOF
1493   ac_status=$?
1494   fi
# Line 1683 | Line 1551 | fi
1551   test -n "$ac_init_help" && exit $ac_status
1552   if $ac_init_version; then
1553    cat <<\_ACEOF
1554 < ircd-hybrid configure 7.2.4
1555 < generated by GNU Autoconf 2.64
1554 > ircd-hybrid configure 7.3-rc1
1555 > generated by GNU Autoconf 2.65
1556  
1557   Copyright (C) 2009 Free Software Foundation, Inc.
1558   This configure script is free software; the Free Software Foundation
# Line 1731 | Line 1599 | sed 's/^/| /' conftest.$ac_ext >&5
1599          ac_retval=1
1600   fi
1601    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1602 <  return $ac_retval
1602 >  as_fn_set_status $ac_retval
1603  
1604   } # ac_fn_c_try_compile
1605  
# Line 1777 | Line 1645 | fi
1645    # left behind by Apple's compiler.  We do this before executing the actions.
1646    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1647    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1648 <  return $ac_retval
1648 >  as_fn_set_status $ac_retval
1649  
1650   } # ac_fn_c_try_link
1651  
# Line 1845 | Line 1713 | sed 's/^/| /' conftest.$ac_ext >&5
1713      ac_retval=1
1714   fi
1715    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1716 <  return $ac_retval
1716 >  as_fn_set_status $ac_retval
1717  
1718   } # ac_fn_c_try_cpp
1719  
# Line 1887 | Line 1755 | sed 's/^/| /' conftest.$ac_ext >&5
1755   fi
1756    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1757    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758 <  return $ac_retval
1758 >  as_fn_set_status $ac_retval
1759  
1760   } # ac_fn_c_try_run
1761  
# Line 2108 | Line 1976 | $as_echo "$ac_res" >&6; }
1976  
1977   } # ac_fn_c_check_member
1978  
2111 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2112 # --------------------------------------------
2113 # Tries to find the compile-time value of EXPR in a program that includes
2114 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2115 # computed
2116 ac_fn_c_compute_int ()
2117 {
2118  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119  if test "$cross_compiling" = yes; then
2120    # Depending upon the size, compute the lo and hi bounds.
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h.  */
2123 $4
2124 int
2125 main ()
2126 {
2127 static int test_array [1 - 2 * !(($2) >= 0)];
2128 test_array [0] = 0
2129
2130  ;
2131  return 0;
2132 }
2133 _ACEOF
2134 if ac_fn_c_try_compile "$LINENO"; then :
2135  ac_lo=0 ac_mid=0
2136  while :; do
2137    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h.  */
2139 $4
2140 int
2141 main ()
2142 {
2143 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2144 test_array [0] = 0
2145
2146  ;
2147  return 0;
2148 }
2149 _ACEOF
2150 if ac_fn_c_try_compile "$LINENO"; then :
2151  ac_hi=$ac_mid; break
2152 else
2153  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2154                        if test $ac_lo -le $ac_mid; then
2155                          ac_lo= ac_hi=
2156                          break
2157                        fi
2158                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2159 fi
2160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2161  done
2162 else
2163  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 /* end confdefs.h.  */
2165 $4
2166 int
2167 main ()
2168 {
2169 static int test_array [1 - 2 * !(($2) < 0)];
2170 test_array [0] = 0
2171
2172  ;
2173  return 0;
2174 }
2175 _ACEOF
2176 if ac_fn_c_try_compile "$LINENO"; then :
2177  ac_hi=-1 ac_mid=-1
2178  while :; do
2179    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2180 /* end confdefs.h.  */
2181 $4
2182 int
2183 main ()
2184 {
2185 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2186 test_array [0] = 0
2187
2188  ;
2189  return 0;
2190 }
2191 _ACEOF
2192 if ac_fn_c_try_compile "$LINENO"; then :
2193  ac_lo=$ac_mid; break
2194 else
2195  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2196                        if test $ac_mid -le $ac_hi; then
2197                          ac_lo= ac_hi=
2198                          break
2199                        fi
2200                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2201 fi
2202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2203  done
2204 else
2205  ac_lo= ac_hi=
2206 fi
2207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2208 fi
2209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210 # Binary search between lo and hi bounds.
2211 while test "x$ac_lo" != "x$ac_hi"; do
2212  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2213  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h.  */
2215 $4
2216 int
2217 main ()
2218 {
2219 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2220 test_array [0] = 0
2221
2222  ;
2223  return 0;
2224 }
2225 _ACEOF
2226 if ac_fn_c_try_compile "$LINENO"; then :
2227  ac_hi=$ac_mid
2228 else
2229  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2230 fi
2231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232 done
2233 case $ac_lo in #((
2234 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2235 '') ac_retval=1 ;;
2236 esac
2237  else
2238    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2239 /* end confdefs.h.  */
2240 $4
2241 static long int longval () { return $2; }
2242 static unsigned long int ulongval () { return $2; }
2243 #include <stdio.h>
2244 #include <stdlib.h>
2245 int
2246 main ()
2247 {
2248
2249  FILE *f = fopen ("conftest.val", "w");
2250  if (! f)
2251    return 1;
2252  if (($2) < 0)
2253    {
2254      long int i = longval ();
2255      if (i != ($2))
2256        return 1;
2257      fprintf (f, "%ld", i);
2258    }
2259  else
2260    {
2261      unsigned long int i = ulongval ();
2262      if (i != ($2))
2263        return 1;
2264      fprintf (f, "%lu", i);
2265    }
2266  /* Do not output a trailing newline, as this causes \r\n confusion
2267     on some platforms.  */
2268  return ferror (f) || fclose (f) != 0;
2269
2270  ;
2271  return 0;
2272 }
2273 _ACEOF
2274 if ac_fn_c_try_run "$LINENO"; then :
2275  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2276 else
2277  ac_retval=1
2278 fi
2279 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2280  conftest.$ac_objext conftest.beam conftest.$ac_ext
2281 rm -f conftest.val
2282
2283  fi
2284  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2285  return $ac_retval
2286
2287 } # ac_fn_c_compute_int
2288
1979   # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1980   # -------------------------------------------------------
1981   # Tests whether HEADER exists, giving a warning if it cannot be compiled using
# Line 2356 | Line 2046 | $as_echo "$as_me: WARNING: $2: see the A
2046   $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2047      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2048   $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2049 + ( cat <<\_ASBOX
2050 + ## ----------------------------------- ##
2051 + ## Report this to bugs@ircd-hybrid.org ##
2052 + ## ----------------------------------- ##
2053 + _ASBOX
2054 +     ) | sed "s/^/$as_me: WARNING:     /" >&2
2055      ;;
2056   esac
2057    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
# Line 2376 | Line 2072 | cat >config.log <<_ACEOF
2072   This file contains any messages produced by compilers while
2073   running configure, to aid debugging if configure makes a mistake.
2074  
2075 < It was created by ircd-hybrid $as_me 7.2.4, which was
2076 < generated by GNU Autoconf 2.64.  Invocation command line was
2075 > It was created by ircd-hybrid $as_me 7.3-rc1, which was
2076 > generated by GNU Autoconf 2.65.  Invocation command line was
2077  
2078    $ $0 $@
2079  
# Line 2630 | Line 2326 | fi
2326   for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2327   do
2328    test "x$ac_site_file" = xNONE && continue
2329 <  if test -r "$ac_site_file"; then
2329 >  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2330      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2331   $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2332      sed 's/^/| /' "$ac_site_file" >&5
# Line 2639 | Line 2335 | $as_echo "$as_me: loading site script $a
2335   done
2336  
2337   if test -r "$cache_file"; then
2338 <  # Some versions of bash will fail to source /dev/null (special
2339 <  # files actually), so we avoid doing that.
2340 <  if test -f "$cache_file"; then
2338 >  # Some versions of bash will fail to source /dev/null (special files
2339 >  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2340 >  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2341      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2342   $as_echo "$as_me: loading cache $cache_file" >&6;}
2343      case $cache_file in
# Line 2655 | Line 2351 | $as_echo "$as_me: creating cache $cache_
2351    >$cache_file
2352   fi
2353  
2658 as_fn_append ac_func_list " snprintf"
2659 as_fn_append ac_func_list " vsnprintf"
2660 as_fn_append ac_func_list " lrand48"
2661 as_fn_append ac_func_list " srand48"
2354   as_fn_append ac_func_list " mmap"
2355   as_fn_append ac_func_list " strtok_r"
2356   as_fn_append ac_func_list " usleep"
2357   as_fn_append ac_func_list " strlcat"
2358   as_fn_append ac_func_list " strlcpy"
2667 as_fn_append ac_func_list " basename"
2359   as_fn_append ac_header_list " crypt.h"
2360   as_fn_append ac_header_list " inttypes.h"
2361   as_fn_append ac_header_list " stdint.h"
# Line 2672 | Line 2363 | as_fn_append ac_header_list " sys/resour
2363   as_fn_append ac_header_list " sys/param.h"
2364   as_fn_append ac_header_list " errno.h"
2365   as_fn_append ac_header_list " sys/syslog.h"
2675 as_fn_append ac_header_list " stddef.h"
2676 as_fn_append ac_header_list " libgen.h"
2366   as_fn_append ac_header_list " types.h"
2367   as_fn_append ac_header_list " socket.h"
2368   as_fn_append ac_header_list " sys/wait.h"
# Line 3084 | Line 2773 | IFS=$as_save_IFS
2773  
2774   fi
2775  
2776 +  test -d ./--version && rmdir ./--version
2777    if test "${ac_cv_path_mkdir+set}" = set; then
2778      MKDIR_P="$ac_cv_path_mkdir -p"
2779    else
# Line 3091 | Line 2781 | fi
2781      # value for MKDIR_P within a source directory, because that will
2782      # break other packages using the cache if that directory is
2783      # removed, or if the value is a relative name.
3094    test -d ./--version && rmdir ./--version
2784      MKDIR_P="$ac_install_sh -d"
2785    fi
2786   fi
# Line 3208 | Line 2897 | fi
2897  
2898   # Define the identity of the package.
2899   PACKAGE='ircd-hybrid'
2900 < VERSION='7.2.4'
2900 > VERSION='7.3-rc1'
2901  
2902  
2903   cat >>confdefs.h <<_ACEOF
# Line 3275 | Line 2964 | ac_config_headers="$ac_config_headers co
2964  
2965  
2966  
3278
2967   # Checks for programs.
2968 + DEPDIR="${am__leading_dot}deps"
2969 +
2970 + ac_config_commands="$ac_config_commands depfiles"
2971 +
2972 +
2973 + am_make=${MAKE-make}
2974 + cat > confinc << 'END'
2975 + am__doit:
2976 +        @echo this is the am__doit target
2977 + .PHONY: am__doit
2978 + END
2979 + # If we don't find an include directive, just comment out the code.
2980 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2981 + $as_echo_n "checking for style of include used by $am_make... " >&6; }
2982 + am__include="#"
2983 + am__quote=
2984 + _am_result=none
2985 + # First try GNU make style include.
2986 + echo "include confinc" > confmf
2987 + # Ignore all kinds of additional output from `make'.
2988 + case `$am_make -s -f confmf 2> /dev/null` in #(
2989 + *the\ am__doit\ target*)
2990 +  am__include=include
2991 +  am__quote=
2992 +  _am_result=GNU
2993 +  ;;
2994 + esac
2995 + # Now try BSD make style include.
2996 + if test "$am__include" = "#"; then
2997 +   echo '.include "confinc"' > confmf
2998 +   case `$am_make -s -f confmf 2> /dev/null` in #(
2999 +   *the\ am__doit\ target*)
3000 +     am__include=.include
3001 +     am__quote="\""
3002 +     _am_result=BSD
3003 +     ;;
3004 +   esac
3005 + fi
3006 +
3007 +
3008 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3009 + $as_echo "$_am_result" >&6; }
3010 + rm -f confinc confmf
3011 +
3012 + # Check whether --enable-dependency-tracking was given.
3013 + if test "${enable_dependency_tracking+set}" = set; then :
3014 +  enableval=$enable_dependency_tracking;
3015 + fi
3016 +
3017 + if test "x$enable_dependency_tracking" != xno; then
3018 +  am_depcomp="$ac_aux_dir/depcomp"
3019 +  AMDEPBACKSLASH='\'
3020 + fi
3021 + if test "x$enable_dependency_tracking" != xno; then
3022 +  AMDEP_TRUE=
3023 +  AMDEP_FALSE='#'
3024 + else
3025 +  AMDEP_TRUE='#'
3026 +  AMDEP_FALSE=
3027 + fi
3028 +
3029 +
3030   ac_ext=c
3031   ac_cpp='$CPP $CPPFLAGS'
3032   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3599 | Line 3349 | $as_echo "$ac_try_echo"; } >&5
3349   ... rest of stderr output deleted ...
3350           10q' conftest.err >conftest.er1
3351      cat conftest.er1 >&5
3602    rm -f conftest.er1 conftest.err
3352    fi
3353 +  rm -f conftest.er1 conftest.err
3354    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3355    test $ac_status = 0; }
3356   done
3357  
3358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359   /* end confdefs.h.  */
3360 < #include <stdio.h>
3360 >
3361   int
3362   main ()
3363   {
3614 FILE *f = fopen ("conftest.out", "w");
3615 return ferror (f) || fclose (f) != 0;
3364  
3365    ;
3366    return 0;
3367   }
3368   _ACEOF
3369   ac_clean_files_save=$ac_clean_files
3370 < ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3370 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3371   # Try to create an executable without -o first, disregard a.out.
3372   # It will help us diagnose broken compilers, and finding out an intuition
3373   # of exeext.
3374 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3375 < $as_echo_n "checking for C compiler default output file name... " >&6; }
3374 > { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3375 > $as_echo_n "checking whether the C compiler works... " >&6; }
3376   ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3377  
3378   # The possible output files:
# Line 3686 | Line 3434 | test "$ac_cv_exeext" = no && ac_cv_exeex
3434   else
3435    ac_file=''
3436   fi
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3690 $as_echo "$ac_file" >&6; }
3437   if test -z "$ac_file"; then :
3438 <  $as_echo "$as_me: failed program was:" >&5
3438 >  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3439 > $as_echo "no" >&6; }
3440 > $as_echo "$as_me: failed program was:" >&5
3441   sed 's/^/| /' conftest.$ac_ext >&5
3442  
3443   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
# Line 3697 | Line 3445 | $as_echo "$as_me: error: in \`$ac_pwd':"
3445   { as_fn_set_status 77
3446   as_fn_error "C compiler cannot create executables
3447   See \`config.log' for more details." "$LINENO" 5; }; }
3448 + else
3449 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3450 + $as_echo "yes" >&6; }
3451   fi
3452 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3453 + $as_echo_n "checking for C compiler default output file name... " >&6; }
3454 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3455 + $as_echo "$ac_file" >&6; }
3456   ac_exeext=$ac_cv_exeext
3457  
3458 < # Check that the compiler produces executables we can run.  If not, either
3704 < # the compiler is broken, or we cross compile.
3705 < { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3706 < $as_echo_n "checking whether the C compiler works... " >&6; }
3707 < # If not cross compiling, check that we can run a simple program.
3708 < if test "$cross_compiling" != yes; then
3709 <  if { ac_try='./$ac_file'
3710 <  { { case "(($ac_try" in
3711 <  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3712 <  *) ac_try_echo=$ac_try;;
3713 < esac
3714 < eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3715 < $as_echo "$ac_try_echo"; } >&5
3716 <  (eval "$ac_try") 2>&5
3717 <  ac_status=$?
3718 <  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3719 <  test $ac_status = 0; }; }; then
3720 <    cross_compiling=no
3721 <  else
3722 <    if test "$cross_compiling" = maybe; then
3723 <        cross_compiling=yes
3724 <    else
3725 <        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3726 < $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3727 < as_fn_error "cannot run C compiled programs.
3728 < If you meant to cross compile, use \`--host'.
3729 < See \`config.log' for more details." "$LINENO" 5; }
3730 <    fi
3731 <  fi
3732 < fi
3733 < { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3734 < $as_echo "yes" >&6; }
3735 <
3736 < rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3458 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3459   ac_clean_files=$ac_clean_files_save
3738 # Check that the compiler produces executables we can run.  If not, either
3739 # the compiler is broken, or we cross compile.
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3741 $as_echo_n "checking whether we are cross compiling... " >&6; }
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3743 $as_echo "$cross_compiling" >&6; }
3744
3460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3461   $as_echo_n "checking for suffix of executables... " >&6; }
3462   if { { ac_try="$ac_link"
# Line 3774 | Line 3489 | $as_echo "$as_me: error: in \`$ac_pwd':"
3489   as_fn_error "cannot compute suffix of executables: cannot compile and link
3490   See \`config.log' for more details." "$LINENO" 5; }
3491   fi
3492 < rm -f conftest$ac_cv_exeext
3492 > rm -f conftest conftest$ac_cv_exeext
3493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3494   $as_echo "$ac_cv_exeext" >&6; }
3495  
3496   rm -f conftest.$ac_ext
3497   EXEEXT=$ac_cv_exeext
3498   ac_exeext=$EXEEXT
3499 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3500 + /* end confdefs.h.  */
3501 + #include <stdio.h>
3502 + int
3503 + main ()
3504 + {
3505 + FILE *f = fopen ("conftest.out", "w");
3506 + return ferror (f) || fclose (f) != 0;
3507 +
3508 +  ;
3509 +  return 0;
3510 + }
3511 + _ACEOF
3512 + ac_clean_files="$ac_clean_files conftest.out"
3513 + # Check that the compiler produces executables we can run.  If not, either
3514 + # the compiler is broken, or we cross compile.
3515 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3516 + $as_echo_n "checking whether we are cross compiling... " >&6; }
3517 + if test "$cross_compiling" != yes; then
3518 +  { { ac_try="$ac_link"
3519 + case "(($ac_try" in
3520 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3521 +  *) ac_try_echo=$ac_try;;
3522 + esac
3523 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3524 + $as_echo "$ac_try_echo"; } >&5
3525 +  (eval "$ac_link") 2>&5
3526 +  ac_status=$?
3527 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3528 +  test $ac_status = 0; }
3529 +  if { ac_try='./conftest$ac_cv_exeext'
3530 +  { { case "(($ac_try" in
3531 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532 +  *) ac_try_echo=$ac_try;;
3533 + esac
3534 + eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3535 + $as_echo "$ac_try_echo"; } >&5
3536 +  (eval "$ac_try") 2>&5
3537 +  ac_status=$?
3538 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3539 +  test $ac_status = 0; }; }; then
3540 +    cross_compiling=no
3541 +  else
3542 +    if test "$cross_compiling" = maybe; then
3543 +        cross_compiling=yes
3544 +    else
3545 +        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3546 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3547 + as_fn_error "cannot run C compiled programs.
3548 + If you meant to cross compile, use \`--host'.
3549 + See \`config.log' for more details." "$LINENO" 5; }
3550 +    fi
3551 +  fi
3552 + fi
3553 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3554 + $as_echo "$cross_compiling" >&6; }
3555 +
3556 + rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3557 + ac_clean_files=$ac_clean_files_save
3558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3559   $as_echo_n "checking for suffix of object files... " >&6; }
3560   if test "${ac_cv_objext+set}" = set; then :
# Line 4043 | Line 3817 | ac_cpp='$CPP $CPPFLAGS'
3817   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3818   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3819   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4046 DEPDIR="${am__leading_dot}deps"
4047
4048 ac_config_commands="$ac_config_commands depfiles"
4049
4050
4051 am_make=${MAKE-make}
4052 cat > confinc << 'END'
4053 am__doit:
4054        @echo this is the am__doit target
4055 .PHONY: am__doit
4056 END
4057 # If we don't find an include directive, just comment out the code.
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4059 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4060 am__include="#"
4061 am__quote=
4062 _am_result=none
4063 # First try GNU make style include.
4064 echo "include confinc" > confmf
4065 # Ignore all kinds of additional output from `make'.
4066 case `$am_make -s -f confmf 2> /dev/null` in #(
4067 *the\ am__doit\ target*)
4068  am__include=include
4069  am__quote=
4070  _am_result=GNU
4071  ;;
4072 esac
4073 # Now try BSD make style include.
4074 if test "$am__include" = "#"; then
4075   echo '.include "confinc"' > confmf
4076   case `$am_make -s -f confmf 2> /dev/null` in #(
4077   *the\ am__doit\ target*)
4078     am__include=.include
4079     am__quote="\""
4080     _am_result=BSD
4081     ;;
4082   esac
4083 fi
4084
4085
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4087 $as_echo "$_am_result" >&6; }
4088 rm -f confinc confmf
4089
4090 # Check whether --enable-dependency-tracking was given.
4091 if test "${enable_dependency_tracking+set}" = set; then :
4092  enableval=$enable_dependency_tracking;
4093 fi
4094
4095 if test "x$enable_dependency_tracking" != xno; then
4096  am_depcomp="$ac_aux_dir/depcomp"
4097  AMDEPBACKSLASH='\'
4098 fi
4099 if test "x$enable_dependency_tracking" != xno; then
4100  AMDEP_TRUE=
4101  AMDEP_FALSE='#'
4102 else
4103  AMDEP_TRUE='#'
4104  AMDEP_FALSE=
4105 fi
4106
4107
3820  
3821   depcc="$CC"   am_compiler_list=
3822  
# Line 4233 | Line 3945 | else
3945   fi
3946  
3947  
3948 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3949 + $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3950 + if test "${ac_cv_prog_cc_c99+set}" = set; then :
3951 +  $as_echo_n "(cached) " >&6
3952 + else
3953 +  ac_cv_prog_cc_c99=no
3954 + ac_save_CC=$CC
3955 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 + /* end confdefs.h.  */
3957 + #include <stdarg.h>
3958 + #include <stdbool.h>
3959 + #include <stdlib.h>
3960 + #include <wchar.h>
3961 + #include <stdio.h>
3962 +
3963 + // Check varargs macros.  These examples are taken from C99 6.10.3.5.
3964 + #define debug(...) fprintf (stderr, __VA_ARGS__)
3965 + #define showlist(...) puts (#__VA_ARGS__)
3966 + #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3967 + static void
3968 + test_varargs_macros (void)
3969 + {
3970 +  int x = 1234;
3971 +  int y = 5678;
3972 +  debug ("Flag");
3973 +  debug ("X = %d\n", x);
3974 +  showlist (The first, second, and third items.);
3975 +  report (x>y, "x is %d but y is %d", x, y);
3976 + }
3977 +
3978 + // Check long long types.
3979 + #define BIG64 18446744073709551615ull
3980 + #define BIG32 4294967295ul
3981 + #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3982 + #if !BIG_OK
3983 +  your preprocessor is broken;
3984 + #endif
3985 + #if BIG_OK
3986 + #else
3987 +  your preprocessor is broken;
3988 + #endif
3989 + static long long int bignum = -9223372036854775807LL;
3990 + static unsigned long long int ubignum = BIG64;
3991 +
3992 + struct incomplete_array
3993 + {
3994 +  int datasize;
3995 +  double data[];
3996 + };
3997 +
3998 + struct named_init {
3999 +  int number;
4000 +  const wchar_t *name;
4001 +  double average;
4002 + };
4003 +
4004 + typedef const char *ccp;
4005 +
4006 + static inline int
4007 + test_restrict (ccp restrict text)
4008 + {
4009 +  // See if C++-style comments work.
4010 +  // Iterate through items via the restricted pointer.
4011 +  // Also check for declarations in for loops.
4012 +  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4013 +    continue;
4014 +  return 0;
4015 + }
4016 +
4017 + // Check varargs and va_copy.
4018 + static void
4019 + test_varargs (const char *format, ...)
4020 + {
4021 +  va_list args;
4022 +  va_start (args, format);
4023 +  va_list args_copy;
4024 +  va_copy (args_copy, args);
4025 +
4026 +  const char *str;
4027 +  int number;
4028 +  float fnumber;
4029 +
4030 +  while (*format)
4031 +    {
4032 +      switch (*format++)
4033 +        {
4034 +        case 's': // string
4035 +          str = va_arg (args_copy, const char *);
4036 +          break;
4037 +        case 'd': // int
4038 +          number = va_arg (args_copy, int);
4039 +          break;
4040 +        case 'f': // float
4041 +          fnumber = va_arg (args_copy, double);
4042 +          break;
4043 +        default:
4044 +          break;
4045 +        }
4046 +    }
4047 +  va_end (args_copy);
4048 +  va_end (args);
4049 + }
4050 +
4051 + int
4052 + main ()
4053 + {
4054 +
4055 +  // Check bool.
4056 +  _Bool success = false;
4057 +
4058 +  // Check restrict.
4059 +  if (test_restrict ("String literal") == 0)
4060 +    success = true;
4061 +  char *restrict newvar = "Another string";
4062 +
4063 +  // Check varargs.
4064 +  test_varargs ("s, d' f .", "string", 65, 34.234);
4065 +  test_varargs_macros ();
4066 +
4067 +  // Check flexible array members.
4068 +  struct incomplete_array *ia =
4069 +    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4070 +  ia->datasize = 10;
4071 +  for (int i = 0; i < ia->datasize; ++i)
4072 +    ia->data[i] = i * 1.234;
4073 +
4074 +  // Check named initializers.
4075 +  struct named_init ni = {
4076 +    .number = 34,
4077 +    .name = L"Test wide string",
4078 +    .average = 543.34343,
4079 +  };
4080 +
4081 +  ni.number = 58;
4082 +
4083 +  int dynamic_array[ni.number];
4084 +  dynamic_array[ni.number - 1] = 543;
4085 +
4086 +  // work around unused variable warnings
4087 +  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4088 +          || dynamic_array[ni.number - 1] != 543);
4089 +
4090 +  ;
4091 +  return 0;
4092 + }
4093 + _ACEOF
4094 + for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4095 + do
4096 +  CC="$ac_save_CC $ac_arg"
4097 +  if ac_fn_c_try_compile "$LINENO"; then :
4098 +  ac_cv_prog_cc_c99=$ac_arg
4099 + fi
4100 + rm -f core conftest.err conftest.$ac_objext
4101 +  test "x$ac_cv_prog_cc_c99" != "xno" && break
4102 + done
4103 + rm -f conftest.$ac_ext
4104 + CC=$ac_save_CC
4105 +
4106 + fi
4107 + # AC_CACHE_VAL
4108 + case "x$ac_cv_prog_cc_c99" in
4109 +  x)
4110 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4111 + $as_echo "none needed" >&6; } ;;
4112 +  xno)
4113 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4114 + $as_echo "unsupported" >&6; } ;;
4115 +  *)
4116 +    CC="$CC $ac_cv_prog_cc_c99"
4117 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4118 + $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4119 + esac
4120 + if test "x$ac_cv_prog_cc_c99" != xno; then :
4121 +
4122 + fi
4123 +
4124 +
4125 + if test "$ac_cv_prog_cc_c99" = "no"; then :
4126 +  as_fn_error "no C99 compiler found. Aborting." "$LINENO" 5
4127 + fi
4128   for ac_prog in 'bison -y' byacc
4129   do
4130    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 4439 | Line 4331 | if test "$LEX" = :; then
4331   fi
4332  
4333  
4334 + # Initializing libtool.
4335 +
4336 +
4337 +
4338 +
4339 +
4340 +
4341  
4443 #ltdl stuff
4342   case `pwd` in
4343    *\ * | *\     *)
4344      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
# Line 4449 | Line 4347 | esac
4347  
4348  
4349  
4350 < macro_version='2.2.6'
4351 < macro_revision='1.3012'
4350 > macro_version='2.2.10'
4351 > macro_revision='1.3175'
4352  
4353  
4354  
# Line 4537 | Line 4435 | IFS=$ac_save_IFS
4435   case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4436  
4437  
4438 + # Backslashify metacharacters that are still active within
4439 + # double-quoted strings.
4440 + sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4441 +
4442 + # Same as above, but do not quote variable references.
4443 + double_quote_subst='s/\(["`\\]\)/\\\1/g'
4444 +
4445 + # Sed substitution to delay expansion of an escaped shell variable in a
4446 + # double_quote_subst'ed string.
4447 + delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4448 +
4449 + # Sed substitution to delay expansion of an escaped single quote.
4450 + delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4451 +
4452 + # Sed substitution to avoid accidental globbing in evaled expressions
4453 + no_glob_subst='s/\*/\\\*/g'
4454 +
4455 + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4456 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4457 + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4458 +
4459 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4460 + $as_echo_n "checking how to print strings... " >&6; }
4461 + # Test print first, because it will be a builtin if present.
4462 + if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4463 +   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4464 +  ECHO='print -r --'
4465 + elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4466 +  ECHO='printf %s\n'
4467 + else
4468 +  # Use this function as a fallback that always works.
4469 +  func_fallback_echo ()
4470 +  {
4471 +    eval 'cat <<_LTECHO_EOF
4472 + $1
4473 + _LTECHO_EOF'
4474 +  }
4475 +  ECHO='func_fallback_echo'
4476 + fi
4477 +
4478 + # func_echo_all arg...
4479 + # Invoke $ECHO with all args, space-separated.
4480 + func_echo_all ()
4481 + {
4482 +    $ECHO ""
4483 + }
4484 +
4485 + case "$ECHO" in
4486 +  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4487 + $as_echo "printf" >&6; } ;;
4488 +  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4489 + $as_echo "print -r" >&6; } ;;
4490 +  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4491 + $as_echo "cat" >&6; } ;;
4492 + esac
4493 +
4494 +
4495 +
4496 +
4497 +
4498 +
4499 +
4500 +
4501 +
4502 +
4503 +
4504 +
4505 +
4506 +
4507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4508   $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4509   if test "${ac_cv_path_SED+set}" = set; then :
# Line 5002 | Line 4969 | if test "$lt_cv_path_NM" != "no"; then
4969    NM="$lt_cv_path_NM"
4970   else
4971    # Didn't find any BSD compatible name lister, look for dumpbin.
4972 <  if test -n "$ac_tool_prefix"; then
4973 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4972 >  if test -n "$DUMPBIN"; then :
4973 >    # Let the user override the test.
4974 >  else
4975 >    if test -n "$ac_tool_prefix"; then
4976 >  for ac_prog in dumpbin "link -dump"
4977    do
4978      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4979   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# Line 5047 | Line 5017 | fi
5017   fi
5018   if test -z "$DUMPBIN"; then
5019    ac_ct_DUMPBIN=$DUMPBIN
5020 <  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5020 >  for ac_prog in dumpbin "link -dump"
5021   do
5022    # Extract the first word of "$ac_prog", so it can be a program name with args.
5023   set dummy $ac_prog; ac_word=$2
# Line 5102 | Line 5072 | esac
5072    fi
5073   fi
5074  
5075 +    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5076 +    *COFF*)
5077 +      DUMPBIN="$DUMPBIN -symbols"
5078 +      ;;
5079 +    *)
5080 +      DUMPBIN=:
5081 +      ;;
5082 +    esac
5083 +  fi
5084  
5085    if test "$DUMPBIN" != ":"; then
5086      NM="$DUMPBIN"
# Line 5121 | Line 5100 | if test "${lt_cv_nm_interface+set}" = se
5100   else
5101    lt_cv_nm_interface="BSD nm"
5102    echo "int some_variable = 0;" > conftest.$ac_ext
5103 <  (eval echo "\"\$as_me:5124: $ac_compile\"" >&5)
5103 >  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5104    (eval "$ac_compile" 2>conftest.err)
5105    cat conftest.err >&5
5106 <  (eval echo "\"\$as_me:5127: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5106 >  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5107    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5108    cat conftest.err >&5
5109 <  (eval echo "\"\$as_me:5130: output\"" >&5)
5109 >  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5110    cat conftest.out >&5
5111    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5112      lt_cv_nm_interface="MS dumpbin"
# Line 5184 | Line 5163 | else
5163      lt_cv_sys_max_cmd_len=8192;
5164      ;;
5165  
5166 +  mint*)
5167 +    # On MiNT this can take a long time and run out of memory.
5168 +    lt_cv_sys_max_cmd_len=8192;
5169 +    ;;
5170 +
5171    amigaos*)
5172      # On AmigaOS with pdksh, this test takes hours, literally.
5173      # So we just punt and use a minimum line length of 8192.
# Line 5248 | Line 5232 | else
5232        # If test is not a shell built-in, we'll probably end up computing a
5233        # maximum length that is only half of the actual maximum length, but
5234        # we can't tell.
5235 <      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5236 <                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5235 >      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5236 >                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5237                test $i != 17 # 1/2 MB should be enough
5238        do
5239          i=`expr $i + 1`
# Line 5520 | Line 5504 | mingw* | pw32*)
5504    # Base MSYS/MinGW do not provide the 'file' command needed by
5505    # func_win32_libid shell function, so use a weaker test based on 'objdump',
5506    # unless we find 'file', for example because we are cross-compiling.
5507 <  if ( file / ) >/dev/null 2>&1; then
5507 >  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5508 >  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5509      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5510      lt_cv_file_magic_cmd='func_win32_libid'
5511    else
5512 <    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5512 >    # Keep this pattern in sync with the one in func_win32_libid.
5513 >    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5514      lt_cv_file_magic_cmd='$OBJDUMP -f'
5515    fi
5516    ;;
5517  
5518 < cegcc)
5518 > cegcc*)
5519    # use the weaker test based on 'objdump'. See mingw*.
5520    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5521    lt_cv_file_magic_cmd='$OBJDUMP -f'
# Line 5559 | Line 5545 | gnu*)
5545    lt_cv_deplibs_check_method=pass_all
5546    ;;
5547  
5548 + haiku*)
5549 +  lt_cv_deplibs_check_method=pass_all
5550 +  ;;
5551 +
5552   hpux10.20* | hpux11*)
5553    lt_cv_file_magic_cmd=/usr/bin/file
5554    case $host_cpu in
# Line 5567 | Line 5557 | hpux10.20* | hpux11*)
5557      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5558      ;;
5559    hppa*64*)
5560 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5560 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5561      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5562      ;;
5563    *)
5564 <    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5564 >    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5565      lt_cv_file_magic_test_file=/usr/lib/libc.sl
5566      ;;
5567    esac
# Line 5593 | Line 5583 | irix5* | irix6* | nonstopux*)
5583    ;;
5584  
5585   # This must be Linux ELF.
5586 < linux* | k*bsd*-gnu)
5586 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
5587    lt_cv_deplibs_check_method=pass_all
5588    ;;
5589  
# Line 6009 | Line 5999 | if test -n "$RANLIB"; then
5999    old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6000   fi
6001  
6002 + case $host_os in
6003 +  darwin*)
6004 +    lock_old_archive_extraction=yes ;;
6005 +  *)
6006 +    lock_old_archive_extraction=no ;;
6007 + esac
6008 +
6009 +
6010 +
6011 +
6012 +
6013 +
6014  
6015  
6016  
# Line 6178 | Line 6180 | _LT_EOF
6180    test $ac_status = 0; }; then
6181      # Now try to grab the symbols.
6182      nlist=conftest.nm
6183 <    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6184 <  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6183 >    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6184 >  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6185    ac_status=$?
6186    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6187    test $ac_status = 0; } && test -s "$nlist"; then
# Line 6332 | Line 6334 | ia64-*-hpux*)
6334    ;;
6335   *-*-irix6*)
6336    # Find out which ABI we are using.
6337 <  echo '#line 6335 "configure"' > conftest.$ac_ext
6337 >  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6338    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6339    (eval $ac_compile) 2>&5
6340    ac_status=$?
# Line 7044 | Line 7046 | rm -f core conftest.err conftest.$ac_obj
7046   fi
7047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7048   $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7049 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7050 + $as_echo_n "checking for -force_load linker flag... " >&6; }
7051 + if test "${lt_cv_ld_force_load+set}" = set; then :
7052 +  $as_echo_n "(cached) " >&6
7053 + else
7054 +  lt_cv_ld_force_load=no
7055 +      cat > conftest.c << _LT_EOF
7056 + int forced_loaded() { return 2;}
7057 + _LT_EOF
7058 +      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7059 +      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7060 +      echo "$AR cru libconftest.a conftest.o" >&5
7061 +      $AR cru libconftest.a conftest.o 2>&5
7062 +      echo "$RANLIB libconftest.a" >&5
7063 +      $RANLIB libconftest.a 2>&5
7064 +      cat > conftest.c << _LT_EOF
7065 + int main() { return 0;}
7066 + _LT_EOF
7067 +      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7068 +      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7069 +      _lt_result=$?
7070 +      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7071 +        lt_cv_ld_force_load=yes
7072 +      else
7073 +        cat conftest.err >&5
7074 +      fi
7075 +        rm -f conftest.err libconftest.a conftest conftest.c
7076 +        rm -rf conftest.dSYM
7077 +
7078 + fi
7079 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7080 + $as_echo "$lt_cv_ld_force_load" >&6; }
7081      case $host_os in
7082      rhapsody* | darwin1.[012])
7083        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
# Line 7071 | Line 7105 | $as_echo "$lt_cv_ld_exported_symbols_lis
7105      else
7106        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7107      fi
7108 <    if test "$DSYMUTIL" != ":"; then
7108 >    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7109        _lt_dsymutil='~$DSYMUTIL $lib || :'
7110      else
7111        _lt_dsymutil=
# Line 7362 | Line 7396 | done
7396  
7397  
7398  
7399 +
7400 +
7401   # Set options
7402   enable_dlopen=yes
7403   # Check whether --enable-static was given.
# Line 7512 | Line 7548 | LIBTOOL='$(SHELL) $(top_builddir)/libtoo
7548  
7549  
7550  
7551 +
7552   test -z "$LN_S" && LN_S="ln -s"
7553  
7554  
# Line 7561 | Line 7598 | _ACEOF
7598  
7599  
7600  
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7601   case $host_os in
7602   aix3*)
7603    # AIX sometimes has problems with the GCC collect2 program.  For some
# Line 7586 | Line 7610 | aix3*)
7610    ;;
7611   esac
7612  
7589 # Sed substitution that helps us do robust quoting.  It backslashifies
7590 # metacharacters that are still active within double-quoted strings.
7591 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7592
7593 # Same as above, but do not quote variable references.
7594 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7595
7596 # Sed substitution to delay expansion of an escaped shell variable in a
7597 # double_quote_subst'ed string.
7598 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7599
7600 # Sed substitution to delay expansion of an escaped single quote.
7601 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7602
7603 # Sed substitution to avoid accidental globbing in evaled expressions
7604 no_glob_subst='s/\*/\\\*/g'
7605
7613   # Global variables:
7614   ofile=libtool
7615   can_build_shared=yes
# Line 7631 | Line 7638 | for cc_temp in $compiler""; do
7638      *) break;;
7639    esac
7640   done
7641 < cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7641 > cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7642  
7643  
7644   # Only perform the check for file, if the check method requires it
# Line 7836 | Line 7843 | if test -n "$compiler"; then
7843   lt_prog_compiler_no_builtin_flag=
7844  
7845   if test "$GCC" = yes; then
7846 <  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7846 >  case $cc_basename in
7847 >  nvcc*)
7848 >    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7849 >  *)
7850 >    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7851 >  esac
7852  
7853    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7854   $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
# Line 7856 | Line 7868 | else
7868     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7869     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7870     -e 's:$: $lt_compiler_flag:'`
7871 <   (eval echo "\"\$as_me:7859: $lt_compile\"" >&5)
7871 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7872     (eval "$lt_compile" 2>conftest.err)
7873     ac_status=$?
7874     cat conftest.err >&5
7875 <   echo "$as_me:7863: \$? = $ac_status" >&5
7875 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7876     if (exit $ac_status) && test -s "$ac_outfile"; then
7877       # The compiler can only warn and ignore the option if not recognized
7878       # So say no if there are warnings other than the usual output.
7879 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7879 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7880       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7881       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7882         lt_cv_prog_compiler_rtti_exceptions=yes
# Line 7942 | Line 7954 | $as_echo_n "checking for $compiler optio
7954        lt_prog_compiler_pic='-fno-common'
7955        ;;
7956  
7957 +    haiku*)
7958 +      # PIC is the default for Haiku.
7959 +      # The "-static" flag exists, but is broken.
7960 +      lt_prog_compiler_static=
7961 +      ;;
7962 +
7963      hpux*)
7964        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7965        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
# Line 7984 | Line 8002 | $as_echo_n "checking for $compiler optio
8002        lt_prog_compiler_pic='-fPIC'
8003        ;;
8004      esac
8005 +
8006 +    case $cc_basename in
8007 +    nvcc*) # Cuda Compiler Driver 2.2
8008 +      lt_prog_compiler_wl='-Xlinker '
8009 +      lt_prog_compiler_pic='-Xcompiler -fPIC'
8010 +      ;;
8011 +    esac
8012    else
8013      # PORTME Check for flag to pass linker flags through the system compiler.
8014      case $host_os in
# Line 8025 | Line 8050 | $as_echo_n "checking for $compiler optio
8050        lt_prog_compiler_static='-non_shared'
8051        ;;
8052  
8053 <    linux* | k*bsd*-gnu)
8053 >    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8054        case $cc_basename in
8055        # old Intel for x86_64 which still supported -KPIC.
8056        ecc*)
# Line 8046 | Line 8071 | $as_echo_n "checking for $compiler optio
8071          lt_prog_compiler_pic='--shared'
8072          lt_prog_compiler_static='--static'
8073          ;;
8074 <      pgcc* | pgf77* | pgf90* | pgf95*)
8074 >      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8075          # Portland Group compilers (*not* the Pentium gcc compiler,
8076          # which looks to be a dead project)
8077          lt_prog_compiler_wl='-Wl,'
# Line 8058 | Line 8083 | $as_echo_n "checking for $compiler optio
8083          # All Alpha code is PIC.
8084          lt_prog_compiler_static='-non_shared'
8085          ;;
8086 <      xl*)
8087 <        # IBM XL C 8.0/Fortran 10.1 on PPC
8086 >      xl* | bgxl* | bgf* | mpixl*)
8087 >        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8088          lt_prog_compiler_wl='-Wl,'
8089          lt_prog_compiler_pic='-qpic'
8090          lt_prog_compiler_static='-qstaticlink'
8091          ;;
8092        *)
8093          case `$CC -V 2>&1 | sed 5q` in
8094 <        *Sun\ C*)
8095 <          # Sun C 5.9
8094 >        *Sun\ F* | *Sun*Fortran*)
8095 >          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8096            lt_prog_compiler_pic='-KPIC'
8097            lt_prog_compiler_static='-Bstatic'
8098 <          lt_prog_compiler_wl='-Wl,'
8098 >          lt_prog_compiler_wl=''
8099            ;;
8100 <        *Sun\ F*)
8101 <          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8100 >        *Sun\ C*)
8101 >          # Sun C 5.9
8102            lt_prog_compiler_pic='-KPIC'
8103            lt_prog_compiler_static='-Bstatic'
8104 <          lt_prog_compiler_wl=''
8104 >          lt_prog_compiler_wl='-Wl,'
8105            ;;
8106          esac
8107          ;;
# Line 8108 | Line 8133 | $as_echo_n "checking for $compiler optio
8133        lt_prog_compiler_pic='-KPIC'
8134        lt_prog_compiler_static='-Bstatic'
8135        case $cc_basename in
8136 <      f77* | f90* | f95*)
8136 >      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8137          lt_prog_compiler_wl='-Qoption ld ';;
8138        *)
8139          lt_prog_compiler_wl='-Wl,';;
# Line 8195 | Line 8220 | else
8220     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8221     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8222     -e 's:$: $lt_compiler_flag:'`
8223 <   (eval echo "\"\$as_me:8198: $lt_compile\"" >&5)
8223 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8224     (eval "$lt_compile" 2>conftest.err)
8225     ac_status=$?
8226     cat conftest.err >&5
8227 <   echo "$as_me:8202: \$? = $ac_status" >&5
8227 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228     if (exit $ac_status) && test -s "$ac_outfile"; then
8229       # The compiler can only warn and ignore the option if not recognized
8230       # So say no if there are warnings other than the usual output.
8231 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8231 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8232       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8233       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8234         lt_cv_prog_compiler_pic_works=yes
# Line 8251 | Line 8276 | else
8276       if test -s conftest.err; then
8277         # Append any errors to the config.log.
8278         cat conftest.err 1>&5
8279 <       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8279 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8280         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8281         if diff conftest.exp conftest.er2 >/dev/null; then
8282           lt_cv_prog_compiler_static_works=yes
# Line 8300 | Line 8325 | else
8325     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8326     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8327     -e 's:$: $lt_compiler_flag:'`
8328 <   (eval echo "\"\$as_me:8303: $lt_compile\"" >&5)
8328 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8329     (eval "$lt_compile" 2>out/conftest.err)
8330     ac_status=$?
8331     cat out/conftest.err >&5
8332 <   echo "$as_me:8307: \$? = $ac_status" >&5
8332 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8334     then
8335       # The compiler can only warn and ignore the option if not recognized
8336       # So say no if there are warnings
8337 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8337 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8338       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8339       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8340         lt_cv_prog_compiler_c_o=yes
# Line 8355 | Line 8380 | else
8380     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8381     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8382     -e 's:$: $lt_compiler_flag:'`
8383 <   (eval echo "\"\$as_me:8358: $lt_compile\"" >&5)
8383 >   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8384     (eval "$lt_compile" 2>out/conftest.err)
8385     ac_status=$?
8386     cat out/conftest.err >&5
8387 <   echo "$as_me:8362: \$? = $ac_status" >&5
8387 >   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388     if (exit $ac_status) && test -s out/conftest2.$ac_objext
8389     then
8390       # The compiler can only warn and ignore the option if not recognized
8391       # So say no if there are warnings
8392 <     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8392 >     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8393       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8394       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8395         lt_cv_prog_compiler_c_o=yes
# Line 8477 | Line 8502 | $as_echo_n "checking whether the $compil
8502    esac
8503  
8504    ld_shlibs=yes
8505 +
8506 +  # On some targets, GNU ld is compatible enough with the native linker
8507 +  # that we're better off using the native interface for both.
8508 +  lt_use_gnu_ld_interface=no
8509    if test "$with_gnu_ld" = yes; then
8510 +    case $host_os in
8511 +      aix*)
8512 +        # The AIX port of GNU ld has always aspired to compatibility
8513 +        # with the native linker.  However, as the warning in the GNU ld
8514 +        # block says, versions before 2.19.5* couldn't really create working
8515 +        # shared libraries, regardless of the interface used.
8516 +        case `$LD -v 2>&1` in
8517 +          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8518 +          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8519 +          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8520 +          *)
8521 +            lt_use_gnu_ld_interface=yes
8522 +            ;;
8523 +        esac
8524 +        ;;
8525 +      *)
8526 +        lt_use_gnu_ld_interface=yes
8527 +        ;;
8528 +    esac
8529 +  fi
8530 +
8531 +  if test "$lt_use_gnu_ld_interface" = yes; then
8532      # If archive_cmds runs LD, not CC, wlarc should be empty
8533      wlarc='${wl}'
8534  
# Line 8495 | Line 8546 | $as_echo_n "checking whether the $compil
8546      fi
8547      supports_anon_versioning=no
8548      case `$LD -v 2>&1` in
8549 +      *GNU\ gold*) supports_anon_versioning=yes ;;
8550        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8551        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8552        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
# Line 8510 | Line 8562 | $as_echo_n "checking whether the $compil
8562          ld_shlibs=no
8563          cat <<_LT_EOF 1>&2
8564  
8565 < *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8565 > *** Warning: the GNU linker, at least up to release 2.19, is reported
8566   *** to be unable to reliably create shared libraries on AIX.
8567   *** Therefore, libtool is disabling shared libraries support.  If you
8568 < *** really care for shared libraries, you may want to modify your PATH
8569 < *** so that a non-GNU linker is found, and then restart.
8568 > *** really care for shared libraries, you may want to install binutils
8569 > *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8570 > *** You will then need to restart the configuration process.
8571  
8572   _LT_EOF
8573        fi
# Line 8550 | Line 8603 | _LT_EOF
8603        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8604        # as there is no search path for DLLs.
8605        hardcode_libdir_flag_spec='-L$libdir'
8606 +      export_dynamic_flag_spec='${wl}--export-all-symbols'
8607        allow_undefined_flag=unsupported
8608        always_export_symbols=no
8609        enable_shared_with_static_runtimes=yes
# Line 8571 | Line 8625 | _LT_EOF
8625        fi
8626        ;;
8627  
8628 +    haiku*)
8629 +      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8630 +      link_all_deplibs=yes
8631 +      ;;
8632 +
8633      interix[3-9]*)
8634        hardcode_direct=no
8635        hardcode_shlibpath_var=no
# Line 8586 | Line 8645 | _LT_EOF
8645        archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8646        ;;
8647  
8648 <    gnu* | linux* | tpf* | k*bsd*-gnu)
8648 >    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8649        tmp_diet=no
8650        if test "$host_os" = linux-dietlibc; then
8651          case $cc_basename in
# Line 8600 | Line 8659 | _LT_EOF
8659          tmp_sharedflag='-shared'
8660          case $cc_basename,$host_cpu in
8661          pgcc*)                          # Portland Group C compiler
8662 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8662 >          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8663            tmp_addflag=' $pic_flag'
8664            ;;
8665 <        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8666 <          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8665 >        pgf77* | pgf90* | pgf95* | pgfortran*)
8666 >                                        # Portland Group f77 and f90 compilers
8667 >          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8668            tmp_addflag=' $pic_flag -Mnomain' ;;
8669          ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8670            tmp_addflag=' -i_dynamic' ;;
# Line 8615 | Line 8675 | _LT_EOF
8675          lf95*)                          # Lahey Fortran 8.1
8676            whole_archive_flag_spec=
8677            tmp_sharedflag='--shared' ;;
8678 <        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8678 >        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8679            tmp_sharedflag='-qmkshrobj'
8680            tmp_addflag= ;;
8681 +        nvcc*)  # Cuda Compiler Driver 2.2
8682 +          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8683 +          compiler_needs_object=yes
8684 +          ;;
8685          esac
8686          case `$CC -V 2>&1 | sed 5q` in
8687          *Sun\ C*)                       # Sun C 5.9
8688 <          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8688 >          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8689            compiler_needs_object=yes
8690            tmp_sharedflag='-G' ;;
8691          *Sun\ F*)                       # Sun Fortran 8.3
# Line 8637 | Line 8701 | _LT_EOF
8701          fi
8702  
8703          case $cc_basename in
8704 <        xlf*)
8704 >        xlf* | bgf* | bgxlf* | mpixlf*)
8705            # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8706            whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8707            hardcode_libdir_flag_spec=
8708            hardcode_libdir_flag_spec_ld='-rpath $libdir'
8709 <          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8709 >          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8710            if test "x$supports_anon_versioning" = xyes; then
8711              archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8712                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8713                echo "local: *; };" >> $output_objdir/$libname.ver~
8714 <              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8714 >              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8715            fi
8716            ;;
8717          esac
# Line 8768 | Line 8832 | _LT_EOF
8832        else
8833          # If we're using GNU nm, then we don't want the "-C" option.
8834          # -C means demangle to AIX nm, but means don't demangle with GNU nm
8835 +        # Also, AIX nm treats weak defined symbols like other global
8836 +        # defined symbols, whereas GNU nm marks them as "W".
8837          if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8838 <          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8838 >          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8839          else
8840            export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8841          fi
# Line 8831 | Line 8897 | _LT_EOF
8897          if test "$aix_use_runtimelinking" = yes; then
8898            shared_flag="$shared_flag "'${wl}-G'
8899          fi
8834        link_all_deplibs=no
8900        else
8901          # not using gcc
8902          if test "$host_cpu" = ia64; then
# Line 8888 | Line 8953 | rm -f core conftest.err conftest.$ac_obj
8953   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8954  
8955          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8956 <        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8956 >        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8957        else
8958          if test "$host_cpu" = ia64; then
8959            hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
# Line 8932 | Line 8997 | if test -z "$aix_libpath"; then aix_libp
8997            # -berok will link without error, but may produce a broken library.
8998            no_undefined_flag=' ${wl}-bernotok'
8999            allow_undefined_flag=' ${wl}-berok'
9000 <          # Exported symbols can be pulled into shared objects from archives
9001 <          whole_archive_flag_spec='$convenience'
9000 >          if test "$with_gnu_ld" = yes; then
9001 >            # We only use this code for GNU lds that support --whole-archive.
9002 >            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9003 >          else
9004 >            # Exported symbols can be pulled into shared objects from archives
9005 >            whole_archive_flag_spec='$convenience'
9006 >          fi
9007            archive_cmds_need_lc=yes
9008            # This is similar to how AIX traditionally builds its shared libraries.
9009            archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
# Line 8972 | Line 9042 | if test -z "$aix_libpath"; then aix_libp
9042        # Tell ltmain to make .dll files, not .so files.
9043        shrext_cmds=".dll"
9044        # FIXME: Setting linknames here is a bad hack.
9045 <      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9045 >      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9046        # The linker will automatically build a .lib file if we build a DLL.
9047        old_archive_from_new_cmds='true'
9048        # FIXME: Should let the user specify the lib program.
# Line 8988 | Line 9058 | if test -z "$aix_libpath"; then aix_libp
9058    hardcode_direct=no
9059    hardcode_automatic=yes
9060    hardcode_shlibpath_var=unsupported
9061 <  whole_archive_flag_spec=''
9061 >  if test "$lt_cv_ld_force_load" = "yes"; then
9062 >    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9063 >  else
9064 >    whole_archive_flag_spec=''
9065 >  fi
9066    link_all_deplibs=yes
9067    allow_undefined_flag="$_lt_dar_allow_undefined"
9068    case $cc_basename in
# Line 8996 | Line 9070 | if test -z "$aix_libpath"; then aix_libp
9070       *) _lt_dar_can_shared=$GCC ;;
9071    esac
9072    if test "$_lt_dar_can_shared" = "yes"; then
9073 <    output_verbose_link_cmd=echo
9073 >    output_verbose_link_cmd=func_echo_all
9074      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9075      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9076      archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
# Line 9062 | Line 9136 | if test -z "$aix_libpath"; then aix_libp
9136        ;;
9137  
9138      hpux10*)
9139 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9139 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9140          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9141        else
9142          archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
# Line 9081 | Line 9155 | if test -z "$aix_libpath"; then aix_libp
9155        ;;
9156  
9157      hpux11*)
9158 <      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9158 >      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9159          case $host_cpu in
9160          hppa*64*)
9161            archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
# Line 9102 | Line 9176 | if test -z "$aix_libpath"; then aix_libp
9176            archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9177            ;;
9178          *)
9179 <          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9179 >
9180 >          # Older versions of the 11.00 compiler do not understand -b yet
9181 >          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9182 >          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9183 > $as_echo_n "checking if $CC understands -b... " >&6; }
9184 > if test "${lt_cv_prog_compiler__b+set}" = set; then :
9185 >  $as_echo_n "(cached) " >&6
9186 > else
9187 >  lt_cv_prog_compiler__b=no
9188 >   save_LDFLAGS="$LDFLAGS"
9189 >   LDFLAGS="$LDFLAGS -b"
9190 >   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9191 >   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9192 >     # The linker can only warn and ignore the option if not recognized
9193 >     # So say no if there are warnings
9194 >     if test -s conftest.err; then
9195 >       # Append any errors to the config.log.
9196 >       cat conftest.err 1>&5
9197 >       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9198 >       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9199 >       if diff conftest.exp conftest.er2 >/dev/null; then
9200 >         lt_cv_prog_compiler__b=yes
9201 >       fi
9202 >     else
9203 >       lt_cv_prog_compiler__b=yes
9204 >     fi
9205 >   fi
9206 >   $RM -r conftest*
9207 >   LDFLAGS="$save_LDFLAGS"
9208 >
9209 > fi
9210 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9211 > $as_echo "$lt_cv_prog_compiler__b" >&6; }
9212 >
9213 > if test x"$lt_cv_prog_compiler__b" = xyes; then
9214 >    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9215 > else
9216 >    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9217 > fi
9218 >
9219            ;;
9220          esac
9221        fi
# Line 9130 | Line 9243 | if test -z "$aix_libpath"; then aix_libp
9243  
9244      irix5* | irix6* | nonstopux*)
9245        if test "$GCC" = yes; then
9246 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9246 >        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9247          # Try to use the -exported_symbol ld option, if it does not
9248          # work, assume that -exports_file does not work either and
9249          # implicitly export all symbols.
# Line 9141 | Line 9254 | if test -z "$aix_libpath"; then aix_libp
9254   int foo(void) {}
9255   _ACEOF
9256   if ac_fn_c_try_link "$LINENO"; then :
9257 <  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9257 >  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9258  
9259   fi
9260   rm -f core conftest.err conftest.$ac_objext \
9261      conftest$ac_exeext conftest.$ac_ext
9262          LDFLAGS="$save_LDFLAGS"
9263        else
9264 <        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9265 <        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9264 >        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9265 >        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9266        fi
9267        archive_cmds_need_lc='no'
9268        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9211 | Line 9324 | rm -f core conftest.err conftest.$ac_obj
9324        hardcode_libdir_flag_spec='-L$libdir'
9325        hardcode_minus_L=yes
9326        allow_undefined_flag=unsupported
9327 <      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9327 >      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9328        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9329        ;;
9330  
9331      osf3*)
9332        if test "$GCC" = yes; then
9333          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9334 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9334 >        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9335        else
9336          allow_undefined_flag=' -expect_unresolved \*'
9337 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9337 >        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9338        fi
9339        archive_cmds_need_lc='no'
9340        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
# Line 9231 | Line 9344 | rm -f core conftest.err conftest.$ac_obj
9344      osf4* | osf5*)      # as osf3* with the addition of -msym flag
9345        if test "$GCC" = yes; then
9346          allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9347 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9347 >        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9348          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9349        else
9350          allow_undefined_flag=' -expect_unresolved \*'
9351 <        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9351 >        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9352          archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9353 <        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9353 >        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9354  
9355          # Both c and cxx compiler support -rpath directly
9356          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 9440 | Line 9553 | x|xyes)
9553        # to ld, don't add -lc before -lgcc.
9554        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9555   $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9556 <      $RM conftest*
9557 <      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9556 > if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9557 >  $as_echo_n "(cached) " >&6
9558 > else
9559 >  $RM conftest*
9560 >        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9561  
9562 <      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9562 >        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9563    (eval $ac_compile) 2>&5
9564    ac_status=$?
9565    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9566    test $ac_status = 0; } 2>conftest.err; then
9567 <        soname=conftest
9568 <        lib=conftest
9569 <        libobjs=conftest.$ac_objext
9570 <        deplibs=
9571 <        wl=$lt_prog_compiler_wl
9572 <        pic_flag=$lt_prog_compiler_pic
9573 <        compiler_flags=-v
9574 <        linker_flags=-v
9575 <        verstring=
9576 <        output_objdir=.
9577 <        libname=conftest
9578 <        lt_save_allow_undefined_flag=$allow_undefined_flag
9579 <        allow_undefined_flag=
9580 <        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9567 >          soname=conftest
9568 >          lib=conftest
9569 >          libobjs=conftest.$ac_objext
9570 >          deplibs=
9571 >          wl=$lt_prog_compiler_wl
9572 >          pic_flag=$lt_prog_compiler_pic
9573 >          compiler_flags=-v
9574 >          linker_flags=-v
9575 >          verstring=
9576 >          output_objdir=.
9577 >          libname=conftest
9578 >          lt_save_allow_undefined_flag=$allow_undefined_flag
9579 >          allow_undefined_flag=
9580 >          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9581    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9582    ac_status=$?
9583    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9584    test $ac_status = 0; }
9585 <        then
9586 <          archive_cmds_need_lc=no
9587 <        else
9588 <          archive_cmds_need_lc=yes
9589 <        fi
9590 <        allow_undefined_flag=$lt_save_allow_undefined_flag
9591 <      else
9592 <        cat conftest.err 1>&5
9593 <      fi
9594 <      $RM conftest*
9595 <      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9596 < $as_echo "$archive_cmds_need_lc" >&6; }
9585 >          then
9586 >            lt_cv_archive_cmds_need_lc=no
9587 >          else
9588 >            lt_cv_archive_cmds_need_lc=yes
9589 >          fi
9590 >          allow_undefined_flag=$lt_save_allow_undefined_flag
9591 >        else
9592 >          cat conftest.err 1>&5
9593 >        fi
9594 >        $RM conftest*
9595 >
9596 > fi
9597 > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9598 > $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9599 >      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9600        ;;
9601      esac
9602    fi
# Line 9648 | Line 9767 | if test "$GCC" = yes; then
9767      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9768      *) lt_awk_arg="/^libraries:/" ;;
9769    esac
9770 <  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9771 <  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9770 >  case $host_os in
9771 >    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9772 >    *) lt_sed_strip_eq="s,=/,/,g" ;;
9773 >  esac
9774 >  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9775 >  case $lt_search_path_spec in
9776 >  *\;*)
9777      # if the path contains ";" then we assume it to be the separator
9778      # otherwise default to the standard path separator (i.e. ":") - it is
9779      # assumed that no part of a normal pathname contains ";" but that should
9780      # okay in the real world where ";" in dirpaths is itself problematic.
9781 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9782 <  else
9783 <    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9784 <  fi
9781 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9782 >    ;;
9783 >  *)
9784 >    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9785 >    ;;
9786 >  esac
9787    # Ok, now we have the path, separated by spaces, we can step through it
9788    # and add multilib dir if necessary.
9789    lt_tmp_lt_search_path_spec=
# Line 9670 | Line 9796 | if test "$GCC" = yes; then
9796          lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9797      fi
9798    done
9799 <  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9799 >  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9800   BEGIN {RS=" "; FS="/|\n";} {
9801    lt_foo="";
9802    lt_count=0;
# Line 9690 | Line 9816 | BEGIN {RS=" "; FS="/|\n";} {
9816    if (lt_foo != "") { lt_freq[lt_foo]++; }
9817    if (lt_freq[lt_foo] == 1) { print lt_foo; }
9818   }'`
9819 <  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9819 >  # AWK program above erroneously prepends '/' to C:/dos/paths
9820 >  # for these hosts.
9821 >  case $host_os in
9822 >    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9823 >      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9824 >  esac
9825 >  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9826   else
9827    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9828   fi
# Line 9778 | Line 9910 | amigaos*)
9910    m68k)
9911      library_names_spec='$libname.ixlibrary $libname.a'
9912      # Create ${libname}_ixlibrary.a entries in /sys/libs.
9913 <    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9913 >    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9914      ;;
9915    esac
9916    ;;
# Line 9831 | Line 9963 | cygwin* | mingw* | pw32* | cegcc*)
9963      cygwin*)
9964        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9965        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9966 <      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9966 >
9967 >      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9968        ;;
9969      mingw* | cegcc*)
9970        # MinGW DLLs use traditional 'lib' prefix
9971        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9839      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9840      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9841        # It is most probably a Windows format PATH printed by
9842        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9843        # path with ; separators, and with drive letters. We can handle the
9844        # drive letters (cygwin fileutils understands them), so leave them,
9845        # especially as we might pass files found there to a mingw objdump,
9846        # which wouldn't understand a cygwinified path. Ahh.
9847        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9848      else
9849        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9850      fi
9972        ;;
9973      pw32*)
9974        # pw32 DLLs use 'pw' prefix rather than 'lib'
# Line 9947 | Line 10068 | gnu*)
10068    hardcode_into_libs=yes
10069    ;;
10070  
10071 + haiku*)
10072 +  version_type=linux
10073 +  need_lib_prefix=no
10074 +  need_version=no
10075 +  dynamic_linker="$host_os runtime_loader"
10076 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10077 +  soname_spec='${libname}${release}${shared_ext}$major'
10078 +  shlibpath_var=LIBRARY_PATH
10079 +  shlibpath_overrides_runpath=yes
10080 +  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10081 +  hardcode_into_libs=yes
10082 +  ;;
10083 +
10084   hpux9* | hpux10* | hpux11*)
10085    # Give a soname corresponding to the major version so that dld.sl refuses to
10086    # link against other versions.
# Line 9989 | Line 10123 | hpux9* | hpux10* | hpux11*)
10123      soname_spec='${libname}${release}${shared_ext}$major'
10124      ;;
10125    esac
10126 <  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10126 >  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10127    postinstall_cmds='chmod 555 $lib'
10128 +  # or fails outright, so override atomically:
10129 +  install_override_mode=555
10130    ;;
10131  
10132   interix[3-9]*)
# Line 10048 | Line 10184 | linux*oldld* | linux*aout* | linux*coff*
10184    ;;
10185  
10186   # This must be Linux ELF.
10187 < linux* | k*bsd*-gnu)
10187 > linux* | k*bsd*-gnu | kopensolaris*-gnu)
10188    version_type=linux
10189    need_lib_prefix=no
10190    need_version=no
# Line 10057 | Line 10193 | linux* | k*bsd*-gnu)
10193    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10194    shlibpath_var=LD_LIBRARY_PATH
10195    shlibpath_overrides_runpath=no
10196 +
10197    # Some binutils ld are patched to set DT_RUNPATH
10198 <  save_LDFLAGS=$LDFLAGS
10199 <  save_libdir=$libdir
10200 <  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10201 <       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10202 <  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10198 >  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10199 >  $as_echo_n "(cached) " >&6
10200 > else
10201 >  lt_cv_shlibpath_overrides_runpath=no
10202 >    save_LDFLAGS=$LDFLAGS
10203 >    save_libdir=$libdir
10204 >    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10205 >         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10206 >    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10207   /* end confdefs.h.  */
10208  
10209   int
# Line 10075 | Line 10216 | main ()
10216   _ACEOF
10217   if ac_fn_c_try_link "$LINENO"; then :
10218    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10219 <  shlibpath_overrides_runpath=yes
10219 >  lt_cv_shlibpath_overrides_runpath=yes
10220   fi
10221   fi
10222   rm -f core conftest.err conftest.$ac_objext \
10223      conftest$ac_exeext conftest.$ac_ext
10224 <  LDFLAGS=$save_LDFLAGS
10225 <  libdir=$save_libdir
10224 >    LDFLAGS=$save_LDFLAGS
10225 >    libdir=$save_libdir
10226 >
10227 > fi
10228 >
10229 >  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10230  
10231    # This implies no fast_install, which is unacceptable.
10232    # Some rework will be needed to allow for fast_install
10233    # before this can be enabled.
10234    hardcode_into_libs=yes
10235  
10091  # find out which ABI we are using
10092  libsuff=
10093  case "$host_cpu" in
10094  x86_64*|s390x*|powerpc64*)
10095    echo '#line 10095 "configure"' > conftest.$ac_ext
10096    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10097  (eval $ac_compile) 2>&5
10098  ac_status=$?
10099  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10100  test $ac_status = 0; }; then
10101      case `/usr/bin/file conftest.$ac_objext` in
10102      *64-bit*)
10103        libsuff=64
10104        ;;
10105      esac
10106    fi
10107    rm -rf conftest*
10108    ;;
10109  esac
10110
10111  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10112
10236    # Append ld.so.conf contents to the search path
10237    if test -f /etc/ld.so.conf; then
10238 <    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;/^$/d' | tr '\n' ' '`
10239 <    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10238 >    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' ' '`
10239 >    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10240    fi
10241  
10242    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 10415 | Line 10538 | fi
10538  
10539  
10540  
10541 +
10542 +
10543 +
10544 +
10545 +
10546    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10547   $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10548   hardcode_action=
# Line 10745 | Line 10873 | else
10873    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10874    lt_status=$lt_dlunknown
10875    cat > conftest.$ac_ext <<_LT_EOF
10876 < #line 10748 "configure"
10876 > #line $LINENO "configure"
10877   #include "confdefs.h"
10878  
10879   #if HAVE_DLFCN_H
# Line 10786 | Line 10914 | else
10914   #  endif
10915   #endif
10916  
10917 < void fnord() { int i=42;}
10917 > /* When -fvisbility=hidden is used, assume the code has been annotated
10918 >   correspondingly for the symbols needed.  */
10919 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10920 > void fnord () __attribute__((visibility("default")));
10921 > #endif
10922 >
10923 > void fnord () { int i=42; }
10924   int main ()
10925   {
10926    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10795 | Line 10929 | int main ()
10929    if (self)
10930      {
10931        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10932 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10932 >      else
10933 >        {
10934 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
10935 >          else puts (dlerror ());
10936 >        }
10937        /* dlclose (self); */
10938      }
10939    else
# Line 10841 | Line 10979 | else
10979    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10980    lt_status=$lt_dlunknown
10981    cat > conftest.$ac_ext <<_LT_EOF
10982 < #line 10844 "configure"
10982 > #line $LINENO "configure"
10983   #include "confdefs.h"
10984  
10985   #if HAVE_DLFCN_H
# Line 10882 | Line 11020 | else
11020   #  endif
11021   #endif
11022  
11023 < void fnord() { int i=42;}
11023 > /* When -fvisbility=hidden is used, assume the code has been annotated
11024 >   correspondingly for the symbols needed.  */
11025 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11026 > void fnord () __attribute__((visibility("default")));
11027 > #endif
11028 >
11029 > void fnord () { int i=42; }
11030   int main ()
11031   {
11032    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 10891 | Line 11035 | int main ()
11035    if (self)
11036      {
11037        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11038 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11038 >      else
11039 >        {
11040 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11041 >          else puts (dlerror ());
11042 >        }
11043        /* dlclose (self); */
11044      }
11045    else
# Line 11513 | Line 11661 | else
11661    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11662    lt_status=$lt_dlunknown
11663    cat > conftest.$ac_ext <<_LT_EOF
11664 < #line 11516 "configure"
11664 > #line $LINENO "configure"
11665   #include "confdefs.h"
11666  
11667   #if HAVE_DLFCN_H
# Line 11554 | Line 11702 | else
11702   #  endif
11703   #endif
11704  
11705 < void fnord() { int i=42;}
11705 > /* When -fvisbility=hidden is used, assume the code has been annotated
11706 >   correspondingly for the symbols needed.  */
11707 > #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11708 > void fnord () __attribute__((visibility("default")));
11709 > #endif
11710 >
11711 > void fnord () { int i=42; }
11712   int main ()
11713   {
11714    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
# Line 11563 | Line 11717 | int main ()
11717    if (self)
11718      {
11719        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11720 <      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11720 >      else
11721 >        {
11722 >          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11723 >          else puts (dlerror ());
11724 >        }
11725        /* dlclose (self); */
11726      }
11727    else
# Line 11639 | Line 11797 | else
11797    freebsd* | dragonfly*)
11798      lt_cv_sys_dlopen_deplibs=yes
11799      ;;
11800 <  gnu* | linux* | k*bsd*-gnu)
11800 >  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
11801      # GNU and its variants, using gnu ld.so (Glibc)
11802      lt_cv_sys_dlopen_deplibs=yes
11803      ;;
# Line 11834 | Line 11992 | $as_echo "#define HAVE_PRELOADED_SYMBOLS
11992  
11993   fi
11994  
11837
11838
11995   # Set options
11996  
11997  
# Line 11848 | Line 12004 | fi
12004  
12005  
12006  
11851
12007   # Check whether --with-included_ltdl was given.
12008   if test "${with_included_ltdl+set}" = set; then :
12009    withval=$with_included_ltdl;
# Line 11922 | Line 12077 | fi
12077  
12078  
12079  
11925
11926
11927
11928
11929
12080   # Check whether --with-ltdl_include was given.
12081   if test "${with_ltdl_include+set}" = set; then :
12082    withval=$with_ltdl_include;
# Line 12040 | Line 12190 | fi
12190  
12191  
12192  
12043    subdirs="$subdirs libltdl"
12044
12045
12193  
12194  
12195  
# Line 12128 | Line 12275 | LTDLOPEN=`eval "\\$ECHO \"$libname_spec\
12275  
12276   LIBTOOL="$LIBTOOL --silent"
12277  
12131
12278   # Checks for libraries.
12279  
12280    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
# Line 12272 | Line 12418 | fi
12418  
12419  
12420  
12275
12421   # Checks for typedefs, structures, and compiler characteristics.
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12278 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12279 if test "${ac_cv_c_const+set}" = set; then :
12280  $as_echo_n "(cached) " >&6
12281 else
12282  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h.  */
12284
12285 int
12286 main ()
12287 {
12288 /* FIXME: Include the comments suggested by Paul. */
12289 #ifndef __cplusplus
12290  /* Ultrix mips cc rejects this.  */
12291  typedef int charset[2];
12292  const charset cs;
12293  /* SunOS 4.1.1 cc rejects this.  */
12294  char const *const *pcpcc;
12295  char **ppc;
12296  /* NEC SVR4.0.2 mips cc rejects this.  */
12297  struct point {int x, y;};
12298  static struct point const zero = {0,0};
12299  /* AIX XL C 1.02.0.0 rejects this.
12300     It does not let you subtract one const X* pointer from another in
12301     an arm of an if-expression whose if-part is not a constant
12302     expression */
12303  const char *g = "string";
12304  pcpcc = &g + (g ? g-g : 0);
12305  /* HPUX 7.0 cc rejects these. */
12306  ++pcpcc;
12307  ppc = (char**) pcpcc;
12308  pcpcc = (char const *const *) ppc;
12309  { /* SCO 3.2v4 cc rejects this.  */
12310    char *t;
12311    char const *s = 0 ? (char *) 0 : (char const *) 0;
12312
12313    *t++ = 0;
12314    if (s) return 0;
12315  }
12316  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12317    int x[] = {25, 17};
12318    const int *foo = &x[0];
12319    ++foo;
12320  }
12321  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12322    typedef const int *iptr;
12323    iptr p = 0;
12324    ++p;
12325  }
12326  { /* AIX XL C 1.02.0.0 rejects this saying
12327       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12328    struct s { int j; const int *ap[3]; };
12329    struct s *b; b->j = 5;
12330  }
12331  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12332    const int foo = 10;
12333    if (!foo) return 0;
12334  }
12335  return !cs[0] && !zero.x;
12336 #endif
12337
12338  ;
12339  return 0;
12340 }
12341 _ACEOF
12342 if ac_fn_c_try_compile "$LINENO"; then :
12343  ac_cv_c_const=yes
12344 else
12345  ac_cv_c_const=no
12346 fi
12347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12348 fi
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12350 $as_echo "$ac_cv_c_const" >&6; }
12351 if test $ac_cv_c_const = no; then
12352
12353 $as_echo "#define const /**/" >>confdefs.h
12354
12355 fi
12356
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12358 $as_echo_n "checking for inline... " >&6; }
12359 if test "${ac_cv_c_inline+set}" = set; then :
12360  $as_echo_n "(cached) " >&6
12361 else
12362  ac_cv_c_inline=no
12363 for ac_kw in inline __inline__ __inline; do
12364  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h.  */
12366 #ifndef __cplusplus
12367 typedef int foo_t;
12368 static $ac_kw foo_t static_foo () {return 0; }
12369 $ac_kw foo_t foo () {return 0; }
12370 #endif
12371
12372 _ACEOF
12373 if ac_fn_c_try_compile "$LINENO"; then :
12374  ac_cv_c_inline=$ac_kw
12375 fi
12376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12377  test "$ac_cv_c_inline" != no && break
12378 done
12379
12380 fi
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12382 $as_echo "$ac_cv_c_inline" >&6; }
12383
12384 case $ac_cv_c_inline in
12385  inline | yes) ;;
12386  *)
12387    case $ac_cv_c_inline in
12388      no) ac_val=;;
12389      *) ac_val=$ac_cv_c_inline;;
12390    esac
12391    cat >>confdefs.h <<_ACEOF
12392 #ifndef __cplusplus
12393 #define inline $ac_val
12394 #endif
12395 _ACEOF
12396    ;;
12397 esac
12398
12422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12423   $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12424   if test "${ac_cv_c_bigendian+set}" = set; then :
# Line 12621 | Line 12644 | $as_echo "#define AC_APPLE_UNIVERSAL_BUI
12644   esac
12645  
12646  
12624 # The cast to long int works around a bug in the HP C Compiler
12625 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12626 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12627 # This bug is HP SR number 8606223364.
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
12629 $as_echo_n "checking size of int64_t... " >&6; }
12630 if test "${ac_cv_sizeof_int64_t+set}" = set; then :
12631  $as_echo_n "(cached) " >&6
12632 else
12633  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
12634
12635 else
12636  if test "$ac_cv_type_int64_t" = yes; then
12637     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12639 { as_fn_set_status 77
12640 as_fn_error "cannot compute sizeof (int64_t)
12641 See \`config.log' for more details." "$LINENO" 5; }; }
12642   else
12643     ac_cv_sizeof_int64_t=0
12644   fi
12645 fi
12646
12647 fi
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
12649 $as_echo "$ac_cv_sizeof_int64_t" >&6; }
12650
12651
12652
12653 cat >>confdefs.h <<_ACEOF
12654 #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
12655 _ACEOF
12656
12657
12658 # The cast to long int works around a bug in the HP C Compiler
12659 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12660 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12661 # This bug is HP SR number 8606223364.
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12663 $as_echo_n "checking size of long long... " >&6; }
12664 if test "${ac_cv_sizeof_long_long+set}" = set; then :
12665  $as_echo_n "(cached) " >&6
12666 else
12667  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
12668
12669 else
12670  if test "$ac_cv_type_long_long" = yes; then
12671     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12673 { as_fn_set_status 77
12674 as_fn_error "cannot compute sizeof (long long)
12675 See \`config.log' for more details." "$LINENO" 5; }; }
12676   else
12677     ac_cv_sizeof_long_long=0
12678   fi
12679 fi
12680
12681 fi
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12683 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12684
12685
12686
12687 cat >>confdefs.h <<_ACEOF
12688 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12689 _ACEOF
12690
12691
12692
12693 if test "$ac_cv_sizeof_int64_t" = 8; then
12694  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12695 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12696
12697 fi
12698
12699  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12700 if test "x$ac_cv_type_int64_t" = x""yes; then :
12701
12702 fi
12703
12704 elif test "$ac_cv_sizeof_long_long" = 8; then
12705  ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
12706 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12707
12708 else
12709
12710 cat >>confdefs.h <<_ACEOF
12711 #define uint64_t unsigned long long
12712 _ACEOF
12713
12714 fi
12715
12716  ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
12717 if test "x$ac_cv_type_int64_t" = x""yes; then :
12718
12719 else
12720
12721 cat >>confdefs.h <<_ACEOF
12722 #define int64_t long long
12723 _ACEOF
12724
12725 fi
12726
12727 else
12728  as_fn_error "Your system doesn't appear to have 64 bit integers.  Aborting." "$LINENO" 5
12729 fi
12730
12731
12647   # Checks for library functions.
12648  
12649  
# Line 12758 | Line 12673 | done
12673  
12674  
12675  
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12676   # Checks for header files.
12677  
12678  
# Line 12813 | Line 12718 | done
12718  
12719  
12720  
12721 <
12817 <
12818 <
12819 <
12721 > # check for /dev/null so we can use it to hold evil fd's
12722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/null" >&5
12723   $as_echo_n "checking for /dev/null... " >&6; }
12724 < if test -c /dev/null ; then
12724 > if test -c /dev/null; then :
12725 >
12726  
12727   $as_echo "#define PATH_DEVNULL \"/dev/null\"" >>confdefs.h
12728  
# Line 12827 | Line 12730 | $as_echo "#define PATH_DEVNULL \"/dev/nu
12730   $as_echo "yes" >&6; }
12731   else
12732  
12733 +
12734   $as_echo "#define PATH_DEVNULL \"devnull.log\"" >>confdefs.h
12735  
12736    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - using devnull.log" >&5
# Line 12907 | Line 12811 | else
12811   fi
12812  
12813  
12814 < if test "$zlib" = yes; then
12814 > if test "$zlib" = "yes"; then :
12815 >
12816    ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12817   if test "x$ac_cv_header_zlib_h" = x""yes; then :
12818    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
# Line 12963 | Line 12868 | else
12868   fi
12869  
12870  
12871 +
12872 + fi
12873 +
12874 +
12875 + # Check whether --with-libpcre-path was given.
12876 + if test "${with_libpcre_path+set}" = set; then :
12877 +  withval=$with_libpcre_path; LDFLAGS="-L$withval $LDFLAGS"
12878 + fi
12879 +
12880 +
12881 + # Check whether --enable-libpcre was given.
12882 + if test "${enable_libpcre+set}" = set; then :
12883 +  enableval=$enable_libpcre; libpcre=$enableval
12884 + else
12885 +  libpcre=yes
12886 + fi
12887 +
12888 +
12889 + if test "$libpcre" = "yes"; then :
12890 +
12891 +  ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
12892 + if test "x$ac_cv_header_pcre_h" = x""yes; then :
12893 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
12894 + $as_echo_n "checking for pcre_study in -lpcre... " >&6; }
12895 + if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then :
12896 +  $as_echo_n "(cached) " >&6
12897 + else
12898 +  ac_check_lib_save_LIBS=$LIBS
12899 + LIBS="-lpcre  $LIBS"
12900 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12901 + /* end confdefs.h.  */
12902 +
12903 + /* Override any GCC internal prototype to avoid an error.
12904 +   Use char because int might match the return type of a GCC
12905 +   builtin and then its argument prototype would still apply.  */
12906 + #ifdef __cplusplus
12907 + extern "C"
12908 + #endif
12909 + char pcre_study ();
12910 + int
12911 + main ()
12912 + {
12913 + return pcre_study ();
12914 +  ;
12915 +  return 0;
12916 + }
12917 + _ACEOF
12918 + if ac_fn_c_try_link "$LINENO"; then :
12919 +  ac_cv_lib_pcre_pcre_study=yes
12920 + else
12921 +  ac_cv_lib_pcre_pcre_study=no
12922 + fi
12923 + rm -f core conftest.err conftest.$ac_objext \
12924 +    conftest$ac_exeext conftest.$ac_ext
12925 + LIBS=$ac_check_lib_save_LIBS
12926 + fi
12927 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
12928 + $as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
12929 + if test "x$ac_cv_lib_pcre_pcre_study" = x""yes; then :
12930 +
12931 +      LIBS="-lpcre $LIBS"
12932 +
12933 + $as_echo "#define HAVE_LIBPCRE 1" >>confdefs.h
12934 +
12935 +
12936 + else
12937 +  libpcre=no
12938   fi
12939  
12940  
12941 + else
12942 +  libpcre=no
12943 + fi
12944 +
12945 +
12946 +
12947 + fi
12948 + if test "$libpcre" = yes; then
12949 +  ENABLE_PCRE_TRUE=
12950 +  ENABLE_PCRE_FALSE='#'
12951 + else
12952 +  ENABLE_PCRE_TRUE='#'
12953 +  ENABLE_PCRE_FALSE=
12954 + fi
12955 +
12956 +
12957 +
12958   # Check whether --enable-openssl was given.
12959   if test "${enable_openssl+set}" = set; then :
12960    enableval=$enable_openssl;  cf_enable_openssl=$enableval
# Line 13013 | Line 13002 | $as_echo "$cf_openssl_basedir" >&6; }
13002   $as_echo "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13003  
13004    else
13005 <    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found.  Please check your path." >&5
13006 < $as_echo "not found.  Please check your path." >&6; }
13005 >    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13006 > $as_echo "not found. Please check your path." >&6; }
13007      cf_enable_openssl="no"
13008    fi
13009    unset cf_openssl_basedir
# Line 13022 | Line 13011 | else
13011      { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13012   $as_echo "disabled" >&6; }
13013   fi
13014 +
13015 + if test "$cf_enable_openssl" != "no"; then :
13016 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13017 + $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13018 +  if test "$cross_compiling" = yes; then :
13019 +  cf_openssl_version_ok=no
13020 + else
13021 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13022 + /* end confdefs.h.  */
13023 +
13024 +    #include <openssl/opensslv.h>
13025 +    #include <stdlib.h>
13026 + int
13027 + main ()
13028 + {
13029 + exit(!(OPENSSL_VERSION_NUMBER >= 0x00907000));
13030 +  ;
13031 +  return 0;
13032 + }
13033 + _ACEOF
13034 + if ac_fn_c_try_run "$LINENO"; then :
13035 +  cf_openssl_version_ok=yes
13036 + else
13037 +  cf_openssl_version_ok=no
13038 + fi
13039 + rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13040 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
13041 + fi
13042 +
13043 +
13044 +  if test "$cf_openssl_version_ok" = "yes"; then :
13045 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13046 + $as_echo "found" >&6; }
13047 +
13048 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13049 + $as_echo_n "checking for RSA_free in -lcrypto... " >&6; }
13050 + if test "${ac_cv_lib_crypto_RSA_free+set}" = set; then :
13051 +  $as_echo_n "(cached) " >&6
13052 + else
13053 +  ac_check_lib_save_LIBS=$LIBS
13054 + LIBS="-lcrypto  $LIBS"
13055 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13056 + /* end confdefs.h.  */
13057 +
13058 + /* Override any GCC internal prototype to avoid an error.
13059 +   Use char because int might match the return type of a GCC
13060 +   builtin and then its argument prototype would still apply.  */
13061 + #ifdef __cplusplus
13062 + extern "C"
13063 + #endif
13064 + char RSA_free ();
13065 + int
13066 + main ()
13067 + {
13068 + return RSA_free ();
13069 +  ;
13070 +  return 0;
13071 + }
13072 + _ACEOF
13073 + if ac_fn_c_try_link "$LINENO"; then :
13074 +  ac_cv_lib_crypto_RSA_free=yes
13075 + else
13076 +  ac_cv_lib_crypto_RSA_free=no
13077 + fi
13078 + rm -f core conftest.err conftest.$ac_objext \
13079 +    conftest$ac_exeext conftest.$ac_ext
13080 + LIBS=$ac_check_lib_save_LIBS
13081 + fi
13082 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13083 + $as_echo "$ac_cv_lib_crypto_RSA_free" >&6; }
13084 + if test "x$ac_cv_lib_crypto_RSA_free" = x""yes; then :
13085 +  cat >>confdefs.h <<_ACEOF
13086 + #define HAVE_LIBCRYPTO 1
13087 + _ACEOF
13088 +
13089 +  LIBS="-lcrypto $LIBS"
13090 +
13091 + fi
13092 +
13093 +    if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then :
13094 +  for ac_func in EVP_bf_cfb           \
13095 +                      EVP_cast5_cfb        \
13096 +                      EVP_idea_cfb         \
13097 +                      EVP_rc5_32_12_16_cfb \
13098 +                      EVP_des_ede3_cfb     \
13099 +                      EVP_des_cfb
13100 + do :
13101 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13102 + ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13103 + eval as_val=\$$as_ac_var
13104 +   if test "x$as_val" = x""yes; then :
13105 +  cat >>confdefs.h <<_ACEOF
13106 + #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13107 + _ACEOF
13108 +
13109 + fi
13110 + done
13111 +
13112 + fi
13113 +
13114 + else
13115 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
13116 + $as_echo "no - OpenSSL support disabled" >&6; }
13117 +    cf_enable_openssl="no"
13118 + fi
13119 + fi
13120 +
13121   if test "$cf_enable_openssl" = yes; then
13122    ENABLE_SSL_TRUE=
13123    ENABLE_SSL_FALSE='#'
# Line 13039 | Line 13135 | else
13135    assert=no
13136   fi
13137  
13138 < if test "$assert" = no; then
13138 >
13139 > if test "$assert" = "no"; then :
13140  
13141   $as_echo "#define NDEBUG 1" >>confdefs.h
13142  
# Line 13054 | Line 13151 | else
13151   fi
13152  
13153  
13154 < if test "$small_net" = yes; then
13154 > if test "$small_net" = "yes"; then :
13155 >
13156  
13157   $as_echo "#define NICKNAMEHISTORYLENGTH 1500" >>confdefs.h
13158  
# Line 13079 | Line 13177 | $as_echo "#define TOPIC_HEAP_SIZE 256" >
13177  
13178   $as_echo "#define DBUF_HEAP_SIZE 64" >>confdefs.h
13179  
13180 +
13181 + $as_echo "#define AUTH_HEAP_SIZE 128" >>confdefs.h
13182 +
13183 +
13184 + $as_echo "#define DNS_HEAP_SIZE 128" >>confdefs.h
13185 +
13186   else
13187  
13188 +
13189 +
13190   $as_echo "#define NICKNAMEHISTORYLENGTH 15000" >>confdefs.h
13191  
13192  
# Line 13104 | Line 13210 | $as_echo "#define TOPIC_HEAP_SIZE 1024"
13210  
13211   $as_echo "#define DBUF_HEAP_SIZE 512" >>confdefs.h
13212  
13213 +
13214 + $as_echo "#define AUTH_HEAP_SIZE 512" >>confdefs.h
13215 +
13216 +
13217 + $as_echo "#define DNS_HEAP_SIZE 512" >>confdefs.h
13218 +
13219   fi
13220  
13221  
# Line 13517 | Line 13629 | fi
13629  
13630  
13631   cat >>confdefs.h <<_ACEOF
13632 < #define TOPICLEN ($topiclen+1)
13632 > #define TOPICLEN ($topiclen)
13633   _ACEOF
13634  
13635  
# Line 13553 | Line 13665 | $as_echo "#define EFNET 1" >>confdefs.h
13665   $as_echo "#define TS5_ONLY 1" >>confdefs.h
13666  
13667          else
13556
13557 $as_echo "#define INVARIANTS 1" >>confdefs.h
13558
13668                  use_efnet="no"
13669    fi
13670     if test "$use_efnet" = "yes"; then
# Line 13593 | Line 13702 | fi
13702  
13703   $as_echo "#define DEBUG 1" >>confdefs.h
13704  
13705 <    CFLAGS="$CFLAGS -Wall -Werror -g -O0"
13705 >    CFLAGS="-Wall -g -O0"
13706    else
13707  
13708   $as_echo "#define NDEBUG 1" >>confdefs.h
# Line 13609 | Line 13718 | else
13718   fi
13719  
13720    if test "$warnings" = "yes" ; then
13721 <    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"
13721 >    CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
13722    fi
13723  
13724  
# Line 13739 | Line 13848 | _ACEOF
13848    test "$exec_prefix_NONE" && exec_prefix=NONE
13849  
13850  
13851 < ac_config_files="$ac_config_files Makefile etc/Makefile etc/example.conf etc/example.conf.quick etc/example.efnet.conf servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile lib/Makefile lib/pcre/Makefile tools/Makefile"
13851 > ac_config_files="$ac_config_files Makefile etc/Makefile servlink/Makefile contrib/Makefile contrib/help/Makefile src/Makefile libltdl/Makefile messages/Makefile modules/Makefile modules/core/Makefile doc/Makefile help/Makefile help/opers/Makefile help/users/Makefile tools/Makefile"
13852  
13853  
13854   cat >confcache <<\_ACEOF
# Line 13885 | Line 13994 | LT_CONFIG_H=config.h
13994  
13995  
13996  
13997 + if test -z "${ENABLE_PCRE_TRUE}" && test -z "${ENABLE_PCRE_FALSE}"; then
13998 +  as_fn_error "conditional \"ENABLE_PCRE\" was never defined.
13999 + Usually this means the macro was only invoked conditionally." "$LINENO" 5
14000 + fi
14001   if test -z "${ENABLE_SSL_TRUE}" && test -z "${ENABLE_SSL_FALSE}"; then
14002    as_fn_error "conditional \"ENABLE_SSL\" was never defined.
14003   Usually this means the macro was only invoked conditionally." "$LINENO" 5
# Line 14301 | Line 14414 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
14414   # report actual input values of CONFIG_FILES etc. instead of their
14415   # values after options handling.
14416   ac_log="
14417 < This file was extended by ircd-hybrid $as_me 7.2.4, which was
14418 < generated by GNU Autoconf 2.64.  Invocation command line was
14417 > This file was extended by ircd-hybrid $as_me 7.3-rc1, which was
14418 > generated by GNU Autoconf 2.65.  Invocation command line was
14419  
14420    CONFIG_FILES    = $CONFIG_FILES
14421    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 14342 | Line 14455 | Usage: $0 [OPTION]... [TAG]...
14455  
14456    -h, --help       print this help, then exit
14457    -V, --version    print version number and configuration settings, then exit
14458 +      --config     print configuration, then exit
14459    -q, --quiet, --silent
14460                     do not print progress messages
14461    -d, --debug      don't remove temporary files
# Line 14360 | Line 14474 | $config_headers
14474   Configuration commands:
14475   $config_commands
14476  
14477 < Report bugs to the package provider."
14477 > Report bugs to <bugs@ircd-hybrid.org>."
14478  
14479   _ACEOF
14480   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14481 + ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14482   ac_cs_version="\\
14483 < ircd-hybrid config.status 7.2.4
14484 < configured by $0, generated by GNU Autoconf 2.64,
14485 <  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14483 > ircd-hybrid config.status 7.3-rc1
14484 > configured by $0, generated by GNU Autoconf 2.65,
14485 >  with options \\"\$ac_cs_config\\"
14486  
14487   Copyright (C) 2009 Free Software Foundation, Inc.
14488   This config.status script is free software; the Free Software Foundation
# Line 14405 | Line 14520 | do
14520      ac_cs_recheck=: ;;
14521    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14522      $as_echo "$ac_cs_version"; exit ;;
14523 +  --config | --confi | --conf | --con | --co | --c )
14524 +    $as_echo "$ac_cs_config"; exit ;;
14525    --debug | --debu | --deb | --de | --d | -d )
14526      debug=: ;;
14527    --file | --fil | --fi | --f )
# Line 14486 | Line 14603 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac
14603   sed_quote_subst='$sed_quote_subst'
14604   double_quote_subst='$double_quote_subst'
14605   delay_variable_subst='$delay_variable_subst'
14606 < macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14607 < macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14608 < enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14609 < enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14610 < pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14611 < enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14612 < host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14613 < host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14614 < host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14615 < build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14616 < build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14617 < build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14618 < SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14619 < Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14620 < GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14621 < EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14622 < FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14623 < LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14624 < NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14625 < LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14626 < max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14627 < ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14628 < exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14629 < lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14630 < lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14631 < lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14632 < reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14633 < reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14634 < OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14635 < deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14636 < file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14637 < AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14638 < AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14639 < STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14640 < RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14641 < old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14642 < old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14643 < old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14644 < CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14645 < CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14646 < compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14647 < GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14648 < lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14649 < lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14650 < lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
14651 < lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14652 < objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14653 < SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14654 < ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14655 < MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14656 < lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14657 < lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14658 < lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14659 < lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14660 < lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14661 < need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14662 < DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14663 < NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14664 < LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14665 < OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14666 < OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14667 < libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14668 < shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14669 < extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14670 < archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14671 < enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14672 < export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14673 < whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14674 < compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14675 < old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14676 < old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14677 < archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14678 < archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14679 < module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14680 < module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14681 < with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14682 < allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14683 < no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14684 < hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14685 < hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14686 < hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14687 < hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14688 < hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14689 < hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14690 < hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14691 < hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14692 < inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14693 < link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14694 < fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14695 < always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14696 < export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14697 < exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14698 < include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14699 < prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14700 < file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14701 < variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14702 < need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14703 < need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14704 < version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14705 < runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14706 < shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14707 < shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14708 < libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14709 < library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14710 < soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14711 < postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14712 < postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14713 < finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14714 < finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14715 < hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14716 < sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14717 < sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14718 < hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14719 < enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14720 < enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14721 < enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14722 < old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14723 < striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14606 > macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14607 > macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14608 > enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14609 > enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14610 > pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14611 > enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14612 > SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14613 > ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14614 > host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14615 > host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14616 > host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14617 > build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14618 > build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14619 > build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14620 > SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14621 > Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14622 > GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14623 > EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14624 > FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14625 > LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14626 > NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14627 > LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14628 > max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14629 > ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14630 > exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14631 > lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14632 > lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14633 > lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14634 > reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14635 > reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14636 > OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14637 > deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14638 > file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14639 > AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14640 > AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14641 > STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14642 > RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14643 > old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14644 > old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14645 > old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14646 > lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14647 > CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14648 > CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14649 > compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14650 > GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14651 > lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14652 > lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14653 > lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14654 > lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
14655 > objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14656 > MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14657 > lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14658 > lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14659 > lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14660 > lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14661 > lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14662 > need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14663 > DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14664 > NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14665 > LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14666 > OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14667 > OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14668 > libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14669 > shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14670 > extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14671 > archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14672 > enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14673 > export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14674 > whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14675 > compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14676 > old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14677 > old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14678 > archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14679 > archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14680 > module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14681 > module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14682 > with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14683 > allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14684 > no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14685 > hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14686 > hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14687 > hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14688 > hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14689 > hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14690 > hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14691 > hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14692 > hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14693 > inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14694 > link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14695 > fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14696 > always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14697 > export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14698 > exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14699 > include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14700 > prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14701 > file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14702 > variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14703 > need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14704 > need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14705 > version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14706 > runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14707 > shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14708 > shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14709 > libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14710 > library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14711 > soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14712 > install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14713 > postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14714 > postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14715 > finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14716 > finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14717 > hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14718 > sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14719 > sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14720 > hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14721 > enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14722 > enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14723 > enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14724 > old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14725 > striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14726  
14727   LTCC='$LTCC'
14728   LTCFLAGS='$LTCFLAGS'
14729   compiler='$compiler_DEFAULT'
14730  
14731 + # A function that is used when there is no print builtin or printf.
14732 + func_fallback_echo ()
14733 + {
14734 +  eval 'cat <<_LTECHO_EOF
14735 + \$1
14736 + _LTECHO_EOF'
14737 + }
14738 +
14739   # Quote evaled strings.
14740 < for var in SED \
14740 > for var in SHELL \
14741 > ECHO \
14742 > SED \
14743   GREP \
14744   EGREP \
14745   FGREP \
# Line 14634 | Line 14763 | lt_cv_sys_global_symbol_pipe \
14763   lt_cv_sys_global_symbol_to_cdecl \
14764   lt_cv_sys_global_symbol_to_c_name_address \
14765   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14637 SHELL \
14638 ECHO \
14766   lt_prog_compiler_no_builtin_flag \
14767   lt_prog_compiler_wl \
14768   lt_prog_compiler_pic \
# Line 14665 | Line 14792 | variables_saved_for_relink \
14792   libname_spec \
14793   library_names_spec \
14794   soname_spec \
14795 + install_override_mode \
14796   finish_eval \
14797   old_striplib \
14798   striplib; do
14799 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14799 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14800      *[\\\\\\\`\\"\\\$]*)
14801 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14801 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14802        ;;
14803      *)
14804        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14697 | Line 14825 | postuninstall_cmds \
14825   finish_cmds \
14826   sys_lib_search_path_spec \
14827   sys_lib_dlsearch_path_spec; do
14828 <    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14828 >    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14829      *[\\\\\\\`\\"\\\$]*)
14830 <      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14830 >      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14831        ;;
14832      *)
14833        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
# Line 14707 | Line 14835 | sys_lib_dlsearch_path_spec; do
14835      esac
14836   done
14837  
14710 # Fix-up fallback echo if it was mangled by the above quoting rules.
14711 case \$lt_ECHO in
14712 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14713  ;;
14714 esac
14715
14838   ac_aux_dir='$ac_aux_dir'
14839   xsi_shell='$xsi_shell'
14840   lt_shell_append='$lt_shell_append'
# Line 14746 | Line 14868 | do
14868      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14869      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14870      "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
14749    "etc/example.conf") CONFIG_FILES="$CONFIG_FILES etc/example.conf" ;;
14750    "etc/example.conf.quick") CONFIG_FILES="$CONFIG_FILES etc/example.conf.quick" ;;
14751    "etc/example.efnet.conf") CONFIG_FILES="$CONFIG_FILES etc/example.efnet.conf" ;;
14871      "servlink/Makefile") CONFIG_FILES="$CONFIG_FILES servlink/Makefile" ;;
14872      "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14873      "contrib/help/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/help/Makefile" ;;
14874      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14875 +    "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
14876      "messages/Makefile") CONFIG_FILES="$CONFIG_FILES messages/Makefile" ;;
14877      "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
14878      "modules/core/Makefile") CONFIG_FILES="$CONFIG_FILES modules/core/Makefile" ;;
# Line 14760 | Line 14880 | do
14880      "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
14881      "help/opers/Makefile") CONFIG_FILES="$CONFIG_FILES help/opers/Makefile" ;;
14882      "help/users/Makefile") CONFIG_FILES="$CONFIG_FILES help/users/Makefile" ;;
14763    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14764    "lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES lib/pcre/Makefile" ;;
14883      "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14884  
14885    *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
# Line 14866 | Line 14984 | s/'"$ac_delim"'$//
14984   t delim
14985   :nl
14986   h
14987 < s/\(.\{148\}\).*/\1/
14987 > s/\(.\{148\}\)..*/\1/
14988   t more1
14989   s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14990   p
# Line 14880 | Line 14998 | s/.\{148\}//
14998   t nl
14999   :delim
15000   h
15001 < s/\(.\{148\}\).*/\1/
15001 > s/\(.\{148\}\)..*/\1/
15002   t more2
15003   s/["\\]/\\&/g; s/^/"/; s/$/"/
15004   p
# Line 15463 | Line 15581 | $as_echo X"$file" |
15581   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15582   #
15583   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15584 < #                 2006, 2007, 2008 Free Software Foundation, Inc.
15584 > #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
15585 > #                 Inc.
15586   #   Written by Gordon Matzigkeit, 1996
15587   #
15588   #   This file is part of GNU Libtool.
# Line 15511 | Line 15630 | pic_mode=$pic_mode
15630   # Whether or not to optimize for fast installation.
15631   fast_install=$enable_fast_install
15632  
15633 + # Shell to use when invoking shell scripts.
15634 + SHELL=$lt_SHELL
15635 +
15636 + # An echo program that protects backslashes.
15637 + ECHO=$lt_ECHO
15638 +
15639   # The host system.
15640   host_alias=$host_alias
15641   host=$host
# Line 15560 | Line 15685 | SP2NL=$lt_lt_SP2NL
15685   # turn newlines into spaces.
15686   NL2SP=$lt_lt_NL2SP
15687  
15563 # How to create reloadable object files.
15564 reload_flag=$lt_reload_flag
15565 reload_cmds=$lt_reload_cmds
15566
15688   # An object symbol dumper.
15689   OBJDUMP=$lt_OBJDUMP
15690  
# Line 15585 | Line 15706 | RANLIB=$lt_RANLIB
15706   old_postinstall_cmds=$lt_old_postinstall_cmds
15707   old_postuninstall_cmds=$lt_old_postuninstall_cmds
15708  
15709 + # Whether to use a lock for old archive extraction.
15710 + lock_old_archive_extraction=$lock_old_archive_extraction
15711 +
15712   # A C compiler.
15713   LTCC=$lt_CC
15714  
# Line 15606 | Line 15730 | global_symbol_to_c_name_address_lib_pref
15730   # The name of the directory that contains temporary libtool files.
15731   objdir=$objdir
15732  
15609 # Shell to use when invoking shell scripts.
15610 SHELL=$lt_SHELL
15611
15612 # An echo program that does not interpret backslashes.
15613 ECHO=$lt_ECHO
15614
15733   # Used to examine libraries when file_magic_cmd begins with "file".
15734   MAGIC_CMD=$MAGIC_CMD
15735  
# Line 15674 | Line 15792 | library_names_spec=$lt_library_names_spe
15792   # The coded name of the library, if different from the real name.
15793   soname_spec=$lt_soname_spec
15794  
15795 + # Permission mode override for installation of shared libraries.
15796 + install_override_mode=$lt_install_override_mode
15797 +
15798   # Command to use after installation of a shared archive.
15799   postinstall_cmds=$lt_postinstall_cmds
15800  
# Line 15713 | Line 15834 | striplib=$lt_striplib
15834   # The linker used to build libraries.
15835   LD=$lt_LD
15836  
15837 + # How to create reloadable object files.
15838 + reload_flag=$lt_reload_flag
15839 + reload_cmds=$lt_reload_cmds
15840 +
15841   # Commands used to build an old-style archive.
15842   old_archive_cmds=$lt_old_archive_cmds
15843  
# Line 15972 | Line 16097 | _LT_EOF
16097   func_dirname ()
16098   {
16099    # Extract subdirectory from the argument.
16100 <  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16100 >  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
16101    if test "X$func_dirname_result" = "X${1}"; then
16102      func_dirname_result="${3}"
16103    else
# Line 15983 | Line 16108 | func_dirname ()
16108   # func_basename file
16109   func_basename ()
16110   {
16111 <  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16111 >  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
16112   }
16113  
16114  
# Line 15996 | Line 16121 | func_basename ()
16121   func_stripname ()
16122   {
16123    case ${2} in
16124 <    .*) func_stripname_result=`$ECHO "X${3}" \
16125 <           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16001 <    *)  func_stripname_result=`$ECHO "X${3}" \
16002 <           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16124 >    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16125 >    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16126    esac
16127   }
16128  
# Line 16010 | Line 16133 | my_sed_long_arg='1s/^-[^=]*=//'
16133   # func_opt_split
16134   func_opt_split ()
16135   {
16136 <  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16137 <  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16136 >  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16137 >  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16138   }
16139  
16140   # func_lo2o object
16141   func_lo2o ()
16142   {
16143 <  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16143 >  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
16144   }
16145  
16146   # func_xform libobj-or-source
16147   func_xform ()
16148   {
16149 <  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16149 >  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16150   }
16151  
16152   # func_arith arithmetic-term...
# Line 16110 | Line 16233 | if test "$no_create" != yes; then
16233    # would make configure fail if this is the last instruction.
16234    $ac_cs_success || as_fn_exit $?
16235   fi
16113
16114 #
16115 # CONFIG_SUBDIRS section.
16116 #
16117 if test "$no_recursion" != yes; then
16118
16119  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
16120  # so they do not pile up.
16121  ac_sub_configure_args=
16122  ac_prev=
16123  eval "set x $ac_configure_args"
16124  shift
16125  for ac_arg
16126  do
16127    if test -n "$ac_prev"; then
16128      ac_prev=
16129      continue
16130    fi
16131    case $ac_arg in
16132    -cache-file | --cache-file | --cache-fil | --cache-fi \
16133    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
16134      ac_prev=cache_file ;;
16135    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
16136    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
16137    | --c=*)
16138      ;;
16139    --config-cache | -C)
16140      ;;
16141    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
16142      ac_prev=srcdir ;;
16143    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
16144      ;;
16145    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
16146      ac_prev=prefix ;;
16147    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
16148      ;;
16149    --disable-option-checking)
16150      ;;
16151    *)
16152      case $ac_arg in
16153      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16154      esac
16155      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
16156    esac
16157  done
16158
16159  # Always prepend --prefix to ensure using the same prefix
16160  # in subdir configurations.
16161  ac_arg="--prefix=$prefix"
16162  case $ac_arg in
16163  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
16164  esac
16165  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
16166
16167  # Pass --silent
16168  if test "$silent" = yes; then
16169    ac_sub_configure_args="--silent $ac_sub_configure_args"
16170  fi
16171
16172  # Always prepend --disable-option-checking to silence warnings, since
16173  # different subdirs can have different --enable and --with options.
16174  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
16175
16176  ac_popdir=`pwd`
16177  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
16178
16179    # Do not complain, so a configure script can configure whichever
16180    # parts of a large source tree are present.
16181    test -d "$srcdir/$ac_dir" || continue
16182
16183    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
16184    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
16185    $as_echo "$ac_msg" >&6
16186    as_dir="$ac_dir"; as_fn_mkdir_p
16187    ac_builddir=.
16188
16189 case "$ac_dir" in
16190 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16191 *)
16192  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16193  # A ".." for each directory in $ac_dir_suffix.
16194  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16195  case $ac_top_builddir_sub in
16196  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16197  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16198  esac ;;
16199 esac
16200 ac_abs_top_builddir=$ac_pwd
16201 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16202 # for backward compatibility:
16203 ac_top_builddir=$ac_top_build_prefix
16204
16205 case $srcdir in
16206  .)  # We are building in place.
16207    ac_srcdir=.
16208    ac_top_srcdir=$ac_top_builddir_sub
16209    ac_abs_top_srcdir=$ac_pwd ;;
16210  [\\/]* | ?:[\\/]* )  # Absolute name.
16211    ac_srcdir=$srcdir$ac_dir_suffix;
16212    ac_top_srcdir=$srcdir
16213    ac_abs_top_srcdir=$srcdir ;;
16214  *) # Relative name.
16215    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16216    ac_top_srcdir=$ac_top_build_prefix$srcdir
16217    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16218 esac
16219 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16220
16221
16222    cd "$ac_dir"
16223
16224    # Check for guested configure; otherwise get Cygnus style configure.
16225    if test -f "$ac_srcdir/configure.gnu"; then
16226      ac_sub_configure=$ac_srcdir/configure.gnu
16227    elif test -f "$ac_srcdir/configure"; then
16228      ac_sub_configure=$ac_srcdir/configure
16229    elif test -f "$ac_srcdir/configure.in"; then
16230      # This should be Cygnus configure.
16231      ac_sub_configure=$ac_aux_dir/configure
16232    else
16233      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
16234 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
16235      ac_sub_configure=
16236    fi
16237
16238    # The recursion is here.
16239    if test -n "$ac_sub_configure"; then
16240      # Make the cache file name correct relative to the subdirectory.
16241      case $cache_file in
16242      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
16243      *) # Relative name.
16244        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
16245      esac
16246
16247      { $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
16248 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
16249      # The eval makes quoting arguments work.
16250      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
16251           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
16252        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
16253    fi
16254
16255    cd "$ac_popdir"
16256  done
16257 fi
16236   if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16237    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16238   $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}

Diff Legend

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