~ubuntu-branches/ubuntu/hardy/libaal/hardy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Domenico Andreoli
  • Date: 2005-02-25 18:50:30 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050225185030-9frto0bpm1f2elxd
Tags: 1.0.4-1
New upstream release. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
463
463
# include <unistd.h>
464
464
#endif"
465
465
 
466
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os LT_RELEASE LT_CURRENT LT_REVISION LT_AGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBOBJS LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ENABLE_STAND_ALONE_TRUE ENABLE_STAND_ALONE_FALSE ENABLE_DEBUG_TRUE ENABLE_DEBUG_FALSE ALONE_CFLAGS GENERIC_CFLAGS LTLIBOBJS'
 
466
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os LT_RELEASE LT_CURRENT LT_REVISION LT_AGE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBOBJS LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ENABLE_MINIMAL_TRUE ENABLE_MINIMAL_FALSE ENABLE_DEBUG_TRUE ENABLE_DEBUG_FALSE MINIMAL_CFLAGS GENERIC_CFLAGS LTLIBOBJS'
467
467
ac_subst_files=''
468
468
 
469
469
# Initialize some variables set by options.
1027
1027
                          (and sometimes confusing) to the casual installer
1028
1028
  --enable-shared[=PKGS]
1029
1029
                          build shared libraries [default=yes]
1030
 
  --enable-Werror                enable build with gcc -Werror
1031
 
  --disable-debug                disable debug information in binaries
1032
 
  --enable-stand-alone           enable build stand alone library
1033
 
  --enable-memory-manager        enable memory manager in stand alone library
 
1030
  --enable-Werror               enable build with gcc -Werror
 
1031
  --enable-debug                enable debug information in binaries
 
1032
  --disable-libminimal          disable building of minimal footprint library
 
1033
  --disable-memory-manager      disable memory manager in minimal library
1034
1034
  --disable-dependency-tracking Speeds up one-time builds
1035
1035
  --enable-dependency-tracking  Do not reject slow dependency extractors
1036
1036
  --disable-largefile     omit support for large files
1598
1598
 
1599
1599
 
1600
1600
 
1601
 
LIBAAL_MAJOR_VERSION=0
1602
 
LIBAAL_MINOR_VERSION=5
1603
 
LIBAAL_MICRO_VERSION=0
 
1601
LIBAAL_MAJOR_VERSION=1
 
1602
LIBAAL_MINOR_VERSION=0
 
1603
LIBAAL_MICRO_VERSION=4
1604
1604
 
1605
1605
LIBAAL_INTERFACE_AGE=0
1606
1606
LIBAAL_BINARY_AGE=0
1622
1622
PACKAGE=libaal
1623
1623
VERSION=$LIBAAL_VERSION
1624
1624
 
1625
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1626
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1627
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1628
 
if test "${enable_maintainer_mode+set}" = set; then
1629
 
  enableval="$enable_maintainer_mode"
1630
 
  USE_MAINTAINER_MODE=$enableval
1631
 
else
1632
 
  USE_MAINTAINER_MODE=no
1633
 
fi;
1634
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1635
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1636
 
 
1637
 
 
1638
 
if test $USE_MAINTAINER_MODE = yes; then
1639
 
  MAINTAINER_MODE_TRUE=
1640
 
  MAINTAINER_MODE_FALSE='#'
1641
 
else
1642
 
  MAINTAINER_MODE_TRUE='#'
1643
 
  MAINTAINER_MODE_FALSE=
1644
 
fi
1645
 
 
1646
 
  MAINT=$MAINTAINER_MODE_TRUE
1647
 
 
1648
 
 
1649
1625
am__api_version="1.7"
1650
1626
# Find a good install program.  We prefer a C program (faster),
1651
1627
# so one script is as good as another.  But avoid the broken or
2024
2000
 
2025
2001
          ac_config_headers="$ac_config_headers config.h"
2026
2002
 
 
2003
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2004
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
 
2005
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2006
if test "${enable_maintainer_mode+set}" = set; then
 
2007
  enableval="$enable_maintainer_mode"
 
2008
  USE_MAINTAINER_MODE=$enableval
 
2009
else
 
2010
  USE_MAINTAINER_MODE=no
 
2011
fi;
 
2012
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2013
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
2014
 
 
2015
 
 
2016
if test $USE_MAINTAINER_MODE = yes; then
 
2017
  MAINTAINER_MODE_TRUE=
 
2018
  MAINTAINER_MODE_FALSE='#'
 
2019
else
 
2020
  MAINTAINER_MODE_TRUE='#'
 
2021
  MAINTAINER_MODE_FALSE=
 
2022
fi
 
2023
 
 
2024
  MAINT=$MAINTAINER_MODE_TRUE
 
2025
 
 
2026
 
2027
2027
 
2028
2028
cat >>confdefs.h <<_ACEOF
2029
2029
#define LIBAAL_MAX_INTERFACE_VERSION $LIBAAL_BINARY_AGE
2073
2073
  enableval="$enable_debug"
2074
2074
 
2075
2075
else
2076
 
  enable_debug=yes
 
2076
  enable_debug=no
2077
2077
 
2078
2078
fi;
2079
2079
 
2080
 
# Check whether --enable-stand_alone or --disable-stand_alone was given.
2081
 
if test "${enable_stand_alone+set}" = set; then
2082
 
  enableval="$enable_stand_alone"
 
2080
# Check whether --enable-libminimal or --disable-libminimal was given.
 
2081
if test "${enable_libminimal+set}" = set; then
 
2082
  enableval="$enable_libminimal"
2083
2083
 
2084
2084
else
2085
 
  enable_stand_alone=no
 
2085
  enable_libminimal=yes
2086
2086
 
2087
2087
fi;
2088
2088
 
2091
2091
  enableval="$enable_memory_manager"
2092
2092
 
2093
2093
else
2094
 
  enable_memory_manager=no
 
2094
  enable_memory_manager=yes
2095
2095
 
