Changeset 986


Ignore:
Timestamp:
2000-02-29T11:47:41+13:00 (24 years ago)
Author:
sjboddie
Message:

modified configuration to check for crypt library

Location:
trunk/gsdl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/configure

    r818 r986  
    944944fi
    945945
    946 for ac_prog in gawk mawk nawk awk
     946for ac_prog in mawk gawk nawk awk
    947947do
    948948# Extract the first word of "$ac_prog", so it can be a program name with args.
     
    18791879fi
    18801880
    1881 echo $ac_n "checking for main in -lstdc""... $ac_c" 1>&6
    1882 echo "configure:1883: checking for main in -lstdc" >&5
    1883 ac_lib_var=`echo stdc'_'main | sed 'y%./+-%__p_%'`
     1881echo $ac_n "checking for main in -lstdc++""... $ac_c" 1>&6
     1882echo "configure:1883: checking for main in -lstdc++" >&5
     1883ac_lib_var=`echo stdc++'_'main | sed 'y%./+-%__p_%'`
    18841884if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    18851885  echo $ac_n "(cached) $ac_c" 1>&6
    18861886else
    18871887  ac_save_LIBS="$LIBS"
    1888 LIBS="-lstdc  $LIBS"
     1888LIBS="-lstdc++  $LIBS"
    18891889cat > conftest.$ac_ext <<EOF
    18901890#line 1891 "configure"
     
    19101910if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    19111911  echo "$ac_t""yes" 1>&6
    1912     ac_tr_lib=HAVE_LIB`echo stdc | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1912    ac_tr_lib=HAVE_LIB`echo stdc++ | sed -e 's/[^a-zA-Z0-9_]/_/g' \
    19131913    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    19141914  cat >> confdefs.h <<EOF
     
    19161916EOF
    19171917
    1918   LIBS="-lstdc $LIBS"
     1918  LIBS="-lstdc++ $LIBS"
    19191919
    19201920else
    19211921  echo "$ac_t""no" 1>&6
    19221922fi
     1923
     1924echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6
     1925echo "configure:1926: checking for main in -lcrypt" >&5
     1926ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'`
     1927if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1928  echo $ac_n "(cached) $ac_c" 1>&6
     1929else
     1930  ac_save_LIBS="$LIBS"
     1931LIBS="-lcrypt  $LIBS"
     1932cat > conftest.$ac_ext <<EOF
     1933#line 1934 "configure"
     1934#include "confdefs.h"
     1935
     1936int main() {
     1937main()
     1938; return 0; }
     1939EOF
     1940if { (eval echo configure:1941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1941  rm -rf conftest*
     1942  eval "ac_cv_lib_$ac_lib_var=yes"
     1943else
     1944  echo "configure: failed program was:" >&5
     1945  cat conftest.$ac_ext >&5
     1946  rm -rf conftest*
     1947  eval "ac_cv_lib_$ac_lib_var=no"
     1948fi
     1949rm -f conftest*
     1950LIBS="$ac_save_LIBS"
     1951
     1952fi
     1953if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1954  echo "$ac_t""yes" 1>&6
     1955    ac_tr_lib=HAVE_LIB`echo crypt | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1956    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1957  cat >> confdefs.h <<EOF
     1958#define $ac_tr_lib 1
     1959EOF
     1960
     1961  LIBS="-lcrypt $LIBS"
     1962
     1963else
     1964  echo "$ac_t""no" 1>&6
     1965fi
     1966
    19231967
    19241968
     
    19281972ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    19291973echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
    1930 echo "configure:1931: checking for $ac_hdr that defines DIR" >&5
     1974echo "configure:1975: checking for $ac_hdr that defines DIR" >&5
    19311975if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
    19321976  echo $ac_n "(cached) $ac_c" 1>&6
    19331977else
    19341978  cat > conftest.$ac_ext <<EOF
    1935 #line 1936 "configure"
     1979#line 1980 "configure"
    19361980#include "confdefs.h"
    19371981#include <sys/types.h>
     
    19411985; return 0; }
    19421986EOF
    1943 if { (eval echo configure:1944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1987if { (eval echo configure:1988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    19441988  rm -rf conftest*
    19451989  eval "ac_cv_header_dirent_$ac_safe=yes"
     
    19662010if test $ac_header_dirent = dirent.h; then
    19672011echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
    1968 echo "configure:1969: checking for opendir in -ldir" >&5
     2012echo "configure:2013: checking for opendir in -ldir" >&5
    19692013ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
    19702014if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    19742018LIBS="-ldir  $LIBS"
    19752019cat > conftest.$ac_ext <<EOF
    1976 #line 1977 "configure"
     2020#line 2021 "configure"
    19772021#include "confdefs.h"
    19782022/* Override any gcc2 internal prototype to avoid an error.  */
     
    19852029; return 0; }
    19862030EOF
    1987 if { (eval echo configure:1988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2031if { (eval echo configure:2032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19882032  rm -rf conftest*
    19892033  eval "ac_cv_lib_$ac_lib_var=yes"
     
    20072051else
    20082052echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
    2009 echo "configure:2010: checking for opendir in -lx" >&5
     2053echo "configure:2054: checking for opendir in -lx" >&5
    20102054ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
    20112055if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    20152059LIBS="-lx  $LIBS"
    20162060cat > conftest.$ac_ext <<EOF
    2017 #line 2018 "configure"
     2061#line 2062 "configure"
    20182062#include "confdefs.h"
    20192063/* Override any gcc2 internal prototype to avoid an error.  */
     
    20262070; return 0; }
    20272071EOF
    2028 if { (eval echo configure:2029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2072if { (eval echo configure:2073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20292073  rm -rf conftest*
    20302074  eval "ac_cv_lib_$ac_lib_var=yes"
     
    20492093
    20502094echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2051 echo "configure:2052: checking for ANSI C header files" >&5
     2095echo "configure:2096: checking for ANSI C header files" >&5
    20522096if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    20532097  echo $ac_n "(cached) $ac_c" 1>&6
    20542098else
    20552099  cat > conftest.$ac_ext <<EOF
    2056 #line 2057 "configure"
     2100#line 2101 "configure"
    20572101#include "confdefs.h"
    20582102#include <stdlib.h>
     
    20622106EOF
    20632107ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2064 { (eval echo configure:2065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2108{ (eval echo configure:2109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20652109ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    20662110if test -z "$ac_err"; then
     
    20792123  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    20802124cat > conftest.$ac_ext <<EOF
    2081 #line 2082 "configure"
     2125#line 2126 "configure"
    20822126#include "confdefs.h"
    20832127#include <string.h>
     
    20972141  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    20982142cat > conftest.$ac_ext <<EOF
    2099 #line 2100 "configure"
     2143#line 2144 "configure"
    21002144#include "confdefs.h"
    21012145#include <stdlib.h>
     
    21182162else
    21192163  cat > conftest.$ac_ext <<EOF
    2120 #line 2121 "configure"
     2164#line 2165 "configure"
    21212165#include "confdefs.h"
    21222166#include <ctype.h>
     
    21292173
    21302174EOF
    2131 if { (eval echo configure:2132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2175if { (eval echo configure:2176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    21322176then
    21332177  :
     
    21562200ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    21572201echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2158 echo "configure:2159: checking for $ac_hdr" >&5
     2202echo "configure:2203: checking for $ac_hdr" >&5
    21592203if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    21602204  echo $ac_n "(cached) $ac_c" 1>&6
    21612205else
    21622206  cat > conftest.$ac_ext <<EOF
    2163 #line 2164 "configure"
     2207#line 2208 "configure"
    21642208#include "confdefs.h"
    21652209#include <$ac_hdr>
    21662210EOF
    21672211ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2168 { (eval echo configure:2169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2212{ (eval echo configure:2213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    21692213ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    21702214if test -z "$ac_err"; then
     
    21932237
    21942238cat > conftest.$ac_ext <<EOF
    2195 #line 2196 "configure"
     2239#line 2240 "configure"
    21962240#include "confdefs.h"
    21972241#include <stdio.h>
     
    22082252
    22092253cat > conftest.$ac_ext <<EOF
    2210 #line 2211 "configure"
     2254#line 2255 "configure"
    22112255#include "confdefs.h"
    22122256#include <stdio.h>
     
    22232267
    22242268cat > conftest.$ac_ext <<EOF
    2225 #line 2226 "configure"
     2269#line 2270 "configure"
    22262270#include "confdefs.h"
    22272271#include <sys/procfs.h>
     
    22412285# for constant arguments.  Useless!
    22422286echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2243 echo "configure:2244: checking for working alloca.h" >&5
     2287echo "configure:2288: checking for working alloca.h" >&5
    22442288if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    22452289  echo $ac_n "(cached) $ac_c" 1>&6
    22462290else
    22472291  cat > conftest.$ac_ext <<EOF
    2248 #line 2249 "configure"
     2292#line 2293 "configure"
    22492293#include "confdefs.h"
    22502294#include <alloca.h>
     
    22532297; return 0; }
    22542298EOF
    2255 if { (eval echo configure:2256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2299if { (eval echo configure:2300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22562300  rm -rf conftest*
    22572301  ac_cv_header_alloca_h=yes
     
    22742318
    22752319echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2276 echo "configure:2277: checking for alloca" >&5
     2320echo "configure:2321: checking for alloca" >&5
    22772321if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    22782322  echo $ac_n "(cached) $ac_c" 1>&6
    22792323else
    22802324  cat > conftest.$ac_ext <<EOF
    2281 #line 2282 "configure"
     2325#line 2326 "configure"
    22822326#include "confdefs.h"
    22832327
     
    23072351; return 0; }
    23082352EOF
    2309 if { (eval echo configure:2310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2353if { (eval echo configure:2354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23102354  rm -rf conftest*
    23112355  ac_cv_func_alloca_works=yes
     
    23392383
    23402384echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2341 echo "configure:2342: checking whether alloca needs Cray hooks" >&5
     2385echo "configure:2386: checking whether alloca needs Cray hooks" >&5
    23422386if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    23432387  echo $ac_n "(cached) $ac_c" 1>&6
    23442388else
    23452389  cat > conftest.$ac_ext <<EOF
    2346 #line 2347 "configure"
     2390#line 2391 "configure"
    23472391#include "confdefs.h"
    23482392#if defined(CRAY) && ! defined(CRAY2)
     
    23692413for ac_func in _getb67 GETB67 getb67; do
    23702414  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2371 echo "configure:2372: checking for $ac_func" >&5
     2415echo "configure:2416: checking for $ac_func" >&5
    23722416if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    23732417  echo $ac_n "(cached) $ac_c" 1>&6
    23742418else
    23752419  cat > conftest.$ac_ext <<EOF
    2376 #line 2377 "configure"
     2420#line 2421 "configure"
    23772421#include "confdefs.h"
    23782422/* System header to define __stub macros and hopefully few prototypes,
     
    23972441; return 0; }
    23982442EOF
    2399 if { (eval echo configure:2400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2443if { (eval echo configure:2444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    24002444  rm -rf conftest*
    24012445  eval "ac_cv_func_$ac_func=yes"
     
    24242468
    24252469echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2426 echo "configure:2427: checking stack direction for C alloca" >&5
     2470echo "configure:2471: checking stack direction for C alloca" >&5
    24272471if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    24282472  echo $ac_n "(cached) $ac_c" 1>&6
     
    24322476else
    24332477  cat > conftest.$ac_ext <<EOF
    2434 #line 2435 "configure"
     2478#line 2479 "configure"
    24352479#include "confdefs.h"
    24362480find_stack_direction ()
     
    24512495}
    24522496EOF
    2453 if { (eval echo configure:2454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2497if { (eval echo configure:2498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    24542498then
    24552499  ac_cv_c_stack_direction=1
     
    24742518if test $ac_cv_prog_gcc = yes; then
    24752519    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    2476 echo "configure:2477: checking whether ${CC-cc} needs -traditional" >&5
     2520echo "configure:2521: checking whether ${CC-cc} needs -traditional" >&5
    24772521if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    24782522  echo $ac_n "(cached) $ac_c" 1>&6
     
    24802524    ac_pattern="Autoconf.*'x'"
    24812525  cat > conftest.$ac_ext <<EOF
    2482 #line 2483 "configure"
     2526#line 2527 "configure"
    24832527#include "confdefs.h"
    24842528#include <sgtty.h>
     
    24982542  if test $ac_cv_prog_gcc_traditional = no; then
    24992543    cat > conftest.$ac_ext <<EOF
    2500 #line 2501 "configure"
     2544#line 2545 "configure"
    25012545#include "confdefs.h"
    25022546#include <termio.h>
     
    25202564
    25212565echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    2522 echo "configure:2523: checking return type of signal handlers" >&5
     2566echo "configure:2567: checking return type of signal handlers" >&5
    25232567if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    25242568  echo $ac_n "(cached) $ac_c" 1>&6
    25252569else
    25262570  cat > conftest.$ac_ext <<EOF
    2527 #line 2528 "configure"
     2571#line 2572 "configure"
    25282572#include "confdefs.h"
    25292573#include <sys/types.h>
     
    25422586; return 0; }
    25432587EOF
    2544 if { (eval echo configure:2545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2588if { (eval echo configure:2589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    25452589  rm -rf conftest*
    25462590  ac_cv_type_signal=void
     
    25612605
    25622606echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    2563 echo "configure:2564: checking for vprintf" >&5
     2607echo "configure:2608: checking for vprintf" >&5
    25642608if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    25652609  echo $ac_n "(cached) $ac_c" 1>&6
    25662610else
    25672611  cat > conftest.$ac_ext <<EOF
    2568 #line 2569 "configure"
     2612#line 2613 "configure"
    25692613#include "confdefs.h"
    25702614/* System header to define __stub macros and hopefully few prototypes,
     
    25892633; return 0; }
    25902634EOF
    2591 if { (eval echo configure:2592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2635if { (eval echo configure:2636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    25922636  rm -rf conftest*
    25932637  eval "ac_cv_func_vprintf=yes"
     
    26132657if test "$ac_cv_func_vprintf" != yes; then
    26142658echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    2615 echo "configure:2616: checking for _doprnt" >&5
     2659echo "configure:2660: checking for _doprnt" >&5
    26162660if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    26172661  echo $ac_n "(cached) $ac_c" 1>&6
    26182662else
    26192663  cat > conftest.$ac_ext <<EOF
    2620 #line 2621 "configure"
     2664#line 2665 "configure"
    26212665#include "confdefs.h"
    26222666/* System header to define __stub macros and hopefully few prototypes,
     
    26412685; return 0; }
    26422686EOF
    2643 if { (eval echo configure:2644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2687if { (eval echo configure:2688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    26442688  rm -rf conftest*
    26452689  eval "ac_cv_func__doprnt=yes"
     
    26682712do
    26692713echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2670 echo "configure:2671: checking for $ac_func" >&5
     2714echo "configure:2715: checking for $ac_func" >&5
    26712715if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    26722716  echo $ac_n "(cached) $ac_c" 1>&6
    26732717else
    26742718  cat > conftest.$ac_ext <<EOF
    2675 #line 2676 "configure"
     2719#line 2720 "configure"
    26762720#include "confdefs.h"
    26772721/* System header to define __stub macros and hopefully few prototypes,
     
    26962740; return 0; }
    26972741EOF
    2698 if { (eval echo configure:2699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2742if { (eval echo configure:2743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    26992743  rm -rf conftest*
    27002744  eval "ac_cv_func_$ac_func=yes"
     
    27232767do
    27242768echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2725 echo "configure:2726: checking for $ac_func" >&5
     2769echo "configure:2770: checking for $ac_func" >&5
    27262770if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    27272771  echo $ac_n "(cached) $ac_c" 1>&6
    27282772else
    27292773  cat > conftest.$ac_ext <<EOF
    2730 #line 2731 "configure"
     2774#line 2775 "configure"
    27312775#include "confdefs.h"
    27322776/* System header to define __stub macros and hopefully few prototypes,
     
    27512795; return 0; }
    27522796EOF
    2753 if { (eval echo configure:2754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2797if { (eval echo configure:2798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    27542798  rm -rf conftest*
    27552799  eval "ac_cv_func_$ac_func=yes"
     
    27822826# ---------------------------------------------------------------------------
    27832827echo $ac_n "checking for HP-UX needing gmalloc""... $ac_c" 1>&6
    2784 echo "configure:2785: checking for HP-UX needing gmalloc" >&5
     2828echo "configure:2829: checking for HP-UX needing gmalloc" >&5
    27852829if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    27862830  echo "$ac_t""yes" 1>&6
     
    27952839do
    27962840echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2797 echo "configure:2798: checking for $ac_func" >&5
     2841echo "configure:2842: checking for $ac_func" >&5
    27982842if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    27992843  echo $ac_n "(cached) $ac_c" 1>&6
    28002844else
    28012845  cat > conftest.$ac_ext <<EOF
    2802 #line 2803 "configure"
     2846#line 2847 "configure"
    28032847#include "confdefs.h"
    28042848/* System header to define __stub macros and hopefully few prototypes,
     
    28232867; return 0; }
    28242868EOF
    2825 if { (eval echo configure:2826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2869if { (eval echo configure:2870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28262870  rm -rf conftest*
    28272871  eval "ac_cv_func_$ac_func=yes"
     
    28502894
    28512895echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&6
    2852 echo "configure:2853: checking if malloc debugging is wanted" >&5
     2896echo "configure:2897: checking if malloc debugging is wanted" >&5
    28532897# Check whether --with-dmalloc or --without-dmalloc was given.
    28542898if test "${with_dmalloc+set}" = set; then
     
    28712915
    28722916echo $ac_n "checking which of rx or regex is wanted""... $ac_c" 1>&6
    2873 echo "configure:2874: checking which of rx or regex is wanted" >&5
     2917echo "configure:2918: checking which of rx or regex is wanted" >&5
    28742918# Check whether --with-regex or --without-regex was given.
    28752919if test "${with_regex+set}" = set; then
     
    28892933  echo "$ac_t""rx" 1>&6
    28902934  echo $ac_n "checking for re_rx_search""... $ac_c" 1>&6
    2891 echo "configure:2892: checking for re_rx_search" >&5
     2935echo "configure:2936: checking for re_rx_search" >&5
    28922936if eval "test \"`echo '$''{'ac_cv_func_re_rx_search'+set}'`\" = set"; then
    28932937  echo $ac_n "(cached) $ac_c" 1>&6
    28942938else
    28952939  cat > conftest.$ac_ext <<EOF
    2896 #line 2897 "configure"
     2940#line 2941 "configure"
    28972941#include "confdefs.h"
    28982942/* System header to define __stub macros and hopefully few prototypes,
     
    29172961; return 0; }
    29182962EOF
    2919 if { (eval echo configure:2920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2963if { (eval echo configure:2964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29202964  rm -rf conftest*
    29212965  eval "ac_cv_func_re_rx_search=yes"
     
    29573001
    29583002echo $ac_n "checking "that the GDBM library is available"""... $ac_c" 1>&6
    2959 echo "configure:2960: checking "that the GDBM library is available"" >&5
     3003echo "configure:3004: checking "that the GDBM library is available"" >&5
    29603004cat > conftest.$ac_ext <<EOF
    2961 #line 2962 "configure"
     3005#line 3006 "configure"
    29623006#include "confdefs.h"
    29633007#include <gdbm.h>
     
    29673011; return 0; }
    29683012EOF
    2969 if { (eval echo configure:2970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3013if { (eval echo configure:3014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    29703014  rm -rf conftest*
    29713015  success=yes
     
    29843028
    29853029echo $ac_n "checking "that Perl 5 is available"""... $ac_c" 1>&6
    2986 echo "configure:2987: checking "that Perl 5 is available"" >&5
     3030echo "configure:3031: checking "that Perl 5 is available"" >&5
    29873031success="no"
    29883032pl_path="$PATH"
     
    30143058success=no
    30153059echo $ac_n "checking "whether STL library has known faults"""... $ac_c" 1>&6
    3016 echo "configure:3017: checking "whether STL library has known faults"" >&5
     3060echo "configure:3061: checking "whether STL library has known faults"" >&5
    30173061
    30183062cat > conftest.$ac_ext <<EOF
    3019 #line 3020 "configure"
     3063#line 3064 "configure"
    30203064#include "confdefs.h"
    30213065#include <vector>
     
    30253069; return 0; }
    30263070EOF
    3027 if { (eval echo configure:3028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3071if { (eval echo configure:3072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    30283072  rm -rf conftest*
    30293073  success=yes
     
    30363080if test $success = "no"; then
    30373081cat > conftest.$ac_ext <<EOF
    3038 #line 3039 "configure"
     3082#line 3083 "configure"
    30393083#include "confdefs.h"
    30403084#include <vector.h>
     
    30443088; return 0; }
    30453089EOF
    3046 if { (eval echo configure:3047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3090if { (eval echo configure:3091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    30473091  rm -rf conftest*
    30483092  success="yes"
     
    30563100if test $success = "no"; then
    30573101cat > conftest.$ac_ext <<EOF
    3058 #line 3059 "configure"
     3102#line 3103 "configure"
    30593103#include "confdefs.h"
    30603104#include <ospace\\std\\vector>
     
    30643108; return 0; }
    30653109EOF
    3066 if { (eval echo configure:3067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3110if { (eval echo configure:3111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    30673111  rm -rf conftest*
    30683112  success="yes"
     
    30853129
    30863130echo $ac_n "checking for HP-UX needing gmalloc""... $ac_c" 1>&6
    3087 echo "configure:3088: checking for HP-UX needing gmalloc" >&5
     3131echo "configure:3132: checking for HP-UX needing gmalloc" >&5
    30883132if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    30893133  echo "$ac_t""yes" 1>&6
     
    30983142do
    30993143echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3100 echo "configure:3101: checking for $ac_func" >&5
     3144echo "configure:3145: checking for $ac_func" >&5
    31013145if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    31023146  echo $ac_n "(cached) $ac_c" 1>&6
    31033147else
    31043148  cat > conftest.$ac_ext <<EOF
    3105 #line 3106 "configure"
     3149#line 3150 "configure"
    31063150#include "confdefs.h"
    31073151/* System header to define __stub macros and hopefully few prototypes,
     
    31293173; return 0; }
    31303174EOF
    3131 if { (eval echo configure:3132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3175if { (eval echo configure:3176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    31323176  rm -rf conftest*
    31333177  eval "ac_cv_func_$ac_func=yes"
     
    31563200
    31573201echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&6
    3158 echo "configure:3159: checking if malloc debugging is wanted" >&5
     3202echo "configure:3203: checking if malloc debugging is wanted" >&5
    31593203# Check whether --with-dmalloc or --without-dmalloc was given.
    31603204if test "${with_dmalloc+set}" = set; then
     
    31773221
    31783222echo $ac_n "checking which of rx or regex is wanted""... $ac_c" 1>&6
    3179 echo "configure:3180: checking which of rx or regex is wanted" >&5
     3223echo "configure:3224: checking which of rx or regex is wanted" >&5
    31803224# Check whether --with-regex or --without-regex was given.
    31813225if test "${with_regex+set}" = set; then
     
    31953239  echo "$ac_t""rx" 1>&6
    31963240  echo $ac_n "checking for re_rx_search""... $ac_c" 1>&6
    3197 echo "configure:3198: checking for re_rx_search" >&5
     3241echo "configure:3242: checking for re_rx_search" >&5
    31983242if eval "test \"`echo '$''{'ac_cv_func_re_rx_search'+set}'`\" = set"; then
    31993243  echo $ac_n "(cached) $ac_c" 1>&6
    32003244else
    32013245  cat > conftest.$ac_ext <<EOF
    3202 #line 3203 "configure"
     3246#line 3247 "configure"
    32033247#include "confdefs.h"
    32043248/* System header to define __stub macros and hopefully few prototypes,
     
    32263270; return 0; }
    32273271EOF
    3228 if { (eval echo configure:3229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3272if { (eval echo configure:3273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    32293273  rm -rf conftest*
    32303274  eval "ac_cv_func_re_rx_search=yes"
     
    36363680
    36373681
    3638 
    3639 
  • trunk/gsdl/configure.in

    r794 r986  
    6565dnl Replace `main' with a function in -lm:
    6666AC_CHECK_LIB(m, main)
    67 dnl Replace `main' with a function in -lstdc:
    68 AC_CHECK_LIB(stdc, main)
     67dnl Replace `main' with a function in -lstdc++:
     68AC_CHECK_LIB(stdc++, main)
     69dnl Replace `main' with a function in -lcrypt:
     70AC_CHECK_LIB(crypt, main)
     71
    6972
    7073dnl Checks for header files.
     
    245248
    246249
    247 
    248 
Note: See TracChangeset for help on using the changeset viewer.