Changeset 146

Show
Ignore:
Timestamp:
12/20/04 10:29:18 (4 years ago)
Author:
morris
Message:

Reduce configure footprint, only test what we actually use, no matter what autoscan thinks

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wire/trunk/Makefile.in

    r137 r146  
    1616top_srcdir                              = @top_srcdir@ 
    1717 
     18WR_PACKAGE_VERSION              = @WR_PACKAGE_VERSION@ 
     19 
    1820SUBDIRS                                 = libzanka wire 
    1921DISTFILES                               = INSTALL \ 
     
    3234                                                  run \ 
    3335                                                  wire 
    34  
    35 WR_PACKAGE_VERSION              = @WR_PACKAGE_VERSION@ 
    36  
    3736INSTALL                                 = @INSTALL@ 
    38 RM                                              = @RM@ 
    39 CP                                              = @CP@ 
    40 MV                                              = @MV@ 
    41 MKDIR                                   = @MKDIR@ 
    42 CHMOD                                   = @CHMOD@ 
    43 TAR                                             = @TAR@ 
    44 SED                                             = @SED@ 
    45 CUT                                             = @CUT@ 
    46 FIND                                    = @FIND@ 
    47 XARGS                                   = @XARGS@ 
    48 OPENSSL                                 = @OPENSSL@ 
    4937 
    5038all: all-recursive 
     
    5341        @list='$(SUBDIRS)'; \ 
    5442        for subdir in $$list; do \ 
    55                 target=`echo $@ | $(SED) s/-recursive//`; \ 
     43                target=`echo $@ | sed s/-recursive//`; \ 
    5644                echo "Making $$target in $$subdir"; \ 
    5745                (cd $$subdir && $(MAKE) $$target); \ 
     
    7866        @echo "Making $@ in ." 
    7967 
    80         $(RM) -rf wire-$(WR_PACKAGE_VERSION) 
    81         $(RM) -f wire-$(WR_PACKAGE_VERSION).tar.gz 
    82         $(MKDIR) wire-$(WR_PACKAGE_VERSION) 
     68        rm -rf wire-$(WR_PACKAGE_VERSION) 
     69        rm -f wire-$(WR_PACKAGE_VERSION).tar.gz 
     70        mkdir wire-$(WR_PACKAGE_VERSION) 
    8371 
    8472        @for i in $(DISTFILES); do \ 
    85                 $(CP) -pr $$i wire-$(WR_PACKAGE_VERSION)/$$i; \ 
     73                cp -pr $$i wire-$(WR_PACKAGE_VERSION)/$$i; \ 
    8674        done 
    8775 
    88         $(MAKE) -C wire-$(WR_PACKAGE_VERSION) -f Makefile distclean cvsclean 
     76        make -C wire-$(WR_PACKAGE_VERSION) -f Makefile distclean cvsclean 
    8977 
    90         $(TAR) -czf wire-$(WR_PACKAGE_VERSION).tar.gz wire-$(WR_PACKAGE_VERSION) 
    91         $(RM) -rf wire-$(WR_PACKAGE_VERSION) 
     78        tar -czf wire-$(WR_PACKAGE_VERSION).tar.gz wire-$(WR_PACKAGE_VERSION) 
     79        rm -rf wire-$(WR_PACKAGE_VERSION) 
    9280 
    9381clean: clean-recursive 
    9482        @echo "Making $@ in ." 
    9583 
    96         $(RM) -f *.core 
     84        rm -f *.core 
    9785 
    9886distclean: clean distclean-recursive 
    9987        @echo "Making $@ in ." 
    10088 
    101         $(RM) -f Makefile config.h config.log config.status 
    102         $(RM) -f wire-$(WR_PACKAGE_VERSION).tar.gz 
     89        rm -f Makefile config.h config.log config.status 
     90        rm -f wire-$(WR_PACKAGE_VERSION).tar.gz 
    10391 
    10492autoclean: 
    10593        @echo "Making $@ in ." 
    10694 
    107         $(RM) -rf autom4te.cache 
    108         $(RM) -f autoscan.log configure.scan config.h.in~ 
     95        rm -rf autom4te.cache 
     96        rm -f autoscan.log configure.scan config.h.in~ 
    10997 
    11098cvsclean: 
    11199        @echo "Making $@ in ." 
    112100 
    113         $(FIND) . -name .DS_Store -print0 | $(XARGS) -0 $(RM) -f 
    114         $(FIND) . -name CVS -print0 | $(XARGS) -0 $(RM) -rf 
     101        find . -name .DS_Store -print0 | xargs -0 rm -f 
     102        find . -name CVS -print0 | xargs -0 rm -rf 
  • wire/trunk/config.h.in

    r137 r146  
    11/* config.h.in.  Generated from configure.in by autoheader.  */ 
    22 
    3 /* Define to 1 if the `closedir' function returns void instead of `int'. */ 
    4 #undef CLOSEDIR_VOID 
    5  
    6 /* Define to 1 if you have the `alarm' function. */ 
    7 #undef HAVE_ALARM 
    8  
    9 /* Define to 1 if you have the <arpa/inet.h> header file. */ 
    10 #undef HAVE_ARPA_INET_H 
     3/* Define to 1 if you have the <CoreServices/CoreServices.h> header file. */ 
     4#undef HAVE_CORESERVICES_CORESERVICES_H 
    115 
    126/* Define to 1 if you have the declaration of `optreset', and to 0 if you 
     
    148#undef HAVE_DECL_OPTRESET 
    159 
    16 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 
    17    */ 
    18 #undef HAVE_DIRENT_H 
    19  
    20 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ 
    21 #undef HAVE_DOPRNT 
    22  
    23 /* Define to 1 if you have the <fcntl.h> header file. */ 
    24 #undef HAVE_FCNTL_H 
    25  
    2610/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ 
    2711#undef HAVE_FSEEKO 
    2812 
    29 /* Define to 1 if you have the `gethostbyname' function. */ 
    30 #undef HAVE_GETHOSTBYNAME 
     13/* Define to 1 if you have the `getifaddrs' function. */ 
     14#undef HAVE_GETIFADDRS 
    3115 
    32 /* Define to 1 if you have the `gettimeofday' function. */ 
    33 #undef HAVE_GETTIMEOFDAY 
     16/* Define to 1 if you have the <getopt.h> header file. */ 
     17#undef HAVE_GETOPT_H 
    3418 
    3519/* Define to 1 if you have the <iconv.h> header file. */ 
    3620#undef HAVE_ICONV_H 
    3721 
    38 /* Define to 1 if you have the `inet_ntoa' function. */ 
    39 #undef HAVE_INET_NTOA 
     22/* Define to 1 if you have the <ifaddrs.h> header file. */ 
     23#undef HAVE_IFADDRS_H 
    4024 
    4125/* Define to 1 if you have the <inttypes.h> header file. */ 
    4226#undef HAVE_INTTYPES_H 
    4327 
    44 /* Define to 1 if you have the <limits.h> header file. */ 
    45 #undef HAVE_LIMITS_H 
    46  
    47 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and 
    48    to 0 otherwise. */ 
    49 #undef HAVE_MALLOC 
    50  
    5128/* Define to 1 if you have the <memory.h> header file. */ 
    5229#undef HAVE_MEMORY_H 
    53  
    54 /* Define to 1 if you have the `memset' function. */ 
    55 #undef HAVE_MEMSET 
    56  
    57 /* Define to 1 if you have the `mkdir' function. */ 
    58 #undef HAVE_MKDIR 
    59  
    60 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ 
    61 #undef HAVE_NDIR_H 
    62  
    63 /* Define to 1 if you have the <netdb.h> header file. */ 
    64 #undef HAVE_NETDB_H 
    65  
    66 /* Define to 1 if you have the <netinet/in.h> header file. */ 
    67 #undef HAVE_NETINET_IN_H 
    6830 
    6931/* Define to 1 if you have the <openssl/sha.h> header file. */ 
     
    7335#undef HAVE_OPENSSL_SSL_H 
    7436 
     37/* Define to 1 if you have the <paths.h> header file. */ 
     38#undef HAVE_PATHS_H 
     39 
    7540/* Define to 1 if you have the <readline/readline.h> header file. */ 
    7641#undef HAVE_READLINE_READLINE_H 
    77  
    78 /* Define to 1 if your system has a GNU libc compatible `realloc' function, 
    79    and to 0 otherwise. */ 
    80 #undef HAVE_REALLOC 
    81  
    82 /* Define to 1 if you have the `realpath' function. */ 
    83 #undef HAVE_REALPATH 
    84  
    85 /* Define to 1 if you have the `regcomp' function. */ 
    86 #undef HAVE_REGCOMP 
    8742 
    8843/* Define to 1 if you have the `rl_completion_matches' function, and to 0 
    8944   otherwise. */ 
    9045#undef HAVE_RL_COMPLETION_MATCHES 
    91  
    92 /* Define to 1 if you have the `select' function. */ 
    93 #undef HAVE_SELECT 
    94  
    95 /* Define to 1 if you have the `socket' function. */ 
    96 #undef HAVE_SOCKET 
    97  
    98 /* Define to 1 if `stat' has the bug that it succeeds when given the 
    99    zero-length file name argument. */ 
    100 #undef HAVE_STAT_EMPTY_STRING_BUG 
    101  
    102 /* Define to 1 if stdbool.h conforms to C99. */ 
    103 #undef HAVE_STDBOOL_H 
    10446 
    10547/* Define to 1 if you have the <stdint.h> header file. */ 
     
    10951#undef HAVE_STDLIB_H 
    11052 
    111 /* Define to 1 if you have the `strcasecmp' function. */ 
    112 #undef HAVE_STRCASECMP 
    113  
    11453/* Define to 1 if you have the `strcasestr' function. */ 
    11554#undef HAVE_STRCASESTR 
    116  
    117 /* Define to 1 if you have the `strchr' function. */ 
    118 #undef HAVE_STRCHR 
    119  
    120 /* Define to 1 if you have the `strdup' function. */ 
    121 #undef HAVE_STRDUP 
    122  
    123 /* Define to 1 if you have the `strerror' function. */ 
    124 #undef HAVE_STRERROR 
    125  
    126 /* Define to 1 if you have the `strftime' function. */ 
    127 #undef HAVE_STRFTIME 
    12855 
    12956/* Define to 1 if you have the <strings.h> header file. */ 
     
    13966#undef HAVE_STRLCPY 
    14067 
    141 /* Define to 1 if you have the `strncasecmp' function. */ 
    142 #undef HAVE_STRNCASECMP 
    143  
    144 /* Define to 1 if you have the `strrchr' function. */ 
    145 #undef HAVE_STRRCHR 
    146  
    14768/* Define to 1 if you have the `strsep' function. */ 
    14869#undef HAVE_STRSEP 
    149  
    150 /* Define to 1 if you have the `strtol' function. */ 
    151 #undef HAVE_STRTOL 
    152  
    153 /* Define to 1 if you have the `strtoul' function. */ 
    154 #undef HAVE_STRTOUL 
    155  
    156 /* Define to 1 if you have the `strtoull' function. */ 
    157 #undef HAVE_STRTOULL 
    15870 
    15971/* Define to 1 if `sin6_len' is member of `struct sockaddr_in6'. */ 
     
    16678#undef HAVE_STRUCT_SOCKADDR_SA_LEN 
    16779 
    168 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. 
    169    */ 
    170 #undef HAVE_SYS_DIR_H 
    171  
    172 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 
    173 #undef HAVE_SYS_IOCTL_H 
    174  
    175 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. 
    176    */ 
    177 #undef HAVE_SYS_NDIR_H 
    178  
    179 /* Define to 1 if you have the <sys/param.h> header file. */ 
    180 #undef HAVE_SYS_PARAM_H 
    181  
    182 /* Define to 1 if you have the <sys/select.h> header file. */ 
    183 #undef HAVE_SYS_SELECT_H 
    184  
    185 /* Define to 1 if you have the <sys/socket.h> header file. */ 
    186 #undef HAVE_SYS_SOCKET_H 
     80/* Define to 1 if you have the <sys/sockio.h> header file. */ 
     81#undef HAVE_SYS_SOCKIO_H 
    18782 
    18883/* Define to 1 if you have the <sys/stat.h> header file. */ 
    18984#undef HAVE_SYS_STAT_H 
    190  
    191 /* Define to 1 if you have the <sys/time.h> header file. */ 
    192 #undef HAVE_SYS_TIME_H 
    19385 
    19486/* Define to 1 if you have the <sys/types.h> header file. */ 
     
    20496#undef HAVE_TERM_H 
    20597 
    206 /* Define to 1 if you have the `uname' function. */ 
    207 #undef HAVE_UNAME 
    208  
    20998/* Define to 1 if you have the <unistd.h> header file. */ 
    21099#undef HAVE_UNISTD_H 
     
    213102#undef HAVE_VASPRINTF 
    214103 
    215 /* Define to 1 if you have the `vprintf' function. */ 
    216 #undef HAVE_VPRINTF 
    217  
    218 /* Define to 1 if the system has the type `_Bool'. */ 
    219 #undef HAVE__BOOL 
    220  
    221 /* Define to 1 if `lstat' dereferences a symlink specified with a trailing 
    222    slash. */ 
    223 #undef LSTAT_FOLLOWS_SLASHED_SYMLINK 
     104/* Define to 1 if you have the `vfprintf' function. */ 
     105#undef HAVE_VFPRINTF 
    224106 
    225107/* Define to the address where bug reports for this package should be sent. */ 
     
    238120#undef PACKAGE_VERSION 
    239121 
    240 /* Define as the return type of signal handlers (`int' or `void'). */ 
    241 #undef RETSIGTYPE 
    242  
    243 /* Define to the type of arg 1 for `select'. */ 
    244 #undef SELECT_TYPE_ARG1 
    245  
    246 /* Define to the type of args 2, 3 and 4 for `select'. */ 
    247 #undef SELECT_TYPE_ARG234 
    248  
    249 /* Define to the type of arg 5 for `select'. */ 
    250 #undef SELECT_TYPE_ARG5 
    251  
    252122/* Define to 1 if you have the ANSI C header files. */ 
    253123#undef STDC_HEADERS 
    254  
    255 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 
    256 #undef TIME_WITH_SYS_TIME 
    257  
    258 /* Define to 1 if your <sys/time.h> declares `struct tm'. */ 
    259 #undef TM_IN_SYS_TIME 
    260124 
    261125/* Maintainer's email address */ 
     
    271135#undef WR_PROTOCOL_VERSION 
    272136 
     137/* Number of bits in a file offset, on hosts where this is settable. */ 
     138#undef _FILE_OFFSET_BITS 
     139 
    273140/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ 
    274141#undef _LARGEFILE_SOURCE 
    275142 
    276 /* Define to empty if `const' does not conform to ANSI C. */ 
    277 #undef const 
    278  
    279 /* Define to rpl_malloc if the replacement function should be used. */ 
    280 #undef malloc 
    281  
    282 /* Define to rpl_realloc if the replacement function should be used. */ 
    283 #undef realloc 
    284  
    285 /* Define to `unsigned' if <sys/types.h> does not define. */ 
    286 #undef size_t 
    287  
    288 /* Define to empty if the keyword `volatile' does not work. Warning: valid 
    289    code using `volatile' can become incorrect without. Disable with care. */ 
    290 #undef volatile 
     143/* Define for large files, on AIX-style hosts. */ 
     144#undef _LARGE_FILES 
  • wire/trunk/configure

    r137 r146  
    312312 
    313313ac_subdirs_all="$ac_subdirs_all libzanka" 
    314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os WR_PACKAGE_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE CPP EGREP MV CP RM MKDIR CHMOD TAR SED CUT FIND XARGS OPENSSL LIBOBJS POW_LIB subdirs LTLIBOBJS' 
     314ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os WR_PACKAGE_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE CPP EGREP subdirs LIBOBJS LTLIBOBJS' 
    315315ac_subst_files='' 
    316316 
     
    851851  --enable-warnings       enable warnings 
    852852 
     853  --disable-largefile     omit support for large files 
    853854 
    854855Some influential environment variables: 
     
    23722373 
    23732374 
    2374 ac_ext=c 
    2375 ac_cpp='$CPP $CPPFLAGS' 
    2376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
    2377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    2378 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    2379 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
    2380 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 
    2381 # On Suns, sometimes $CPP names a directory. 
    2382 if test -n "$CPP" && test -d "$CPP"; then 
    2383   CPP= 
    2384 fi 
    2385 if test -z "$CPP"; then 
    2386   if test "${ac_cv_prog_CPP+set}" = set; then 
    2387   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2388 else 
    2389       # Double quotes because CPP needs to be expanded 
    2390     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 
    2391     do 
    2392       ac_preproc_ok=false 
    2393 for ac_c_preproc_warn_flag in '' yes 
    2394 do 
    2395   # Use a header file that comes with gcc, so configuring glibc 
    2396   # with a fresh cross-compiler works. 
    2397   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    2398   # <limits.h> exists even on freestanding compilers. 
    2399   # On the NeXT, cc -E runs the code through the compiler's parser, 
    2400   # not just through cpp. "Syntax error" is here to catch this case. 
    2401   cat >conftest.$ac_ext <<_ACEOF 
    2402 #line $LINENO "configure" 
    2403 /* confdefs.h.  */ 
    2404 _ACEOF 
    2405 cat confdefs.h >>conftest.$ac_ext 
    2406 cat >>conftest.$ac_ext <<_ACEOF 
    2407 /* end confdefs.h.  */ 
    2408 #ifdef __STDC__ 
    2409 # include <limits.h> 
    2410 #else 
    2411 # include <assert.h> 
    2412 #endif 
    2413                      Syntax error 
    2414 _ACEOF 
    2415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    2416   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    2417   ac_status=$? 
    2418   grep -v '^ *+' conftest.er1 >conftest.err 
    2419   rm -f conftest.er1 
    2420   cat conftest.err >&5 
    2421   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2422   (exit $ac_status); } >/dev/null; then 
    2423   if test -s conftest.err; then 
    2424     ac_cpp_err=$ac_c_preproc_warn_flag 
    2425   else 
    2426     ac_cpp_err= 
    2427   fi 
    2428 else 
    2429   ac_cpp_err=yes 
    2430 fi 
    2431 if test -z "$ac_cpp_err"; then 
    2432   : 
    2433 else 
    2434   echo "$as_me: failed program was:" >&5 
    2435 sed 's/^/| /' conftest.$ac_ext >&5 
    2436  
    2437   # Broken: fails on valid input. 
    2438 continue 
    2439 fi 
    2440 rm -f conftest.err conftest.$ac_ext 
    2441  
    2442   # OK, works on sane cases.  Now check whether non-existent headers 
    2443   # can be detected and how. 
    2444   cat >conftest.$ac_ext <<_ACEOF 
    2445 #line $LINENO "configure" 
    2446 /* confdefs.h.  */ 
    2447 _ACEOF 
    2448 cat confdefs.h >>conftest.$ac_ext 
    2449 cat >>conftest.$ac_ext <<_ACEOF 
    2450 /* end confdefs.h.  */ 
    2451 #include <ac_nonexistent.h> 
    2452 _ACEOF 
    2453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    2454   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    2455   ac_status=$? 
    2456   grep -v '^ *+' conftest.er1 >conftest.err 
    2457   rm -f conftest.er1 
    2458   cat conftest.err >&5 
    2459   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2460   (exit $ac_status); } >/dev/null; then 
    2461   if test -s conftest.err; then 
    2462     ac_cpp_err=$ac_c_preproc_warn_flag 
    2463   else 
    2464     ac_cpp_err= 
    2465   fi 
    2466 else 
    2467   ac_cpp_err=yes 
    2468 fi 
    2469 if test -z "$ac_cpp_err"; then 
    2470   # Broken: success on invalid input. 
    2471 continue 
    2472 else 
    2473   echo "$as_me: failed program was:" >&5 
    2474 sed 's/^/| /' conftest.$ac_ext >&5 
    2475  
    2476   # Passes both tests. 
    2477 ac_preproc_ok=: 
    2478 break 
    2479 fi 
    2480 rm -f conftest.err conftest.$ac_ext 
    2481  
    2482 done 
    2483 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    2484 rm -f conftest.err conftest.$ac_ext 
    2485 if $ac_preproc_ok; then 
    2486   break 
    2487 fi 
    2488  
    2489     done 
    2490     ac_cv_prog_CPP=$CPP 
    2491  
    2492 fi 
    2493   CPP=$ac_cv_prog_CPP 
    2494 else 
    2495   ac_cv_prog_CPP=$CPP 
    2496 fi 
    2497 echo "$as_me:$LINENO: result: $CPP" >&5 
    2498 echo "${ECHO_T}$CPP" >&6 
    2499 ac_preproc_ok=false 
    2500 for ac_c_preproc_warn_flag in '' yes 
    2501 do 
    2502   # Use a header file that comes with gcc, so configuring glibc 
    2503   # with a fresh cross-compiler works. 
    2504   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    2505   # <limits.h> exists even on freestanding compilers. 
    2506   # On the NeXT, cc -E runs the code through the compiler's parser, 
    2507   # not just through cpp. "Syntax error" is here to catch this case. 
    2508   cat >conftest.$ac_ext <<_ACEOF 
    2509 #line $LINENO "configure" 
    2510 /* confdefs.h.  */ 
    2511 _ACEOF 
    2512 cat confdefs.h >>conftest.$ac_ext 
    2513 cat >>conftest.$ac_ext <<_ACEOF 
    2514 /* end confdefs.h.  */ 
    2515 #ifdef __STDC__ 
    2516 # include <limits.h> 
    2517 #else 
    2518 # include <assert.h> 
    2519 #endif 
    2520                      Syntax error 
    2521 _ACEOF 
    2522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    2523   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    2524   ac_status=$? 
    2525   grep -v '^ *+' conftest.er1 >conftest.err 
    2526   rm -f conftest.er1 
    2527   cat conftest.err >&5 
    2528   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2529   (exit $ac_status); } >/dev/null; then 
    2530   if test -s conftest.err; then 
    2531     ac_cpp_err=$ac_c_preproc_warn_flag 
    2532   else 
    2533     ac_cpp_err= 
    2534   fi 
    2535 else 
    2536   ac_cpp_err=yes 
    2537 fi 
    2538 if test -z "$ac_cpp_err"; then 
    2539   : 
    2540 else 
    2541   echo "$as_me: failed program was:" >&5 
    2542 sed 's/^/| /' conftest.$ac_ext >&5 
    2543  
    2544   # Broken: fails on valid input. 
    2545 continue 
    2546 fi 
    2547 rm -f conftest.err conftest.$ac_ext 
    2548  
    2549   # OK, works on sane cases.  Now check whether non-existent headers 
    2550   # can be detected and how. 
    2551   cat >conftest.$ac_ext <<_ACEOF 
    2552 #line $LINENO "configure" 
    2553 /* confdefs.h.  */ 
    2554 _ACEOF 
    2555 cat confdefs.h >>conftest.$ac_ext 
    2556 cat >>conftest.$ac_ext <<_ACEOF 
    2557 /* end confdefs.h.  */ 
    2558 #include <ac_nonexistent.h> 
    2559 _ACEOF 
    2560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    2561   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    2562   ac_status=$? 
    2563   grep -v '^ *+' conftest.er1 >conftest.err 
    2564   rm -f conftest.er1 
    2565   cat conftest.err >&5 
    2566   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    2567   (exit $ac_status); } >/dev/null; then 
    2568   if test -s conftest.err; then 
    2569     ac_cpp_err=$ac_c_preproc_warn_flag 
    2570   else 
    2571     ac_cpp_err= 
    2572   fi 
    2573 else 
    2574   ac_cpp_err=yes 
    2575 fi 
    2576 if test -z "$ac_cpp_err"; then 
    2577   # Broken: success on invalid input. 
    2578 continue 
    2579 else 
    2580   echo "$as_me: failed program was:" >&5 
    2581 sed 's/^/| /' conftest.$ac_ext >&5 
    2582  
    2583   # Passes both tests. 
    2584 ac_preproc_ok=: 
    2585 break 
    2586 fi 
    2587 rm -f conftest.err conftest.$ac_ext 
    2588  
    2589 done 
    2590 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 
    2591 rm -f conftest.err conftest.$ac_ext 
    2592 if $ac_preproc_ok; then 
    2593   : 
    2594 else 
    2595   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
    2596 See \`config.log' for more details." >&5 
    2597 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
    2598 See \`config.log' for more details." >&2;} 
    2599    { (exit 1); exit 1; }; } 
    2600 fi 
    2601  
    2602 ac_ext=c 
    2603 ac_cpp='$CPP $CPPFLAGS' 
    2604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
    2605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    2606 ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    2607  
    2608  
    2609 echo "$as_me:$LINENO: checking for egrep" >&5 
    2610 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 
    2611 if test "${ac_cv_prog_egrep+set}" = set; then 
    2612   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2613 else 
    2614   if echo a | (grep -E '(a|b)') >/dev/null 2>&1 
    2615     then ac_cv_prog_egrep='grep -E' 
    2616     else ac_cv_prog_egrep='egrep' 
    2617     fi 
    2618 fi 
    2619 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 
    2620 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 
    2621  EGREP=$ac_cv_prog_egrep 
    2622  
    2623  
    2624 if test $ac_cv_c_compiler_gnu = yes; then 
    2625     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 
    2626 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 
    2627 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 
    2628   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2629 else 
    2630     ac_pattern="Autoconf.*'x'" 
    2631   cat >conftest.$ac_ext <<_ACEOF 
    2632 #line $LINENO "configure" 
    2633 /* confdefs.h.  */ 
    2634 _ACEOF 
    2635 cat confdefs.h >>conftest.$ac_ext 
    2636 cat >>conftest.$ac_ext <<_ACEOF 
    2637 /* end confdefs.h.  */ 
    2638 #include <sgtty.h> 
    2639 Autoconf TIOCGETP 
    2640 _ACEOF 
    2641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    2642   $EGREP "$ac_pattern" >/dev/null 2>&1; then 
    2643   ac_cv_prog_gcc_traditional=yes 
    2644 else 
    2645   ac_cv_prog_gcc_traditional=no 
    2646 fi 
    2647 rm -f conftest* 
    2648  
    2649  
    2650   if test $ac_cv_prog_gcc_traditional = no; then 
    2651     cat >conftest.$ac_ext <<_ACEOF 
    2652 #line $LINENO "configure" 
    2653 /* confdefs.h.  */ 
    2654 _ACEOF 
    2655 cat confdefs.h >>conftest.$ac_ext 
    2656 cat >>conftest.$ac_ext <<_ACEOF 
    2657 /* end confdefs.h.  */ 
    2658 #include <termio.h> 
    2659 Autoconf TCGETA 
    2660 _ACEOF 
    2661 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
    2662   $EGREP "$ac_pattern" >/dev/null 2>&1; then 
    2663   ac_cv_prog_gcc_traditional=yes 
    2664 fi 
    2665 rm -f conftest* 
    2666  
    2667   fi 
    2668 fi 
    2669 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 
    2670 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 
    2671   if test $ac_cv_prog_gcc_traditional = yes; then 
    2672     CC="$CC -traditional" 
    2673   fi 
    2674 fi 
    2675  
    2676  
    26772375 
    26782376####################################################################### 
     
    26992397 
    27002398####################################################################### 
    2701 # Checks for programs 
    2702  
    2703 # Extract the first word of "mv", so it can be a program name with args. 
    2704 set dummy mv; ac_word=$2 
    2705 echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    2707 if test "${ac_cv_prog_MV+set}" = set; then 
    2708   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2709 else 
    2710   if test -n "$MV"; then 
    2711   ac_cv_prog_MV="$MV" # Let the user override the test. 
    2712 else 
    2713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    2714 for as_dir in $PATH 
    2715 do 
    2716   IFS=$as_save_IFS 
    2717   test -z "$as_dir" && as_dir=. 
    2718   for ac_exec_ext in '' $ac_executable_extensions; do 
    2719   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    2720     ac_cv_prog_MV="mv" 
    2721     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    2722     break 2 
    2723   fi 
    2724 done 
    2725 done 
    2726  
    2727 fi 
    2728 fi 
    2729 MV=$ac_cv_prog_MV 
    2730 if test -n "$MV"; then 
    2731   echo "$as_me:$LINENO: result: $MV" >&5 
    2732 echo "${ECHO_T}$MV" >&6 
    2733 else 
    2734   echo "$as_me:$LINENO: result: no" >&5 
    2735 echo "${ECHO_T}no" >&6 
    2736 fi 
    2737  
    2738 # Extract the first word of "cp", so it can be a program name with args. 
    2739 set dummy cp; ac_word=$2 
    2740 echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    2742 if test "${ac_cv_prog_CP+set}" = set; then 
    2743   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2744 else 
    2745   if test -n "$CP"; then 
    2746   ac_cv_prog_CP="$CP" # Let the user override the test. 
    2747 else 
    2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    2749 for as_dir in $PATH 
    2750 do 
    2751   IFS=$as_save_IFS 
    2752   test -z "$as_dir" && as_dir=. 
    2753   for ac_exec_ext in '' $ac_executable_extensions; do 
    2754   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    2755     ac_cv_prog_CP="cp" 
    2756     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    2757     break 2 
    2758   fi 
    2759 done 
    2760 done 
    2761  
    2762 fi 
    2763 fi 
    2764 CP=$ac_cv_prog_CP 
    2765 if test -n "$CP"; then 
    2766   echo "$as_me:$LINENO: result: $CP" >&5 
    2767 echo "${ECHO_T}$CP" >&6 
    2768 else 
    2769   echo "$as_me:$LINENO: result: no" >&5 
    2770 echo "${ECHO_T}no" >&6 
    2771 fi 
    2772  
    2773 # Extract the first word of "rm", so it can be a program name with args. 
    2774 set dummy rm; ac_word=$2 
    2775 echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    2777 if test "${ac_cv_prog_RM+set}" = set; then 
    2778   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2779 else 
    2780   if test -n "$RM"; then 
    2781   ac_cv_prog_RM="$RM" # Let the user override the test. 
    2782 else 
    2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    2784 for as_dir in $PATH 
    2785 do 
    2786   IFS=$as_save_IFS 
    2787   test -z "$as_dir" && as_dir=. 
    2788   for ac_exec_ext in '' $ac_executable_extensions; do 
    2789   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    2790     ac_cv_prog_RM="rm" 
    2791     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    2792     break 2 
    2793   fi 
    2794 done 
    2795 done 
    2796  
    2797 fi 
    2798 fi 
    2799 RM=$ac_cv_prog_RM 
    2800 if test -n "$RM"; then 
    2801   echo "$as_me:$LINENO: result: $RM" >&5 
    2802 echo "${ECHO_T}$RM" >&6 
    2803 else 
    2804   echo "$as_me:$LINENO: result: no" >&5 
    2805 echo "${ECHO_T}no" >&6 
    2806 fi 
    2807  
    2808 # Extract the first word of "mkdir", so it can be a program name with args. 
    2809 set dummy mkdir; ac_word=$2 
    2810 echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    2812 if test "${ac_cv_prog_MKDIR+set}" = set; then 
    2813   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2814 else 
    2815   if test -n "$MKDIR"; then 
    2816   ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test. 
    2817 else 
    2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    2819 for as_dir in $PATH 
    2820 do 
    2821   IFS=$as_save_IFS 
    2822   test -z "$as_dir" && as_dir=. 
    2823   for ac_exec_ext in '' $ac_executable_extensions; do 
    2824   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    2825     ac_cv_prog_MKDIR="mkdir" 
    2826     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    2827     break 2 
    2828   fi 
    2829 done 
    2830 done 
    2831  
    2832 fi 
    2833 fi 
    2834 MKDIR=$ac_cv_prog_MKDIR 
    2835 if test -n "$MKDIR"; then 
    2836   echo "$as_me:$LINENO: result: $MKDIR" >&5 
    2837 echo "${ECHO_T}$MKDIR" >&6 
    2838 else 
    2839   echo "$as_me:$LINENO: result: no" >&5 
    2840 echo "${ECHO_T}no" >&6 
    2841 fi 
    2842  
    2843 # Extract the first word of "chmod", so it can be a program name with args. 
    2844 set dummy chmod; ac_word=$2 
    2845 echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    2847 if test "${ac_cv_prog_CHMOD+set}" = set; then 
    2848   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2849 else 
    2850   if test -n "$CHMOD"; then 
    2851   ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test. 
    2852 else 
    2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    2854 for as_dir in $PATH 
    2855 do 
    2856   IFS=$as_save_IFS 
    2857   test -z "$as_dir" && as_dir=. 
    2858   for ac_exec_ext in '' $ac_executable_extensions; do 
    2859   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    2860     ac_cv_prog_CHMOD="chmod" 
    2861     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    2862     break 2 
    2863   fi 
    2864 done 
    2865 done 
    2866  
    2867 fi 
    2868 fi 
    2869 CHMOD=$ac_cv_prog_CHMOD 
    2870 if test -n "$CHMOD"; then 
    2871   echo "$as_me:$LINENO: result: $CHMOD" >&5 
    2872 echo "${ECHO_T}$CHMOD" >&6 
    2873 else 
    2874   echo "$as_me:$LINENO: result: no" >&5 
    2875 echo "${ECHO_T}no" >&6 
    2876 fi 
    2877  
    2878 # Extract the first word of "tar", so it can be a program name with args. 
    2879 set dummy tar; ac_word=$2 
    2880 echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    2882 if test "${ac_cv_prog_TAR+set}" = set; then 
    2883   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2884 else 
    2885   if test -n "$TAR"; then 
    2886   ac_cv_prog_TAR="$TAR" # Let the user override the test. 
    2887 else 
    2888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    2889 for as_dir in $PATH 
    2890 do 
    2891   IFS=$as_save_IFS 
    2892   test -z "$as_dir" && as_dir=. 
    2893   for ac_exec_ext in '' $ac_executable_extensions; do 
    2894   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    2895     ac_cv_prog_TAR="tar" 
    2896     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    2897     break 2 
    2898   fi 
    2899 done 
    2900 done 
    2901  
    2902 fi 
    2903 fi 
    2904 TAR=$ac_cv_prog_TAR 
    2905 if test -n "$TAR"; then 
    2906   echo "$as_me:$LINENO: result: $TAR" >&5 
    2907 echo "${ECHO_T}$TAR" >&6 
    2908 else 
    2909   echo "$as_me:$LINENO: result: no" >&5 
    2910 echo "${ECHO_T}no" >&6 
    2911 fi 
    2912  
    2913 # Extract the first word of "sed", so it can be a program name with args. 
    2914 set dummy sed; ac_word=$2 
    2915 echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    2917 if test "${ac_cv_prog_SED+set}" = set; then 
    2918   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2919 else 
    2920   if test -n "$SED"; then 
    2921   ac_cv_prog_SED="$SED" # Let the user override the test. 
    2922 else 
    2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    2924 for as_dir in $PATH 
    2925 do 
    2926   IFS=$as_save_IFS 
    2927   test -z "$as_dir" && as_dir=. 
    2928   for ac_exec_ext in '' $ac_executable_extensions; do 
    2929   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    2930     ac_cv_prog_SED="sed" 
    2931     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    2932     break 2 
    2933   fi 
    2934 done 
    2935 done 
    2936  
    2937 fi 
    2938 fi 
    2939 SED=$ac_cv_prog_SED 
    2940 if test -n "$SED"; then 
    2941   echo "$as_me:$LINENO: result: $SED" >&5 
    2942 echo "${ECHO_T}$SED" >&6 
    2943 else 
    2944   echo "$as_me:$LINENO: result: no" >&5 
    2945 echo "${ECHO_T}no" >&6 
    2946 fi 
    2947  
    2948 # Extract the first word of "cut", so it can be a program name with args. 
    2949 set dummy cut; ac_word=$2 
    2950 echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    2952 if test "${ac_cv_prog_CUT+set}" = set; then 
    2953   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2954 else 
    2955   if test -n "$CUT"; then 
    2956   ac_cv_prog_CUT="$CUT" # Let the user override the test. 
    2957 else 
    2958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    2959 for as_dir in $PATH 
    2960 do 
    2961   IFS=$as_save_IFS 
    2962   test -z "$as_dir" && as_dir=. 
    2963   for ac_exec_ext in '' $ac_executable_extensions; do 
    2964   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    2965     ac_cv_prog_CUT="cut" 
    2966     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    2967     break 2 
    2968   fi 
    2969 done 
    2970 done 
    2971  
    2972 fi 
    2973 fi 
    2974 CUT=$ac_cv_prog_CUT 
    2975 if test -n "$CUT"; then 
    2976   echo "$as_me:$LINENO: result: $CUT" >&5 
    2977 echo "${ECHO_T}$CUT" >&6 
    2978 else 
    2979   echo "$as_me:$LINENO: result: no" >&5 
    2980 echo "${ECHO_T}no" >&6 
    2981 fi 
    2982  
    2983 # Extract the first word of "find", so it can be a program name with args. 
    2984 set dummy find; ac_word=$2 
    2985 echo "$as_me:$LINENO: checking for $ac_word" >&5 
    2986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    2987 if test "${ac_cv_prog_FIND+set}" = set; then 
    2988   echo $ECHO_N "(cached) $ECHO_C" >&6 
    2989 else 
    2990   if test -n "$FIND"; then 
    2991   ac_cv_prog_FIND="$FIND" # Let the user override the test. 
    2992 else 
    2993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    2994 for as_dir in $PATH 
    2995 do 
    2996   IFS=$as_save_IFS 
    2997   test -z "$as_dir" && as_dir=. 
    2998   for ac_exec_ext in '' $ac_executable_extensions; do 
    2999   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    3000     ac_cv_prog_FIND="find" 
    3001     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    3002     break 2 
    3003   fi 
    3004 done 
    3005 done 
    3006  
    3007 fi 
    3008 fi 
    3009 FIND=$ac_cv_prog_FIND 
    3010 if test -n "$FIND"; then 
    3011   echo "$as_me:$LINENO: result: $FIND" >&5 
    3012 echo "${ECHO_T}$FIND" >&6 
    3013 else 
    3014   echo "$as_me:$LINENO: result: no" >&5 
    3015 echo "${ECHO_T}no" >&6 
    3016 fi 
    3017  
    3018 # Extract the first word of "xargs", so it can be a program name with args. 
    3019 set dummy xargs; ac_word=$2 
    3020 echo "$as_me:$LINENO: checking for $ac_word" >&5 
    3021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    3022 if test "${ac_cv_prog_XARGS+set}" = set; then 
    3023   echo $ECHO_N "(cached) $ECHO_C" >&6 
    3024 else 
    3025   if test -n "$XARGS"; then 
    3026   ac_cv_prog_XARGS="$XARGS" # Let the user override the test. 
    3027 else 
    3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    3029 for as_dir in $PATH 
    3030 do 
    3031   IFS=$as_save_IFS 
    3032   test -z "$as_dir" && as_dir=. 
    3033   for ac_exec_ext in '' $ac_executable_extensions; do 
    3034   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    3035     ac_cv_prog_XARGS="xargs" 
    3036     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    3037     break 2 
    3038   fi 
    3039 done 
    3040 done 
    3041  
    3042 fi 
    3043 fi 
    3044 XARGS=$ac_cv_prog_XARGS 
    3045 if test -n "$XARGS"; then 
    3046   echo "$as_me:$LINENO: result: $XARGS" >&5 
    3047 echo "${ECHO_T}$XARGS" >&6 
    3048 else 
    3049   echo "$as_me:$LINENO: result: no" >&5 
    3050 echo "${ECHO_T}no" >&6 
    3051 fi 
    3052  
    3053 # Extract the first word of "openssl", so it can be a program name with args. 
    3054 set dummy openssl; ac_word=$2 
    3055 echo "$as_me:$LINENO: checking for $ac_word" >&5 
    3056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    3057 if test "${ac_cv_prog_OPENSSL+set}" = set; then 
    3058   echo $ECHO_N "(cached) $ECHO_C" >&6 
    3059 else 
    3060   if test -n "$OPENSSL"; then 
    3061   ac_cv_prog_OPENSSL="$OPENSSL" # Let the user override the test. 
    3062 else 
    3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    3064 for as_dir in $PATH 
    3065 do 
    3066   IFS=$as_save_IFS 
    3067   test -z "$as_dir" && as_dir=. 
    3068   for ac_exec_ext in '' $ac_executable_extensions; do 
    3069   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
    3070     ac_cv_prog_OPENSSL="openssl" 
    3071     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
    3072     break 2 
    3073   fi 
    3074 done 
    3075 done 
    3076  
    3077 fi 
    3078 fi 
    3079 OPENSSL=$ac_cv_prog_OPENSSL 
    3080 if test -n "$OPENSSL"; then 
    3081   echo "$as_me:$LINENO: result: $OPENSSL" >&5 
    3082 echo "${ECHO_T}$OPENSSL" >&6 
    3083 else 
    3084   echo "$as_me:$LINENO: result: no" >&5 
    3085 echo "${ECHO_T}no" >&6 
    3086 fi 
    3087  
    3088  
    3089  
    3090 ####################################################################### 
    30912399# Checks for libraries 
    30922400 
     
    31022410 
    31032411# Check if we need the math library 
     2412 
    31042413echo "$as_me:$LINENO: checking for pow" >&5 
    31052414echo $ECHO_N "checking for pow... $ECHO_C" >&6 
     
    36642973 
    36652974# Check for the OpenSSL crypto library 
     2975ac_ext=c 
     2976ac_cpp='$CPP $CPPFLAGS' 
     2977ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 
     2978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
     2979ac_compiler_gnu=$ac_cv_c_compiler_gnu 
     2980echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
     2981echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 
     2982# On Suns, sometimes $CPP names a directory. 
     2983if test -n "$CPP" && test -d "$CPP"; then 
     2984  CPP= 
     2985fi 
     2986if test -z "$CPP"; then 
     2987  if test "${ac_cv_prog_CPP+set}" = set; then 
     2988  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2989else 
     2990      # Double quotes because CPP needs to be expanded 
     2991    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 
     2992    do 
     2993      ac_preproc_ok=false 
     2994for ac_c_preproc_warn_flag in '' yes 
     2995do 
     2996  # Use a header file that comes with gcc, so configuring glibc 
     2997  # with a fresh cross-compiler works. 
     2998  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     2999  # <limits.h> exists even on freestanding compilers. 
     3000  # On the NeXT, cc -E runs the code through the compiler's parser, 
     3001  # not just through cpp. "Syntax error" is here to catch this case. 
     3002  cat >conftest.$ac_ext <<_ACEOF 
     3003#line $LINENO "configure" 
     3004/* confdefs.h.  */ 
     3005_ACEOF 
     3006cat confdefs.h >>conftest.$ac_ext 
     3007cat >>conftest.$ac_ext <<_ACEOF 
     3008/* end confdefs.h.  */ 
     3009#ifdef __STDC__ 
     3010# include <limits.h> 
     3011#else 
     3012# include <assert.h> 
     3013#endif 
     3014                     Syntax error 
     3015_ACEOF 
     3016if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
     3017  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
     3018  ac_status=$? 
     3019  grep -v '^ *+' conftest.er1 >conftest.err 
     3020  rm -f conftest.er1 
     3021  cat conftest.err >&5 
     3022  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     3023  (exit $ac_status); } >/dev/null; then 
     3024  if test -s conftest.err; then 
     3025    ac_cpp_err=$ac_c_preproc_warn_flag 
     3026  else