2096
2096
fi;
2097
2097
 
5009
5009
if test "x$falign_loop_flag" = xyes; then
5010
5010
  ALIGN_FLAGS="-falign-jumps=1 -falign-loops=1 -falign-functions=1 -falign-labels=1 -fomit-frame-pointer -fno-inline -fstrength-reduce"
5011
5011
else
5012
 
  ALIGN_FLAGS="-malign-jumps=1 -malign-loops=1 -malign-functions=1 -malign-labels=1 -momit-frame-pointer -mno-inline -mstrength-reduce"
 
5012
  ALIGN_FLAGS="-malign-jumps=1 -malign-loops=1 -malign-functions=1"
5013
5013
fi
5014
5014
 
5015
5015
CFLAGS=""
5016
 
ALONE_CFLAGS=""
 
5016
MINIMAL_CFLAGS=""
5017
5017
GENERIC_CFLAGS=""
5018
5018
 
5019
5019
# make libc threadsafe (not required for us for awhile, but useful other users of
5379
5379
rm -f conftest*
5380
5380
fi
5381
5381
 
5382
 
 
5383
 
if test -z "${ac_cv_sys_file_offset_bits}"; then
5384
 
        { echo "$as_me:$LINENO: WARNING: Can't detect right _FILE_OFFSET_BITS. Will be forced to 64bit." >&5
5385
 
echo "$as_me: WARNING: Can't detect right _FILE_OFFSET_BITS. Will be forced to 64bit." >&2;}
5386
 
        ac_cv_sys_file_offset_bits=64
 
5382
if test x${ac_cv_sys_file_offset_bits} != x; then
 
5383
        GENERIC_CFLAGS="$GENERIC_CFLAGS -D_FILE_OFFSET_BITS=${ac_cv_sys_file_offset_bits}"
5387
5384
fi
5388
5385
 
5389
 
GENERIC_CFLAGS="$GENERIC_CFLAGS -D_FILE_OFFSET_BITS=${ac_cv_sys_file_offset_bits}"
5390
5386
echo "$as_me:$LINENO: checking for off_t" >&5
5391
5387
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5392
5388
if test "${ac_cv_type_off_t+set}" = set; then
6149
6145
  ;;
6150
6146
 
6151
6147
cygwin*)
6152
 
  # win32_libid is a shell function defined in ltmain.sh
 
6148
  # func_win32_libid is a shell function defined in ltmain.sh
6153
6149
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6154
 
  lt_cv_file_magic_cmd='win32_libid'
 
6150
  lt_cv_file_magic_cmd='func_win32_libid'
6155
6151
  ;;
6156
6152
 
6157
6153
mingw* | pw32*)
6158
6154
  # Base MSYS/MinGW do not provide the 'file' command needed by
6159
 
  # win32_libid shell function, so use a weaker test based on 'objdump'.
 
6155
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
6160
6156
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6161
6157
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6162
6158
  ;;
6218
6214
  lt_cv_deplibs_check_method=pass_all
6219
6215
  ;;
6220
6216
 
6221
 
netbsd* | knetbsd*-gnu)
 
6217
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
6222
6218
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6223
6219
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6224
6220
  else
6334
6330
  ;;
6335
6331
*-*-irix6*)
6336
6332
  # Find out which ABI we are using.
6337
 
  echo '#line 6337 "configure"' > conftest.$ac_ext
 
6333
  echo '#line 6333 "configure"' > conftest.$ac_ext
6338
6334
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6339
6335
  (eval $ac_compile) 2>&5
6340
6336
  ac_status=$?
7420
7416
 
7421
7417
 
7422
7418
# Provide some information about the compiler.
7423
 
echo "$as_me:7423:" \
 
7419
echo "$as_me:7419:" \
7424
7420
     "checking for Fortran 77 compiler version" >&5
7425
7421
ac_compiler=`set X $ac_compile; echo $2`
7426
7422
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7573
7569
  echo $ECHO_N "(cached) $ECHO_C" >&6
7574
7570
else
7575
7571
    i=0
7576
 
  testring="ABCD"
 
7572
  teststring="ABCD"
7577
7573
 
7578
7574
  case $build_os in
7579
7575
  msdosdjgpp*)
7612
7608
    # If test is not a shell built-in, we'll probably end up computing a
7613
7609
    # maximum length that is only half of the actual maximum length, but
7614
7610
    # we can't tell.
7615
 
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
7616
 
               = "XX$testring") >/dev/null 2>&1 &&
7617
 
            new_result=`expr "X$testring" : ".*" 2>&1` &&
 
7611
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
7612
               = "XX$teststring") >/dev/null 2>&1 &&
 
7613
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
7618
7614
            lt_cv_sys_max_cmd_len=$new_result &&
7619
7615
            test $i != 17 # 1/2 MB should be enough
7620
7616
    do
7621
7617
      i=`expr $i + 1`
7622
 
      testring=$testring$testring
 
7618
      teststring=$teststring$teststring
7623
7619
    done
7624
 
    testring=
 
7620
    teststring=
7625
7621
    # Add a significant safety factor because C++ compilers can tack on massive
7626
7622
    # amounts of additional arguments before passing them to the linker.
7627
7623
    # It appears as though 1/2 is a usable value.
8452
8448
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8453
8449
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8454
8450
   -e 's:$: $lt_compiler_flag:'`
8455
 
   (eval echo "\"\$as_me:8455: $lt_compile\"" >&5)
 
8451
   (eval echo "\"\$as_me:8451: $lt_compile\"" >&5)
8456
8452
   (eval "$lt_compile" 2>conftest.err)
8457
8453
   ac_status=$?
8458
8454
   cat conftest.err >&5
8459
 
   echo "$as_me:8459: \$? = $ac_status" >&5
 
8455
   echo "$as_me:8455: \$? = $ac_status" >&5
8460
8456
   if (exit $ac_status) && test -s "$ac_outfile"; then
8461
8457
     # The compiler can only warn and ignore the option if not recognized
8462
8458
     # So say no if there are warnings
8685
8681
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8686
8682
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8687
8683
   -e 's:$: $lt_compiler_flag:'`
