/[PAMELA software]/yoda/configure
ViewVC logotype

Diff of /yoda/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by kusanagi, Tue Jul 6 12:20:23 2004 UTC revision 6.0 by kusanagi, Tue Feb 7 17:10:40 2006 UTC
# Line 278  fi Line 278  fi
278    
279  # The HP-UX ksh and POSIX shell print the target directory to stdout  # The HP-UX ksh and POSIX shell print the target directory to stdout
280  # if CDPATH is set.  # if CDPATH is set.
281  if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282    
283  if test -z "$ECHO"; then  if test -z "$ECHO"; then
284  if test "X${echo_test_string+set}" != Xset; then  if test "X${echo_test_string+set}" != Xset; then
# Line 463  ac_includes_default="\ Line 463  ac_includes_default="\
463  # include <unistd.h>  # include <unistd.h>
464  #endif"  #endif"
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 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 mkdir_p AWK SET_MAKE am__leading_dot build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 F77 FFLAGS ac_ct_F77 FLIBS CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP LIBTOOL HAS_DOXYFILE ROOT_INCLUDES ROOT_LDFLAGS ROOTCINT LIBOBJS LTLIBOBJS'  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 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 F77 FFLAGS ac_ct_F77 FLIBS CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP LIBTOOL HAS_DOXYFILE ROOT_INCLUDES ROOT_LDFLAGS ROOTCINT LOG4CXX_INCLUDES LOG4CXX_LDFLAGS LOG4CXX_LIBRARY LIBOBJS LTLIBOBJS'
467  ac_subst_files=''  ac_subst_files=''
468    
469  # Initialize some variables set by options.  # Initialize some variables set by options.
# Line 1023  if test -n "$ac_init_help"; then Line 1023  if test -n "$ac_init_help"; then
1023  Optional Features:  Optional Features:
1024    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1025    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1026    --disable-dependency-tracking  speeds up one-time build    --disable-dependency-tracking Speeds up one-time builds
1027    --enable-dependency-tracking   do not reject slow dependency extractors    --enable-dependency-tracking  Do not reject slow dependency extractors
1028    --enable-shared[=PKGS]    --enable-shared[=PKGS]
1029                            build shared libraries [default=yes]                            build shared libraries [default=yes]
1030    --enable-static[=PKGS]    --enable-static[=PKGS]
# Line 1032  Optional Features: Line 1032  Optional Features:
1032    --enable-fast-install[=PKGS]    --enable-fast-install[=PKGS]
1033                            optimize for fast installation [default=yes]                            optimize for fast installation [default=yes]
1034    --disable-libtool-lock  avoid locking (might break parallel builds)    --disable-libtool-lock  avoid locking (might break parallel builds)
1035    --enable-gprof          enable memory profiling with gprof
1036    
1037  Optional Packages:  Optional Packages:
1038    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
# Line 1042  Optional Packages: Line 1043  Optional Packages:
1043    --with-tags[=TAGS]    --with-tags[=TAGS]
1044                            include additional configurations [automatic]                            include additional configurations [automatic]
1045  --with-root=path    Use the specified ROOT directory  --with-root=path    Use the specified ROOT directory
1046  --with-log4cpp=path Use the specified directroy for log4cpp  --with-log4cxx=path Use the specified directroy for log4cxx
1047    
1048  Some influential environment variables:  Some influential environment variables:
1049    CC          C compiler command    CC          C compiler command
# Line 1497  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1498  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1498    
1499    
1500    
1501  am__api_version="1.8"  am__api_version="1.7"
1502  ac_aux_dir=  ac_aux_dir=
1503  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1504    if test -f $ac_dir/install-sh; then    if test -f $ac_dir/install-sh; then
# Line 1660  _ACEOF Line 1661  _ACEOF
1661  program_transform_name=`echo $program_transform_name | sed -f conftest.sed`  program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1662  rm conftest.sed  rm conftest.sed
1663    
1664    
1665  # expand $ac_aux_dir to an absolute path  # expand $ac_aux_dir to an absolute path
1666  am_aux_dir=`cd $ac_aux_dir && pwd`  am_aux_dir=`cd $ac_aux_dir && pwd`
1667    
# Line 1673  else Line 1675  else
1675  echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}  echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1676  fi  fi
1677    
 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then  
   # Keeping the `.' argument allows $(mkdir_p) to be used without  
   # argument.  Indeed, we sometimes output rules like  
   #   $(mkdir_p) $(somedir)  
   # where $(somedir) is conditionally defined.  
   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more  
   # expensive solution, as it forces Make to start a sub-shell.)  
   mkdir_p='mkdir -p -- .'  
 else  
   # On NextStep and OpenStep, the `mkdir' command does not  
   # recognize any option.  It will interpret all options as  
   # directories to create, and then abort because `.' already  
   # exists.  
   for d in ./-p ./--version;  
   do  
     test -d $d && rmdir $d  
   done  
   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.  
   if test -f "$ac_aux_dir/mkinstalldirs"; then  
     mkdir_p='$(mkinstalldirs)'  
   else  
     mkdir_p='$(install_sh) -d'  
   fi  
 fi  
   
1678  for ac_prog in gawk mawk nawk awk  for ac_prog in gawk mawk nawk awk
1679  do  do
1680    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
# Line 1776  else Line 1753  else
1753  fi  fi
1754  rmdir .tst 2>/dev/null  rmdir .tst 2>/dev/null
1755    
1756  # test to see if srcdir already configured   # test to see if srcdir already configured
1757  if test "`cd $srcdir && pwd`" != "`pwd`" &&  if test "`cd $srcdir && pwd`" != "`pwd`" &&
1758     test -f $srcdir/config.status; then     test -f $srcdir/config.status; then
1759    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
# Line 1796  fi Line 1773  fi
1773    
1774  # Define the identity of the package.  # Define the identity of the package.
1775   PACKAGE=yoda   PACKAGE=yoda
1776   VERSION=0.1.0   VERSION=4.2.4
1777    
1778    
1779  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
# Line 3020  else Line 2997  else
2997      : > sub/conftest.c      : > sub/conftest.c
2998      for i in 1 2 3 4 5 6; do      for i in 1 2 3 4 5 6; do
2999        echo '#include "conftst'$i'.h"' >> sub/conftest.c        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3000        # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with        : > sub/conftst$i.h
       # Solaris 8's {/usr,}/bin/sh.  
       touch sub/conftst$i.h  
3001      done      done
3002      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3003    
# Line 3176  fi Line 3151  fi
3151    
3152    
3153  # Provide some information about the compiler.  # Provide some information about the compiler.
3154  echo "$as_me:3179:" \  echo "$as_me:3154:" \
3155       "checking for Fortran 77 compiler version" >&5       "checking for Fortran 77 compiler version" >&5
3156  ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
3157  { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5  { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
# Line 3373  _ACEOF Line 3348  _ACEOF
3348  # flags.  # flags.
3349  ac_save_FFLAGS=$FFLAGS  ac_save_FFLAGS=$FFLAGS
3350  FFLAGS="$FFLAGS $ac_verb"  FFLAGS="$FFLAGS $ac_verb"
3351  (eval echo $as_me:3376: \"$ac_link\") >&5  (eval echo $as_me:3351: \"$ac_link\") >&5
3352  ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`  ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3353  echo "$ac_f77_v_output" >&5  echo "$ac_f77_v_output" >&5
3354  FFLAGS=$ac_save_FFLAGS  FFLAGS=$ac_save_FFLAGS
# Line 3451  _ACEOF Line 3426  _ACEOF
3426  # flags.  # flags.
3427  ac_save_FFLAGS=$FFLAGS  ac_save_FFLAGS=$FFLAGS
3428  FFLAGS="$FFLAGS $ac_cv_prog_f77_v"  FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
3429  (eval echo $as_me:3454: \"$ac_link\") >&5  (eval echo $as_me:3429: \"$ac_link\") >&5
3430  ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`  ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3431  echo "$ac_f77_v_output" >&5  echo "$ac_f77_v_output" >&5
3432  FFLAGS=$ac_save_FFLAGS  FFLAGS=$ac_save_FFLAGS
# Line 4021  else Line 3996  else
3996      : > sub/conftest.c      : > sub/conftest.c
3997      for i in 1 2 3 4 5 6; do      for i in 1 2 3 4 5 6; do
3998        echo '#include "conftst'$i'.h"' >> sub/conftest.c        echo '#include "conftst'$i'.h"' >> sub/conftest.c
3999        # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with        : > sub/conftst$i.h
       # Solaris 8's {/usr,}/bin/sh.  
       touch sub/conftst$i.h  
4000      done      done
4001      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4002    
# Line 4181  lt_ac_count=0 Line 4154  lt_ac_count=0
4154  # Add /usr/xpg4/bin/sed as it is typically found on Solaris  # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4155  # along with /bin/sed that truncates output.  # along with /bin/sed that truncates output.
4156  for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do  for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4157    test ! -f $lt_ac_sed && break    test ! -f $lt_ac_sed && continue
4158    cat /dev/null > conftest.in    cat /dev/null > conftest.in
4159    lt_ac_count=0    lt_ac_count=0
4160    echo $ECHO_N "0123456789$ECHO_C" >conftest.in    echo $ECHO_N "0123456789$ECHO_C" >conftest.in
# Line 4206  for lt_ac_sed in $lt_ac_sed_list /usr/xp Line 4179  for lt_ac_sed in $lt_ac_sed_list /usr/xp
4179      fi      fi
4180    done    done
4181  done  done
 SED=$lt_cv_path_SED  
4182    
4183  fi  fi
4184    
4185    SED=$lt_cv_path_SED
4186  echo "$as_me:$LINENO: result: $SED" >&5  echo "$as_me:$LINENO: result: $SED" >&5
4187  echo "${ECHO_T}$SED" >&6  echo "${ECHO_T}$SED" >&6
4188    
# Line 4350  case $reload_flag in Line 4323  case $reload_flag in
4323  *) reload_flag=" $reload_flag" ;;  *) reload_flag=" $reload_flag" ;;
4324  esac  esac
4325  reload_cmds='$LD$reload_flag -o $output$reload_objs'  reload_cmds='$LD$reload_flag -o $output$reload_objs'
4326    case $host_os in
4327      darwin*)
4328        if test "$GCC" = yes; then
4329          reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
4330        else
4331          reload_cmds='$LD$reload_flag -o $output$reload_objs'
4332        fi
4333        ;;
4334    esac
4335    
4336  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4337  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
# Line 4436  beos*) Line 4418  beos*)
4418    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
4419    ;;    ;;
4420    
4421  bsdi4*)  bsdi[45]*)
4422    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4423    lt_cv_file_magic_cmd='/usr/bin/file -L'    lt_cv_file_magic_cmd='/usr/bin/file -L'
4424    lt_cv_file_magic_test_file=/shlib/libc.so    lt_cv_file_magic_test_file=/shlib/libc.so
4425    ;;    ;;
4426    
4427  cygwin*)  cygwin*)
4428    # win32_libid is a shell function defined in ltmain.sh    # func_win32_libid is a shell function defined in ltmain.sh
4429    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4430    lt_cv_file_magic_cmd='win32_libid'    lt_cv_file_magic_cmd='func_win32_libid'
4431    ;;    ;;
4432    
4433  mingw* | pw32*)  mingw* | pw32*)
4434    # Base MSYS/MinGW do not provide the 'file' command needed by    # Base MSYS/MinGW do not provide the 'file' command needed by
4435    # win32_libid shell function, so use a weaker test based on 'objdump'.    # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4436    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4437    lt_cv_file_magic_cmd='$OBJDUMP -f'    lt_cv_file_magic_cmd='$OBJDUMP -f'
4438    ;;    ;;
# Line 4459  darwin* | rhapsody*) Line 4441  darwin* | rhapsody*)
4441    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
4442    ;;    ;;
4443    
4444  freebsd* | kfreebsd*-gnu)  freebsd* | kfreebsd*-gnu | dragonfly*)
4445    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4446      case $host_cpu in      case $host_cpu in
4447      i*86 )      i*86 )
4448        # Not sure whether the presence of OpenBSD here was a mistake.        # Not sure whether the presence of OpenBSD here was a mistake.
4449        # Let's accept both of them until this is cleared up.        # Let's accept both of them until this is cleared up.
4450        lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'        lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4451        lt_cv_file_magic_cmd=/usr/bin/file        lt_cv_file_magic_cmd=/usr/bin/file
4452        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4453        ;;        ;;
# Line 4509  irix5* | irix6* | nonstopux*) Line 4491  irix5* | irix6* | nonstopux*)
4491    
4492  # This must be Linux ELF.  # This must be Linux ELF.
4493  linux*)  linux*)
   case $host_cpu in  
   alpha*|hppa*|i*86|ia64*|m68*|mips*|powerpc*|sparc*|s390*|sh*|x86_64)  
     lt_cv_deplibs_check_method=pass_all ;;  
   *)  
     # glibc up to 2.1.1 does not perform some relocations on ARM  
     # this will be overridden with pass_all, but let us keep it just in case  
     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;  
   esac  
   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`  
4494    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
4495    ;;    ;;
4496    
# Line 4540  nto-qnx*) Line 4513  nto-qnx*)
4513    ;;    ;;
4514    
4515  openbsd*)  openbsd*)
   lt_cv_file_magic_cmd=/usr/bin/file  
   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`  
4516    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4517      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4518    else    else
4519      lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4520    fi    fi
4521    ;;    ;;
4522    
# Line 4638  ia64-*-hpux*) Line 4609  ia64-*-hpux*)
4609    ;;    ;;
4610  *-*-irix6*)  *-*-irix6*)
4611    # Find out which ABI we are using.    # Find out which ABI we are using.
4612    echo '#line 4641 "configure"' > conftest.$ac_ext    echo '#line 4612 "configure"' > conftest.$ac_ext
4613    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4614    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4615    ac_status=$?    ac_status=$?
# Line 5423  fi Line 5394  fi
5394    
5395  done  done
5396    
5397  ac_ext=cc  
5398    
5399    if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5400        ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5401        (test "X$CXX" != "Xg++"))) ; then
5402      ac_ext=cc
5403  ac_cpp='$CXXCPP $CPPFLAGS'  ac_cpp='$CXXCPP $CPPFLAGS'
5404  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5405  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 5653  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS Line 5629  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS
5629  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5630  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5631    
5632    fi
5633    
5634    
5635    
5636  # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!  # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
# Line 5664  if test "${lt_cv_sys_max_cmd_len+set}" = Line 5642  if test "${lt_cv_sys_max_cmd_len+set}" =
5642    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5643  else  else
5644      i=0      i=0
5645    testring="ABCD"    teststring="ABCD"
5646    
5647    case $build_os in    case $build_os in
5648    msdosdjgpp*)    msdosdjgpp*)
# Line 5699  else Line 5677  else
5677      lt_cv_sys_max_cmd_len=8192;      lt_cv_sys_max_cmd_len=8192;
5678      ;;      ;;
5679    
5680   *)    netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5681        # This has been around since 386BSD, at least.  Likely further.
5682        if test -x /sbin/sysctl; then
5683          lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5684        elif test -x /usr/sbin/sysctl; then
5685          lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5686        else
5687          lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
5688        fi
5689        # And add a safety zone
5690        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5691        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5692        ;;
5693      osf*)
5694        # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5695        # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5696        # nice to cause kernel panics so lets avoid the loop below.
5697        # First set a reasonable default.
5698        lt_cv_sys_max_cmd_len=16384
5699        #
5700        if test -x /sbin/sysconfig; then
5701          case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5702            *1*) lt_cv_sys_max_cmd_len=-1 ;;
5703          esac
5704        fi
5705        ;;
5706      *)
5707      # If test is not a shell built-in, we'll probably end up computing a      # If test is not a shell built-in, we'll probably end up computing a
5708      # maximum length that is only half of the actual maximum length, but      # maximum length that is only half of the actual maximum length, but
5709      # we can't tell.      # we can't tell.
5710      while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5711                 = "XX$testring") >/dev/null 2>&1 &&      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5712              new_result=`expr "X$testring" : ".*" 2>&1` &&                 = "XX$teststring") >/dev/null 2>&1 &&
5713                new_result=`expr "X$teststring" : ".*" 2>&1` &&
5714              lt_cv_sys_max_cmd_len=$new_result &&              lt_cv_sys_max_cmd_len=$new_result &&
5715              test $i != 17 # 1/2 MB should be enough              test $i != 17 # 1/2 MB should be enough
5716      do      do
5717        i=`expr $i + 1`        i=`expr $i + 1`
5718        testring=$testring$testring        teststring=$teststring$teststring
5719      done      done
5720      testring=      teststring=
5721      # Add a significant safety factor because C++ compilers can tack on massive      # Add a significant safety factor because C++ compilers can tack on massive
5722      # amounts of additional arguments before passing them to the linker.      # amounts of additional arguments before passing them to the linker.
5723      # It appears as though 1/2 is a usable value.      # It appears as though 1/2 is a usable value.
# Line 5749  symcode='[BCDEGRST]' Line 5754  symcode='[BCDEGRST]'
5754  # Regexp to match symbols that can be accessed directly from C.  # Regexp to match symbols that can be accessed directly from C.
5755  sympat='\([_A-Za-z][_A-Za-z0-9]*\)'  sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5756    
 # Transform the above into a raw symbol and a C symbol.  
 symxfrm='\1 \2\3 \3'  
   
5757  # Transform an extracted symbol line into a proper C declaration  # Transform an extracted symbol line into a proper C declaration
5758  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5759    
# Line 5773  hpux*) # Its linker distinguishes data f Line 5775  hpux*) # Its linker distinguishes data f
5775    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5776    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
5777    ;;    ;;
5778    linux*)
5779      if test "$host_cpu" = ia64; then
5780        symcode='[ABCDGIRSTW]'
5781        lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5782        lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
5783      fi
5784      ;;
5785  irix* | nonstopux*)  irix* | nonstopux*)
5786    symcode='[BCDEGRST]'    symcode='[BCDEGRST]'
5787    ;;    ;;
# Line 5804  esac Line 5813  esac
5813  # Try without a prefix undercore, then with it.  # Try without a prefix undercore, then with it.
5814  for ac_symprfx in "" "_"; do  for ac_symprfx in "" "_"; do
5815    
5816      # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5817      symxfrm="\\1 $ac_symprfx\\2 \\2"
5818    
5819    # Write the raw and C identifiers.    # Write the raw and C identifiers.
5820    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5821    
5822    # Check to see that the pipe works correctly.    # Check to see that the pipe works correctly.
5823    pipe_works=no    pipe_works=no
# Line 5967  esac Line 5979  esac
5979    
5980  # Sed substitution that helps us do robust quoting.  It backslashifies  # Sed substitution that helps us do robust quoting.  It backslashifies
5981  # metacharacters that are still active within double-quoted strings.  # metacharacters that are still active within double-quoted strings.
5982  Xsed='sed -e s/^X//'  Xsed='sed -e 1s/^X//'
5983  sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'  sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5984    
5985  # Same as above, but do not quote variable references.  # Same as above, but do not quote variable references.
# Line 6272  if test -n "$RANLIB"; then Line 6284  if test -n "$RANLIB"; then
6284    old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"    old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6285  fi  fi
6286    
6287    for cc_temp in $compiler""; do
6288      case $cc_temp in
6289        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6290        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6291        \-*) ;;
6292        *) break;;
6293      esac
6294    done
6295    cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6296    
6297    
6298  # Only perform the check for file, if the check method requires it  # Only perform the check for file, if the check method requires it
6299  case $deplibs_check_method in  case $deplibs_check_method in
6300  file_magic*)  file_magic*)
# Line 6458  LTCC=${LTCC-"$CC"} Line 6481  LTCC=${LTCC-"$CC"}
6481  compiler=$CC  compiler=$CC
6482    
6483    
6484    # save warnings/boilerplate of simple test code
6485    ac_outfile=conftest.$ac_objext
6486    printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6487    eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6488    _lt_compiler_boilerplate=`cat conftest.err`
6489    $rm conftest*
6490    
6491    ac_outfile=conftest.$ac_objext
6492    printf "$lt_simple_link_test_code" >conftest.$ac_ext
6493    eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
6494    _lt_linker_boilerplate=`cat conftest.err`
6495    $rm conftest*
6496    
6497    
6498  #  #
6499  # Check for any special shared library compilation flags.  # Check for any special shared library compilation flags.
6500  #  #
# Line 6499  else Line 6536  else
6536       if test -s conftest.err; then       if test -s conftest.err; then
6537         # Append any errors to the config.log.         # Append any errors to the config.log.
6538         cat conftest.err 1>&5         cat conftest.err 1>&5
6539           $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
6540           $SED '/^$/d' conftest.err >conftest.er2
6541           if diff conftest.exp conftest.er2 >/dev/null; then
6542             lt_prog_compiler_static_works=yes
6543           fi
6544       else       else
6545         lt_prog_compiler_static_works=yes         lt_prog_compiler_static_works=yes
6546       fi       fi
# Line 6543  else Line 6585  else
6585     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6586     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6587     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
6588     (eval echo "\"\$as_me:6546: $lt_compile\"" >&5)     (eval echo "\"\$as_me:6588: $lt_compile\"" >&5)
6589     (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
6590     ac_status=$?     ac_status=$?
6591     cat conftest.err >&5     cat conftest.err >&5
6592     echo "$as_me:6550: \$? = $ac_status" >&5     echo "$as_me:6592: \$? = $ac_status" >&5
6593     if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
6594       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
6595       # So say no if there are warnings       # So say no if there are warnings other than the usual output.
6596       if test ! -s conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6597         $SED '/^$/d' conftest.err >conftest.er2
6598         if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6599         lt_cv_prog_compiler_rtti_exceptions=yes         lt_cv_prog_compiler_rtti_exceptions=yes
6600       fi       fi
6601     fi     fi
# Line 6654  echo $ECHO_N "checking for $compiler opt Line 6698  echo $ECHO_N "checking for $compiler opt
6698          lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'          lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6699        fi        fi
6700        ;;        ;;
6701          darwin*)
6702            # PIC is the default on this platform
6703            # Common symbols not allowed in MH_DYLIB files
6704           case $cc_basename in
6705             xlc*)
6706             lt_prog_compiler_pic='-qnocommon'
6707             lt_prog_compiler_wl='-Wl,'
6708             ;;
6709           esac
6710           ;;
6711    
6712      mingw* | pw32* | os2*)      mingw* | pw32* | os2*)
6713        # This hack is so that the source file can tell whether it is being        # This hack is so that the source file can tell whether it is being
# Line 6689  echo $ECHO_N "checking for $compiler opt Line 6743  echo $ECHO_N "checking for $compiler opt
6743        ;;        ;;
6744    
6745      linux*)      linux*)
6746        case $CC in        case $cc_basename in
6747        icc* | ecc*)        icc* | ecc*)
6748          lt_prog_compiler_wl='-Wl,'          lt_prog_compiler_wl='-Wl,'
6749          lt_prog_compiler_pic='-KPIC'          lt_prog_compiler_pic='-KPIC'
6750          lt_prog_compiler_static='-static'          lt_prog_compiler_static='-static'
6751          ;;          ;;
6752          pgcc* | pgf77* | pgf90*)
6753            # Portland Group compilers (*not* the Pentium gcc compiler,
6754            # which looks to be a dead project)
6755            lt_prog_compiler_wl='-Wl,'
6756            lt_prog_compiler_pic='-fpic'
6757            lt_prog_compiler_static='-static'
6758            ;;
6759        ccc*)        ccc*)
6760          lt_prog_compiler_wl='-Wl,'          lt_prog_compiler_wl='-Wl,'
6761          # All Alpha code is PIC.          # All Alpha code is PIC.
# Line 6715  echo $ECHO_N "checking for $compiler opt Line 6776  echo $ECHO_N "checking for $compiler opt
6776        ;;        ;;
6777    
6778      solaris*)      solaris*)
       lt_prog_compiler_wl='-Wl,'  
6779        lt_prog_compiler_pic='-KPIC'        lt_prog_compiler_pic='-KPIC'
6780        lt_prog_compiler_static='-Bstatic'        lt_prog_compiler_static='-Bstatic'
6781          case $cc_basename in
6782          f77* | f90* | f95*)
6783            lt_prog_compiler_wl='-Qoption ld ';;
6784          *)
6785            lt_prog_compiler_wl='-Wl,';;
6786          esac
6787        ;;        ;;
6788    
6789      sunos4*)      sunos4*)
# Line 6739  echo $ECHO_N "checking for $compiler opt Line 6805  echo $ECHO_N "checking for $compiler opt
6805        fi        fi
6806        ;;        ;;
6807    
6808        unicos*)
6809          lt_prog_compiler_wl='-Wl,'
6810          lt_prog_compiler_can_build_shared=no
6811          ;;
6812    
6813      uts4*)      uts4*)
6814        lt_prog_compiler_pic='-pic'        lt_prog_compiler_pic='-pic'
6815        lt_prog_compiler_static='-Bstatic'        lt_prog_compiler_static='-Bstatic'
# Line 6776  else Line 6847  else
6847     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6848     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6849     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
6850     (eval echo "\"\$as_me:6779: $lt_compile\"" >&5)     (eval echo "\"\$as_me:6850: $lt_compile\"" >&5)
6851     (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
6852     ac_status=$?     ac_status=$?
6853     cat conftest.err >&5     cat conftest.err >&5
6854     echo "$as_me:6783: \$? = $ac_status" >&5     echo "$as_me:6854: \$? = $ac_status" >&5
6855     if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
6856       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
6857       # So say no if there are warnings       # So say no if there are warnings other than the usual output.
6858       if test ! -s conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
6859         $SED '/^$/d' conftest.err >conftest.er2
6860         if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6861         lt_prog_compiler_pic_works=yes         lt_prog_compiler_pic_works=yes
6862       fi       fi
6863     fi     fi
# Line 6836  else Line 6909  else
6909     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6910     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6911     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
6912     (eval echo "\"\$as_me:6839: $lt_compile\"" >&5)     (eval echo "\"\$as_me:6912: $lt_compile\"" >&5)
6913     (eval "$lt_compile" 2>out/conftest.err)     (eval "$lt_compile" 2>out/conftest.err)
6914     ac_status=$?     ac_status=$?
6915     cat out/conftest.err >&5     cat out/conftest.err >&5
6916     echo "$as_me:6843: \$? = $ac_status" >&5     echo "$as_me:6916: \$? = $ac_status" >&5
6917     if (exit $ac_status) && test -s out/conftest2.$ac_objext     if (exit $ac_status) && test -s out/conftest2.$ac_objext
6918     then     then
6919       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
6920       # So say no if there are warnings       # So say no if there are warnings
6921       if test ! -s out/conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
6922         $SED '/^$/d' out/conftest.err >out/conftest.er2
6923         if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6924         lt_cv_prog_compiler_c_o=yes         lt_cv_prog_compiler_c_o=yes
6925       fi       fi
6926     fi     fi
# Line 6925  echo $ECHO_N "checking whether the $comp Line 7000  echo $ECHO_N "checking whether the $comp
7000    # rely on this symbol name, it's probably fine to never include it in    # rely on this symbol name, it's probably fine to never include it in
7001    # preloaded symbol tables.    # preloaded symbol tables.
7002    extract_expsyms_cmds=    extract_expsyms_cmds=
7003      # Just being paranoid about ensuring that cc_basename is set.
7004      for cc_temp in $compiler""; do
7005      case $cc_temp in
7006        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7007        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7008        \-*) ;;
7009        *) break;;
7010      esac
7011    done
7012    cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7013    
7014    case $host_os in    case $host_os in
7015    cygwin* | mingw* | pw32*)    cygwin* | mingw* | pw32*)
# Line 6945  echo $ECHO_N "checking whether the $comp Line 7030  echo $ECHO_N "checking whether the $comp
7030      # If archive_cmds runs LD, not CC, wlarc should be empty      # If archive_cmds runs LD, not CC, wlarc should be empty
7031      wlarc='${wl}'      wlarc='${wl}'
7032    
7033        # Set some defaults for GNU ld with shared library support. These
7034        # are reset later if shared libraries are not supported. Putting them
7035        # here allows them to be overridden if necessary.
7036        runpath_var=LD_RUN_PATH
7037        hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7038        export_dynamic_flag_spec='${wl}--export-dynamic'
7039        # ancient GNU ld didn't support --whole-archive et. al.
7040        if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7041            whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7042          else
7043            whole_archive_flag_spec=
7044        fi
7045        supports_anon_versioning=no
7046        case `$LD -v 2>/dev/null` in
7047          *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7048          *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7049          *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7050          *\ 2.11.*) ;; # other 2.11 versions
7051          *) supports_anon_versioning=yes ;;
7052        esac
7053    
7054      # See if GNU ld supports shared libraries.      # See if GNU ld supports shared libraries.
7055      case $host_os in      case $host_os in
7056      aix3* | aix4* | aix5*)      aix3* | aix4* | aix5*)
# Line 6995  EOF Line 7101  EOF
7101        allow_undefined_flag=unsupported        allow_undefined_flag=unsupported
7102        always_export_symbols=no        always_export_symbols=no
7103        enable_shared_with_static_runtimes=yes        enable_shared_with_static_runtimes=yes
7104        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7105    
7106        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7107          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
# Line 7013  EOF Line 7119  EOF
7119        fi        fi
7120        ;;        ;;
7121    
7122        linux*)
7123          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7124            tmp_addflag=
7125            case $cc_basename,$host_cpu in
7126            pgcc*)                          # Portland Group C compiler
7127              whole_archive_flag_spec='${wl}--whole-archive,`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7128              tmp_addflag=' $pic_flag'
7129              ;;
7130            pgf77* | pgf90* )                       # Portland Group f77 and f90 compilers
7131              whole_archive_flag_spec='${wl}--whole-archive,`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7132              tmp_addflag=' $pic_flag -Mnomain' ;;
7133            ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
7134              tmp_addflag=' -i_dynamic' ;;
7135            efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7136              tmp_addflag=' -i_dynamic -nofor_main' ;;
7137            ifc* | ifort*)                  # Intel Fortran compiler
7138              tmp_addflag=' -nofor_main' ;;
7139            esac
7140            archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7141    
7142            if test $supports_anon_versioning = yes; then
7143              archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7144      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7145      $echo "local: *; };" >> $output_objdir/$libname.ver~
7146              $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7147            fi
7148          else
7149            ld_shlibs=no
7150          fi
7151          ;;
7152    
7153      netbsd*)      netbsd*)
7154        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7155          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'          archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
# Line 7051  EOF Line 7188  EOF
7188        hardcode_shlibpath_var=no        hardcode_shlibpath_var=no
7189        ;;        ;;
7190    
   linux*)  
     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then  
         tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'  
         archive_cmds="$tmp_archive_cmds"  
       supports_anon_versioning=no  
       case `$LD -v 2>/dev/null` in  
         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11  
         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...  
         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...  
         *\ 2.11.*) ;; # other 2.11 versions  
         *) supports_anon_versioning=yes ;;  
       esac  
       if test $supports_anon_versioning = yes; then  
         archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~  
 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~  
 $echo "local: *; };" >> $output_objdir/$libname.ver~  
         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'  
       else  
         archive_expsym_cmds="$tmp_archive_cmds"  
       fi  
     else  
       ld_shlibs=no  
     fi  
     ;;  
   
7191      *)      *)
7192        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7193          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
# Line 7086  $echo "local: *; };" >> $output_objdir/$ Line 7198  $echo "local: *; };" >> $output_objdir/$
7198        ;;        ;;
7199      esac      esac
7200    
7201      if test "$ld_shlibs" = yes; then      if test "$ld_shlibs" = no; then
7202        runpath_var=LD_RUN_PATH        runpath_var=
7203        hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'        hardcode_libdir_flag_spec=
7204        export_dynamic_flag_spec='${wl}--export-dynamic'        export_dynamic_flag_spec=
7205        # ancient GNU ld didn't support --whole-archive et. al.        whole_archive_flag_spec=
       if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then  
         whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'  
       else  
         whole_archive_flag_spec=  
       fi  
7206      fi      fi
7207    else    else
7208      # PORTME fill in a description of your system's linker (not GNU ld)      # PORTME fill in a description of your system's linker (not GNU ld)
# Line 7159  $echo "local: *; };" >> $output_objdir/$ Line 7266  $echo "local: *; };" >> $output_objdir/$
7266        link_all_deplibs=yes        link_all_deplibs=yes
7267    
7268        if test "$GCC" = yes; then        if test "$GCC" = yes; then
7269          case $host_os in aix4.012|aix4.012.*)          case $host_os in aix4.[012]|aix4.[012].*)
7270          # We only want to do this on AIX 4.2 and lower, the check          # We only want to do this on AIX 4.2 and lower, the check
7271          # below for broken collect2 doesn't work under 4.3+          # below for broken collect2 doesn't work under 4.3+
7272            collect2name=`${CC} -print-prog-name=collect2`            collect2name=`${CC} -print-prog-name=collect2`
# Line 7180  $echo "local: *; };" >> $output_objdir/$ Line 7287  $echo "local: *; };" >> $output_objdir/$
7287            fi            fi
7288          esac          esac
7289          shared_flag='-shared'          shared_flag='-shared'
7290            if test "$aix_use_runtimelinking" = yes; then
7291              shared_flag="$shared_flag "'${wl}-G'
7292            fi
7293        else        else
7294          # not using gcc          # not using gcc
7295          if test "$host_cpu" = ia64; then          if test "$host_cpu" = ia64; then
# Line 7340  if test -z "$aix_libpath"; then aix_libp Line 7450  if test -z "$aix_libpath"; then aix_libp
7450        ld_shlibs=no        ld_shlibs=no
7451        ;;        ;;
7452    
7453      bsdi4*)      bsdi[45]*)
7454        export_dynamic_flag_spec=-rdynamic        export_dynamic_flag_spec=-rdynamic
7455        ;;        ;;
7456    
# Line 7354  if test -z "$aix_libpath"; then aix_libp Line 7464  if test -z "$aix_libpath"; then aix_libp
7464        # Tell ltmain to make .lib files, not .a files.        # Tell ltmain to make .lib files, not .a files.
7465        libext=lib        libext=lib
7466        # Tell ltmain to make .dll files, not .so files.        # Tell ltmain to make .dll files, not .so files.
7467        shrext=".dll"        shrext_cmds=".dll"
7468        # FIXME: Setting linknames here is a bad hack.        # FIXME: Setting linknames here is a bad hack.
7469        archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='        archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7470        # The linker will automatically build a .lib file if we build a DLL.        # The linker will automatically build a .lib file if we build a DLL.
# Line 7366  if test -z "$aix_libpath"; then aix_libp Line 7476  if test -z "$aix_libpath"; then aix_libp
7476        ;;        ;;
7477    
7478      darwin* | rhapsody*)      darwin* | rhapsody*)
     if test "$GXX" = yes ; then  
       archive_cmds_need_lc=no  
7479        case "$host_os" in        case "$host_os" in
7480        rhapsody* | darwin1.[012])          rhapsody* | darwin1.[012])
7481          allow_undefined_flag='-undefined suppress'           allow_undefined_flag='${wl}-undefined ${wl}suppress'
7482          ;;           ;;
7483        *) # Darwin 1.3 on         *) # Darwin 1.3 on
7484        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then           if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7485          allow_undefined_flag='-flat_namespace -undefined suppress'             allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7486        else           else
7487          case ${MACOSX_DEPLOYMENT_TARGET} in             case ${MACOSX_DEPLOYMENT_TARGET} in
7488            10.[012])               10.[012])
7489              allow_undefined_flag='-flat_namespace -undefined suppress'                 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7490              ;;                 ;;
7491            10.*)               10.*)
7492              allow_undefined_flag='-undefined dynamic_lookup'                 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7493              ;;                 ;;
7494          esac             esac
7495        fi           fi
7496          ;;           ;;
7497        esac        esac
7498          lt_int_apple_cc_single_mod=no        archive_cmds_need_lc=no
         output_verbose_link_cmd='echo'  
         if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then  
           lt_int_apple_cc_single_mod=yes  
         fi  
         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then  
           archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'  
         else  
         archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'  
       fi  
       module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'  
       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's  
         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then  
           archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
         else  
           archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
         fi  
           module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
7499        hardcode_direct=no        hardcode_direct=no
7500        hardcode_automatic=yes        hardcode_automatic=yes
7501        hardcode_shlibpath_var=unsupported        hardcode_shlibpath_var=unsupported
7502        whole_archive_flag_spec='-all_load $convenience'        whole_archive_flag_spec=''
7503        link_all_deplibs=yes        link_all_deplibs=yes
7504        if test "$GCC" = yes ; then
7505            output_verbose_link_cmd='echo'
7506            archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7507          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7508          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7509          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7510          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7511      else      else
7512        ld_shlibs=no        case $cc_basename in
7513            xlc*)
7514             output_verbose_link_cmd='echo'
7515             archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7516             module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7517              # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7518             archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7519              module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7520              ;;
7521           *)
7522             ld_shlibs=no
7523              ;;
7524          esac
7525      fi      fi
7526        ;;        ;;
7527    
# Line 7445  if test -z "$aix_libpath"; then aix_libp Line 7555  if test -z "$aix_libpath"; then aix_libp
7555        ;;        ;;
7556    
7557      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7558      freebsd* | kfreebsd*-gnu)      freebsd* | kfreebsd*-gnu | dragonfly*)
7559        archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'        archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7560        hardcode_libdir_flag_spec='-R$libdir'        hardcode_libdir_flag_spec='-R$libdir'
7561        hardcode_direct=yes        hardcode_direct=yes
# Line 7556  if test -z "$aix_libpath"; then aix_libp Line 7666  if test -z "$aix_libpath"; then aix_libp
7666        hardcode_shlibpath_var=no        hardcode_shlibpath_var=no
7667        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7668          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7669            archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7670          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7671          export_dynamic_flag_spec='${wl}-E'          export_dynamic_flag_spec='${wl}-E'
7672        else        else
# Line 7601  if test -z "$aix_libpath"; then aix_libp Line 7712  if test -z "$aix_libpath"; then aix_libp
7712          allow_undefined_flag=' -expect_unresolved \*'          allow_undefined_flag=' -expect_unresolved \*'
7713          archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'          archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7714          archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~          archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7715          $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'          $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7716    
7717          # Both c and cxx compiler support -rpath directly          # Both c and cxx compiler support -rpath directly
7718          hardcode_libdir_flag_spec='-rpath $libdir'          hardcode_libdir_flag_spec='-rpath $libdir'
# Line 7620  if test -z "$aix_libpath"; then aix_libp Line 7731  if test -z "$aix_libpath"; then aix_libp
7731      solaris*)      solaris*)
7732        no_undefined_flag=' -z text'        no_undefined_flag=' -z text'
7733        if test "$GCC" = yes; then        if test "$GCC" = yes; then
7734            wlarc='${wl}'
7735          archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'          archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7736          archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~          archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7737            $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'            $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7738        else        else
7739            wlarc=''
7740          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7741          archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~          archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7742          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
# Line 7632  if test -z "$aix_libpath"; then aix_libp Line 7745  if test -z "$aix_libpath"; then aix_libp
7745        hardcode_shlibpath_var=no        hardcode_shlibpath_var=no
7746        case $host_os in        case $host_os in
7747        solaris2.[0-5] | solaris2.[0-5].*) ;;        solaris2.[0-5] | solaris2.[0-5].*) ;;
7748        *) # Supported since Solaris 2.6 (maybe 2.5.1?)        *)
7749          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;          # The compiler driver will combine linker options so we
7750            # cannot just pass the convience library names through
7751            # without $wl, iff we do not link with $LD.
7752            # Luckily, gcc supports the same syntax we need for Sun Studio.
7753            # Supported since Solaris 2.6 (maybe 2.5.1?)
7754            case $wlarc in
7755            '')
7756              whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7757            *)
7758              whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7759            esac ;;
7760        esac        esac
7761        link_all_deplibs=yes        link_all_deplibs=yes
7762        ;;        ;;
# Line 7810  echo $ECHO_N "checking dynamic linker ch Line 7933  echo $ECHO_N "checking dynamic linker ch
7933  library_names_spec=  library_names_spec=
7934  libname_spec='lib$name'  libname_spec='lib$name'
7935  soname_spec=  soname_spec=
7936  shrext=".so"  shrext_cmds=".so"
7937  postinstall_cmds=  postinstall_cmds=
7938  postuninstall_cmds=  postuninstall_cmds=
7939  finish_cmds=  finish_cmds=
# Line 7907  beos*) Line 8030  beos*)
8030    shlibpath_var=LIBRARY_PATH    shlibpath_var=LIBRARY_PATH
8031    ;;    ;;
8032    
8033  bsdi4*)  bsdi[45]*)
8034    version_type=linux    version_type=linux
8035    need_version=no    need_version=no
8036    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 7923  bsdi4*) Line 8046  bsdi4*)
8046    
8047  cygwin* | mingw* | pw32*)  cygwin* | mingw* | pw32*)
8048    version_type=windows    version_type=windows
8049    shrext=".dll"    shrext_cmds=".dll"
8050    need_version=no    need_version=no
8051    need_lib_prefix=no    need_lib_prefix=no
8052    
# Line 7965  cygwin* | mingw* | pw32*) Line 8088  cygwin* | mingw* | pw32*)
8088        ;;        ;;
8089      pw32*)      pw32*)
8090        # pw32 DLLs use 'pw' prefix rather than 'lib'        # pw32 DLLs use 'pw' prefix rather than 'lib'
8091        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8092        ;;        ;;
8093      esac      esac
8094      ;;      ;;
# Line 7988  darwin* | rhapsody*) Line 8111  darwin* | rhapsody*)
8111    soname_spec='${libname}${release}${major}$shared_ext'    soname_spec='${libname}${release}${major}$shared_ext'
8112    shlibpath_overrides_runpath=yes    shlibpath_overrides_runpath=yes
8113    shlibpath_var=DYLD_LIBRARY_PATH    shlibpath_var=DYLD_LIBRARY_PATH
8114    shrext='$(test .$module = .yes && echo .so || echo .dylib)'    shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
8115    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8116    if test "$GCC" = yes; then    if test "$GCC" = yes; then
8117      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"`      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"`
# Line 8023  kfreebsd*-gnu) Line 8146  kfreebsd*-gnu)
8146    dynamic_linker='GNU ld.so'    dynamic_linker='GNU ld.so'
8147    ;;    ;;
8148    
8149  freebsd*)  freebsd* | dragonfly*)
8150      # DragonFly does not have aout.  When/if they implement a new
8151      # versioning mechanism, adjust this.
8152    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8153    version_type=freebsd-$objformat    version_type=freebsd-$objformat
8154    case $version_type in    case $version_type in
# Line 8042  freebsd*) Line 8167  freebsd*)
8167    freebsd2*)    freebsd2*)
8168      shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
8169      ;;      ;;
8170    freebsd3.01* | freebsdelf3.01*)    freebsd3.[01]* | freebsdelf3.[01]*)
8171      shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
8172      hardcode_into_libs=yes      hardcode_into_libs=yes
8173      ;;      ;;
# Line 8071  hpux9* | hpux10* | hpux11*) Line 8196  hpux9* | hpux10* | hpux11*)
8196    need_version=no    need_version=no
8197    case "$host_cpu" in    case "$host_cpu" in
8198    ia64*)    ia64*)
8199      shrext='.so'      shrext_cmds='.so'
8200      hardcode_into_libs=yes      hardcode_into_libs=yes
8201      dynamic_linker="$host_os dld.so"      dynamic_linker="$host_os dld.so"
8202      shlibpath_var=LD_LIBRARY_PATH      shlibpath_var=LD_LIBRARY_PATH
# Line 8086  hpux9* | hpux10* | hpux11*) Line 8211  hpux9* | hpux10* | hpux11*)
8211      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8212      ;;      ;;
8213     hppa*64*)     hppa*64*)
8214       shrext='.sl'       shrext_cmds='.sl'
8215       hardcode_into_libs=yes       hardcode_into_libs=yes
8216       dynamic_linker="$host_os dld.sl"       dynamic_linker="$host_os dld.sl"
8217       shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH       shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
# Line 8097  hpux9* | hpux10* | hpux11*) Line 8222  hpux9* | hpux10* | hpux11*)
8222       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8223       ;;       ;;
8224     *)     *)
8225      shrext='.sl'      shrext_cmds='.sl'
8226      dynamic_linker="$host_os dld.sl"      dynamic_linker="$host_os dld.sl"
8227      shlibpath_var=SHLIB_PATH      shlibpath_var=SHLIB_PATH
8228      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
# Line 8166  linux*) Line 8291  linux*)
8291    # before this can be enabled.    # before this can be enabled.
8292    hardcode_into_libs=yes    hardcode_into_libs=yes
8293    
8294      # find out which ABI we are using
8295      libsuff=
8296      case "$host_cpu" in
8297      x86_64*|s390x*|powerpc64*)
8298        echo '#line 8298 "configure"' > conftest.$ac_ext
8299        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8300      (eval $ac_compile) 2>&5
8301      ac_status=$?
8302      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303      (exit $ac_status); }; then
8304          case `/usr/bin/file conftest.$ac_objext` in
8305          *64-bit*)
8306            libsuff=64
8307            sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8308            ;;
8309          esac
8310        fi
8311        rm -rf conftest*
8312        ;;
8313      esac
8314    
8315    # Append ld.so.conf contents to the search path    # Append ld.so.conf contents to the search path
8316    if test -f /etc/ld.so.conf; then    if test -f /etc/ld.so.conf; then
8317      ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`      lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8318      sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"      sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8319    fi    fi
8320    
8321    # We used to test for /lib/ld.so.1 and disable shared libraries on    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 8231  nto-qnx*) Line 8377  nto-qnx*)
8377  openbsd*)  openbsd*)
8378    version_type=sunos    version_type=sunos
8379    need_lib_prefix=no    need_lib_prefix=no
8380    need_version=yes    # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8381      case $host_os in
8382        openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8383        *)                         need_version=no  ;;
8384      esac
8385    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8386    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8387    shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
# Line 8251  openbsd*) Line 8401  openbsd*)
8401    
8402  os2*)  os2*)
8403    libname_spec='$name'    libname_spec='$name'
8404    shrext=".dll"    shrext_cmds=".dll"
8405    need_lib_prefix=no    need_lib_prefix=no
8406    library_names_spec='$libname${shared_ext} $libname.a'    library_names_spec='$libname${shared_ext} $libname.a'
8407    dynamic_linker='OS/2 ld.exe'    dynamic_linker='OS/2 ld.exe'
# Line 8353  echo "$as_me:$LINENO: checking how to ha Line 8503  echo "$as_me:$LINENO: checking how to ha
8503  echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6  echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8504  hardcode_action=  hardcode_action=
8505  if test -n "$hardcode_libdir_flag_spec" || \  if test -n "$hardcode_libdir_flag_spec" || \
8506     test -n "$runpath_var " || \     test -n "$runpath_var" || \
8507     test "X$hardcode_automatic"="Xyes" ; then     test "X$hardcode_automatic" = "Xyes" ; then
8508    
8509    # We can hardcode non-existant directories.    # We can hardcode non-existant directories.
8510    if test "$hardcode_direct" != no &&    if test "$hardcode_direct" != no &&
# Line 9020  else Line 9170  else
9170    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9171    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
9172    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9173  #line 9023 "configure"  #line 9173 "configure"
9174  #include "confdefs.h"  #include "confdefs.h"
9175    
9176  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 9118  else Line 9268  else
9268    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9269    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
9270    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
9271  #line 9121 "configure"  #line 9271 "configure"
9272  #include "confdefs.h"  #include "confdefs.h"
9273    
9274  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 9243  aix3*) Line 9393  aix3*)
9393    fi    fi
9394    ;;    ;;
9395    
9396  aix4*)  aix4* | aix5*)
9397    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9398      test "$enable_shared" = yes && enable_static=no      test "$enable_shared" = yes && enable_static=no
9399    fi    fi
   ;;  
   darwin* | rhapsody*)  
   if test "$GCC" = yes; then  
     archive_cmds_need_lc=no  
     case "$host_os" in  
     rhapsody* | darwin1.[012])  
       allow_undefined_flag='-undefined suppress'  
       ;;  
     *) # Darwin 1.3 on  
       if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then  
         allow_undefined_flag='-flat_namespace -undefined suppress'  
       else  
         case ${MACOSX_DEPLOYMENT_TARGET} in  
           10.[012])  
             allow_undefined_flag='-flat_namespace -undefined suppress'  
             ;;  
           10.*)  
             allow_undefined_flag='-undefined dynamic_lookup'  
             ;;  
         esac  
       fi  
       ;;  
     esac  
     output_verbose_link_cmd='echo'  
     archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'  
     module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'  
     # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's  
     archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
     module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
     hardcode_direct=no  
     hardcode_automatic=yes  
     hardcode_shlibpath_var=unsupported  
     whole_archive_flag_spec='-all_load $convenience'  
     link_all_deplibs=yes  
   else  
     ld_shlibs=no  
   fi  