8688
 
   (eval echo "\"\$as_me:8688: $lt_compile\"" >&5)
 
8684
   (eval echo "\"\$as_me:8684: $lt_compile\"" >&5)
8689
8685
   (eval "$lt_compile" 2>conftest.err)
8690
8686
   ac_status=$?
8691
8687
   cat conftest.err >&5
8692
 
   echo "$as_me:8692: \$? = $ac_status" >&5
 
8688
   echo "$as_me:8688: \$? = $ac_status" >&5
8693
8689
   if (exit $ac_status) && test -s "$ac_outfile"; then
8694
8690
     # The compiler can only warn and ignore the option if not recognized
8695
8691
     # So say no if there are warnings
8745
8741
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8746
8742
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8747
8743
   -e 's:$: $lt_compiler_flag:'`
8748
 
   (eval echo "\"\$as_me:8748: $lt_compile\"" >&5)
 
8744
   (eval echo "\"\$as_me:8744: $lt_compile\"" >&5)
8749
8745
   (eval "$lt_compile" 2>out/conftest.err)
8750
8746
   ac_status=$?
8751
8747
   cat out/conftest.err >&5
8752
 
   echo "$as_me:8752: \$? = $ac_status" >&5
 
8748
   echo "$as_me:8748: \$? = $ac_status" >&5
8753
8749
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8754
8750
   then
8755
8751
     # The compiler can only warn and ignore the option if not recognized
8922
8918
      fi
8923
8919
      ;;
8924
8920
 
8925
 
    netbsd* | knetbsd*-gnu)
 
8921
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
8926
8922
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8927
8923
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8928
8924
        wlarc=
8961
8957
      ;;
8962
8958
 
8963
8959
  linux*)
8964
 
    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
 
8960
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8965
8961
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8966
8962
        archive_cmds="$tmp_archive_cmds"
8967
8963
      supports_anon_versioning=no
8980
8976
      else
8981
8977
        archive_expsym_cmds="$tmp_archive_cmds"
8982
8978
      fi
 
8979
      link_all_deplibs=no
8983
8980
    else
8984
8981
      ld_shlibs=no
8985
8982
    fi
9261
9258
      # Tell ltmain to make .lib files, not .a files.
9262
9259
      libext=lib
9263
9260
      # Tell ltmain to make .dll files, not .so files.
9264
 
      shrext=".dll"
 
9261
      shrext_cmds=".dll"
9265
9262
      # FIXME: Setting linknames here is a bad hack.
9266
9263
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9267
9264
      # The linker will automatically build a .lib file if we build a DLL.
9439
9436
      link_all_deplibs=yes
9440
9437
      ;;
9441
9438
 
9442
 
    netbsd* | knetbsd*-gnu)
 
9439
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
9443
9440
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9444
9441
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9445
9442
      else
9717
9714
library_names_spec=
9718
9715
libname_spec='lib$name'
9719
9716
soname_spec=
9720
 
shrext=".so"
 
9717
shrext_cmds=".so"
9721
9718
postinstall_cmds=
9722
9719
postuninstall_cmds=
9723
9720
finish_cmds=
9830
9827
 
9831
9828
cygwin* | mingw* | pw32*)
9832
9829
  version_type=windows
9833
 
  shrext=".dll"
 
9830
  shrext_cmds=".dll"
9834
9831
  need_version=no
9835
9832
  need_lib_prefix=no
9836
9833
 
9895
9892
  soname_spec='${libname}${release}${major}$shared_ext'
9896
9893
  shlibpath_overrides_runpath=yes
9897
9894
  shlibpath_var=DYLD_LIBRARY_PATH
9898
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
 
9895
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
9899
9896
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9900
9897
  if test "$GCC" = yes; then
9901
9898
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
9978
9975
  need_version=no
9979
9976
  case "$host_cpu" in
9980
9977
  ia64*)
9981
 
    shrext='.so'
 
9978
    shrext_cmds='.so'
9982
9979
    hardcode_into_libs=yes
9983
9980
    dynamic_linker="$host_os dld.so"
9984
9981
    shlibpath_var=LD_LIBRARY_PATH
9993
9990
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9994
9991
    ;;
9995
9992
   hppa*64*)
9996
 
     shrext='.sl'
 
9993
     shrext_cmds='.sl'
9997
9994
     hardcode_into_libs=yes
9998
9995
     dynamic_linker="$host_os dld.sl"
9999
9996
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10004
10001
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10005
10002
     ;;
10006
10003
   *)
10007
 
    shrext='.sl'
 
10004
    shrext_cmds='.sl'
10008
10005
    dynamic_linker="$host_os dld.sl"
10009
10006
    shlibpath_var=SHLIB_PATH
10010
10007
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10075
10072
 
10076
10073
  # Append ld.so.conf contents to the search path
10077
10074
  if test -f /etc/ld.so.conf; then
10078
 
    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
10079
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
 
10075
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
10076
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10080
10077
  fi
10081
10078
 
10082
10079
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10088
10085
  dynamic_linker='GNU/Linux ld.so'
10089
10086
  ;;
10090
10087
 
 
10088
netbsdelf*-gnu)
 
10089
  version_type=linux
 
10090
  need_lib_prefix=no
 
10091
  need_version=no
 
10092
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10093
  soname_spec='${libname}${release}${shared_ext}$major'
 
10094
  shlibpath_var=LD_LIBRARY_PATH
 
10095
  shlibpath_overrides_runpath=no
 
10096
  hardcode_into_libs=yes
 
10097
  dynamic_linker='NetBSD ld.elf_so'
 
10098
  ;;
 
10099
 
10091
10100
knetbsd*-gnu)
10092
10101
  version_type=linux
10093
10102
  need_lib_prefix=no
10158
10167
 
10159
10168
os2*)
10160
10169
  libname_spec='$name'
10161
 
  shrext=".dll"
 
10170
  shrext_cmds=".dll"
10162
10171
  need_lib_prefix=no
10163
10172
  library_names_spec='$libname${shared_ext} $libname.a'
10164
10173
  dynamic_linker='OS/2 ld.exe'
10920
10929
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10921
10930
  lt_status=$lt_dlunknown
10922
10931
  cat > conftest.$ac_ext <<EOF
10923
 
#line 10923 "configure"
 
10932
#line 10932 "configure"
10924
10933
#include "confdefs.h"
10925
10934
 
10926
10935
#if HAVE_DLFCN_H
11018
11027
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11019
11028
  lt_status=$lt_dlunknown
11020
11029
  cat > conftest.$ac_ext <<EOF
11021
 
#line 11021 "configure"
 
11030
#line 11030 "configure"
11022
11031
#include "confdefs.h"
11023
11032
 
11024
11033
#if HAVE_DLFCN_H
11143
11152
  fi
11144
11153
  ;;
11145
11154
 
11146
 
aix4*)
 
11155
aix4* | aix5*)
11147
11156
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11148
11157
    test "$enable_shared" = yes && enable_static=no
11149
11158
  fi
11419
11428
libext="$libext"
11420
11429
 
11421
11430
# Shared library suffix (normally ".so").
11422
 
shrext='$shrext'
 
11431
shrext_cmds='$shrext_cmds'
11423
11432
 
11424
11433
# Executable file suffix (normally "").
11425
11434
exeext="$exeext"
12332
12341
      # explicitly linking system object files so we need to strip them
12333
12342
      # from the output so that they don't get included in the library
12334
12343
      # dependencies.
12335
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
12344
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12336
12345
      ;;
12337
12346
    *)
12338
12347
      if test "$GXX" = yes; then
12529
12538
        ;;
12530
12539
    esac
12531
12540
    ;;
12532
 
  netbsd* | knetbsd*-gnu)
 
12541
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
12533
12542
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12534
12543
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12535
12544
      wlarc=
13084
13093
            ;;
13085
13094
        esac
13086
13095
        ;;
13087
 
      netbsd* | knetbsd*-gnu)
 
13096
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
13088
13097
        ;;
13089
13098
      osf3* | osf4* | osf5*)
13090
13099
        case $cc_basename in
13195
13204
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13196
13205
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13197
13206
   -e 's:$: $lt_compiler_flag:'`