9400      ;;      ;;
9401  esac  esac
9402  echo "$as_me:$LINENO: result: $enable_shared" >&5  echo "$as_me:$LINENO: result: $enable_shared" >&5
# Line 9309  if test -f "$ltmain"; then Line 9422  if test -f "$ltmain"; then
9422    # Now quote all the things that may contain metacharacters while being    # Now quote all the things that may contain metacharacters while being
9423    # careful not to overquote the AC_SUBSTed values.  We take copies of the    # careful not to overquote the AC_SUBSTed values.  We take copies of the
9424    # variables and quote the copies for generation of the libtool script.    # variables and quote the copies for generation of the libtool script.
9425    for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM \    for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9426      SED SHELL STRIP \      SED SHELL STRIP \
9427      libname_spec library_names_spec soname_spec extract_expsyms_cmds \      libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9428      old_striplib striplib file_magic_cmd finish_cmds finish_eval \      old_striplib striplib file_magic_cmd finish_cmds finish_eval \
# Line 9413  echo "$as_me: creating $ofile" >&6;} Line 9526  echo "$as_me: creating $ofile" >&6;}
9526  #  #
9527  # You should have received a copy of the GNU General Public License  # You should have received a copy of the GNU General Public License
9528  # along with this program; if not, write to the Free Software  # along with this program; if not, write to the Free Software
9529  # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9530  #  #
9531  # As a special exception to the GNU General Public License, if you  # As a special exception to the GNU General Public License, if you
9532  # distribute this file as part of a program that contains a  # distribute this file as part of a program that contains a
# Line 9424  echo "$as_me: creating $ofile" >&6;} Line 9537  echo "$as_me: creating $ofile" >&6;}
9537  SED=$lt_SED  SED=$lt_SED
9538    
9539  # Sed that helps us avoid accidentally triggering echo(1) options like -n.  # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9540  Xsed="$SED -e s/^X//"  Xsed="$SED -e 1s/^X//"
9541    
9542  # The HP-UX ksh and POSIX shell print the target directory to stdout  # The HP-UX ksh and POSIX shell print the target directory to stdout
9543  # if CDPATH is set.  # if CDPATH is set.
9544  if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9545    
9546  # The names of the tagged configurations supported by this script.  # The names of the tagged configurations supported by this script.
9547  available_tags=  available_tags=
# Line 9458  fast_install=$enable_fast_install Line 9571  fast_install=$enable_fast_install
9571  # The host system.  # The host system.
9572  host_alias=$host_alias  host_alias=$host_alias
9573  host=$host  host=$host
9574    host_os=$host_os
9575    
9576    # The build system.
9577    build_alias=$build_alias
9578    build=$build
9579    build_os=$build_os
9580    
9581  # An echo program that does not interpret backslashes.  # An echo program that does not interpret backslashes.
9582  echo=$lt_echo  echo=$lt_echo
# Line 9500  DLLTOOL="$DLLTOOL" Line 9619  DLLTOOL="$DLLTOOL"
9619  OBJDUMP="$OBJDUMP"  OBJDUMP="$OBJDUMP"
9620    
9621  # Used on cygwin: assembler.  # Used on cygwin: assembler.
9622  AS=$lt_AS  AS="$AS"
9623    
9624  # The name of the directory that contains temporary libtool files.  # The name of the directory that contains temporary libtool files.
9625  objdir=$objdir  objdir=$objdir
# Line 9519  objext="$ac_objext" Line 9638  objext="$ac_objext"
9638  libext="$libext"  libext="$libext"
9639    
9640  # Shared library suffix (normally ".so").  # Shared library suffix (normally ".so").
9641  shrext='$shrext'  shrext_cmds='$shrext_cmds'
9642    
9643  # Executable file suffix (normally "").  # Executable file suffix (normally "").
9644  exeext="$exeext"  exeext="$exeext"
# Line 9534  max_cmd_len=$lt_cv_sys_max_cmd_len Line 9653  max_cmd_len=$lt_cv_sys_max_cmd_len
9653  # Does compiler simultaneously support -c and -o options?  # Does compiler simultaneously support -c and -o options?
9654  compiler_c_o=$lt_lt_cv_prog_compiler_c_o  compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9655    
9656  # Must we lock files when doing compilation ?  # Must we lock files when doing compilation?
9657  need_locks=$lt_need_locks  need_locks=$lt_need_locks
9658    
9659  # Do we need the lib prefix for modules?  # Do we need the lib prefix for modules?
# Line 9829  echo "$as_me: error: tag name \"$tagname Line 9948  echo "$as_me: error: tag name \"$tagname
9948    
9949        case $tagname in        case $tagname in
9950        CXX)        CXX)
9951          if test -n "$CXX" && test "X$CXX" != "Xno"; then          if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9952                ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9953                (test "X$CXX" != "Xg++"))) ; then
9954            ac_ext=cc            ac_ext=cc
9955  ac_cpp='$CXXCPP $CPPFLAGS'  ac_cpp='$CXXCPP $CPPFLAGS'
9956  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 9887  LTCC=${LTCC-"$CC"} Line 10008  LTCC=${LTCC-"$CC"}
10008  compiler=$CC  compiler=$CC
10009    
10010    
10011    # save warnings/boilerplate of simple test code
10012    ac_outfile=conftest.$ac_objext
10013    printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10014    eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
10015    _lt_compiler_boilerplate=`cat conftest.err`
10016    $rm conftest*
10017    
10018    ac_outfile=conftest.$ac_objext
10019    printf "$lt_simple_link_test_code" >conftest.$ac_ext
10020    eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
10021    _lt_linker_boilerplate=`cat conftest.err`
10022    $rm conftest*
10023    
10024    
10025  # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
10026  lt_save_CC=$CC  lt_save_CC=$CC
10027  lt_save_LD=$LD  lt_save_LD=$LD
# Line 9908  test -z "${LDCXX+set}" || LD=$LDCXX Line 10043  test -z "${LDCXX+set}" || LD=$LDCXX
10043  CC=${CXX-"c++"}  CC=${CXX-"c++"}
10044  compiler=$CC  compiler=$CC
10045  compiler_CXX=$CC  compiler_CXX=$CC
10046  cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`  for cc_temp in $compiler""; do
10047      case $cc_temp in
10048        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10049        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10050        \-*) ;;
10051        *) break;;
10052      esac
10053    done
10054    cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10055    
10056    
10057  # We don't want -fno-exception wen compiling C++ code, so set the  # We don't want -fno-exception wen compiling C++ code, so set the
10058  # no_builtin_flag separately  # no_builtin_flag separately
# Line 10122  case $host_os in Line 10266  case $host_os in
10266      link_all_deplibs_CXX=yes      link_all_deplibs_CXX=yes
10267    
10268      if test "$GXX" = yes; then      if test "$GXX" = yes; then
10269        case $host_os in aix4.012|aix4.012.*)        case $host_os in aix4.[012]|aix4.[012].*)
10270        # We only want to do this on AIX 4.2 and lower, the check        # We only want to do this on AIX 4.2 and lower, the check
10271        # below for broken collect2 doesn't work under 4.3+        # below for broken collect2 doesn't work under 4.3+
10272          collect2name=`${CC} -print-prog-name=collect2`          collect2name=`${CC} -print-prog-name=collect2`
# Line 10143  case $host_os in Line 10287  case $host_os in
10287          fi          fi
10288        esac        esac
10289        shared_flag='-shared'        shared_flag='-shared'
10290          if test "$aix_use_runtimelinking" = yes; then
10291            shared_flag="$shared_flag "'${wl}-G'
10292          fi
10293      else      else
10294        # not using gcc        # not using gcc
10295        if test "$host_cpu" = ia64; then        if test "$host_cpu" = ia64; then
# Line 10304  if test -z "$aix_libpath"; then aix_libp Line 10451  if test -z "$aix_libpath"; then aix_libp
10451      esac      esac
10452      ;;      ;;
10453    
10454    
10455    cygwin* | mingw* | pw32*)    cygwin* | mingw* | pw32*)
10456      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10457      # as there is no search path for DLLs.      # as there is no search path for DLLs.
# Line 10327  if test -z "$aix_libpath"; then aix_libp Line 10475  if test -z "$aix_libpath"; then aix_libp
10475        ld_shlibs_CXX=no        ld_shlibs_CXX=no
10476      fi      fi
10477    ;;    ;;
10478          darwin* | rhapsody*)
10479    darwin* | rhapsody*)          case "$host_os" in
10480    if test "$GXX" = yes; then          rhapsody* | darwin1.[012])
10481      archive_cmds_need_lc_CXX=no           allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10482      case "$host_os" in           ;;
10483      rhapsody* | darwin1.[012])         *) # Darwin 1.3 on
10484        allow_undefined_flag_CXX='-undefined suppress'           if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10485        ;;             allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10486      *) # Darwin 1.3 on           else
10487        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then             case ${MACOSX_DEPLOYMENT_TARGET} in
10488          allow_undefined_flag_CXX='-flat_namespace -undefined suppress'               10.[012])
10489        else                 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10490          case ${MACOSX_DEPLOYMENT_TARGET} in                 ;;
10491            10.[012])               10.*)
10492              allow_undefined_flag_CXX='-flat_namespace -undefined suppress'                 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10493              ;;                 ;;
10494            10.*)             esac
10495              allow_undefined_flag_CXX='-undefined dynamic_lookup'           fi
10496              ;;           ;;
10497          esac          esac
10498        fi        archive_cmds_need_lc_CXX=no
10499        ;;        hardcode_direct_CXX=no
10500      esac        hardcode_automatic_CXX=yes
10501      lt_int_apple_cc_single_mod=no        hardcode_shlibpath_var_CXX=unsupported
10502      output_verbose_link_cmd='echo'        whole_archive_flag_spec_CXX=''
10503      if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then        link_all_deplibs_CXX=yes
       lt_int_apple_cc_single_mod=yes  
     fi  
     if test "X$lt_int_apple_cc_single_mod" = Xyes ; then  
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'  
     else  
       archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'  
     fi  
     module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'  
10504    
10505      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's      if test "$GXX" = yes ; then
10506      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then        lt_int_apple_cc_single_mod=no
10507        archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'        output_verbose_link_cmd='echo'
10508      else        if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10509        archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'         lt_int_apple_cc_single_mod=yes
10510      fi        fi
10511      module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10512      hardcode_direct_CXX=no         archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10513      hardcode_automatic_CXX=yes        else
10514      hardcode_shlibpath_var_CXX=unsupported            archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10515      whole_archive_flag_spec_CXX='-all_load $convenience'          fi
10516      link_all_deplibs_CXX=yes          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10517    else          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10518      ld_shlibs_CXX=no            if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10519    fi              archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10520      ;;            else
10521                archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10522              fi
10523                module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10524          else
10525          case $cc_basename in
10526            xlc*)
10527             output_verbose_link_cmd='echo'
10528              archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10529              module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10530              # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10531              archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10532              module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10533              ;;
10534           *)
10535             ld_shlibs_CXX=no
10536              ;;
10537          esac
10538          fi
10539            ;;
10540    
10541    dgux*)    dgux*)
10542      case $cc_basename in      case $cc_basename in
10543        ec++)        ec++*)
10544          # FIXME: insert proper C++ library support          # FIXME: insert proper C++ library support
10545          ld_shlibs_CXX=no          ld_shlibs_CXX=no
10546          ;;          ;;
10547        ghcx)        ghcx*)
10548          # Green Hills C++ Compiler          # Green Hills C++ Compiler
10549          # FIXME: insert proper C++ library support          # FIXME: insert proper C++ library support
10550          ld_shlibs_CXX=no          ld_shlibs_CXX=no
# Line 10396  if test -z "$aix_libpath"; then aix_libp Line 10555  if test -z "$aix_libpath"; then aix_libp
10555          ;;          ;;
10556      esac      esac
10557      ;;      ;;
10558    freebsd12*)    freebsd[12]*)
10559      # C++ shared libraries reported to be fairly broken before switch to ELF      # C++ shared libraries reported to be fairly broken before switch to ELF
10560      ld_shlibs_CXX=no      ld_shlibs_CXX=no
10561      ;;      ;;
10562    freebsd-elf*)    freebsd-elf*)
10563      archive_cmds_need_lc_CXX=no      archive_cmds_need_lc_CXX=no
10564      ;;      ;;
10565    freebsd* | kfreebsd*-gnu)    freebsd* | kfreebsd*-gnu | dragonfly*)
10566      # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF      # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10567      # conventions      # conventions
10568      ld_shlibs_CXX=yes      ld_shlibs_CXX=yes
# Line 10420  if test -z "$aix_libpath"; then aix_libp Line 10579  if test -z "$aix_libpath"; then aix_libp
10579                                  # location of the library.                                  # location of the library.
10580    
10581      case $cc_basename in      case $cc_basename in
10582      CC)      CC*)
10583        # FIXME: insert proper C++ library support        # FIXME: insert proper C++ library support
10584        ld_shlibs_CXX=no        ld_shlibs_CXX=no
10585        ;;        ;;
10586      aCC)      aCC*)
10587        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10588        # Commands to make compiler produce verbose output that lists        # Commands to make compiler produce verbose output that lists
10589        # what "hidden" libraries, object files and flags are used when        # what "hidden" libraries, object files and flags are used when
# Line 10434  if test -z "$aix_libpath"; then aix_libp Line 10593  if test -z "$aix_libpath"; then aix_libp
10593        # explicitly linking system object files so we need to strip them        # explicitly linking system object files so we need to strip them
10594        # from the output so that they don't get included in the library        # from the output so that they don't get included in the library
10595        # dependencies.        # dependencies.
10596        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'        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'
10597        ;;        ;;
10598      *)      *)
10599        if test "$GXX" = yes; then        if test "$GXX" = yes; then
# Line 10485  if test -z "$aix_libpath"; then aix_libp Line 10644  if test -z "$aix_libpath"; then aix_libp
10644      esac      esac
10645    
10646      case $cc_basename in      case $cc_basename in
10647        CC)        CC*)
10648          # FIXME: insert proper C++ library support          # FIXME: insert proper C++ library support
10649          ld_shlibs_CXX=no          ld_shlibs_CXX=no
10650          ;;          ;;
10651        aCC)        aCC*)
10652          case "$host_cpu" in          case "$host_cpu" in
10653          hppa*64*|ia64*)          hppa*64*|ia64*)
10654            archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'            archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
# Line 10529  if test -z "$aix_libpath"; then aix_libp Line 10688  if test -z "$aix_libpath"; then aix_libp
10688      ;;      ;;
10689    irix5* | irix6*)    irix5* | irix6*)
10690      case $cc_basename in      case $cc_basename in
10691        CC)        CC*)
10692          # SGI C++          # SGI C++
10693          archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'          archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10694    
10695          # Archives containing C++ object files must be created using          # Archives containing C++ object files must be created using
10696          # "CC -ar", where "CC" is the IRIX C++ compiler.  This is          # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
# Line 10542  if test -z "$aix_libpath"; then aix_libp Line 10701  if test -z "$aix_libpath"; then aix_libp
10701        *)        *)
10702          if test "$GXX" = yes; then          if test "$GXX" = yes; then
10703            if test "$with_gnu_ld" = no; then            if test "$with_gnu_ld" = no; then
10704              archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'              archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10705            else            else
10706              archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'              archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
10707            fi            fi
# Line 10555  if test -z "$aix_libpath"; then aix_libp Line 10714  if test -z "$aix_libpath"; then aix_libp
10714      ;;      ;;
10715    linux*)    linux*)
10716      case $cc_basename in      case $cc_basename in
10717        KCC)        KCC*)
10718          # Kuck and Associates, Inc. (KAI) C++ Compiler          # Kuck and Associates, Inc. (KAI) C++ Compiler
10719    
10720          # KCC will only create a shared library if the output file          # KCC will only create a shared library if the output file
# Line 10580  if test -z "$aix_libpath"; then aix_libp Line 10739  if test -z "$aix_libpath"; then aix_libp
10739          # "CC -Bstatic", where "CC" is the KAI C++ compiler.          # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10740          old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'          old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10741          ;;          ;;
10742        icpc)        icpc*)
10743          # Intel C++          # Intel C++
10744          with_gnu_ld=yes          with_gnu_ld=yes
10745            # version 8.0 and above of icpc choke on multiply defined symbols
10746            # if we add $predep_objects and $postdep_objects, however 7.1 and
10747            # earlier do not add the objects themselves.
10748            case `$CC -V 2>&1` in
10749            *"Version 7."*)
10750              archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10751              archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10752              ;;
10753            *)  # Version 8.0 or newer
10754              tmp_idyn=
10755              case $host_cpu in
10756                ia64*) tmp_idyn=' -i_dynamic';;
10757              esac
10758              archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10759              archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10760              ;;
10761            esac
10762          archive_cmds_need_lc_CXX=no          archive_cmds_need_lc_CXX=no
         archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'  
         archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'  
10763          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10764          export_dynamic_flag_spec_CXX='${wl}--export-dynamic'          export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10765          whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'          whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10766          ;;          ;;
10767        cxx)        pgCC*)
10768            # Portland Group C++ compiler
10769            archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10770            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
10771    
10772            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10773            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10774            whole_archive_flag_spec_CXX='${wl}--whole-archive,`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
10775            ;;
10776          cxx*)
10777          # Compaq C++          # Compaq C++
10778          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10779          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
# Line 10621  if test -z "$aix_libpath"; then aix_libp Line 10804  if test -z "$aix_libpath"; then aix_libp
10804      ;;      ;;
10805    mvs*)    mvs*)
10806      case $cc_basename in      case $cc_basename in
10807        cxx)        cxx*)
10808          # FIXME: insert proper C++ library support          # FIXME: insert proper C++ library support
10809          ld_shlibs_CXX=no          ld_shlibs_CXX=no
10810          ;;          ;;
# Line 10642  if test -z "$aix_libpath"; then aix_libp Line 10825  if test -z "$aix_libpath"; then aix_libp
10825      # Workaround some broken pre-1.5 toolchains      # Workaround some broken pre-1.5 toolchains
10826      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10827      ;;      ;;
10828      openbsd2*)
10829        # C++ shared libraries are fairly broken
10830        ld_shlibs_CXX=no
10831        ;;
10832      openbsd*)
10833        hardcode_direct_CXX=yes
10834        hardcode_shlibpath_var_CXX=no
10835        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10836        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10837        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10838          archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10839          export_dynamic_flag_spec_CXX='${wl}-E'
10840          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10841        fi
10842        output_verbose_link_cmd='echo'
10843        ;;
10844    osf3*)    osf3*)
10845      case $cc_basename in      case $cc_basename in
10846        KCC)        KCC*)
10847          # Kuck and Associates, Inc. (KAI) C++ Compiler          # Kuck and Associates, Inc. (KAI) C++ Compiler
10848    
10849          # KCC will only create a shared library if the output file          # KCC will only create a shared library if the output file
# Line 10660  if test -z "$aix_libpath"; then aix_libp Line 10859  if test -z "$aix_libpath"; then aix_libp
10859          old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'          old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10860    
10861          ;;          ;;
10862        RCC)        RCC*)
10863          # Rational C++ 2.4.1          # Rational C++ 2.4.1
10864          # FIXME: insert proper C++ library support          # FIXME: insert proper C++ library support
10865          ld_shlibs_CXX=no          ld_shlibs_CXX=no
10866          ;;          ;;
10867        cxx)        cxx*)
10868          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10869          archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'          archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10870    
10871          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10872          hardcode_libdir_separator_CXX=:          hardcode_libdir_separator_CXX=:
# Line 10685  if test -z "$aix_libpath"; then aix_libp Line 10884  if test -z "$aix_libpath"; then aix_libp
10884        *)        *)
10885          if test "$GXX" = yes && test "$with_gnu_ld" = no; then          if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10886            allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'            allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10887            archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'            archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10888    
10889            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10890            hardcode_libdir_separator_CXX=:            hardcode_libdir_separator_CXX=:
# Line 10704  if test -z "$aix_libpath"; then aix_libp Line 10903  if test -z "$aix_libpath"; then aix_libp
10903      ;;      ;;
10904    osf4* | osf5*)    osf4* | osf5*)
10905      case $cc_basename in      case $cc_basename in
10906        KCC)        KCC*)
10907          # Kuck and Associates, Inc. (KAI) C++ Compiler          # Kuck and Associates, Inc. (KAI) C++ Compiler
10908    
10909          # KCC will only create a shared library if the output file          # KCC will only create a shared library if the output file
# Line 10719  if test -z "$aix_libpath"; then aix_libp Line 10918  if test -z "$aix_libpath"; then aix_libp
10918          # the KAI C++ compiler.          # the KAI C++ compiler.
10919          old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'          old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10920          ;;          ;;
10921        RCC)        RCC*)
10922          # Rational C++ 2.4.1          # Rational C++ 2.4.1
10923          # FIXME: insert proper C++ library support          # FIXME: insert proper C++ library support
10924          ld_shlibs_CXX=no          ld_shlibs_CXX=no
10925          ;;          ;;
10926        cxx)        cxx*)
10927          allow_undefined_flag_CXX=' -expect_unresolved \*'          allow_undefined_flag_CXX=' -expect_unresolved \*'
10928          archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'          archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10929          archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~          archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10930            echo "-hidden">> $lib.exp~            echo "-hidden">> $lib.exp~
10931            $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~            $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
10932            $rm $lib.exp'            $rm $lib.exp'
10933    
10934          hardcode_libdir_flag_spec_CXX='-rpath $libdir'          hardcode_libdir_flag_spec_CXX='-rpath $libdir'
# Line 10748  if test -z "$aix_libpath"; then aix_libp Line 10947  if test -z "$aix_libpath"; then aix_libp
10947        *)        *)
10948          if test "$GXX" = yes && test "$with_gnu_ld" = no; then          if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10949            allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'            allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10950           archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'           archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10951    
10952            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10953            hardcode_libdir_separator_CXX=:            hardcode_libdir_separator_CXX=:
# Line 10772  if test -z "$aix_libpath"; then aix_libp Line 10971  if test -z "$aix_libpath"; then aix_libp
10971    sco*)    sco*)
10972      archive_cmds_need_lc_CXX=no      archive_cmds_need_lc_CXX=no
10973      case $cc_basename in      case $cc_basename in
10974        CC)        CC*)
10975          # FIXME: insert proper C++ library support          # FIXME: insert proper C++ library support
10976          ld_shlibs_CXX=no          ld_shlibs_CXX=no
10977          ;;          ;;
# Line 10784  if test -z "$aix_libpath"; then aix_libp Line 10983  if test -z "$aix_libpath"; then aix_libp
10983      ;;      ;;
10984    sunos4*)    sunos4*)
10985      case $cc_basename in      case $cc_basename in
10986        CC)        CC*)
10987          # Sun C++ 4.x          # Sun C++ 4.x
10988          # FIXME: insert proper C++ library support          # FIXME: insert proper C++ library support
10989          ld_shlibs_CXX=no          ld_shlibs_CXX=no
10990          ;;          ;;
10991        lcc)        lcc*)
10992          # Lucid          # Lucid
10993          # FIXME: insert proper C++ library support          # FIXME: insert proper C++ library support
10994          ld_shlibs_CXX=no          ld_shlibs_CXX=no
# Line 10802  if test -z "$aix_libpath"; then aix_libp Line 11001  if test -z "$aix_libpath"; then aix_libp
11001      ;;      ;;
11002    solaris*)    solaris*)
11003      case $cc_basename in      case $cc_basename in
11004        CC)        CC*)
11005          # Sun C++ 4.2, 5.x and Centerline C++          # Sun C++ 4.2, 5.x and Centerline C++
11006          no_undefined_flag_CXX=' -zdefs'          no_undefined_flag_CXX=' -zdefs'
11007          archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'          archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
# Line 10812  if test -z "$aix_libpath"; then aix_libp Line 11011  if test -z "$aix_libpath"; then aix_libp
11011          hardcode_libdir_flag_spec_CXX='-R$libdir'          hardcode_libdir_flag_spec_CXX='-R$libdir'
11012          hardcode_shlibpath_var_CXX=no          hardcode_shlibpath_var_CXX=no
11013          case $host_os in          case $host_os in
11014            solaris2.0-5 | solaris2.0-5.*) ;;            solaris2.[0-5] | solaris2.[0-5].*) ;;
11015            *)            *)
11016              # The C++ compiler is used as linker so we must use $wl              # The C++ compiler is used as linker so we must use $wl
11017              # flag to pass the commands to the underlying system              # flag to pass the commands to the underlying system
11018              # linker.              # linker. We must also pass each convience library through
11019                # to the system linker between allextract/defaultextract.
11020                # The C++ compiler will combine linker options so we
11021                # cannot just pass the convience library names through
11022                # without $wl.
11023              # Supported since Solaris 2.6 (maybe 2.5.1?)              # Supported since Solaris 2.6 (maybe 2.5.1?)
11024              whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'              whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11025              ;;              ;;
11026          esac          esac
11027          link_all_deplibs_CXX=yes          link_all_deplibs_CXX=yes
# Line 10839  if test -z "$aix_libpath"; then aix_libp Line 11042  if test -z "$aix_libpath"; then aix_libp
11042          # in the archive.          # in the archive.
11043          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11044          ;;          ;;
11045        gcx)        gcx*)
11046          # Green Hills C++ Compiler          # Green Hills C++ Compiler
11047          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11048    
# Line 10882  if test -z "$aix_libpath"; then aix_libp Line 11085  if test -z "$aix_libpath"; then aix_libp
11085      ;;      ;;
11086    tandem*)    tandem*)
11087      case $cc_basename in      case $cc_basename in
11088        NCC)        NCC*)
11089          # NonStop-UX NCC 3.20          # NonStop-UX NCC 3.20
11090          # FIXME: insert proper C++ library support          # FIXME: insert proper C++ library support
11091          ld_shlibs_CXX=no          ld_shlibs_CXX=no
# Line 11091  echo $ECHO_N "checking for $compiler opt Line 11294  echo $ECHO_N "checking for $compiler opt
11294          ;;          ;;
11295        chorus*)        chorus*)
11296          case $cc_basename in          case $cc_basename in
11297          cxch68)          cxch68*)
11298            # Green Hills C++ Compiler            # Green Hills C++ Compiler
11299            # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"            # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
11300            ;;            ;;
11301          esac          esac
11302          ;;          ;;
11303           darwin*)
11304             # PIC is the default on this platform
11305             # Common symbols not allowed in MH_DYLIB files
11306             case $cc_basename in
11307               xlc*)
11308               lt_prog_compiler_pic_CXX='-qnocommon'
11309               lt_prog_compiler_wl_CXX='-Wl,'
11310               ;;
11311             esac
11312           ;;
11313        dgux*)        dgux*)
11314          case $cc_basename in          case $cc_basename in
11315            ec++)            ec++*)
11316              lt_prog_compiler_pic_CXX='-KPIC'              lt_prog_compiler_pic_CXX='-KPIC'
11317              ;;              ;;
11318            ghcx)            ghcx*)
11319              # Green Hills C++ Compiler              # Green Hills C++ Compiler
11320              lt_prog_compiler_pic_CXX='-pic'              lt_prog_compiler_pic_CXX='-pic'
11321              ;;              ;;
# Line 11110  echo $ECHO_N "checking for $compiler opt Line 11323  echo $ECHO_N "checking for $compiler opt
11323              ;;              ;;
11324          esac          esac
11325          ;;          ;;
11326        freebsd* | kfreebsd*-gnu)        freebsd* | kfreebsd*-gnu | dragonfly*)
11327          # FreeBSD uses GNU C++          # FreeBSD uses GNU C++
11328          ;;          ;;
11329        hpux9* | hpux10* | hpux11*)        hpux9* | hpux10* | hpux11*)
11330          case $cc_basename in          case $cc_basename in
11331            CC)            CC*)
11332              lt_prog_compiler_wl_CXX='-Wl,'              lt_prog_compiler_wl_CXX='-Wl,'
11333              lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"              lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11334              if test "$host_cpu" != ia64; then              if test "$host_cpu" != ia64; then
11335                lt_prog_compiler_pic_CXX='+Z'                lt_prog_compiler_pic_CXX='+Z'
11336              fi              fi
11337              ;;              ;;
11338            aCC)            aCC*)
11339              lt_prog_compiler_wl_CXX='-Wl,'              lt_prog_compiler_wl_CXX='-Wl,'
11340              lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"              lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11341              case "$host_cpu" in              case "$host_cpu" in
# Line 11140  echo $ECHO_N "checking for $compiler opt Line 11353  echo $ECHO_N "checking for $compiler opt
11353          ;;          ;;
11354        irix5* | irix6* | nonstopux*)        irix5* | irix6* | nonstopux*)
11355          case $cc_basename in          case $cc_basename in
11356            CC)            CC*)
11357              lt_prog_compiler_wl_CXX='-Wl,'              lt_prog_compiler_wl_CXX='-Wl,'
11358              lt_prog_compiler_static_CXX='-non_shared'              lt_prog_compiler_static_CXX='-non_shared'
11359              # CC pic flag -KPIC is the default.              # CC pic flag -KPIC is the default.
# Line 11151  echo $ECHO_N "checking for $compiler opt Line 11364  echo $ECHO_N "checking for $compiler opt
11364          ;;          ;;
11365        linux*)        linux*)
11366          case $cc_basename in          case $cc_basename in
11367            KCC)            KCC*)
11368              # KAI C++ Compiler              # KAI C++ Compiler
11369              lt_prog_compiler_wl_CXX='--backend -Wl,'              lt_prog_compiler_wl_CXX='--backend -Wl,'
11370              lt_prog_compiler_pic_CXX='-fPIC'              lt_prog_compiler_pic_CXX='-fPIC'
11371              ;;              ;;
11372            icpc)            icpc* | ecpc*)
11373              # Intel C++              # Intel C++
11374              lt_prog_compiler_wl_CXX='-Wl,'              lt_prog_compiler_wl_CXX='-Wl,'
11375              lt_prog_compiler_pic_CXX='-KPIC'              lt_prog_compiler_pic_CXX='-KPIC'
11376              lt_prog_compiler_static_CXX='-static'              lt_prog_compiler_static_CXX='-static'
11377              ;;              ;;
11378            cxx)            pgCC*)
11379                # Portland Group C++ compiler.
11380                lt_prog_compiler_wl_CXX='-Wl,'
11381                lt_prog_compiler_pic_CXX='-fpic'
11382                lt_prog_compiler_static_CXX='-static'
11383                ;;
11384              cxx*)
11385              # Compaq C++              # Compaq C++
11386              # Make sure the PIC flag is empty.  It appears that all Alpha              # Make sure the PIC flag is empty.  It appears that all Alpha
11387              # Linux and Compaq Tru64 Unix objects are PIC.              # Linux and Compaq Tru64 Unix objects are PIC.
# Line 11179  echo $ECHO_N "checking for $compiler opt Line 11398  echo $ECHO_N "checking for $compiler opt
11398          ;;          ;;
11399        mvs*)        mvs*)
11400          case $cc_basename in          case $cc_basename in
11401            cxx)            cxx*)
11402              lt_prog_compiler_pic_CXX='-W c,exportall'              lt_prog_compiler_pic_CXX='-W c,exportall'
11403              ;;              ;;
11404            *)            *)
# Line 11190  echo $ECHO_N "checking for $compiler opt Line 11409  echo $ECHO_N "checking for $compiler opt
11409          ;;          ;;
11410        osf3* | osf4* | osf5*)        osf3* | osf4* | osf5*)
11411          case $cc_basename in          case $cc_basename in
11412            KCC)            KCC*)
11413              lt_prog_compiler_wl_CXX='--backend -Wl,'              lt_prog_compiler_wl_CXX='--backend -Wl,'
11414              ;;              ;;
11415            RCC)            RCC*)
11416              # Rational C++ 2.4.1              # Rational C++ 2.4.1
11417              lt_prog_compiler_pic_CXX='-pic'              lt_prog_compiler_pic_CXX='-pic'
11418              ;;              ;;
11419            cxx)            cxx*)
11420              # Digital/Compaq C++              # Digital/Compaq C++
11421              lt_prog_compiler_wl_CXX='-Wl,'              lt_prog_compiler_wl_CXX='-Wl,'
11422              # Make sure the PIC flag is empty.  It appears that all Alpha              # Make sure the PIC flag is empty.  It appears that all Alpha
# Line 11213  echo $ECHO_N "checking for $compiler opt Line 11432  echo $ECHO_N "checking for $compiler opt
11432          ;;          ;;
11433        sco*)        sco*)
11434          case $cc_basename in          case $cc_basename in
11435            CC)            CC*)
11436              lt_prog_compiler_pic_CXX='-fPIC'              lt_prog_compiler_pic_CXX='-fPIC'
11437              ;;              ;;
11438            *)            *)
# Line 11222  echo $ECHO_N "checking for $compiler opt Line 11441  echo $ECHO_N "checking for $compiler opt
11441          ;;          ;;
11442        solaris*)        solaris*)
11443          case $cc_basename in          case $cc_basename in
11444            CC)            CC*)
11445              # Sun C++ 4.2, 5.x and Centerline C++              # Sun C++ 4.2, 5.x and Centerline C++
11446              lt_prog_compiler_pic_CXX='-KPIC'              lt_prog_compiler_pic_CXX='-KPIC'
11447              lt_prog_compiler_static_CXX='-Bstatic'              lt_prog_compiler_static_CXX='-Bstatic'
11448              lt_prog_compiler_wl_CXX='-Qoption ld '              lt_prog_compiler_wl_CXX='-Qoption ld '
11449              ;;              ;;
11450            gcx)            gcx*)
11451              # Green Hills C++ Compiler              # Green Hills C++ Compiler
11452              lt_prog_compiler_pic_CXX='-PIC'              lt_prog_compiler_pic_CXX='-PIC'
11453              ;;              ;;
# Line 11238  echo $ECHO_N "checking for $compiler opt Line 11457  echo $ECHO_N "checking for $compiler opt
11457          ;;          ;;
11458        sunos4*)        sunos4*)
11459          case $cc_basename in          case $cc_basename in
11460            CC)            CC*)
11461              # Sun C++ 4.x              # Sun C++ 4.x
11462              lt_prog_compiler_pic_CXX='-pic'              lt_prog_compiler_pic_CXX='-pic'
11463              lt_prog_compiler_static_CXX='-Bstatic'              lt_prog_compiler_static_CXX='-Bstatic'
11464              ;;              ;;
11465            lcc)            lcc*)
11466              # Lucid              # Lucid
11467              lt_prog_compiler_pic_CXX='-pic'              lt_prog_compiler_pic_CXX='-pic'
11468              ;;              ;;
# Line 11253  echo $ECHO_N "checking for $compiler opt Line 11472  echo $ECHO_N "checking for $compiler opt
11472          ;;          ;;
11473        tandem*)        tandem*)
11474          case $cc_basename in          case $cc_basename in
11475            NCC)            NCC*)
11476              # NonStop-UX NCC 3.20              # NonStop-UX NCC 3.20
11477              lt_prog_compiler_pic_CXX='-KPIC'              lt_prog_compiler_pic_CXX='-KPIC'
11478              ;;              ;;
# Line 11297  else Line 11516  else
11516     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11517     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11518     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
11519     (eval echo "\"\$as_me:11300: $lt_compile\"" >&5)     (eval echo "\"\$as_me:11519: $lt_compile\"" >&5)
11520     (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
11521     ac_status=$?     ac_status=$?
11522     cat conftest.err >&5     cat conftest.err >&5
11523     echo "$as_me:11304: \$? = $ac_status" >&5     echo "$as_me:11523: \$? = $ac_status" >&5
11524     if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
11525       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
11526       # So say no if there are warnings       # So say no if there are warnings other than the usual output.
11527       if test ! -s conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
11528         $SED '/^$/d' conftest.err >conftest.er2
11529         if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
11530         lt_prog_compiler_pic_works_CXX=yes         lt_prog_compiler_pic_works_CXX=yes
11531       fi       fi
11532     fi     fi
# Line 11357  else Line 11578  else
11578     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11579     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11580     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
11581     (eval echo "\"\$as_me:11360: $lt_compile\"" >&5)     (eval echo "\"\$as_me:11581: $lt_compile\"" >&5)
11582     (eval "$lt_compile" 2>out/conftest.err)     (eval "$lt_compile" 2>out/conftest.err)
11583     ac_status=$?     ac_status=$?
11584     cat out/conftest.err >&5     cat out/conftest.err >&5
11585     echo "$as_me:11364: \$? = $ac_status" >&5     echo "$as_me:11585: \$? = $ac_status" >&5
11586     if (exit $ac_status) && test -s out/conftest2.$ac_objext     if (exit $ac_status) && test -s out/conftest2.$ac_objext
11587     then     then
11588       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
11589       # So say no if there are warnings       # So say no if there are warnings
11590       if test ! -s out/conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
11591         $SED '/^$/d' out/conftest.err >out/conftest.er2
11592         if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11593         lt_cv_prog_compiler_c_o_CXX=yes         lt_cv_prog_compiler_c_o_CXX=yes
11594       fi       fi
11595     fi     fi
# Line 11425  echo $ECHO_N "checking whether the $comp Line 11648  echo $ECHO_N "checking whether the $comp
11648      export_symbols_cmds_CXX="$ltdll_cmds"      export_symbols_cmds_CXX="$ltdll_cmds"
11649    ;;    ;;
11650    cygwin* | mingw*)    cygwin* | mingw*)
11651      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11652    ;;    ;;
11653    *)    *)
11654      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
# Line 11508  echo $ECHO_N "checking dynamic linker ch Line 11731  echo $ECHO_N "checking dynamic linker ch
11731  library_names_spec=  library_names_spec=
11732  libname_spec='lib$name'  libname_spec='lib$name'
11733  soname_spec=  soname_spec=
11734  shrext=".so"  shrext_cmds=".so"
11735  postinstall_cmds=  postinstall_cmds=
11736  postuninstall_cmds=  postuninstall_cmds=
11737  finish_cmds=  finish_cmds=
# Line 11605  beos*) Line 11828  beos*)
11828    shlibpath_var=LIBRARY_PATH    shlibpath_var=LIBRARY_PATH
11829    ;;    ;;
11830    
11831  bsdi4*)  bsdi[45]*)
11832    version_type=linux    version_type=linux
11833    need_version=no    need_version=no
11834    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 11621  bsdi4*) Line 11844  bsdi4*)
11844    
11845  cygwin* | mingw* | pw32*)  cygwin* | mingw* | pw32*)
11846    version_type=windows    version_type=windows
11847    shrext=".dll"    shrext_cmds=".dll"
11848    need_version=no    need_version=no
11849    need_lib_prefix=no    need_lib_prefix=no
11850    
# Line 11663  cygwin* | mingw* | pw32*) Line 11886  cygwin* | mingw* | pw32*)
11886        ;;        ;;
11887      pw32*)      pw32*)
11888        # pw32 DLLs use 'pw' prefix rather than 'lib'        # pw32 DLLs use 'pw' prefix rather than 'lib'
11889        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11890        ;;        ;;
11891      esac      esac
11892      ;;      ;;
# Line 11686  darwin* | rhapsody*) Line 11909  darwin* | rhapsody*)
11909    soname_spec='${libname}${release}${major}$shared_ext'    soname_spec='${libname}${release}${major}$shared_ext'
11910    shlibpath_overrides_runpath=yes    shlibpath_overrides_runpath=yes
11911    shlibpath_var=DYLD_LIBRARY_PATH    shlibpath_var=DYLD_LIBRARY_PATH
11912    shrext='$(test .$module = .yes && echo .so || echo .dylib)'    shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
11913    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11914    if test "$GCC" = yes; then    if test "$GCC" = yes; then
11915      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"`      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"`
# Line 11721  kfreebsd*-gnu) Line 11944  kfreebsd*-gnu)
11944    dynamic_linker='GNU ld.so'    dynamic_linker='GNU ld.so'
11945    ;;    ;;
11946    
11947  freebsd*)  freebsd* | dragonfly*)
11948      # DragonFly does not have aout.  When/if they implement a new
11949      # versioning mechanism, adjust this.
11950    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11951    version_type=freebsd-$objformat    version_type=freebsd-$objformat
11952    case $version_type in    case $version_type in
# Line 11740  freebsd*) Line 11965  freebsd*)
11965    freebsd2*)    freebsd2*)
11966      shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
11967      ;;      ;;
11968    freebsd3.01* | freebsdelf3.01*)    freebsd3.[01]* | freebsdelf3.[01]*)
11969      shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
11970      hardcode_into_libs=yes      hardcode_into_libs=yes
11971      ;;      ;;
# Line 11769  hpux9* | hpux10* | hpux11*) Line 11994  hpux9* | hpux10* | hpux11*)
11994    need_version=no    need_version=no
11995    case "$host_cpu" in    case "$host_cpu" in
11996    ia64*)    ia64*)
11997      shrext='.so'      shrext_cmds='.so'
11998      hardcode_into_libs=yes      hardcode_into_libs=yes
11999      dynamic_linker="$host_os dld.so"      dynamic_linker="$host_os dld.so"
12000      shlibpath_var=LD_LIBRARY_PATH      shlibpath_var=LD_LIBRARY_PATH
# Line 11784  hpux9* | hpux10* | hpux11*) Line 12009  hpux9* | hpux10* | hpux11*)
12009      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12010      ;;      ;;
12011     hppa*64*)     hppa*64*)
12012       shrext='.sl'       shrext_cmds='.sl'
12013       hardcode_into_libs=yes       hardcode_into_libs=yes
12014       dynamic_linker="$host_os dld.sl"       dynamic_linker="$host_os dld.sl"
12015       shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH       shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
# Line 11795  hpux9* | hpux10* | hpux11*) Line 12020  hpux9* | hpux10* | hpux11*)
12020       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12021       ;;       ;;
12022     *)     *)
12023      shrext='.sl'      shrext_cmds='.sl'
12024      dynamic_linker="$host_os dld.sl"      dynamic_linker="$host_os dld.sl"
12025      shlibpath_var=SHLIB_PATH      shlibpath_var=SHLIB_PATH
12026      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
# Line 11864  linux*) Line 12089  linux*)
12089    # before this can be enabled.    # before this can be enabled.
12090    hardcode_into_libs=yes    hardcode_into_libs=yes
12091    
12092      # find out which ABI we are using
12093      libsuff=
12094      case "$host_cpu" in
12095      x86_64*|s390x*|powerpc64*)
12096        echo '#line 12096 "configure"' > conftest.$ac_ext
12097        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12098      (eval $ac_compile) 2>&5
12099      ac_status=$?
12100      echo "$as_me:$LINENO: \$? = $ac_status" >&5
12101      (exit $ac_status); }; then
12102          case `/usr/bin/file conftest.$ac_objext` in
12103          *64-bit*)
12104            libsuff=64
12105            sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12106            ;;
12107          esac
12108        fi
12109        rm -rf conftest*
12110        ;;
12111      esac
12112    
12113    # Append ld.so.conf contents to the search path    # Append ld.so.conf contents to the search path
12114    if test -f /etc/ld.so.conf; then    if test -f /etc/ld.so.conf; then
12115      ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`      lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12116      sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"      sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12117    fi    fi
12118    
12119    # We used to test for /lib/ld.so.1 and disable shared libraries on    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 11929  nto-qnx*) Line 12175  nto-qnx*)
12175  openbsd*)  openbsd*)
12176    version_type=sunos    version_type=sunos
12177    need_lib_prefix=no    need_lib_prefix=no
12178    need_version=yes    # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12179      case $host_os in
12180        openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12181        *)                         need_version=no  ;;
12182      esac
12183    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12184    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12185    shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
# Line 11949  openbsd*) Line 12199  openbsd*)
12199    
12200  os2*)  os2*)
12201    libname_spec='$name'    libname_spec='$name'
12202    shrext=".dll"    shrext_cmds=".dll"
12203    need_lib_prefix=no    need_lib_prefix=no
12204    library_names_spec='$libname${shared_ext} $libname.a'    library_names_spec='$libname${shared_ext} $libname.a'
12205    dynamic_linker='OS/2 ld.exe'    dynamic_linker='OS/2 ld.exe'
# Line 12051  echo "$as_me:$LINENO: checking how to ha Line 12301  echo "$as_me:$LINENO: checking how to ha
12301  echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6  echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12302  hardcode_action_CXX=  hardcode_action_CXX=
12303  if test -n "$hardcode_libdir_flag_spec_CXX" || \  if test -n "$hardcode_libdir_flag_spec_CXX" || \
12304     test -n "$runpath_var CXX" || \     test -n "$runpath_var_CXX" || \
12305     test "X$hardcode_automatic_CXX"="Xyes" ; then     test "X$hardcode_automatic_CXX" = "Xyes" ; then
12306    
12307    # We can hardcode non-existant directories.    # We can hardcode non-existant directories.
12308    if test "$hardcode_direct_CXX" != no &&    if test "$hardcode_direct_CXX" != no &&
# Line 12718  else Line 12968  else
12968    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12969    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
12970    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
12971  #line 12721 "configure"  #line 12971 "configure"
12972  #include "confdefs.h"  #include "confdefs.h"
12973    
12974  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 12816  else Line 13066  else
13066    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13067    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
13068    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
13069  #line 12819 "configure"  #line 13069 "configure"
13070  #include "confdefs.h"  #include "confdefs.h"
13071    
13072  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 12933  if test -f "$ltmain"; then Line 13183  if test -f "$ltmain"; then
13183    # Now quote all the things that may contain metacharacters while being    # Now quote all the things that may contain metacharacters while being
13184    # careful not to overquote the AC_SUBSTed values.  We take copies of the    # careful not to overquote the AC_SUBSTed values.  We take copies of the
13185    # variables and quote the copies for generation of the libtool script.    # variables and quote the copies for generation of the libtool script.
13186    for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM \    for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13187      SED SHELL STRIP \      SED SHELL STRIP \
13188      libname_spec library_names_spec soname_spec extract_expsyms_cmds \      libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13189      old_striplib striplib file_magic_cmd finish_cmds finish_eval \      old_striplib striplib file_magic_cmd finish_cmds finish_eval \
# Line 13034  fast_install=$enable_fast_install Line 13284  fast_install=$enable_fast_install
13284  # The host system.  # The host system.
13285  host_alias=$host_alias  host_alias=$host_alias
13286  host=$host  host=$host
13287    host_os=$host_os
13288    
13289    # The build system.
13290    build_alias=$build_alias
13291    build=$build
13292    build_os=$build_os
13293    
13294  # An echo program that does not interpret backslashes.  # An echo program that does not interpret backslashes.
13295  echo=$lt_echo  echo=$lt_echo
# Line 13076  DLLTOOL="$DLLTOOL" Line 13332  DLLTOOL="$DLLTOOL"
13332  OBJDUMP="$OBJDUMP"  OBJDUMP="$OBJDUMP"
13333    
13334  # Used on cygwin: assembler.  # Used on cygwin: assembler.
13335  AS=$lt_AS  AS="$AS"
13336    
13337  # The name of the directory that contains temporary libtool files.  # The name of the directory that contains temporary libtool files.
13338  objdir=$objdir  objdir=$objdir
# Line 13095  objext="$ac_objext" Line 13351  objext="$ac_objext"
13351  libext="$libext"  libext="$libext"
13352    
13353  # Shared library suffix (normally ".so").  # Shared library suffix (normally ".so").
13354  shrext='$shrext'  shrext_cmds='$shrext_cmds'
13355    
13356  # Executable file suffix (normally "").  # Executable file suffix (normally "").
13357  exeext="$exeext"  exeext="$exeext"
# Line 13110  max_cmd_len=$lt_cv_sys_max_cmd_len Line 13366  max_cmd_len=$lt_cv_sys_max_cmd_len
13366  # Does compiler simultaneously support -c and -o options?  # Does compiler simultaneously support -c and -o options?
13367  compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX  compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13368    
13369  # Must we lock files when doing compilation ?  # Must we lock files when doing compilation?
13370  need_locks=$lt_need_locks  need_locks=$lt_need_locks
13371    
13372  # Do we need the lib prefix for modules?  # Do we need the lib prefix for modules?
# Line 13391  LTCC=${LTCC-"$CC"} Line 13647  LTCC=${LTCC-"$CC"}
13647  compiler=$CC  compiler=$CC
13648    
13649    
13650    # save warnings/boilerplate of simple test code
13651    ac_outfile=conftest.$ac_objext
13652    printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13653    eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13654    _lt_compiler_boilerplate=`cat conftest.err`
13655    $rm conftest*
13656    
13657    ac_outfile=conftest.$ac_objext
13658    printf "$lt_simple_link_test_code" >conftest.$ac_ext
13659    eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
13660    _lt_linker_boilerplate=`cat conftest.err`
13661    $rm conftest*
13662    
13663    
13664  # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
13665  lt_save_CC="$CC"  lt_save_CC="$CC"
13666  CC=${F77-"f77"}  CC=${F77-"f77"}
13667  compiler=$CC  compiler=$CC
13668  compiler_F77=$CC  compiler_F77=$CC
13669  cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`  for cc_temp in $compiler""; do
13670      case $cc_temp in
13671        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13672        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13673        \-*) ;;
13674        *) break;;
13675      esac
13676    done
13677    cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13678    
13679    
13680  echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5  echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13681  echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6  echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
# Line 13417  aix3*) Line 13696  aix3*)
13696      postinstall_cmds='$RANLIB $lib'      postinstall_cmds='$RANLIB $lib'
13697    fi    fi
13698    ;;    ;;
13699  aix4*)  aix4* | aix5*)
13700    test "$enable_shared" = yes && enable_static=no    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13701        test "$enable_shared" = yes && enable_static=no
13702      fi
13703    ;;    ;;
13704  esac  esac
13705  echo "$as_me:$LINENO: result: $enable_shared" >&5  echo "$as_me:$LINENO: result: $enable_shared" >&5
# Line 13521  echo $ECHO_N "checking for $compiler opt Line 13802  echo $ECHO_N "checking for $compiler opt
13802          lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'          lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13803        fi        fi
13804        ;;        ;;
13805          darwin*)
13806            # PIC is the default on this platform
13807            # Common symbols not allowed in MH_DYLIB files
13808           case $cc_basename in
13809             xlc*)
13810             lt_prog_compiler_pic_F77='-qnocommon'
13811             lt_prog_compiler_wl_F77='-Wl,'
13812             ;;
13813           esac
13814           ;;
13815    
13816      mingw* | pw32* | os2*)      mingw* | pw32* | os2*)
13817        # This hack is so that the source file can tell whether it is being        # This hack is so that the source file can tell whether it is being
# Line 13556  echo $ECHO_N "checking for $compiler opt Line 13847  echo $ECHO_N "checking for $compiler opt
13847        ;;        ;;
13848    
13849      linux*)      linux*)
13850        case $CC in        case $cc_basename in
13851        icc* | ecc*)        icc* | ecc*)
13852          lt_prog_compiler_wl_F77='-Wl,'          lt_prog_compiler_wl_F77='-Wl,'
13853          lt_prog_compiler_pic_F77='-KPIC'          lt_prog_compiler_pic_F77='-KPIC'
13854          lt_prog_compiler_static_F77='-static'          lt_prog_compiler_static_F77='-static'
13855          ;;          ;;
13856          pgcc* | pgf77* | pgf90*)
13857            # Portland Group compilers (*not* the Pentium gcc compiler,
13858            # which looks to be a dead project)
13859            lt_prog_compiler_wl_F77='-Wl,'
13860            lt_prog_compiler_pic_F77='-fpic'
13861            lt_prog_compiler_static_F77='-static'
13862            ;;
13863        ccc*)        ccc*)
13864          lt_prog_compiler_wl_F77='-Wl,'          lt_prog_compiler_wl_F77='-Wl,'
13865          # All Alpha code is PIC.          # All Alpha code is PIC.
# Line 13582  echo $ECHO_N "checking for $compiler opt Line 13880  echo $ECHO_N "checking for $compiler opt
13880        ;;        ;;
13881    
13882      solaris*)      solaris*)
       lt_prog_compiler_wl_F77='-Wl,'  
13883        lt_prog_compiler_pic_F77='-KPIC'        lt_prog_compiler_pic_F77='-KPIC'
13884        lt_prog_compiler_static_F77='-Bstatic'        lt_prog_compiler_static_F77='-Bstatic'
13885          case $cc_basename in
13886          f77* | f90* | f95*)
13887            lt_prog_compiler_wl_F77='-Qoption ld ';;
13888          *)
13889            lt_prog_compiler_wl_F77='-Wl,';;
13890          esac
13891        ;;        ;;
13892    
13893      sunos4*)      sunos4*)
# Line 13606  echo $ECHO_N "checking for $compiler opt Line 13909  echo $ECHO_N "checking for $compiler opt
13909        fi        fi
13910        ;;        ;;
13911    
13912        unicos*)
13913          lt_prog_compiler_wl_F77='-Wl,'
13914          lt_prog_compiler_can_build_shared_F77=no
13915          ;;
13916    
13917      uts4*)      uts4*)
13918        lt_prog_compiler_pic_F77='-pic'        lt_prog_compiler_pic_F77='-pic'
13919        lt_prog_compiler_static_F77='-Bstatic'        lt_prog_compiler_static_F77='-Bstatic'
# Line 13643  else Line 13951  else
13951     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13952     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13953     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
13954     (eval echo "\"\$as_me:13646: $lt_compile\"" >&5)     (eval echo "\"\$as_me:13954: $lt_compile\"" >&5)
13955     (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
13956     ac_status=$?     ac_status=$?
13957     cat conftest.err >&5     cat conftest.err >&5
13958     echo "$as_me:13650: \$? = $ac_status" >&5     echo "$as_me:13958: \$? = $ac_status" >&5
13959     if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
13960       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
13961       # So say no if there are warnings       # So say no if there are warnings other than the usual output.
13962       if test ! -s conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
13963         $SED '/^$/d' conftest.err >conftest.er2
13964         if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
13965         lt_prog_compiler_pic_works_F77=yes         lt_prog_compiler_pic_works_F77=yes
13966       fi       fi
13967     fi     fi
# Line 13703  else Line 14013  else
14013     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14014     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14015     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
14016     (eval echo "\"\$as_me:13706: $lt_compile\"" >&5)     (eval echo "\"\$as_me:14016: $lt_compile\"" >&5)
14017     (eval "$lt_compile" 2>out/conftest.err)     (eval "$lt_compile" 2>out/conftest.err)
14018     ac_status=$?     ac_status=$?
14019     cat out/conftest.err >&5     cat out/conftest.err >&5
14020     echo "$as_me:13710: \$? = $ac_status" >&5     echo "$as_me:14020: \$? = $ac_status" >&5
14021     if (exit $ac_status) && test -s out/conftest2.$ac_objext     if (exit $ac_status) && test -s out/conftest2.$ac_objext
14022     then     then
14023       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
14024       # So say no if there are warnings       # So say no if there are warnings
14025       if test ! -s out/conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
14026         $SED '/^$/d' out/conftest.err >out/conftest.er2
14027         if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14028         lt_cv_prog_compiler_c_o_F77=yes         lt_cv_prog_compiler_c_o_F77=yes
14029       fi       fi
14030     fi     fi
# Line 13792  echo $ECHO_N "checking whether the $comp Line 14104  echo $ECHO_N "checking whether the $comp
14104    # rely on this symbol name, it's probably fine to never include it in    # rely on this symbol name, it's probably fine to never include it in
14105    # preloaded symbol tables.    # preloaded symbol tables.
14106    extract_expsyms_cmds=    extract_expsyms_cmds=
14107      # Just being paranoid about ensuring that cc_basename is set.
14108      for cc_temp in $compiler""; do
14109      case $cc_temp in
14110        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14111        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14112        \-*) ;;
14113        *) break;;
14114      esac
14115    done
14116    cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14117    
14118    case $host_os in    case $host_os in
14119    cygwin* | mingw* | pw32*)    cygwin* | mingw* | pw32*)
# Line 13812  echo $ECHO_N "checking whether the $comp Line 14134  echo $ECHO_N "checking whether the $comp
14134      # If archive_cmds runs LD, not CC, wlarc should be empty      # If archive_cmds runs LD, not CC, wlarc should be empty
14135      wlarc='${wl}'      wlarc='${wl}'
14136    
14137        # Set some defaults for GNU ld with shared library support. These
14138        # are reset later if shared libraries are not supported. Putting them
14139        # here allows them to be overridden if necessary.
14140        runpath_var=LD_RUN_PATH
14141        hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14142        export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14143        # ancient GNU ld didn't support --whole-archive et. al.
14144        if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14145            whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14146          else
14147            whole_archive_flag_spec_F77=
14148        fi
14149        supports_anon_versioning=no
14150        case `$LD -v 2>/dev/null` in
14151          *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14152          *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14153          *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14154          *\ 2.11.*) ;; # other 2.11 versions
14155          *) supports_anon_versioning=yes ;;
14156        esac
14157    
14158      # See if GNU ld supports shared libraries.      # See if GNU ld supports shared libraries.
14159      case $host_os in      case $host_os in
14160      aix3* | aix4* | aix5*)      aix3* | aix4* | aix5*)
# Line 13862  EOF Line 14205  EOF
14205        allow_undefined_flag_F77=unsupported        allow_undefined_flag_F77=unsupported
14206        always_export_symbols_F77=no        always_export_symbols_F77=no
14207        enable_shared_with_static_runtimes_F77=yes        enable_shared_with_static_runtimes_F77=yes
14208        export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'        export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14209    
14210        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14211          archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'          archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
# Line 13876  EOF Line 14219  EOF
14219          fi~          fi~
14220          $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'          $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
14221        else        else
14222          ld_shlibs=no          ld_shlibs_F77=no
14223          fi
14224          ;;
14225    
14226        linux*)
14227          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14228            tmp_addflag=
14229            case $cc_basename,$host_cpu in
14230            pgcc*)                          # Portland Group C compiler
14231              whole_archive_flag_spec_F77='${wl}--whole-archive,`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14232              tmp_addflag=' $pic_flag'
14233              ;;
14234            pgf77* | pgf90* )                       # Portland Group f77 and f90 compilers
14235              whole_archive_flag_spec_F77='${wl}--whole-archive,`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14236              tmp_addflag=' $pic_flag -Mnomain' ;;
14237            ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14238              tmp_addflag=' -i_dynamic' ;;
14239            efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14240              tmp_addflag=' -i_dynamic -nofor_main' ;;
14241            ifc* | ifort*)                  # Intel Fortran compiler
14242              tmp_addflag=' -nofor_main' ;;
14243            esac
14244            archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14245    
14246            if test $supports_anon_versioning = yes; then
14247              archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14248      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14249      $echo "local: *; };" >> $output_objdir/$libname.ver~
14250              $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14251            fi
14252          else
14253            ld_shlibs_F77=no
14254        fi        fi
14255        ;;        ;;
14256    
# Line 13918  EOF Line 14292  EOF
14292        hardcode_shlibpath_var_F77=no        hardcode_shlibpath_var_F77=no
14293        ;;        ;;
14294    
   linux*)  
     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then  
         tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'  
         archive_cmds_F77="$tmp_archive_cmds"  
       supports_anon_versioning=no  
       case `$LD -v 2>/dev/null` in  
         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11  
         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...  
         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...  
         *\ 2.11.*) ;; # other 2.11 versions  
         *) supports_anon_versioning=yes ;;  
       esac  
       if test $supports_anon_versioning = yes; then  
         archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~  
 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~  
 $echo "local: *; };" >> $output_objdir/$libname.ver~  
         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'  
       else  
         archive_expsym_cmds_F77="$tmp_archive_cmds"  
       fi  
     else  
       ld_shlibs_F77=no  
     fi  
     ;;  
   
14295      *)      *)
14296        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14297          archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'          archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
# Line 13953  $echo "local: *; };" >> $output_objdir/$ Line 14302  $echo "local: *; };" >> $output_objdir/$
14302        ;;        ;;
14303      esac      esac
14304    
14305      if test "$ld_shlibs_F77" = yes; then      if test "$ld_shlibs_F77" = no; then
14306        runpath_var=LD_RUN_PATH        runpath_var=
14307        hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'        hardcode_libdir_flag_spec_F77=
14308        export_dynamic_flag_spec_F77='${wl}--export-dynamic'        export_dynamic_flag_spec_F77=
14309        # ancient GNU ld didn't support --whole-archive et. al.        whole_archive_flag_spec_F77=
       if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then  
         whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'  
       else  
         whole_archive_flag_spec_F77=  
       fi  
14310      fi      fi
14311    else    else
14312      # PORTME fill in a description of your system's linker (not GNU ld)      # PORTME fill in a description of your system's linker (not GNU ld)
# Line 14026  $echo "local: *; };" >> $output_objdir/$ Line 14370  $echo "local: *; };" >> $output_objdir/$
14370        link_all_deplibs_F77=yes        link_all_deplibs_F77=yes
14371    
14372        if test "$GCC" = yes; then        if test "$GCC" = yes; then
14373          case $host_os in aix4.012|aix4.012.*)          case $host_os in aix4.[012]|aix4.[012].*)
14374          # We only want to do this on AIX 4.2 and lower, the check          # We only want to do this on AIX 4.2 and lower, the check
14375          # below for broken collect2 doesn't work under 4.3+          # below for broken collect2 doesn't work under 4.3+
14376            collect2name=`${CC} -print-prog-name=collect2`            collect2name=`${CC} -print-prog-name=collect2`
# Line 14047  $echo "local: *; };" >> $output_objdir/$ Line 14391  $echo "local: *; };" >> $output_objdir/$
14391            fi            fi
14392          esac          esac
14393          shared_flag='-shared'          shared_flag='-shared'
14394            if test "$aix_use_runtimelinking" = yes; then
14395              shared_flag="$shared_flag "'${wl}-G'
14396            fi
14397        else        else
14398          # not using gcc          # not using gcc
14399          if test "$host_cpu" = ia64; then          if test "$host_cpu" = ia64; then
# Line 14187  if test -z "$aix_libpath"; then aix_libp Line 14534  if test -z "$aix_libpath"; then aix_libp
14534        ld_shlibs_F77=no        ld_shlibs_F77=no
14535        ;;        ;;
14536    
14537      bsdi4*)      bsdi[45]*)
14538        export_dynamic_flag_spec_F77=-rdynamic        export_dynamic_flag_spec_F77=-rdynamic
14539        ;;        ;;
14540    
# Line 14201  if test -z "$aix_libpath"; then aix_libp Line 14548  if test -z "$aix_libpath"; then aix_libp
14548        # Tell ltmain to make .lib files, not .a files.        # Tell ltmain to make .lib files, not .a files.
14549        libext=lib        libext=lib
14550        # Tell ltmain to make .dll files, not .so files.        # Tell ltmain to make .dll files, not .so files.
14551        shrext=".dll"        shrext_cmds=".dll"
14552        # FIXME: Setting linknames here is a bad hack.        # FIXME: Setting linknames here is a bad hack.
14553        archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='        archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14554        # The linker will automatically build a .lib file if we build a DLL.        # The linker will automatically build a .lib file if we build a DLL.
14555        old_archive_From_new_cmds_F77='true'        old_archive_From_new_cmds_F77='true'
14556        # FIXME: Should let the user specify the lib program.        # FIXME: Should let the user specify the lib program.
14557        old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'        old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
14558        fix_srcfile_path='`cygpath -w "$srcfile"`'        fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14559        enable_shared_with_static_runtimes_F77=yes        enable_shared_with_static_runtimes_F77=yes
14560        ;;        ;;
14561    
14562      darwin* | rhapsody*)      darwin* | rhapsody*)
     if test "$GXX" = yes ; then  
       archive_cmds_need_lc_F77=no  