13198
 
   (eval echo "\"\$as_me:13198: $lt_compile\"" >&5)
 
13207
   (eval echo "\"\$as_me:13207: $lt_compile\"" >&5)
13199
13208
   (eval "$lt_compile" 2>conftest.err)
13200
13209
   ac_status=$?
13201
13210
   cat conftest.err >&5
13202
 
   echo "$as_me:13202: \$? = $ac_status" >&5
 
13211
   echo "$as_me:13211: \$? = $ac_status" >&5
13203
13212
   if (exit $ac_status) && test -s "$ac_outfile"; then
13204
13213
     # The compiler can only warn and ignore the option if not recognized
13205
13214
     # So say no if there are warnings
13255
13264
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13256
13265
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13257
13266
   -e 's:$: $lt_compiler_flag:'`
13258
 
   (eval echo "\"\$as_me:13258: $lt_compile\"" >&5)
 
13267
   (eval echo "\"\$as_me:13267: $lt_compile\"" >&5)
13259
13268
   (eval "$lt_compile" 2>out/conftest.err)
13260
13269
   ac_status=$?
13261
13270
   cat out/conftest.err >&5
13262
 
   echo "$as_me:13262: \$? = $ac_status" >&5
 
13271
   echo "$as_me:13271: \$? = $ac_status" >&5
13263
13272
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13264
13273
   then
13265
13274
     # The compiler can only warn and ignore the option if not recognized
13325
13334
  cygwin* | mingw*)
13326
13335
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13327
13336
  ;;
 
13337
  linux*)
 
13338
    link_all_deplibs_CXX=no
 
13339
  ;;
13328
13340
  *)
13329
13341
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13330
13342
  ;;
13406
13418
library_names_spec=
13407
13419
libname_spec='lib$name'
13408
13420
soname_spec=
13409
 
shrext=".so"
 
13421
shrext_cmds=".so"
13410
13422
postinstall_cmds=
13411
13423
postuninstall_cmds=
13412
13424
finish_cmds=
13519
13531
 
13520
13532
cygwin* | mingw* | pw32*)
13521
13533
  version_type=windows
13522
 
  shrext=".dll"
 
13534
  shrext_cmds=".dll"
13523
13535
  need_version=no
13524
13536
  need_lib_prefix=no
13525
13537
 
13584
13596
  soname_spec='${libname}${release}${major}$shared_ext'
13585
13597
  shlibpath_overrides_runpath=yes
13586
13598
  shlibpath_var=DYLD_LIBRARY_PATH
13587
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
 
13599
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
13588
13600
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13589
13601
  if test "$GCC" = yes; then
13590
13602
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
13667
13679
  need_version=no
13668
13680
  case "$host_cpu" in
13669
13681
  ia64*)
13670
 
    shrext='.so'
 
13682
    shrext_cmds='.so'
13671
13683
    hardcode_into_libs=yes
13672
13684
    dynamic_linker="$host_os dld.so"
13673
13685
    shlibpath_var=LD_LIBRARY_PATH
13682
13694
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13683
13695
    ;;
13684
13696
   hppa*64*)
13685
 
     shrext='.sl'
 
13697
     shrext_cmds='.sl'
13686
13698
     hardcode_into_libs=yes
13687
13699
     dynamic_linker="$host_os dld.sl"
13688
13700
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13693
13705
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13694
13706
     ;;
13695
13707
   *)
13696
 
    shrext='.sl'
 
13708
    shrext_cmds='.sl'
13697
13709
    dynamic_linker="$host_os dld.sl"
13698
13710
    shlibpath_var=SHLIB_PATH
13699
13711
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13764
13776
 
13765
13777
  # Append ld.so.conf contents to the search path
13766
13778
  if test -f /etc/ld.so.conf; then
13767
 
    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
13768
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
 
13779
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
13780
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13769
13781
  fi
13770
13782
 
13771
13783
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13777
13789
  dynamic_linker='GNU/Linux ld.so'
13778
13790
  ;;
13779
13791
 
 
13792
netbsdelf*-gnu)
 
13793
  version_type=linux
 
13794
  need_lib_prefix=no
 
13795
  need_version=no
 
13796
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13797
  soname_spec='${libname}${release}${shared_ext}$major'
 
13798
  shlibpath_var=LD_LIBRARY_PATH
 
13799
  shlibpath_overrides_runpath=no
 
13800
  hardcode_into_libs=yes
 
13801
  dynamic_linker='NetBSD ld.elf_so'
 
13802
  ;;
 
13803
 
13780
13804
knetbsd*-gnu)
13781
13805
  version_type=linux
13782
13806
  need_lib_prefix=no
13847
13871
 
13848
13872
os2*)
13849
13873
  libname_spec='$name'
13850
 
  shrext=".dll"
 
13874
  shrext_cmds=".dll"
13851
13875
  need_lib_prefix=no
13852
13876
  library_names_spec='$libname${shared_ext} $libname.a'
13853
13877
  dynamic_linker='OS/2 ld.exe'
14609
14633
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14610
14634
  lt_status=$lt_dlunknown
14611
14635
  cat > conftest.$ac_ext <<EOF
14612
 
#line 14612 "configure"
 
14636
#line 14636 "configure"
14613
14637
#include "confdefs.h"
14614
14638
 
14615
14639
#if HAVE_DLFCN_H
14707
14731
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14708
14732
  lt_status=$lt_dlunknown
14709
14733
  cat > conftest.$ac_ext <<EOF
14710
 
#line 14710 "configure"
 
14734
#line 14734 "configure"
14711
14735
#include "confdefs.h"
14712
14736
 
14713
14737
#if HAVE_DLFCN_H
14986
15010
libext="$libext"
14987
15011
 
14988
15012
# Shared library suffix (normally ".so").
14989
 
shrext='$shrext'
 
15013
shrext_cmds='$shrext_cmds'
14990
15014
 
14991
15015
# Executable file suffix (normally "").
14992
15016
exeext="$exeext"
15308
15332
    postinstall_cmds='$RANLIB $lib'
15309
15333
  fi
15310
15334
  ;;
15311
 
aix4*)
 
15335
aix4* | aix5*)
15312
15336
  test "$enable_shared" = yes && enable_static=no
15313
15337
  ;;
15314
15338
esac
15534
15558
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15535
15559
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15536
15560
   -e 's:$: $lt_compiler_flag:'`
15537
 
   (eval echo "\"\$as_me:15537: $lt_compile\"" >&5)
 
15561
   (eval echo "\"\$as_me:15561: $lt_compile\"" >&5)
15538
15562
   (eval "$lt_compile" 2>conftest.err)
15539
15563
   ac_status=$?
15540
15564
   cat conftest.err >&5
15541
 
   echo "$as_me:15541: \$? = $ac_status" >&5
 
15565
   echo "$as_me:15565: \$? = $ac_status" >&5
15542
15566
   if (exit $ac_status) && test -s "$ac_outfile"; then
15543
15567
     # The compiler can only warn and ignore the option if not recognized
15544
15568
     # So say no if there are warnings
15594
15618
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15595
15619
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15596
15620
   -e 's:$: $lt_compiler_flag:'`
15597
 
   (eval echo "\"\$as_me:15597: $lt_compile\"" >&5)
 
15621
   (eval echo "\"\$as_me:15621: $lt_compile\"" >&5)
15598
15622
   (eval "$lt_compile" 2>out/conftest.err)
15599
15623
   ac_status=$?
15600
15624
   cat out/conftest.err >&5
15601
 
   echo "$as_me:15601: \$? = $ac_status" >&5
 
15625
   echo "$as_me:15625: \$? = $ac_status" >&5
15602
15626
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15603
15627
   then
15604
15628
     # The compiler can only warn and ignore the option if not recognized
15771
15795
      fi
15772
15796
      ;;
15773
15797
 
15774
 
    netbsd* | knetbsd*-gnu)
 
15798
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
15775
15799
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15776
15800
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15777
15801
        wlarc=
15810
15834
      ;;
15811
15835
 
15812
15836
  linux*)
15813
 
    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
 
15837
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15814
15838
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15815
15839
        archive_cmds_F77="$tmp_archive_cmds"
15816
15840
      supports_anon_versioning=no
15829
15853
      else
15830
15854
        archive_expsym_cmds_F77="$tmp_archive_cmds"
15831
15855
      fi
 
15856
      link_all_deplibs_F77=no
15832
15857
    else
15833
15858
      ld_shlibs_F77=no
15834
15859
    fi
16090
16115
      # Tell ltmain to make .lib files, not .a files.
16091
16116
      libext=lib
16092
16117
      # Tell ltmain to make .dll files, not .so files.
16093
 
      shrext=".dll"
 
16118
      shrext_cmds=".dll"
16094
16119
      # FIXME: Setting linknames here is a bad hack.
16095
16120
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16096
16121
      # The linker will automatically build a .lib file if we build a DLL.
16268
16293
      link_all_deplibs_F77=yes
16269
16294
      ;;
16270
16295
 
16271
 
    netbsd* | knetbsd*-gnu)
 
16296
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
16272
16297
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16273
16298
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16274
16299
      else
16546
16571
library_names_spec=
16547
16572
libname_spec='lib$name'
16548
16573
soname_spec=
16549
 
shrext=".so"
 
16574
shrext_cmds=".so"
16550
16575
postinstall_cmds=
16551
16576
postuninstall_cmds=
16552
16577
finish_cmds=
16659
16684
 
16660
16685
cygwin* | mingw* | pw32*)
16661
16686
  version_type=windows
16662
 
  shrext=".dll"
 
16687
  shrext_cmds=".dll"
16663
16688
  need_version=no
16664
16689
  need_lib_prefix=no
16665
16690
 
16724
16749
  soname_spec='${libname}${release}${major}$shared_ext'
16725
16750
  shlibpath_overrides_runpath=yes
16726
16751
  shlibpath_var=DYLD_LIBRARY_PATH
16727
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
 
16752
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
16728
16753
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16729
16754
  if test "$GCC" = yes; then
16730
16755
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16807
16832
  need_version=no
16808
16833
  case "$host_cpu" in
16809
16834
  ia64*)
16810
 
    shrext='.so'
 
16835
    shrext_cmds='.so'
16811
16836
    hardcode_into_libs=yes
16812
16837
    dynamic_linker="$host_os dld.so"
16813
16838
    shlibpath_var=LD_LIBRARY_PATH
16822
16847
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16823
16848
    ;;
16824
16849
   hppa*64*)
16825
 
     shrext='.sl'
 
16850
     shrext_cmds='.sl'
16826
16851
     hardcode_into_libs=yes
16827
16852
     dynamic_linker="$host_os dld.sl"
16828
16853
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16833
16858
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16834
16859
     ;;
16835
16860
   *)
16836
 
    shrext='.sl'
 
16861
    shrext_cmds='.sl'
16837
16862
    dynamic_linker="$host_os dld.sl"
16838
16863
    shlibpath_var=SHLIB_PATH
16839
16864
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16904
16929
 
16905
16930
  # Append ld.so.conf contents to the search path
16906
16931
  if test -f /etc/ld.so.conf; then
16907
 
    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
16908
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
 
16932
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
16933
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16909
16934
  fi
16910
16935
 
16911
16936
  # We used to test for /lib/ld.so.1 and disable shared libraries on
16917
16942
  dynamic_linker='GNU/Linux ld.so'
16918
16943
  ;;
16919
16944
 
 
16945
netbsdelf*-gnu)
 
16946
  version_type=linux
 
16947
  need_lib_prefix=no
 
16948
  need_version=no
 
16949
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16950
  soname_spec='${libname}${release}${shared_ext}$major'
 
16951
  shlibpath_var=LD_LIBRARY_PATH
 
16952
  shlibpath_overrides_runpath=no
 
16953
  hardcode_into_libs=yes
 
16954
  dynamic_linker='NetBSD ld.elf_so'
 
16955
  ;;
 
16956
 
16920
16957
knetbsd*-gnu)
16921
16958
  version_type=linux
16922
16959
  need_lib_prefix=no
16987
17024
 
16988
17025
os2*)
16989
17026
  libname_spec='$name'
16990
 
  shrext=".dll"
 
17027
  shrext_cmds=".dll"
16991
17028
  need_lib_prefix=no
16992
17029
  library_names_spec='$libname${shared_ext} $libname.a'
16993
17030
  dynamic_linker='OS/2 ld.exe'
17328
17365
libext="$libext"
17329
17366
 
17330
17367
# Shared library suffix (normally ".so").
17331
 
shrext='$shrext'
 
17368
shrext_cmds='$shrext_cmds'
17332
17369
 
17333
17370
# Executable file suffix (normally "").
17334
17371
exeext="$exeext"
17626
17663
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17627
17664
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17628
17665
   -e 's:$: $lt_compiler_flag:'`