14563        case "$host_os" in        case "$host_os" in
14564        rhapsody* | darwin1.[012])          rhapsody* | darwin1.[012])
14565          allow_undefined_flag_F77='-undefined suppress'           allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
14566          ;;           ;;
14567        *) # Darwin 1.3 on         *) # Darwin 1.3 on
14568        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then           if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14569          allow_undefined_flag_F77='-flat_namespace -undefined suppress'             allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14570        else           else
14571          case ${MACOSX_DEPLOYMENT_TARGET} in             case ${MACOSX_DEPLOYMENT_TARGET} in
14572            10.[012])               10.[012])
14573              allow_undefined_flag_F77='-flat_namespace -undefined suppress'                 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14574              ;;                 ;;
14575            10.*)               10.*)
14576              allow_undefined_flag_F77='-undefined dynamic_lookup'                 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
14577              ;;                 ;;
14578          esac             esac
14579        fi           fi
14580          ;;           ;;
14581        esac        esac
14582          lt_int_apple_cc_single_mod=no        archive_cmds_need_lc_F77=no
         output_verbose_link_cmd='echo'  
         if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then  
           lt_int_apple_cc_single_mod=yes  
         fi  
         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then  
           archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'  
         else  
         archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'  
       fi  
       module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'  
       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's  
         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then  
           archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
         else  
           archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
         fi  
           module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