17629
 
   (eval echo "\"\$as_me:17629: $lt_compile\"" >&5)
 
17666
   (eval echo "\"\$as_me:17666: $lt_compile\"" >&5)
17630
17667
   (eval "$lt_compile" 2>conftest.err)
17631
17668
   ac_status=$?
17632
17669
   cat conftest.err >&5
17633
 
   echo "$as_me:17633: \$? = $ac_status" >&5
 
17670
   echo "$as_me:17670: \$? = $ac_status" >&5
17634
17671
   if (exit $ac_status) && test -s "$ac_outfile"; then
17635
17672
     # The compiler can only warn and ignore the option if not recognized
17636
17673
     # So say no if there are warnings
17859
17896
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17860
17897
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17861
17898
   -e 's:$: $lt_compiler_flag:'`
17862
 
   (eval echo "\"\$as_me:17862: $lt_compile\"" >&5)
 
17899
   (eval echo "\"\$as_me:17899: $lt_compile\"" >&5)
17863
17900
   (eval "$lt_compile" 2>conftest.err)
17864
17901
   ac_status=$?
17865
17902
   cat conftest.err >&5
17866
 
   echo "$as_me:17866: \$? = $ac_status" >&5
 
17903
   echo "$as_me:17903: \$? = $ac_status" >&5
17867
17904
   if (exit $ac_status) && test -s "$ac_outfile"; then
17868
17905
     # The compiler can only warn and ignore the option if not recognized
17869
17906
     # So say no if there are warnings
17919
17956
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17920
17957
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17921
17958
   -e 's:$: $lt_compiler_flag:'`
17922
 
   (eval echo "\"\$as_me:17922: $lt_compile\"" >&5)
 
17959
   (eval echo "\"\$as_me:17959: $lt_compile\"" >&5)
17923
17960
   (eval "$lt_compile" 2>out/conftest.err)
17924
17961
   ac_status=$?
17925
17962
   cat out/conftest.err >&5
17926
 
   echo "$as_me:17926: \$? = $ac_status" >&5
 
17963
   echo "$as_me:17963: \$? = $ac_status" >&5
17927
17964
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17928
17965
   then
17929
17966
     # The compiler can only warn and ignore the option if not recognized
18096
18133
      fi
18097
18134
      ;;
18098
18135
 
18099
 
    netbsd* | knetbsd*-gnu)
 
18136
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
18100
18137
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18101
18138
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18102
18139
        wlarc=