14583        hardcode_direct_F77=no        hardcode_direct_F77=no
14584        hardcode_automatic_F77=yes        hardcode_automatic_F77=yes
14585        hardcode_shlibpath_var_F77=unsupported        hardcode_shlibpath_var_F77=unsupported
14586        whole_archive_flag_spec_F77='-all_load $convenience'        whole_archive_flag_spec_F77=''
14587        link_all_deplibs_F77=yes        link_all_deplibs_F77=yes
14588        if test "$GCC" = yes ; then
14589            output_verbose_link_cmd='echo'
14590            archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14591          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14592          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14593          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14594          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14595      else      else
14596        ld_shlibs_F77=no        case $cc_basename in
14597            xlc*)
14598             output_verbose_link_cmd='echo'
14599             archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14600             module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14601              # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14602             archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14603              module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14604              ;;
14605           *)
14606             ld_shlibs_F77=no
14607              ;;
14608          esac
14609      fi      fi
14610        ;;        ;;
14611    
# Line 14292  if test -z "$aix_libpath"; then aix_libp Line 14639  if test -z "$aix_libpath"; then aix_libp
14639        ;;        ;;
14640    
14641      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14642      freebsd* | kfreebsd*-gnu)      freebsd* | kfreebsd*-gnu | dragonfly*)
14643        archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'        archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14644        hardcode_libdir_flag_spec_F77='-R$libdir'        hardcode_libdir_flag_spec_F77='-R$libdir'
14645        hardcode_direct_F77=yes        hardcode_direct_F77=yes
# Line 14403  if test -z "$aix_libpath"; then aix_libp Line 14750  if test -z "$aix_libpath"; then aix_libp
14750        hardcode_shlibpath_var_F77=no        hardcode_shlibpath_var_F77=no
14751        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14752          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14753            archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14754          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14755          export_dynamic_flag_spec_F77='${wl}-E'          export_dynamic_flag_spec_F77='${wl}-E'
14756        else        else
# Line 14448  if test -z "$aix_libpath"; then aix_libp Line 14796  if test -z "$aix_libpath"; then aix_libp
14796          allow_undefined_flag_F77=' -expect_unresolved \*'          allow_undefined_flag_F77=' -expect_unresolved \*'
14797          archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'          archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14798          archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~          archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14799          $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'          $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14800    
14801          # Both c and cxx compiler support -rpath directly          # Both c and cxx compiler support -rpath directly
14802          hardcode_libdir_flag_spec_F77='-rpath $libdir'          hardcode_libdir_flag_spec_F77='-rpath $libdir'
# Line 14467  if test -z "$aix_libpath"; then aix_libp Line 14815  if test -z "$aix_libpath"; then aix_libp
14815      solaris*)      solaris*)
14816        no_undefined_flag_F77=' -z text'        no_undefined_flag_F77=' -z text'
14817        if test "$GCC" = yes; then        if test "$GCC" = yes; then
14818            wlarc='${wl}'
14819          archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'          archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14820          archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~          archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14821            $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'            $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14822        else        else
14823            wlarc=''
14824          archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'          archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14825          archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~          archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14826          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
# Line 14479  if test -z "$aix_libpath"; then aix_libp Line 14829  if test -z "$aix_libpath"; then aix_libp
14829        hardcode_shlibpath_var_F77=no        hardcode_shlibpath_var_F77=no
14830        case $host_os in        case $host_os in
14831        solaris2.[0-5] | solaris2.[0-5].*) ;;        solaris2.[0-5] | solaris2.[0-5].*) ;;
14832        *) # Supported since Solaris 2.6 (maybe 2.5.1?)        *)
14833          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;          # The compiler driver will combine linker options so we
14834            # cannot just pass the convience library names through
14835            # without $wl, iff we do not link with $LD.
14836            # Luckily, gcc supports the same syntax we need for Sun Studio.
14837            # Supported since Solaris 2.6 (maybe 2.5.1?)
14838            case $wlarc in
14839            '')
14840              whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14841            *)
14842              whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14843            esac ;;
14844        esac        esac
14845        link_all_deplibs_F77=yes        link_all_deplibs_F77=yes
14846        ;;        ;;
# Line 14657  echo $ECHO_N "checking dynamic linker ch Line 15017  echo $ECHO_N "checking dynamic linker ch
15017  library_names_spec=  library_names_spec=
15018  libname_spec='lib$name'  libname_spec='lib$name'
15019  soname_spec=  soname_spec=
15020  shrext=".so"  shrext_cmds=".so"
15021  postinstall_cmds=  postinstall_cmds=
15022  postuninstall_cmds=  postuninstall_cmds=
15023  finish_cmds=  finish_cmds=
# Line 14754  beos*) Line 15114  beos*)
15114    shlibpath_var=LIBRARY_PATH    shlibpath_var=LIBRARY_PATH
15115    ;;    ;;
15116    
15117  bsdi4*)  bsdi[45]*)
15118    version_type=linux    version_type=linux
15119    need_version=no    need_version=no
15120    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 14770  bsdi4*) Line 15130  bsdi4*)
15130    
15131  cygwin* | mingw* | pw32*)  cygwin* | mingw* | pw32*)
15132    version_type=windows    version_type=windows
15133    shrext=".dll"    shrext_cmds=".dll"
15134    need_version=no    need_version=no
15135    need_lib_prefix=no    need_lib_prefix=no
15136    
# Line 14812  cygwin* | mingw* | pw32*) Line 15172  cygwin* | mingw* | pw32*)
15172        ;;        ;;
15173      pw32*)      pw32*)
15174        # pw32 DLLs use 'pw' prefix rather than 'lib'        # pw32 DLLs use 'pw' prefix rather than 'lib'
15175        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15176        ;;        ;;
15177      esac      esac
15178      ;;      ;;
# Line 14835  darwin* | rhapsody*) Line 15195  darwin* | rhapsody*)
15195    soname_spec='${libname}${release}${major}$shared_ext'    soname_spec='${libname}${release}${major}$shared_ext'
15196    shlibpath_overrides_runpath=yes    shlibpath_overrides_runpath=yes
15197    shlibpath_var=DYLD_LIBRARY_PATH    shlibpath_var=DYLD_LIBRARY_PATH
15198    shrext='$(test .$module = .yes && echo .so || echo .dylib)'    shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
15199    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15200    if test "$GCC" = yes; then    if test "$GCC" = yes; then
15201      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"`      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"`
# Line 14870  kfreebsd*-gnu) Line 15230  kfreebsd*-gnu)
15230    dynamic_linker='GNU ld.so'    dynamic_linker='GNU ld.so'
15231    ;;    ;;
15232    
15233  freebsd*)  freebsd* | dragonfly*)
15234      # DragonFly does not have aout.  When/if they implement a new
15235      # versioning mechanism, adjust this.
15236    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15237    version_type=freebsd-$objformat    version_type=freebsd-$objformat
15238    case $version_type in    case $version_type in
# Line 14889  freebsd*) Line 15251  freebsd*)
15251    freebsd2*)    freebsd2*)
15252      shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
15253      ;;      ;;
15254    freebsd3.01* | freebsdelf3.01*)    freebsd3.[01]* | freebsdelf3.[01]*)
15255      shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
15256      hardcode_into_libs=yes      hardcode_into_libs=yes
15257      ;;      ;;
# Line 14918  hpux9* | hpux10* | hpux11*) Line 15280  hpux9* | hpux10* | hpux11*)
15280    need_version=no    need_version=no
15281    case "$host_cpu" in    case "$host_cpu" in
15282    ia64*)    ia64*)
15283      shrext='.so'      shrext_cmds='.so'
15284      hardcode_into_libs=yes      hardcode_into_libs=yes
15285      dynamic_linker="$host_os dld.so"      dynamic_linker="$host_os dld.so"
15286      shlibpath_var=LD_LIBRARY_PATH      shlibpath_var=LD_LIBRARY_PATH
# Line 14933  hpux9* | hpux10* | hpux11*) Line 15295  hpux9* | hpux10* | hpux11*)
15295      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15296      ;;      ;;
15297     hppa*64*)     hppa*64*)
15298       shrext='.sl'       shrext_cmds='.sl'
15299       hardcode_into_libs=yes       hardcode_into_libs=yes
15300       dynamic_linker="$host_os dld.sl"       dynamic_linker="$host_os dld.sl"
15301       shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH       shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
# Line 14944  hpux9* | hpux10* | hpux11*) Line 15306  hpux9* | hpux10* | hpux11*)
15306       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15307       ;;       ;;
15308     *)     *)
15309      shrext='.sl'      shrext_cmds='.sl'
15310      dynamic_linker="$host_os dld.sl"      dynamic_linker="$host_os dld.sl"
15311      shlibpath_var=SHLIB_PATH      shlibpath_var=SHLIB_PATH
15312      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
# Line 15013  linux*) Line 15375  linux*)
15375    # before this can be enabled.    # before this can be enabled.
15376    hardcode_into_libs=yes    hardcode_into_libs=yes
15377    
15378      # find out which ABI we are using
15379      libsuff=
15380      case "$host_cpu" in
15381      x86_64*|s390x*|powerpc64*)
15382        echo '#line 15382 "configure"' > conftest.$ac_ext
15383        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15384      (eval $ac_compile) 2>&5
15385      ac_status=$?
15386      echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387      (exit $ac_status); }; then
15388          case `/usr/bin/file conftest.$ac_objext` in
15389          *64-bit*)
15390            libsuff=64
15391            sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15392            ;;
15393          esac
15394        fi
15395        rm -rf conftest*
15396        ;;
15397      esac
15398    
15399    # Append ld.so.conf contents to the search path    # Append ld.so.conf contents to the search path
15400    if test -f /etc/ld.so.conf; then    if test -f /etc/ld.so.conf; then
15401      ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`      lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15402      sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"      sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15403    fi    fi
15404    
15405    # We used to test for /lib/ld.so.1 and disable shared libraries on    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 15078  nto-qnx*) Line 15461  nto-qnx*)
15461  openbsd*)  openbsd*)
15462    version_type=sunos    version_type=sunos
15463    need_lib_prefix=no    need_lib_prefix=no
15464    need_version=yes    # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15465      case $host_os in
15466        openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15467        *)                         need_version=no  ;;
15468      esac
15469    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15470    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15471    shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
# Line 15098  openbsd*) Line 15485  openbsd*)
15485    
15486  os2*)  os2*)
15487    libname_spec='$name'    libname_spec='$name'
15488    shrext=".dll"    shrext_cmds=".dll"
15489    need_lib_prefix=no    need_lib_prefix=no
15490    library_names_spec='$libname${shared_ext} $libname.a'    library_names_spec='$libname${shared_ext} $libname.a'
15491    dynamic_linker='OS/2 ld.exe'    dynamic_linker='OS/2 ld.exe'
# Line 15200  echo "$as_me:$LINENO: checking how to ha Line 15587  echo "$as_me:$LINENO: checking how to ha
15587  echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6  echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15588  hardcode_action_F77=  hardcode_action_F77=
15589  if test -n "$hardcode_libdir_flag_spec_F77" || \  if test -n "$hardcode_libdir_flag_spec_F77" || \
15590     test -n "$runpath_var F77" || \     test -n "$runpath_var_F77" || \
15591     test "X$hardcode_automatic_F77"="Xyes" ; then     test "X$hardcode_automatic_F77" = "Xyes" ; then
15592    
15593    # We can hardcode non-existant directories.    # We can hardcode non-existant directories.
15594    if test "$hardcode_direct_F77" != no &&    if test "$hardcode_direct_F77" != no &&
# Line 15277  if test -f "$ltmain"; then Line 15664  if test -f "$ltmain"; then
15664    # Now quote all the things that may contain metacharacters while being    # Now quote all the things that may contain metacharacters while being
15665    # careful not to overquote the AC_SUBSTed values.  We take copies of the    # careful not to overquote the AC_SUBSTed values.  We take copies of the
15666    # variables and quote the copies for generation of the libtool script.    # variables and quote the copies for generation of the libtool script.
15667    for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM \    for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15668      SED SHELL STRIP \      SED SHELL STRIP \
15669      libname_spec library_names_spec soname_spec extract_expsyms_cmds \      libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15670      old_striplib striplib file_magic_cmd finish_cmds finish_eval \      old_striplib striplib file_magic_cmd finish_cmds finish_eval \
# Line 15378  fast_install=$enable_fast_install Line 15765  fast_install=$enable_fast_install
15765  # The host system.  # The host system.
15766  host_alias=$host_alias  host_alias=$host_alias
15767  host=$host  host=$host
15768    host_os=$host_os
15769    
15770    # The build system.
15771    build_alias=$build_alias
15772    build=$build
15773    build_os=$build_os
15774    
15775  # An echo program that does not interpret backslashes.  # An echo program that does not interpret backslashes.
15776  echo=$lt_echo  echo=$lt_echo
# Line 15420  DLLTOOL="$DLLTOOL" Line 15813  DLLTOOL="$DLLTOOL"
15813  OBJDUMP="$OBJDUMP"  OBJDUMP="$OBJDUMP"
15814    
15815  # Used on cygwin: assembler.  # Used on cygwin: assembler.
15816  AS=$lt_AS  AS="$AS"
15817    
15818  # The name of the directory that contains temporary libtool files.  # The name of the directory that contains temporary libtool files.
15819  objdir=$objdir  objdir=$objdir
# Line 15439  objext="$ac_objext" Line 15832  objext="$ac_objext"
15832  libext="$libext"  libext="$libext"
15833    
15834  # Shared library suffix (normally ".so").  # Shared library suffix (normally ".so").
15835  shrext='$shrext'  shrext_cmds='$shrext_cmds'
15836    
15837  # Executable file suffix (normally "").  # Executable file suffix (normally "").
15838  exeext="$exeext"  exeext="$exeext"
# Line 15454  max_cmd_len=$lt_cv_sys_max_cmd_len Line 15847  max_cmd_len=$lt_cv_sys_max_cmd_len
15847  # Does compiler simultaneously support -c and -o options?  # Does compiler simultaneously support -c and -o options?
15848  compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77  compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15849    
15850  # Must we lock files when doing compilation ?  # Must we lock files when doing compilation?
15851  need_locks=$lt_need_locks  need_locks=$lt_need_locks
15852    
15853  # Do we need the lib prefix for modules?  # Do we need the lib prefix for modules?
# Line 15692  objext_GCJ=$objext Line 16085  objext_GCJ=$objext
16085  lt_simple_compile_test_code="class foo {}\n"  lt_simple_compile_test_code="class foo {}\n"
16086    
16087  # Code to be used in simple link tests  # Code to be used in simple link tests
16088  lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'  lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16089    
16090  # ltmain only uses $CC for tagged configurations so make sure $CC is set.  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16091    
# Line 15703  LTCC=${LTCC-"$CC"} Line 16096  LTCC=${LTCC-"$CC"}
16096  compiler=$CC  compiler=$CC
16097    
16098    
16099    # save warnings/boilerplate of simple test code
16100    ac_outfile=conftest.$ac_objext
16101    printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16102    eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
16103    _lt_compiler_boilerplate=`cat conftest.err`
16104    $rm conftest*
16105    
16106    ac_outfile=conftest.$ac_objext
16107    printf "$lt_simple_link_test_code" >conftest.$ac_ext
16108    eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
16109    _lt_linker_boilerplate=`cat conftest.err`
16110    $rm conftest*
16111    
16112    
16113  # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
16114  lt_save_CC="$CC"  lt_save_CC="$CC"
16115  CC=${GCJ-"gcj"}  CC=${GCJ-"gcj"}
16116  compiler=$CC  compiler=$CC
16117  compiler_GCJ=$CC  compiler_GCJ=$CC
16118    for cc_temp in $compiler""; do
16119      case $cc_temp in
16120        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16121        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16122        \-*) ;;
16123        *) break;;
16124      esac
16125    done
16126    cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16127    
16128    
16129  # GCJ did not exist at the time GCC didn't implicitly link libc in.  # GCJ did not exist at the time GCC didn't implicitly link libc in.
16130  archive_cmds_need_lc_GCJ=no  archive_cmds_need_lc_GCJ=no
16131    
16132    old_archive_cmds_GCJ=$old_archive_cmds
16133    
16134    
16135  lt_prog_compiler_no_builtin_flag_GCJ=  lt_prog_compiler_no_builtin_flag_GCJ=
16136    
# Line 15737  else Line 16156  else
16156     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16157     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16158     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
16159     (eval echo "\"\$as_me:15740: $lt_compile\"" >&5)     (eval echo "\"\$as_me:16159: $lt_compile\"" >&5)
16160     (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
16161     ac_status=$?     ac_status=$?
16162     cat conftest.err >&5     cat conftest.err >&5
16163     echo "$as_me:15744: \$? = $ac_status" >&5     echo "$as_me:16163: \$? = $ac_status" >&5
16164     if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
16165       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
16166       # So say no if there are warnings       # So say no if there are warnings other than the usual output.
16167       if test ! -s conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
16168         $SED '/^$/d' conftest.err >conftest.er2
16169         if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
16170         lt_cv_prog_compiler_rtti_exceptions=yes         lt_cv_prog_compiler_rtti_exceptions=yes
16171       fi       fi
16172     fi     fi
# Line 15848  echo $ECHO_N "checking for $compiler opt Line 16269  echo $ECHO_N "checking for $compiler opt
16269          lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'          lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16270        fi        fi
16271        ;;        ;;
16272          darwin*)
16273            # PIC is the default on this platform
16274            # Common symbols not allowed in MH_DYLIB files
16275           case $cc_basename in
16276             xlc*)
16277             lt_prog_compiler_pic_GCJ='-qnocommon'
16278             lt_prog_compiler_wl_GCJ='-Wl,'
16279             ;;
16280           esac
16281           ;;
16282    
16283      mingw* | pw32* | os2*)      mingw* | pw32* | os2*)
16284        # This hack is so that the source file can tell whether it is being        # This hack is so that the source file can tell whether it is being
# Line 15883  echo $ECHO_N "checking for $compiler opt Line 16314  echo $ECHO_N "checking for $compiler opt
16314        ;;        ;;
16315    
16316      linux*)      linux*)
16317        case $CC in        case $cc_basename in
16318        icc* | ecc*)        icc* | ecc*)
16319          lt_prog_compiler_wl_GCJ='-Wl,'          lt_prog_compiler_wl_GCJ='-Wl,'
16320          lt_prog_compiler_pic_GCJ='-KPIC'          lt_prog_compiler_pic_GCJ='-KPIC'
16321          lt_prog_compiler_static_GCJ='-static'          lt_prog_compiler_static_GCJ='-static'
16322          ;;          ;;
16323          pgcc* | pgf77* | pgf90*)
16324            # Portland Group compilers (*not* the Pentium gcc compiler,
16325            # which looks to be a dead project)
16326            lt_prog_compiler_wl_GCJ='-Wl,'
16327            lt_prog_compiler_pic_GCJ='-fpic'
16328            lt_prog_compiler_static_GCJ='-static'
16329            ;;
16330        ccc*)        ccc*)
16331          lt_prog_compiler_wl_GCJ='-Wl,'          lt_prog_compiler_wl_GCJ='-Wl,'
16332          # All Alpha code is PIC.          # All Alpha code is PIC.
# Line 15909  echo $ECHO_N "checking for $compiler opt Line 16347  echo $ECHO_N "checking for $compiler opt
16347        ;;        ;;
16348    
16349      solaris*)      solaris*)
       lt_prog_compiler_wl_GCJ='-Wl,'  
16350        lt_prog_compiler_pic_GCJ='-KPIC'        lt_prog_compiler_pic_GCJ='-KPIC'
16351        lt_prog_compiler_static_GCJ='-Bstatic'        lt_prog_compiler_static_GCJ='-Bstatic'
16352          case $cc_basename in
16353          f77* | f90* | f95*)
16354            lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16355          *)
16356            lt_prog_compiler_wl_GCJ='-Wl,';;
16357          esac
16358        ;;        ;;
16359    
16360      sunos4*)      sunos4*)
# Line 15933  echo $ECHO_N "checking for $compiler opt Line 16376  echo $ECHO_N "checking for $compiler opt
16376        fi        fi
16377        ;;        ;;
16378    
16379        unicos*)
16380          lt_prog_compiler_wl_GCJ='-Wl,'
16381          lt_prog_compiler_can_build_shared_GCJ=no
16382          ;;
16383    
16384      uts4*)      uts4*)
16385        lt_prog_compiler_pic_GCJ='-pic'        lt_prog_compiler_pic_GCJ='-pic'
16386        lt_prog_compiler_static_GCJ='-Bstatic'        lt_prog_compiler_static_GCJ='-Bstatic'
# Line 15970  else Line 16418  else
16418     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16419     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16420     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
16421     (eval echo "\"\$as_me:15973: $lt_compile\"" >&5)     (eval echo "\"\$as_me:16421: $lt_compile\"" >&5)
16422     (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
16423     ac_status=$?     ac_status=$?
16424     cat conftest.err >&5     cat conftest.err >&5
16425     echo "$as_me:15977: \$? = $ac_status" >&5     echo "$as_me:16425: \$? = $ac_status" >&5
16426     if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
16427       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
16428       # So say no if there are warnings       # So say no if there are warnings other than the usual output.
16429       if test ! -s conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
16430         $SED '/^$/d' conftest.err >conftest.er2
16431         if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
16432         lt_prog_compiler_pic_works_GCJ=yes         lt_prog_compiler_pic_works_GCJ=yes
16433       fi       fi
16434     fi     fi
# Line 16030  else Line 16480  else
16480     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16481     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16482     -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
16483     (eval echo "\"\$as_me:16033: $lt_compile\"" >&5)     (eval echo "\"\$as_me:16483: $lt_compile\"" >&5)
16484     (eval "$lt_compile" 2>out/conftest.err)     (eval "$lt_compile" 2>out/conftest.err)
16485     ac_status=$?     ac_status=$?
16486     cat out/conftest.err >&5     cat out/conftest.err >&5
16487     echo "$as_me:16037: \$? = $ac_status" >&5     echo "$as_me:16487: \$? = $ac_status" >&5
16488     if (exit $ac_status) && test -s out/conftest2.$ac_objext     if (exit $ac_status) && test -s out/conftest2.$ac_objext
16489     then     then
16490       # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
16491       # So say no if there are warnings       # So say no if there are warnings
16492       if test ! -s out/conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
16493         $SED '/^$/d' out/conftest.err >out/conftest.er2
16494         if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16495         lt_cv_prog_compiler_c_o_GCJ=yes         lt_cv_prog_compiler_c_o_GCJ=yes
16496       fi       fi
16497     fi     fi
# Line 16119  echo $ECHO_N "checking whether the $comp Line 16571  echo $ECHO_N "checking whether the $comp
16571    # rely on this symbol name, it's probably fine to never include it in    # rely on this symbol name, it's probably fine to never include it in
16572    # preloaded symbol tables.    # preloaded symbol tables.
16573    extract_expsyms_cmds=    extract_expsyms_cmds=
16574      # Just being paranoid about ensuring that cc_basename is set.
16575      for cc_temp in $compiler""; do
16576      case $cc_temp in
16577        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16578        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16579        \-*) ;;
16580        *) break;;
16581      esac
16582    done
16583    cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16584    
16585    case $host_os in    case $host_os in
16586    cygwin* | mingw* | pw32*)    cygwin* | mingw* | pw32*)
# Line 16139  echo $ECHO_N "checking whether the $comp Line 16601  echo $ECHO_N "checking whether the $comp
16601      # If archive_cmds runs LD, not CC, wlarc should be empty      # If archive_cmds runs LD, not CC, wlarc should be empty
16602      wlarc='${wl}'      wlarc='${wl}'
16603    
16604        # Set some defaults for GNU ld with shared library support. These
16605        # are reset later if shared libraries are not supported. Putting them
16606        # here allows them to be overridden if necessary.
16607        runpath_var=LD_RUN_PATH
16608        hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16609        export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16610        # ancient GNU ld didn't support --whole-archive et. al.
16611        if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16612            whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16613          else
16614            whole_archive_flag_spec_GCJ=
16615        fi
16616        supports_anon_versioning=no
16617        case `$LD -v 2>/dev/null` in
16618          *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16619          *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16620          *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16621          *\ 2.11.*) ;; # other 2.11 versions
16622          *) supports_anon_versioning=yes ;;
16623        esac
16624    
16625      # See if GNU ld supports shared libraries.      # See if GNU ld supports shared libraries.
16626      case $host_os in      case $host_os in
16627      aix3* | aix4* | aix5*)      aix3* | aix4* | aix5*)
# Line 16189  EOF Line 16672  EOF
16672        allow_undefined_flag_GCJ=unsupported        allow_undefined_flag_GCJ=unsupported
16673        always_export_symbols_GCJ=no        always_export_symbols_GCJ=no
16674        enable_shared_with_static_runtimes_GCJ=yes        enable_shared_with_static_runtimes_GCJ=yes
16675        export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'        export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16676    
16677        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16678          archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'          archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
# Line 16203  EOF Line 16686  EOF
16686          fi~          fi~
16687          $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'          $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
16688        else        else
16689          ld_shlibs=no          ld_shlibs_GCJ=no
16690          fi
16691          ;;
16692    
16693        linux*)
16694          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16695            tmp_addflag=
16696            case $cc_basename,$host_cpu in
16697            pgcc*)                          # Portland Group C compiler
16698              whole_archive_flag_spec_GCJ='${wl}--whole-archive,`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16699              tmp_addflag=' $pic_flag'
16700              ;;
16701            pgf77* | pgf90* )                       # Portland Group f77 and f90 compilers
16702              whole_archive_flag_spec_GCJ='${wl}--whole-archive,`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16703              tmp_addflag=' $pic_flag -Mnomain' ;;
16704            ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
16705              tmp_addflag=' -i_dynamic' ;;
16706            efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
16707              tmp_addflag=' -i_dynamic -nofor_main' ;;
16708            ifc* | ifort*)                  # Intel Fortran compiler
16709              tmp_addflag=' -nofor_main' ;;
16710            esac
16711            archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16712    
16713            if test $supports_anon_versioning = yes; then
16714              archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16715      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16716      $echo "local: *; };" >> $output_objdir/$libname.ver~
16717              $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16718            fi
16719          else
16720            ld_shlibs_GCJ=no
16721        fi        fi
16722        ;;        ;;
16723    
# Line 16245  EOF Line 16759  EOF
16759        hardcode_shlibpath_var_GCJ=no        hardcode_shlibpath_var_GCJ=no
16760        ;;        ;;
16761    
   linux*)  
     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then  
         tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'  
         archive_cmds_GCJ="$tmp_archive_cmds"  
       supports_anon_versioning=no  
       case `$LD -v 2>/dev/null` in  
         *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11  
         *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...  
         *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...  
         *\ 2.11.*) ;; # other 2.11 versions  
         *) supports_anon_versioning=yes ;;  
       esac  
       if test $supports_anon_versioning = yes; then  
         archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~  
 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~  
 $echo "local: *; };" >> $output_objdir/$libname.ver~  
         $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'  
       else  
         archive_expsym_cmds_GCJ="$tmp_archive_cmds"  
       fi  
     else  
       ld_shlibs_GCJ=no  
     fi  
     ;;  
   
16762      *)      *)
16763        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16764          archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'          archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
# Line 16280  $echo "local: *; };" >> $output_objdir/$ Line 16769  $echo "local: *; };" >> $output_objdir/$
16769        ;;        ;;
16770      esac      esac
16771    
16772      if test "$ld_shlibs_GCJ" = yes; then      if test "$ld_shlibs_GCJ" = no; then
16773        runpath_var=LD_RUN_PATH        runpath_var=
16774        hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'        hardcode_libdir_flag_spec_GCJ=
16775        export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'        export_dynamic_flag_spec_GCJ=
16776        # ancient GNU ld didn't support --whole-archive et. al.        whole_archive_flag_spec_GCJ=
       if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then  
         whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'  
       else  
         whole_archive_flag_spec_GCJ=  
       fi  
16777      fi      fi
16778    else    else
16779      # PORTME fill in a description of your system's linker (not GNU ld)      # PORTME fill in a description of your system's linker (not GNU ld)
# Line 16353  $echo "local: *; };" >> $output_objdir/$ Line 16837  $echo "local: *; };" >> $output_objdir/$
16837        link_all_deplibs_GCJ=yes        link_all_deplibs_GCJ=yes
16838    
16839        if test "$GCC" = yes; then        if test "$GCC" = yes; then
16840          case $host_os in aix4.012|aix4.012.*)          case $host_os in aix4.[012]|aix4.[012].*)
16841          # We only want to do this on AIX 4.2 and lower, the check          # We only want to do this on AIX 4.2 and lower, the check
16842          # below for broken collect2 doesn't work under 4.3+          # below for broken collect2 doesn't work under 4.3+
16843            collect2name=`${CC} -print-prog-name=collect2`            collect2name=`${CC} -print-prog-name=collect2`
# Line 16374  $echo "local: *; };" >> $output_objdir/$ Line 16858  $echo "local: *; };" >> $output_objdir/$
16858            fi            fi
16859          esac          esac
16860          shared_flag='-shared'          shared_flag='-shared'
16861            if test "$aix_use_runtimelinking" = yes; then
16862              shared_flag="$shared_flag "'${wl}-G'
16863            fi
16864        else        else
16865          # not using gcc          # not using gcc
16866          if test "$host_cpu" = ia64; then          if test "$host_cpu" = ia64; then
# Line 16534  if test -z "$aix_libpath"; then aix_libp Line 17021  if test -z "$aix_libpath"; then aix_libp
17021        ld_shlibs_GCJ=no        ld_shlibs_GCJ=no
17022        ;;        ;;
17023    
17024      bsdi4*)      bsdi[45]*)
17025        export_dynamic_flag_spec_GCJ=-rdynamic        export_dynamic_flag_spec_GCJ=-rdynamic
17026        ;;        ;;
17027    
# Line 16548  if test -z "$aix_libpath"; then aix_libp Line 17035  if test -z "$aix_libpath"; then aix_libp
17035        # Tell ltmain to make .lib files, not .a files.        # Tell ltmain to make .lib files, not .a files.
17036        libext=lib        libext=lib
17037        # Tell ltmain to make .dll files, not .so files.        # Tell ltmain to make .dll files, not .so files.
17038        shrext=".dll"        shrext_cmds=".dll"
17039        # FIXME: Setting linknames here is a bad hack.        # FIXME: Setting linknames here is a bad hack.
17040        archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='        archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17041        # The linker will automatically build a .lib file if we build a DLL.        # The linker will automatically build a .lib file if we build a DLL.
17042        old_archive_From_new_cmds_GCJ='true'        old_archive_From_new_cmds_GCJ='true'
17043        # FIXME: Should let the user specify the lib program.        # FIXME: Should let the user specify the lib program.
17044        old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'        old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
17045        fix_srcfile_path='`cygpath -w "$srcfile"`'        fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17046        enable_shared_with_static_runtimes_GCJ=yes        enable_shared_with_static_runtimes_GCJ=yes
17047        ;;        ;;
17048    
17049      darwin* | rhapsody*)      darwin* | rhapsody*)
     if test "$GXX" = yes ; then  
       archive_cmds_need_lc_GCJ=no  
17050        case "$host_os" in        case "$host_os" in
17051        rhapsody* | darwin1.[012])          rhapsody* | darwin1.[012])
17052          allow_undefined_flag_GCJ='-undefined suppress'           allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17053          ;;           ;;
17054        *) # Darwin 1.3 on         *) # Darwin 1.3 on
17055        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then           if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17056          allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'             allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17057        else           else
17058          case ${MACOSX_DEPLOYMENT_TARGET} in             case ${MACOSX_DEPLOYMENT_TARGET} in
17059            10.[012])               10.[012])
17060              allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'                 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17061              ;;                 ;;
17062            10.*)               10.*)
17063              allow_undefined_flag_GCJ='-undefined dynamic_lookup'                 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17064              ;;                 ;;
17065          esac             esac
17066        fi           fi
17067          ;;           ;;
17068        esac        esac
17069          lt_int_apple_cc_single_mod=no        archive_cmds_need_lc_GCJ=no
         output_verbose_link_cmd='echo'  
         if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then  
           lt_int_apple_cc_single_mod=yes  
         fi  
         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then  
           archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'  
         else  
         archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'  
       fi  
       module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'  
       # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's  
         if test "X$lt_int_apple_cc_single_mod" = Xyes ; then  
           archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
         else  
           archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
         fi  
           module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'  