18135
18172
      ;;
18136
18173
 
18137
18174
  linux*)
18138
 
    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
 
18175
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18139
18176
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18140
18177
        archive_cmds_GCJ="$tmp_archive_cmds"
18141
18178
      supports_anon_versioning=no
18154
18191
      else
18155
18192
        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
18156
18193
      fi
 
18194
      link_all_deplibs_GCJ=no
18157
18195
    else
18158
18196
      ld_shlibs_GCJ=no
18159
18197
    fi
18435
18473
      # Tell ltmain to make .lib files, not .a files.
18436
18474
      libext=lib
18437
18475
      # Tell ltmain to make .dll files, not .so files.
18438
 
      shrext=".dll"
 
18476
      shrext_cmds=".dll"
18439
18477
      # FIXME: Setting linknames here is a bad hack.
18440
18478
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18441
18479
      # The linker will automatically build a .lib file if we build a DLL.
18613
18651
      link_all_deplibs_GCJ=yes
18614
18652
      ;;
18615
18653
 
18616
 
    netbsd* | knetbsd*-gnu)
 
18654
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
18617
18655
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18618
18656
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18619
18657
      else
18891
18929
library_names_spec=
18892
18930
libname_spec='lib$name'
18893
18931
soname_spec=
18894
 
shrext=".so"
 
18932
shrext_cmds=".so"
18895
18933
postinstall_cmds=
18896
18934
postuninstall_cmds=
18897
18935
finish_cmds=
19004
19042
 
19005
19043
cygwin* | mingw* | pw32*)
19006
19044
  version_type=windows
19007
 
  shrext=".dll"
 
19045
  shrext_cmds=".dll"
19008
19046
  need_version=no
19009
19047
  need_lib_prefix=no
19010
19048
 
19069
19107
  soname_spec='${libname}${release}${major}$shared_ext'
19070
19108
  shlibpath_overrides_runpath=yes
19071
19109
  shlibpath_var=DYLD_LIBRARY_PATH
19072
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
 
19110
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
19073
19111
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19074
19112
  if test "$GCC" = yes; then
19075
19113
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
19152
19190
  need_version=no
19153
19191
  case "$host_cpu" in
19154
19192
  ia64*)
19155
 
    shrext='.so'
 
19193
    shrext_cmds='.so'
19156
19194
    hardcode_into_libs=yes
19157
19195
    dynamic_linker="$host_os dld.so"
19158
19196
    shlibpath_var=LD_LIBRARY_PATH
19167
19205
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19168
19206
    ;;
19169
19207
   hppa*64*)
19170
 
     shrext='.sl'
 
19208
     shrext_cmds='.sl'
19171
19209
     hardcode_into_libs=yes
19172
19210
     dynamic_linker="$host_os dld.sl"
19173
19211
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19178
19216
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19179
19217
     ;;
19180
19218
   *)
19181
 
    shrext='.sl'
 
19219
    shrext_cmds='.sl'
19182
19220
    dynamic_linker="$host_os dld.sl"
19183
19221
    shlibpath_var=SHLIB_PATH
19184
19222
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19249
19287
 
19250
19288
  # Append ld.so.conf contents to the search path
19251
19289
  if test -f /etc/ld.so.conf; then