17070        hardcode_direct_GCJ=no        hardcode_direct_GCJ=no
17071        hardcode_automatic_GCJ=yes        hardcode_automatic_GCJ=yes
17072        hardcode_shlibpath_var_GCJ=unsupported        hardcode_shlibpath_var_GCJ=unsupported
17073        whole_archive_flag_spec_GCJ='-all_load $convenience'        whole_archive_flag_spec_GCJ=''
17074        link_all_deplibs_GCJ=yes        link_all_deplibs_GCJ=yes
17075        if test "$GCC" = yes ; then
17076            output_verbose_link_cmd='echo'
17077            archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17078          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17079          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17080          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17081          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17082      else      else
17083        ld_shlibs_GCJ=no        case $cc_basename in
17084            xlc*)
17085             output_verbose_link_cmd='echo'
17086             archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17087             module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17088              # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17089             archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17090              module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17091              ;;
17092           *)
17093             ld_shlibs_GCJ=no
17094              ;;
17095          esac
17096      fi      fi
17097        ;;        ;;
17098    
# Line 16639  if test -z "$aix_libpath"; then aix_libp Line 17126  if test -z "$aix_libpath"; then aix_libp
17126        ;;        ;;
17127    
17128      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17129      freebsd* | kfreebsd*-gnu)      freebsd* | kfreebsd*-gnu | dragonfly*)
17130        archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'        archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17131        hardcode_libdir_flag_spec_GCJ='-R$libdir'        hardcode_libdir_flag_spec_GCJ='-R$libdir'
17132        hardcode_direct_GCJ=yes        hardcode_direct_GCJ=yes
# Line 16750  if test -z "$aix_libpath"; then aix_libp Line 17237  if test -z "$aix_libpath"; then aix_libp
17237        hardcode_shlibpath_var_GCJ=no        hardcode_shlibpath_var_GCJ=no
17238        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17239          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17240            archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17241          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17242          export_dynamic_flag_spec_GCJ='${wl}-E'          export_dynamic_flag_spec_GCJ='${wl}-E'
17243        else        else
# Line 16795  if test -z "$aix_libpath"; then aix_libp Line 17283  if test -z "$aix_libpath"; then aix_libp
17283          allow_undefined_flag_GCJ=' -expect_unresolved \*'          allow_undefined_flag_GCJ=' -expect_unresolved \*'
17284          archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'          archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17285          archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~          archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17286          $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'          $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17287    
17288          # Both c and cxx compiler support -rpath directly          # Both c and cxx compiler support -rpath directly
17289          hardcode_libdir_flag_spec_GCJ='-rpath $libdir'          hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
# Line 16814  if test -z "$aix_libpath"; then aix_libp Line 17302  if test -z "$aix_libpath"; then aix_libp
17302      solaris*)      solaris*)
17303        no_undefined_flag_GCJ=' -z text'        no_undefined_flag_GCJ=' -z text'
17304        if test "$GCC" = yes; then        if test "$GCC" = yes; then
17305            wlarc='${wl}'
17306          archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'          archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17307          archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~          archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17308            $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'            $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17309        else        else
17310            wlarc=''
17311          archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'          archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17312          archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~          archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17313          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
# Line 16826  if test -z "$aix_libpath"; then aix_libp Line 17316  if test -z "$aix_libpath"; then aix_libp
17316        hardcode_shlibpath_var_GCJ=no        hardcode_shlibpath_var_GCJ=no
17317        case $host_os in        case $host_os in
17318        solaris2.[0-5] | solaris2.[0-5].*) ;;        solaris2.[0-5] | solaris2.[0-5].*) ;;
17319        *) # Supported since Solaris 2.6 (maybe 2.5.1?)        *)
17320          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;          # The compiler driver will combine linker options so we
17321            # cannot just pass the convience library names through
17322            # without $wl, iff we do not link with $LD.
17323            # Luckily, gcc supports the same syntax we need for Sun Studio.
17324            # Supported since Solaris 2.6 (maybe 2.5.1?)
17325            case $wlarc in
17326            '')
17327              whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17328            *)
17329              whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17330            esac ;;
17331        esac        esac
17332        link_all_deplibs_GCJ=yes        link_all_deplibs_GCJ=yes
17333        ;;        ;;
# Line 17004  echo $ECHO_N "checking dynamic linker ch Line 17504  echo $ECHO_N "checking dynamic linker ch
17504  library_names_spec=  library_names_spec=
17505  libname_spec='lib$name'  libname_spec='lib$name'
17506  soname_spec=  soname_spec=
17507  shrext=".so"  shrext_cmds=".so"
17508  postinstall_cmds=  postinstall_cmds=
17509  postuninstall_cmds=  postuninstall_cmds=
17510  finish_cmds=  finish_cmds=
# Line 17101  beos*) Line 17601  beos*)
17601    shlibpath_var=LIBRARY_PATH    shlibpath_var=LIBRARY_PATH
17602    ;;    ;;
17603    
17604  bsdi4*)  bsdi[45]*)
17605    version_type=linux    version_type=linux
17606    need_version=no    need_version=no
17607    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
# Line 17117  bsdi4*) Line 17617  bsdi4*)
17617    
17618  cygwin* | mingw* | pw32*)  cygwin* | mingw* | pw32*)
17619    version_type=windows    version_type=windows
17620    shrext=".dll"    shrext_cmds=".dll"
17621    need_version=no    need_version=no
17622    need_lib_prefix=no    need_lib_prefix=no
17623    
# Line 17159  cygwin* | mingw* | pw32*) Line 17659  cygwin* | mingw* | pw32*)
17659        ;;        ;;
17660      pw32*)      pw32*)
17661        # pw32 DLLs use 'pw' prefix rather than 'lib'        # pw32 DLLs use 'pw' prefix rather than 'lib'
17662        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17663        ;;        ;;
17664      esac      esac
17665      ;;      ;;
# Line 17182  darwin* | rhapsody*) Line 17682  darwin* | rhapsody*)
17682    soname_spec='${libname}${release}${major}$shared_ext'    soname_spec='${libname}${release}${major}$shared_ext'
17683    shlibpath_overrides_runpath=yes    shlibpath_overrides_runpath=yes
17684    shlibpath_var=DYLD_LIBRARY_PATH    shlibpath_var=DYLD_LIBRARY_PATH
17685    shrext='$(test .$module = .yes && echo .so || echo .dylib)'    shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
17686    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.    # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17687    if test "$GCC" = yes; then    if test "$GCC" = yes; then
17688      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"`      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"`
# Line 17217  kfreebsd*-gnu) Line 17717  kfreebsd*-gnu)
17717    dynamic_linker='GNU ld.so'    dynamic_linker='GNU ld.so'
17718    ;;    ;;
17719    
17720  freebsd*)  freebsd* | dragonfly*)
17721      # DragonFly does not have aout.  When/if they implement a new
17722      # versioning mechanism, adjust this.
17723    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`    objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17724    version_type=freebsd-$objformat    version_type=freebsd-$objformat
17725    case $version_type in    case $version_type in
# Line 17236  freebsd*) Line 17738  freebsd*)
17738    freebsd2*)    freebsd2*)
17739      shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
17740      ;;      ;;
17741    freebsd3.01* | freebsdelf3.01*)    freebsd3.[01]* | freebsdelf3.[01]*)
17742      shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
17743      hardcode_into_libs=yes      hardcode_into_libs=yes
17744      ;;      ;;
# Line 17265  hpux9* | hpux10* | hpux11*) Line 17767  hpux9* | hpux10* | hpux11*)
17767    need_version=no    need_version=no
17768    case "$host_cpu" in    case "$host_cpu" in
17769    ia64*)    ia64*)
17770      shrext='.so'      shrext_cmds='.so'
17771      hardcode_into_libs=yes      hardcode_into_libs=yes
17772      dynamic_linker="$host_os dld.so"      dynamic_linker="$host_os dld.so"
17773      shlibpath_var=LD_LIBRARY_PATH      shlibpath_var=LD_LIBRARY_PATH
# Line 17280  hpux9* | hpux10* | hpux11*) Line 17782  hpux9* | hpux10* | hpux11*)
17782      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17783      ;;      ;;
17784     hppa*64*)     hppa*64*)
17785       shrext='.sl'       shrext_cmds='.sl'
17786       hardcode_into_libs=yes       hardcode_into_libs=yes
17787       dynamic_linker="$host_os dld.sl"       dynamic_linker="$host_os dld.sl"
17788       shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH       shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
# Line 17291  hpux9* | hpux10* | hpux11*) Line 17793  hpux9* | hpux10* | hpux11*)
17793       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17794       ;;       ;;
17795     *)     *)
17796      shrext='.sl'      shrext_cmds='.sl'
17797      dynamic_linker="$host_os dld.sl"      dynamic_linker="$host_os dld.sl"
17798      shlibpath_var=SHLIB_PATH      shlibpath_var=SHLIB_PATH
17799      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
# Line 17360  linux*) Line 17862  linux*)
17862    # before this can be enabled.    # before this can be enabled.
17863    hardcode_into_libs=yes    hardcode_into_libs=yes
17864    
17865      # find out which ABI we are using
17866      libsuff=
17867      case "$host_cpu" in
17868      x86_64*|s390x*|powerpc64*)
17869        echo '#line 17869 "configure"' > conftest.$ac_ext
17870        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17871      (eval $ac_compile) 2>&5
17872      ac_status=$?
17873      echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874      (exit $ac_status); }; then
17875          case `/usr/bin/file conftest.$ac_objext` in
17876          *64-bit*)
17877            libsuff=64
17878            sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17879            ;;
17880          esac
17881        fi
17882        rm -rf conftest*
17883        ;;
17884      esac
17885    
17886    # Append ld.so.conf contents to the search path    # Append ld.so.conf contents to the search path
17887    if test -f /etc/ld.so.conf; then    if test -f /etc/ld.so.conf; then
17888      ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf`      lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17889      sys_lib_dlsearch_path_spec="/lib /usr/lib $ld_extra"      sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17890    fi    fi
17891    
17892    # We used to test for /lib/ld.so.1 and disable shared libraries on    # We used to test for /lib/ld.so.1 and disable shared libraries on
# Line 17425  nto-qnx*) Line 17948  nto-qnx*)
17948  openbsd*)  openbsd*)
17949    version_type=sunos    version_type=sunos
17950    need_lib_prefix=no    need_lib_prefix=no
17951    need_version=yes    # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17952      case $host_os in
17953        openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17954        *)                         need_version=no  ;;
17955      esac
17956    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17957    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17958    shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
# Line 17445  openbsd*) Line 17972  openbsd*)
17972    
17973  os2*)  os2*)
17974    libname_spec='$name'    libname_spec='$name'
17975    shrext=".dll"    shrext_cmds=".dll"
17976    need_lib_prefix=no    need_lib_prefix=no
17977    library_names_spec='$libname${shared_ext} $libname.a'    library_names_spec='$libname${shared_ext} $libname.a'
17978    dynamic_linker='OS/2 ld.exe'    dynamic_linker='OS/2 ld.exe'
# Line 17547  echo "$as_me:$LINENO: checking how to ha Line 18074  echo "$as_me:$LINENO: checking how to ha
18074  echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6  echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18075  hardcode_action_GCJ=  hardcode_action_GCJ=
18076  if test -n "$hardcode_libdir_flag_spec_GCJ" || \  if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18077     test -n "$runpath_var GCJ" || \     test -n "$runpath_var_GCJ" || \
18078     test "X$hardcode_automatic_GCJ"="Xyes" ; then     test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18079    
18080    # We can hardcode non-existant directories.    # We can hardcode non-existant directories.
18081    if test "$hardcode_direct_GCJ" != no &&    if test "$hardcode_direct_GCJ" != no &&
# Line 18214  else Line 18741  else
18741    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18742    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
18743    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
18744  #line 18217 "configure"  #line 18744 "configure"
18745  #include "confdefs.h"  #include "confdefs.h"
18746    
18747  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 18312  else Line 18839  else
18839    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18840    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
18841    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
18842  #line 18315 "configure"  #line 18842 "configure"
18843  #include "confdefs.h"  #include "confdefs.h"
18844    
18845  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 18429  if test -f "$ltmain"; then Line 18956  if test -f "$ltmain"; then
18956    # Now quote all the things that may contain metacharacters while being    # Now quote all the things that may contain metacharacters while being
18957    # careful not to overquote the AC_SUBSTed values.  We take copies of the    # careful not to overquote the AC_SUBSTed values.  We take copies of the
18958    # variables and quote the copies for generation of the libtool script.    # variables and quote the copies for generation of the libtool script.
18959    for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM \    for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18960      SED SHELL STRIP \      SED SHELL STRIP \
18961      libname_spec library_names_spec soname_spec extract_expsyms_cmds \      libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18962      old_striplib striplib file_magic_cmd finish_cmds finish_eval \      old_striplib striplib file_magic_cmd finish_cmds finish_eval \
# Line 18530  fast_install=$enable_fast_install Line 19057  fast_install=$enable_fast_install
19057  # The host system.  # The host system.
19058  host_alias=$host_alias  host_alias=$host_alias
19059  host=$host  host=$host
19060    host_os=$host_os
19061    
19062    # The build system.
19063    build_alias=$build_alias
19064    build=$build
19065    build_os=$build_os
19066    
19067  # An echo program that does not interpret backslashes.  # An echo program that does not interpret backslashes.
19068  echo=$lt_echo  echo=$lt_echo
# Line 18572  DLLTOOL="$DLLTOOL" Line 19105  DLLTOOL="$DLLTOOL"
19105  OBJDUMP="$OBJDUMP"  OBJDUMP="$OBJDUMP"
19106    
19107  # Used on cygwin: assembler.  # Used on cygwin: assembler.
19108  AS=$lt_AS  AS="$AS"
19109    
19110  # The name of the directory that contains temporary libtool files.  # The name of the directory that contains temporary libtool files.
19111  objdir=$objdir  objdir=$objdir
# Line 18591  objext="$ac_objext" Line 19124  objext="$ac_objext"
19124  libext="$libext"  libext="$libext"
19125    
19126  # Shared library suffix (normally ".so").  # Shared library suffix (normally ".so").
19127  shrext='$shrext'  shrext_cmds='$shrext_cmds'
19128    
19129  # Executable file suffix (normally "").  # Executable file suffix (normally "").
19130  exeext="$exeext"  exeext="$exeext"
# Line 18606  max_cmd_len=$lt_cv_sys_max_cmd_len Line 19139  max_cmd_len=$lt_cv_sys_max_cmd_len
19139  # Does compiler simultaneously support -c and -o options?  # Does compiler simultaneously support -c and -o options?
19140  compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ  compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19141    
19142  # Must we lock files when doing compilation ?  # Must we lock files when doing compilation?
19143  need_locks=$lt_need_locks  need_locks=$lt_need_locks
19144    
19145  # Do we need the lib prefix for modules?  # Do we need the lib prefix for modules?
# Line 18854  LTCC=${LTCC-"$CC"} Line 19387  LTCC=${LTCC-"$CC"}
19387  compiler=$CC  compiler=$CC
19388    
19389    
19390    # save warnings/boilerplate of simple test code
19391    ac_outfile=conftest.$ac_objext
19392    printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19393    eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
19394    _lt_compiler_boilerplate=`cat conftest.err`
19395    $rm conftest*
19396    
19397    ac_outfile=conftest.$ac_objext
19398    printf "$lt_simple_link_test_code" >conftest.$ac_ext
19399    eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
19400    _lt_linker_boilerplate=`cat conftest.err`
19401    $rm conftest*
19402    
19403    
19404  # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
19405  lt_save_CC="$CC"  lt_save_CC="$CC"
19406  CC=${RC-"windres"}  CC=${RC-"windres"}
19407  compiler=$CC  compiler=$CC
19408  compiler_RC=$CC  compiler_RC=$CC
19409    for cc_temp in $compiler""; do
19410      case $cc_temp in
19411        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19412        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19413        \-*) ;;
19414        *) break;;
19415      esac
19416    done
19417    cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19418    
19419  lt_cv_prog_compiler_c_o_RC=yes  lt_cv_prog_compiler_c_o_RC=yes
19420    
19421  # The else clause should only fire when bootstrapping the  # The else clause should only fire when bootstrapping the
# Line 18874  if test -f "$ltmain"; then Line 19431  if test -f "$ltmain"; then
19431    # Now quote all the things that may contain metacharacters while being    # Now quote all the things that may contain metacharacters while being
19432    # careful not to overquote the AC_SUBSTed values.  We take copies of the    # careful not to overquote the AC_SUBSTed values.  We take copies of the
19433    # variables and quote the copies for generation of the libtool script.    # variables and quote the copies for generation of the libtool script.
19434    for var in echo old_CC old_CFLAGS AR AR_FLAGS AS EGREP RANLIB LN_S LTCC NM \    for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19435      SED SHELL STRIP \      SED SHELL STRIP \
19436      libname_spec library_names_spec soname_spec extract_expsyms_cmds \      libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19437      old_striplib striplib file_magic_cmd finish_cmds finish_eval \      old_striplib striplib file_magic_cmd finish_cmds finish_eval \
# Line 18975  fast_install=$enable_fast_install Line 19532  fast_install=$enable_fast_install
19532  # The host system.  # The host system.
19533  host_alias=$host_alias  host_alias=$host_alias
19534  host=$host  host=$host
19535    host_os=$host_os
19536    
19537    # The build system.
19538    build_alias=$build_alias
19539    build=$build
19540    build_os=$build_os
19541    
19542  # An echo program that does not interpret backslashes.  # An echo program that does not interpret backslashes.
19543  echo=$lt_echo  echo=$lt_echo
# Line 19017  DLLTOOL="$DLLTOOL" Line 19580  DLLTOOL="$DLLTOOL"
19580  OBJDUMP="$OBJDUMP"  OBJDUMP="$OBJDUMP"
19581    
19582  # Used on cygwin: assembler.  # Used on cygwin: assembler.
19583  AS=$lt_AS  AS="$AS"
19584    
19585  # The name of the directory that contains temporary libtool files.  # The name of the directory that contains temporary libtool files.
19586  objdir=$objdir  objdir=$objdir
# Line 19036  objext="$ac_objext" Line 19599  objext="$ac_objext"
19599  libext="$libext"  libext="$libext"
19600    
19601  # Shared library suffix (normally ".so").  # Shared library suffix (normally ".so").
19602  shrext='$shrext'  shrext_cmds='$shrext_cmds'
19603    
19604  # Executable file suffix (normally "").  # Executable file suffix (normally "").
19605  exeext="$exeext"  exeext="$exeext"
# Line 19051  max_cmd_len=$lt_cv_sys_max_cmd_len Line 19614  max_cmd_len=$lt_cv_sys_max_cmd_len
19614  # Does compiler simultaneously support -c and -o options?  # Does compiler simultaneously support -c and -o options?
19615  compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC  compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19616    
19617  # Must we lock files when doing compilation ?  # Must we lock files when doing compilation?
19618  need_locks=$lt_need_locks  need_locks=$lt_need_locks
19619    
19620  # Do we need the lib prefix for modules?  # Do we need the lib prefix for modules?
# Line 19407  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 19970  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
19970  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19971    
19972    
 if test -n "$ac_tool_prefix"; then  
   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.  
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2  
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_RANLIB+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$RANLIB"; then  
   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
   
 fi  
 fi  
 RANLIB=$ac_cv_prog_RANLIB  
 if test -n "$RANLIB"; then  
   echo "$as_me:$LINENO: result: $RANLIB" >&5  
 echo "${ECHO_T}$RANLIB" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
   
 fi  
 if test -z "$ac_cv_prog_RANLIB"; then  
   ac_ct_RANLIB=$RANLIB  
   # Extract the first word of "ranlib", so it can be a program name with args.  
 set dummy ranlib; ac_word=$2  
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$ac_ct_RANLIB"; then  
   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_ac_ct_RANLIB="ranlib"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
   
   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"  
 fi  
 fi  
 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB  
 if test -n "$ac_ct_RANLIB"; then  
   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5  
 echo "${ECHO_T}$ac_ct_RANLIB" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
   
   RANLIB=$ac_ct_RANLIB  
 else  
   RANLIB="$ac_cv_prog_RANLIB"  
 fi  
   
19973    
19974    
19975  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
# Line 19572  MAKEINFO=${MAKEINFO-"${am_missing_run}ma Line 20055  MAKEINFO=${MAKEINFO-"${am_missing_run}ma
20055    
20056    
20057    
20058    
20059  # Check whether --with-root or --without-root was given.  # Check whether --with-root or --without-root was given.
20060  if test "${with_root+set}" = set; then  if test "${with_root+set}" = set; then
20061    withval="$with_root"    withval="$with_root"
# Line 19580  fi; Line 20064  fi;
20064    
20065  ROOT_LIBRARY="${ROOTSYS}/lib"  ROOT_LIBRARY="${ROOTSYS}/lib"
20066    
20067  ROOT_LDFLAGS="${ROOT_LIBRARY}/libHist.so  ${ROOT_LIBRARY}/libMatrix.so  ${ROOT_LIBRARY}/libTree.so ${ROOT_LIBRARY}/libCore.so ${ROOT_LIBRARY}/libCint.so -ldl"  ROOT_LDFLAGS="                                                  \
20068    ${ROOT_LIBRARY}/libCint.so          ${ROOT_LIBRARY}/libCore.so  \
20069    ${ROOT_LIBRARY}/libTree.so                                      \
20070     -ldl"
20071    
20072    
20073  ROOT_INCLUDES="-I${ROOTSYS}/include"  ROOT_INCLUDES="-I${ROOTSYS}/include"
20074    
# Line 19588  ROOT_INCLUDES="-I${ROOTSYS}/include" Line 20076  ROOT_INCLUDES="-I${ROOTSYS}/include"
20076  ROOTCINT=${ROOTSYS}/bin/rootcint  ROOTCINT=${ROOTSYS}/bin/rootcint
20077    
20078    
20079    echo "$as_me:$LINENO: checking for gprof" >&5
20080    echo $ECHO_N "checking for gprof... $ECHO_C" >&6
20081    # Check whether --enable-gprof or --disable-gprof was given.
20082    if test "${enable_gprof+set}" = set; then
20083      enableval="$enable_gprof"
20084      gprof=$enableval
20085    else
20086      gprof=no
20087    fi;
20088    if test "$gprof" != no
20089    then
20090        CXXFLAGS="-pg $CXXFLAGS"
20091        echo "$as_me:$LINENO: result: enabled" >&5
20092    echo "${ECHO_T}enabled" >&6
20093    else
20094        echo "$as_me:$LINENO: result: no" >&5
20095    echo "${ECHO_T}no" >&6
20096    fi
20097    
20098  # Check whether --with-log4cppp or --without-log4cppp was given.  
20099  if test "${with_log4cppp+set}" = set; then  # Check whether --with-log4cxx or --without-log4cxx was given.
20100    withval="$with_log4cppp"  if test "${with_log4cxx+set}" = set; then
20101    LOG4CPP=$with_log4cpp    withval="$with_log4cxx"
20102      LOG4CXX=$with_log4cxx
20103    fi;
20104    LOG4CXX_INCLUDES="-I${LOG4CXX}/include"
20105    
20106    #------------------------------------------------------------
20107    
20108    # Check whether --with-log4cxx or --without-log4cxx was given.
20109    if test "${with_log4cxx+set}" = set; then
20110      withval="$with_log4cxx"
20111      LOG4CXX=$with_log4cxx
20112  fi;  fi;
20113    
20114    LOG4CXX_LIBRARY="${LOG4CXX}/lib"
20115    LOG4CXX_INCLUDES="-I${LOG4CXX}/include"
20116    LOG4CXX_LDFLAGS=" ${LOG4CXX_LIBRARY}/liblog4cxx.so "
20117    
20118    
20119    
20120    
20121    #------------------------------------------------------------
20122    
20123    
20124    
20125  echo "$as_me:$LINENO: checking for ANSI C header files" >&5  echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20126  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
20127  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
# Line 19763  fi Line 20290  fi
20290    
20291    
20292    
20293                                                                                                                                                                  ac_config_files="$ac_config_files Makefile Doxyfile event/Makefile event/mcmd/Makefile event/tmtc/Makefile event/log/Makefile event/physics/Makefile event/physics/tracker/Makefile event/physics/anticoinc/Makefile event/physics/calorimeter/Makefile techmodel/Makefile techmodel/forroutines/Makefile techmodel/forroutines/calorimeter/Makefile techmodel/forroutines/tracker/Makefile techmodel/forroutines/tracker/readraw/Makefile techmodel/physics/Makefile"                                                                                                                                                                                                                                                                                                    ac_config_files="$ac_config_files Makefile Doxyfile event/Makefile event/mcmd/Makefile event/tmtc/Makefile event/log/Makefile event/arrDump/Makefile event/tabDump/Makefile event/varDump/Makefile event/tsbt/Makefile event/tsbb/Makefile event/endrun/Makefile event/physics/Makefile event/physics/tracker/Makefile event/physics/anticounter/Makefile event/physics/calorimeter/Makefile event/physics/neutronDetector/Makefile event/physics/trigger/Makefile event/physics/tof/Makefile event/physics/S4/Makefile techmodel/Makefile techmodel/forroutines/tracker/Makefile techmodel/forroutines/tracker/readraw/Makefile techmodel/forroutines/anticounter/Makefile techmodel/forroutines/calorimeter/Makefile techmodel/forroutines/tof/Makefile techmodel/forroutines/trigger/Makefile techmodel/forroutines/Makefile techmodel/physics/Makefile"
20294  cat >confcache <<\_ACEOF  cat >confcache <<\_ACEOF
20295  # This file is a shell script that caches the results of configure  # This file is a shell script that caches the results of configure
20296  # tests run on this system so they can be shared between configure  # tests run on this system so they can be shared between configure
# Line 20326  do Line 20853  do
20853    "event/mcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/mcmd/Makefile" ;;    "event/mcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/mcmd/Makefile" ;;
20854    "event/tmtc/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/tmtc/Makefile" ;;    "event/tmtc/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/tmtc/Makefile" ;;
20855    "event/log/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/log/Makefile" ;;    "event/log/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/log/Makefile" ;;
20856      "event/arrDump/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/arrDump/Makefile" ;;
20857      "event/tabDump/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/tabDump/Makefile" ;;
20858      "event/varDump/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/varDump/Makefile" ;;
20859      "event/tsbt/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/tsbt/Makefile" ;;
20860      "event/tsbb/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/tsbb/Makefile" ;;
20861      "event/endrun/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/endrun/Makefile" ;;
20862    "event/physics/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/Makefile" ;;    "event/physics/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/Makefile" ;;
20863    "event/physics/tracker/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/tracker/Makefile" ;;    "event/physics/tracker/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/tracker/Makefile" ;;
20864    "event/physics/anticoinc/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/anticoinc/Makefile" ;;    "event/physics/anticounter/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/anticounter/Makefile" ;;
20865    "event/physics/calorimeter/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/calorimeter/Makefile" ;;    "event/physics/calorimeter/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/calorimeter/Makefile" ;;
20866      "event/physics/neutronDetector/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/neutronDetector/Makefile" ;;
20867      "event/physics/trigger/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/trigger/Makefile" ;;
20868      "event/physics/tof/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/tof/Makefile" ;;
20869      "event/physics/S4/Makefile" ) CONFIG_FILES="$CONFIG_FILES event/physics/S4/Makefile" ;;
20870    "techmodel/Makefile" ) CONFIG_FILES="$CONFIG_FILES techmodel/Makefile" ;;    "techmodel/Makefile" ) CONFIG_FILES="$CONFIG_FILES techmodel/Makefile" ;;
   "techmodel/forroutines/Makefile" ) CONFIG_FILES="$CONFIG_FILES techmodel/forroutines/Makefile" ;;  
   "techmodel/forroutines/calorimeter/Makefile" ) CONFIG_FILES="$CONFIG_FILES techmodel/forroutines/calorimeter/Makefile" ;;  
20871    "techmodel/forroutines/tracker/Makefile" ) CONFIG_FILES="$CONFIG_FILES techmodel/forroutines/tracker/Makefile" ;;    "techmodel/forroutines/tracker/Makefile" ) CONFIG_FILES="$CONFIG_FILES techmodel/forroutines/tracker/Makefile" ;;
20872    "techmodel/forroutines/tracker/readraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES techmodel/forroutines/tracker/readraw/Makefile" ;;    "techmodel/forroutines/tracker/readraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES techmodel/forroutines/tracker/readraw/Makefile" ;;
20873      "techmodel/forroutines/anticounter/Makefile" ) CONFIG_FILES="$CONFIG_FILES techmodel/forroutines/anticounter/Makefile" ;;
20874      "techmodel/forroutines/calorimeter/Makefile" ) CONFIG_FILES="$CONFIG_FILES techmodel/forroutines/calorimeter/Makefile" ;;
20875      "techmodel/forroutines/tof/Makefile" ) CONFIG_FILES="$CONFIG_FILES techmodel/forroutines/tof/Makefile" ;;
20876      "techmodel/forroutines/trigger/Makefile" ) CONFIG_FILES="$CONFIG_FILES techmodel/forroutines/trigger/Makefile" ;;
20877      "techmodel/forroutines/Makefile" ) CONFIG_FILES="$CONFIG_FILES techmodel/forroutines/Makefile" ;;
20878    "techmodel/physics/Makefile" ) CONFIG_FILES="$CONFIG_FILES techmodel/physics/Makefile" ;;    "techmodel/physics/Makefile" ) CONFIG_FILES="$CONFIG_FILES techmodel/physics/Makefile" ;;
20879    "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;    "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20880    "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;    "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
# Line 20439  s,@install_sh@,$install_sh,;t t Line 20979  s,@install_sh@,$install_sh,;t t
20979  s,@STRIP@,$STRIP,;t t  s,@STRIP@,$STRIP,;t t
20980  s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t  s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20981  s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t  s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 s,@mkdir_p@,$mkdir_p,;t t  
20982  s,@AWK@,$AWK,;t t  s,@AWK@,$AWK,;t t
20983  s,@SET_MAKE@,$SET_MAKE,;t t  s,@SET_MAKE@,$SET_MAKE,;t t
20984  s,@am__leading_dot@,$am__leading_dot,;t t  s,@am__leading_dot@,$am__leading_dot,;t t
# Line 20491  s,@HAS_DOXYFILE@,$HAS_DOXYFILE,;t t Line 21030  s,@HAS_DOXYFILE@,$HAS_DOXYFILE,;t t
21030  s,@ROOT_INCLUDES@,$ROOT_INCLUDES,;t t  s,@ROOT_INCLUDES@,$ROOT_INCLUDES,;t t
21031  s,@ROOT_LDFLAGS@,$ROOT_LDFLAGS,;t t  s,@ROOT_LDFLAGS@,$ROOT_LDFLAGS,;t t
21032  s,@ROOTCINT@,$ROOTCINT,;t t  s,@ROOTCINT@,$ROOTCINT,;t t
21033    s,@LOG4CXX_INCLUDES@,$LOG4CXX_INCLUDES,;t t
21034    s,@LOG4CXX_LDFLAGS@,$LOG4CXX_LDFLAGS,;t t
21035    s,@LOG4CXX_LIBRARY@,$LOG4CXX_LIBRARY,;t t
21036  s,@LIBOBJS@,$LIBOBJS,;t t  s,@LIBOBJS@,$LIBOBJS,;t t
21037  s,@LTLIBOBJS@,$LTLIBOBJS,;t t  s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21038  CEOF  CEOF
# Line 21118  echo X"$mf" | Line 21660  echo X"$mf" |
21660    grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue    grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
21661    # Extract the definition of DEP_FILES from the Makefile without    # Extract the definition of DEP_FILES from the Makefile without
21662    # running `make'.    # running `make'.
21663    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`    DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
21664    test -z "$DEPDIR" && continue    test -z "$DEPDIR" && continue
21665    # When using ansi2knr, U may be empty or an underscore; expand it    # When using ansi2knr, U may be empty or an underscore; expand it
21666    U=`sed -n 's/^U = //p' < "$mf"`    U=`sed -n -e '/^U = / s///p' < "$mf"`
21667    test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"    test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
21668    # We invoke sed twice because it is the simplest approach to    # We invoke sed twice because it is the simplest approach to
21669    # changing $(DEPDIR) to its actual value in the expansion.    # changing $(DEPDIR) to its actual value in the expansion.
21670    for file in `sed -n '    for file in `sed -n -e '
21671      /^DEP_FILES = .*\\\\$/ {      /^DEP_FILES = .*\\\\$/ {
21672        s/^DEP_FILES = //        s/^DEP_FILES = //
21673        :loop        :loop

Legend:
Removed from v.1.1  
changed lines
  Added in v.6.0

  ViewVC Help
Powered by ViewVC 1.1.23