19252
 
    ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`
19253
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"
 
19290
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
 
19291
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19254
19292
  fi
19255
19293
 
19256
19294
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19262
19300
  dynamic_linker='GNU/Linux ld.so'
19263
19301
  ;;
19264
19302
 
 
19303
netbsdelf*-gnu)
 
19304
  version_type=linux
 
19305
  need_lib_prefix=no
 
19306
  need_version=no
 
19307
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
19308
  soname_spec='${libname}${release}${shared_ext}$major'
 
19309
  shlibpath_var=LD_LIBRARY_PATH
 
19310
  shlibpath_overrides_runpath=no
 
19311
  hardcode_into_libs=yes
 
19312
  dynamic_linker='NetBSD ld.elf_so'
 
19313
  ;;
 
19314
 
19265
19315
knetbsd*-gnu)
19266
19316
  version_type=linux
19267
19317
  need_lib_prefix=no
19332
19382
 
19333
19383
os2*)
19334
19384
  libname_spec='$name'
19335
 
  shrext=".dll"
 
19385
  shrext_cmds=".dll"
19336
19386
  need_lib_prefix=no
19337
19387
  library_names_spec='$libname${shared_ext} $libname.a'
19338
19388
  dynamic_linker='OS/2 ld.exe'
20094
20144
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20095
20145
  lt_status=$lt_dlunknown
20096
20146
  cat > conftest.$ac_ext <<EOF
20097
 
#line 20097 "configure"
 
20147
#line 20147 "configure"
20098
20148
#include "confdefs.h"
20099
20149
 
20100
20150
#if HAVE_DLFCN_H
20192
20242
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20193
20243
  lt_status=$lt_dlunknown
20194
20244
  cat > conftest.$ac_ext <<EOF
20195
 
#line 20195 "configure"
 
20245
#line 20245 "configure"
20196
20246
#include "confdefs.h"
20197
20247
 
20198
20248
#if HAVE_DLFCN_H
20471
20521
libext="$libext"
20472
20522
 
20473
20523
# Shared library suffix (normally ".so").
20474
 
shrext='$shrext'
 
20524
shrext_cmds='$shrext_cmds'
20475
20525
 
20476
20526
# Executable file suffix (normally "").
20477
20527
exeext="$exeext"
20916
20966
libext="$libext"
20917
20967
 
20918
20968
# Shared library suffix (normally ".so").
20919
 
shrext='$shrext'
 
20969
shrext_cmds='$shrext_cmds'
20920
20970
 
20921
20971
# Executable file suffix (normally "").
20922
20972
exeext="$exeext"
21207
21257
 
21208
21258
 
21209
21259
 
21210
 
if test x$enable_stand_alone = xyes; then
 
21260
if test x$enable_libminimal = xyes; then
21211
21261
    if test x$enable_memory_manager = xyes; then
21212
21262
        MEMORY_MANAGER_CFLAGS="-DENABLE_MEMORY_MANAGER"
21213
21263
    fi
21214
21264
 
21215
 
    ALONE_CFLAGS="$ALONE_CFLAGS -DENABLE_STAND_ALONE $MEMORY_MANAGER_CFLAGS $ALIGN_FLAGS"
 
21265
    MINIMAL_CFLAGS="$MINIMAL_CFLAGS -DENABLE_MINIMAL $MEMORY_MANAGER_CFLAGS $ALIGN_FLAGS"
21216
21266
fi
21217
21267
 
21218
21268
CFLAGS="$CFLAGS -W -Wall"
21219
21269
 
21220
21270
if test x$enable_debug = xyes; then
21221
21271
    GENERIC_CFLAGS="$GENERIC_CFLAGS -O0 -g"
21222
 
    ALONE_CFLAGS="$ALONE_CFLAGS -O0 -g"
 
21272
    MINIMAL_CFLAGS="$MINIMAL_CFLAGS -O0 -g"
21223
21273
else
21224
 
    GENERIC_CFLAGS="$GENERIC_CFLAGS -O2"
21225
 
    ALONE_CFLAGS="$ALONE_CFLAGS -Os"
 
21274
    GENERIC_CFLAGS="$GENERIC_CFLAGS -O3"
 
21275
    MINIMAL_CFLAGS="$MINIMAL_CFLAGS -Os"
21226
21276
 
21227
21277
    if test "x$uninitialized" = xyes; then
21228
21278
       CFLAGS="$CFLAGS -Wuninitialized"
21245
21295
 
21246
21296
 
21247
21297
 
21248
 
if test x$enable_stand_alone = xyes; then
21249
 
  ENABLE_STAND_ALONE_TRUE=
21250
 
  ENABLE_STAND_ALONE_FALSE='#'
 
21298
if test x$enable_libminimal = xyes; then
 
21299
  ENABLE_MINIMAL_TRUE=
 
21300
  ENABLE_MINIMAL_FALSE='#'
21251
21301
else
21252
 
  ENABLE_STAND_ALONE_TRUE='#'
21253
 
  ENABLE_STAND_ALONE_FALSE=
 
21302
  ENABLE_MINIMAL_TRUE='#'
 
21303
  ENABLE_MINIMAL_FALSE=
21254
21304
fi
21255
21305
 
21256
21306
 
21394
21444
Usually this means the macro was only invoked conditionally." >&2;}
21395
21445
   { (exit 1); exit 1; }; }
21396
21446
fi
21397
 
if test -z "${ENABLE_STAND_ALONE_TRUE}" && test -z "${ENABLE_STAND_ALONE_FALSE}"; then
21398
 
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_STAND_ALONE\" was never defined.
 
21447
if test -z "${ENABLE_MINIMAL_TRUE}" && test -z "${ENABLE_MINIMAL_FALSE}"; then
 
21448
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_MINIMAL\" was never defined.
21399
21449
Usually this means the macro was only invoked conditionally." >&5
21400
 
echo "$as_me: error: conditional \"ENABLE_STAND_ALONE\" was never defined.
 
21450
echo "$as_me: error: conditional \"ENABLE_MINIMAL\" was never defined.
21401
21451
Usually this means the macro was only invoked conditionally." >&2;}
21402
21452
   { (exit 1); exit 1; }; }
21403
21453
fi
21956
22006
s,@LT_CURRENT@,$LT_CURRENT,;t t
21957
22007
s,@LT_REVISION@,$LT_REVISION,;t t
21958
22008
s,@LT_AGE@,$LT_AGE,;t t
21959
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21960
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21961
 
s,@MAINT@,$MAINT,;t t
21962
22009
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21963
22010
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21964
22011
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21978
22025
s,@AWK@,$AWK,;t t
21979
22026
s,@SET_MAKE@,$SET_MAKE,;t t
21980
22027
s,@am__leading_dot@,$am__leading_dot,;t t
 
22028
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
 
22029
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
 
22030
s,@MAINT@,$MAINT,;t t
21981
22031
s,@CC@,$CC,;t t
21982
22032
s,@CFLAGS@,$CFLAGS,;t t
21983
22033
s,@LDFLAGS@,$LDFLAGS,;t t
22014
22064
s,@FFLAGS@,$FFLAGS,;t t
22015
22065
s,@ac_ct_F77@,$ac_ct_F77,;t t
22016
22066
s,@LIBTOOL@,$LIBTOOL,;t t
22017
 
s,@ENABLE_STAND_ALONE_TRUE@,$ENABLE_STAND_ALONE_TRUE,;t t
22018
 
s,@ENABLE_STAND_ALONE_FALSE@,$ENABLE_STAND_ALONE_FALSE,;t t
 
22067
s,@ENABLE_MINIMAL_TRUE@,$ENABLE_MINIMAL_TRUE,;t t
 
22068
s,@ENABLE_MINIMAL_FALSE@,$ENABLE_MINIMAL_FALSE,;t t
22019
22069
s,@ENABLE_DEBUG_TRUE@,$ENABLE_DEBUG_TRUE,;t t
22020
22070
s,@ENABLE_DEBUG_FALSE@,$ENABLE_DEBUG_FALSE,;t t
22021
 
s,@ALONE_CFLAGS@,$ALONE_CFLAGS,;t t
 
22071
s,@MINIMAL_CFLAGS@,$MINIMAL_CFLAGS,;t t
22022
22072
s,@GENERIC_CFLAGS@,$GENERIC_CFLAGS,;t t
22023
22073
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22024
22074
CEOF
22745
22795
 
22746
22796
 
22747
22797
echo
22748
 
echo Type \'make\' to compile libaal.
22749
 
echo Don\'t forget to run /sbin/ldconfig as root after make install.
 
22798
echo Type \'make\' to compile libaal and \'make install\' to install it.