Difference for ./configure from version 1.63 to 1.64


version 1.63 version 1.64
Line 281
 
Line 281
   
 # 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
 # if CDPATH is set.  # if CDPATH is set.
 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   
 if test -z "$ECHO"; then  if test -z "$ECHO"; then
 if test "X${echo_test_string+set}" != Xset; then  if test "X${echo_test_string+set}" != Xset; then
 # find a string as large as possible, as long as the shell can cope with it  # find a string as large as possible, as long as the shell can cope with it
   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
     if (echo_test_string="`eval $cmd`") 2>/dev/null &&      if (echo_test_string=`eval $cmd`) 2>/dev/null &&
        echo_test_string="`eval $cmd`" &&         echo_test_string=`eval $cmd` &&
        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null         (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
     then      then
       break        break
Line 877
 
Line 877
     /^X\(\/\).*/{ s//\1/; q; }      /^X\(\/\).*/{ s//\1/; q; }
     s/.*/./; q'`      s/.*/./; q'`
   srcdir=$ac_confdir    srcdir=$ac_confdir
   if test ! -r $srcdir/$ac_unique_file; then    if test ! -r "$srcdir/$ac_unique_file"; then
     srcdir=..      srcdir=..
   fi    fi
 else  else
   ac_srcdir_defaulted=no    ac_srcdir_defaulted=no
 fi  fi
 if test ! -r $srcdir/$ac_unique_file; then  if test ! -r "$srcdir/$ac_unique_file"; then
   if test "$ac_srcdir_defaulted" = yes; then    if test "$ac_srcdir_defaulted" = yes; then
     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
Line 892
 
Line 892
    { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
   fi    fi
 fi  fi
 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||  (cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null ||
   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2    { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`  srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
Line 1165
 
Line 1165
     else      else
       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     fi      fi
     cd "$ac_popdir"      cd $ac_popdir
   done    done
 fi  fi
   
Line 2750
 
Line 2750
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 2808
 
Line 2809
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 2924
 
Line 2926
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 2978
 
Line 2981
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 3023
 
Line 3027
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 3067
 
Line 3072
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 3240
 
Line 3246
 # Add /usr/xpg4/bin/sed as it is typically found on Solaris  # Add /usr/xpg4/bin/sed as it is typically found on Solaris
 # along with /bin/sed that truncates output.  # along with /bin/sed that truncates output.
 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
   test ! -f $lt_ac_sed && break    test ! -f $lt_ac_sed && continue
   cat /dev/null > conftest.in    cat /dev/null > conftest.in
   lt_ac_count=0    lt_ac_count=0
   echo $ECHO_N "0123456789$ECHO_C" >conftest.in    echo $ECHO_N "0123456789$ECHO_C" >conftest.in
Line 3265
 
Line 3271
     fi      fi
   done    done
 done  done
 SED=$lt_cv_path_SED  
   
 fi  fi
   
   SED=$lt_cv_path_SED
 echo "$as_me:$LINENO: result: $SED" >&5  echo "$as_me:$LINENO: result: $SED" >&5
 echo "${ECHO_T}$SED" >&6  echo "${ECHO_T}$SED" >&6
   
Line 3345
 
Line 3351
     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
       lt_cv_path_LD="$ac_dir/$ac_prog"        lt_cv_path_LD="$ac_dir/$ac_prog"
       # Check to see if the program is GNU ld.  I'd rather use --version,        # Check to see if the program is GNU ld.  I'd rather use --version,
       # but apparently some GNU ld's only accept -v.        # but apparently some variants of GNU ld only accept -v.
       # Break only if it was the GNU/non-GNU ld that we prefer.        # Break only if it was the GNU/non-GNU ld that we prefer.
       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
       *GNU* | *'with BFD'*)        *GNU* | *'with BFD'*)
Line 3379
 
Line 3385
 if test "${lt_cv_prog_gnu_ld+set}" = set; then  if test "${lt_cv_prog_gnu_ld+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   # I'd rather use --version here, but apparently some GNU ld's only accept -v.    # I'd rather use --version here, but apparently some GNU lds only accept -v.
 case `$LD -v 2>&1 </dev/null` in  case `$LD -v 2>&1 </dev/null` in
 *GNU* | *'with BFD'*)  *GNU* | *'with BFD'*)
   lt_cv_prog_gnu_ld=yes    lt_cv_prog_gnu_ld=yes
Line 3409
 
Line 3415
 *) reload_flag=" $reload_flag" ;;  *) reload_flag=" $reload_flag" ;;
 esac  esac
 reload_cmds='$LD$reload_flag -o $output$reload_objs'  reload_cmds='$LD$reload_flag -o $output$reload_objs'
   case $host_os in
     darwin*)
       if test "$GCC" = yes; then
         reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
       else
         reload_cmds='$LD$reload_flag -o $output$reload_objs'
       fi
       ;;
   esac
   
 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5  echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
Line 3419
 
Line 3434
   # Let the user override the test.    # Let the user override the test.
   lt_cv_path_NM="$NM"    lt_cv_path_NM="$NM"
 else  else
     lt_nm_to_check="${ac_tool_prefix}nm"
     if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
       lt_nm_to_check="$lt_nm_to_check nm"
     fi
     for lt_tmp_nm in $lt_nm_to_check; do
   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do      for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
     IFS="$lt_save_ifs"      IFS="$lt_save_ifs"
     test -z "$ac_dir" && ac_dir=.      test -z "$ac_dir" && ac_dir=.
     tmp_nm="$ac_dir/${ac_tool_prefix}nm"        tmp_nm="$ac_dir/$lt_tmp_nm"
     if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
       # Check to see if the nm accepts a BSD-compat flag.        # Check to see if the nm accepts a BSD-compat flag.
       # Adding the `sed 1q' prevents false positives on HP-UX, which says:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
Line 3445
 
Line 3465
    continue # so that we can try to find one that supports BSD flags     continue # so that we can try to find one that supports BSD flags
    ;;     ;;
  esac   esac
      ;;
       esac        esac
     fi      fi
   done    done
   IFS="$lt_save_ifs"    IFS="$lt_save_ifs"
     done
   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm    test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 fi  fi
 fi  fi
Line 3495
 
Line 3517
   lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   ;;    ;;
   
 bsdi4*)  bsdi[45]*)
   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)'
   lt_cv_file_magic_cmd='/usr/bin/file -L'    lt_cv_file_magic_cmd='/usr/bin/file -L'
   lt_cv_file_magic_test_file=/shlib/libc.so    lt_cv_file_magic_test_file=/shlib/libc.so
Line 3518
 
Line 3540
   lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   ;;    ;;
   
 freebsd* | kfreebsd*-gnu)  freebsd* | kfreebsd*-gnu | dragonfly*)
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     case $host_cpu in      case $host_cpu in
     i*86 )      i*86 )
       # Not sure whether the presence of OpenBSD here was a mistake.        # Not sure whether the presence of OpenBSD here was a mistake.
       # Let's accept both of them until this is cleared up.        # Let's accept both of them until this is cleared up.
       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'
       lt_cv_file_magic_cmd=/usr/bin/file        lt_cv_file_magic_cmd=/usr/bin/file
       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
       ;;        ;;
Line 3540
 
Line 3562
   
 hpux10.20* | hpux11*)  hpux10.20* | hpux11*)
   lt_cv_file_magic_cmd=/usr/bin/file    lt_cv_file_magic_cmd=/usr/bin/file
   case "$host_cpu" in    case $host_cpu in
   ia64*)    ia64*)
     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
Line 3556
 
Line 3578
   esac    esac
   ;;    ;;
   
   interix3*)
     # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
     ;;
   
 irix5* | irix6* | nonstopux*)  irix5* | irix6* | nonstopux*)
   case $LD in    case $LD in
   *-32|*"-32 ") libmagic=32-bit;;    *-32|*"-32 ") libmagic=32-bit;;
Line 3571
 
Line 3598
   lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   ;;    ;;
   
 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)  netbsd*)
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then    if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   else    else
Line 3590
 
Line 3617
   ;;    ;;
   
 openbsd*)  openbsd*)
   lt_cv_file_magic_cmd=/usr/bin/file  
   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`  
   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
     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)$'
   else    else
     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)$'
   fi    fi
   ;;    ;;
   
Line 3603
 
Line 3628
   lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   ;;    ;;
   
 sco3.2v5*)  
   lt_cv_deplibs_check_method=pass_all  
   ;;  
   
 solaris*)  solaris*)
   lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   ;;    ;;
   
 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  sysv4 | sysv4.3*)
   case $host_vendor in    case $host_vendor in
   motorola)    motorola)
     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
Line 3632
 
Line 3653
   siemens)    siemens)
     lt_cv_deplibs_check_method=pass_all      lt_cv_deplibs_check_method=pass_all
     ;;      ;;
     pc)
       lt_cv_deplibs_check_method=pass_all
       ;;
   esac    esac
   ;;    ;;
   
 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   ;;    ;;
 esac  esac
Line 3653
 
Line 3677
 # If no C compiler was specified, use CC.  # If no C compiler was specified, use CC.
 LTCC=${LTCC-"$CC"}  LTCC=${LTCC-"$CC"}
   
   # If no C compiler flags were specified, use CFLAGS.
   LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   
 # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
 compiler=$CC  compiler=$CC
   
Line 3688
 
Line 3715
   ;;    ;;
 *-*-irix6*)  *-*-irix6*)
   # Find out which ABI we are using.    # Find out which ABI we are using.
   echo '#line 3691 "configure"' > conftest.$ac_ext    echo '#line 3718 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
   ac_status=$?    ac_status=$?
Line 3731
 
Line 3758
   ac_status=$?    ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; then    (exit $ac_status); }; then
     case "`/usr/bin/file conftest.o`" in      case `/usr/bin/file conftest.o` in
     *32-bit*)      *32-bit*)
       case $host in        case $host in
         x86_64-*linux*)          x86_64-*linux*)
Line 3808
 
Line 3835
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 3843
 
Line 3871
     CFLAGS="$SAVE_CFLAGS"      CFLAGS="$SAVE_CFLAGS"
   fi    fi
   ;;    ;;
   sparc*-*solaris*)
     # Find out which ABI we are using.
     echo 'int i;' > conftest.$ac_ext
     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); }; then
       case `/usr/bin/file conftest.o` in
       *64-bit*)
         case $lt_cv_prog_gnu_ld in
         yes*) LD="${LD-ld} -m elf64_sparc" ;;
         *)    LD="${LD-ld} -64" ;;
         esac
         ;;
       esac
     fi
     rm -rf conftest*
     ;;
   
   
 esac  esac
   
Line 4117
 
Line 4165
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 4287
 
Line 4336
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 4354
 
Line 4404
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 4614
 
Line 4665
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_cxx_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 4672
 
Line 4724
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_cxx_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 4743
 
Line 4796
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_cxx_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 4787
 
Line 4841
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_cxx_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 4929
 
Line 4984
 fi  fi
   
   
   
   
   if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
       ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
       (test "X$CXX" != "Xg++"))) ; then
 ac_ext=cc  ac_ext=cc
 ac_cpp='$CXXCPP $CPPFLAGS'  ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Line 5159
 
Line 5219
 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'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   
   fi
   
   
 ac_ext=f  ac_ext=f
 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'  ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
Line 5252
 
Line 5314
   
   
 # Provide some information about the compiler.  # Provide some information about the compiler.
 echo "$as_me:5255:" \  echo "$as_me:5317:" \
      "checking for Fortran 77 compiler version" >&5       "checking for Fortran 77 compiler version" >&5
 ac_compiler=`set X $ac_compile; echo $2`  ac_compiler=`set X $ac_compile; echo $2`
 { (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 5298
 
Line 5360
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_f77_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 5347
 
Line 5410
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_f77_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 5440
 
Line 5504
     lt_cv_sys_max_cmd_len=8192;      lt_cv_sys_max_cmd_len=8192;
     ;;      ;;
   
     netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
       # This has been around since 386BSD, at least.  Likely further.
       if test -x /sbin/sysctl; then
         lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
       elif test -x /usr/sbin/sysctl; then
         lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
       else
         lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
       fi
       # And add a safety zone
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
       ;;
   
     interix*)
       # We know the value 262144 and hardcode it with a safety zone (like BSD)
       lt_cv_sys_max_cmd_len=196608
       ;;
   
     osf*)
       # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
       # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
       # nice to cause kernel panics so lets avoid the loop below.
       # First set a reasonable default.
       lt_cv_sys_max_cmd_len=16384
       #
       if test -x /sbin/sysconfig; then
         case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
           *1*) lt_cv_sys_max_cmd_len=-1 ;;
         esac
       fi
       ;;
     sco3.2v5*)
       lt_cv_sys_max_cmd_len=102400
       ;;
     sysv5* | sco5v6* | sysv4.2uw2*)
       kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
       if test -n "$kargmax"; then
         lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
       else
         lt_cv_sys_max_cmd_len=32768
       fi
       ;;
  *)   *)
     # 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
     # maximum length that is only half of the actual maximum length, but      # maximum length that is only half of the actual maximum length, but
     # we can't tell.      # we can't tell.
     while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
         = "XX$teststring") >/dev/null 2>&1 &&          = "XX$teststring") >/dev/null 2>&1 &&
      new_result=`expr "X$teststring" : ".*" 2>&1` &&       new_result=`expr "X$teststring" : ".*" 2>&1` &&
      lt_cv_sys_max_cmd_len=$new_result &&       lt_cv_sys_max_cmd_len=$new_result &&
Line 5490
 
Line 5598
 # Regexp to match symbols that can be accessed directly from C.  # Regexp to match symbols that can be accessed directly from C.
 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'  sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   
 # Transform the above into a raw symbol and a C symbol.  
 symxfrm='\1 \2\3 \3'  
   
 # Transform an extracted symbol line into a proper C declaration  # Transform an extracted symbol line into a proper C declaration
 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'"
   
Line 5514
 
Line 5619
   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'"
   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'"
   ;;    ;;
   linux*)
     if test "$host_cpu" = ia64; then
       symcode='[ABCDGIRSTW]'
       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_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
     fi
     ;;
 irix* | nonstopux*)  irix* | nonstopux*)
   symcode='[BCDEGRST]'    symcode='[BCDEGRST]'
   ;;    ;;
 osf*)  osf*)
   symcode='[BCDEGQRST]'    symcode='[BCDEGQRST]'
   ;;    ;;
 solaris* | sysv5*)  solaris*)
   symcode='[BDRT]'    symcode='[BDRT]'
   ;;    ;;
   sco3.2v5*)
     symcode='[DT]'
     ;;
   sysv4.2uw2*)
     symcode='[DT]'
     ;;
   sysv5* | sco5v6* | unixware* | OpenUNIX*)
     symcode='[ABDT]'
     ;;
 sysv4)  sysv4)
   symcode='[DFNSTU]'    symcode='[DFNSTU]'
   ;;    ;;
Line 5545
 
Line 5666
 # Try without a prefix undercore, then with it.  # Try without a prefix undercore, then with it.
 for ac_symprfx in "" "_"; do  for ac_symprfx in "" "_"; do
   
     # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
     symxfrm="\\1 $ac_symprfx\\2 \\2"
   
   # Write the raw and C identifiers.    # Write the raw and C identifiers.
   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'"
   
   # Check to see that the pipe works correctly.    # Check to see that the pipe works correctly.
   pipe_works=no    pipe_works=no
Line 5708
 
Line 5832
   
 # Sed substitution that helps us do robust quoting.  It backslashifies  # Sed substitution that helps us do robust quoting.  It backslashifies
 # metacharacters that are still active within double-quoted strings.  # metacharacters that are still active within double-quoted strings.
 Xsed='sed -e s/^X//'  Xsed='sed -e 1s/^X//'
 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'  sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   
 # Same as above, but do not quote variable references.  # Same as above, but do not quote variable references.
Line 5728
 
Line 5852
 default_ofile=libtool  default_ofile=libtool
 can_build_shared=yes  can_build_shared=yes
   
 # All known linkers require a `.a' archive for static linking (except M$VC,  # All known linkers require a `.a' archive for static linking (except MSVC,
 # which needs '.lib').  # which needs '.lib').
 libext=a  libext=a
 ltmain="$ac_aux_dir/ltmain.sh"  ltmain="$ac_aux_dir/ltmain.sh"
Line 5985
 
Line 6109
 test -z "$AS" && AS=as  test -z "$AS" && AS=as
 test -z "$CC" && CC=cc  test -z "$CC" && CC=cc
 test -z "$LTCC" && LTCC=$CC  test -z "$LTCC" && LTCC=$CC
   test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 test -z "$DLLTOOL" && DLLTOOL=dlltool  test -z "$DLLTOOL" && DLLTOOL=dlltool
 test -z "$LD" && LD=ld  test -z "$LD" && LD=ld
 test -z "$LN_S" && LN_S="ln -s"  test -z "$LN_S" && LN_S="ln -s"
Line 6004
 
Line 6129
 if test -n "$RANLIB"; then  if test -n "$RANLIB"; then
   case $host_os in    case $host_os in
   openbsd*)    openbsd*)
     old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"      old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
     ;;      ;;
   *)    *)
     old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"      old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
     ;;      ;;
   esac    esac
   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"    old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 fi  fi
   
   for cc_temp in $compiler""; do
     case $cc_temp in
       compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       \-*) ;;
       *) break;;
     esac
   done
   cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   
   
 # Only perform the check for file, if the check method requires it  # Only perform the check for file, if the check method requires it
 case $deplibs_check_method in  case $deplibs_check_method in
 file_magic*)  file_magic*)
Line 6038
 
Line 6174
       if test -n "$file_magic_test_file"; then        if test -n "$file_magic_test_file"; then
  case $deplibs_check_method in   case $deplibs_check_method in
  "file_magic "*)   "file_magic "*)
    file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"     file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    MAGIC_CMD="$lt_cv_path_MAGIC_CMD"     MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |     if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
      $EGREP "$file_magic_regex" > /dev/null; then       $EGREP "$file_magic_regex" > /dev/null; then
Line 6100
 
Line 6236
       if test -n "$file_magic_test_file"; then        if test -n "$file_magic_test_file"; then
  case $deplibs_check_method in   case $deplibs_check_method in
  "file_magic "*)   "file_magic "*)
    file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"     file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    MAGIC_CMD="$lt_cv_path_MAGIC_CMD"     MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |     if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
      $EGREP "$file_magic_regex" > /dev/null; then       $EGREP "$file_magic_regex" > /dev/null; then
Line 6168
 
Line 6304
 fi;  fi;
 test -z "$pic_mode" && pic_mode=default  test -z "$pic_mode" && pic_mode=default
   
   # Check if we have a version mismatch between libtool.m4 and ltmain.sh.
   #
   # Note:  This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
   #        We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
   #        calls AC_LIBTOOL_CONFIG and creates libtool.
   #
   echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
   echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6
   if test "x$ltmain" = "x" ; then
     echo "$as_me:$LINENO: result: no" >&5
   echo "${ECHO_T}no" >&6
     { { echo "$as_me:$LINENO: error:
   
   *** [Gentoo] sanity check failed! ***
   *** \$ltmain is not defined, please check the patch for consistency! ***
   " >&5
   echo "$as_me: error:
   
   *** [Gentoo] sanity check failed! ***
   *** \$ltmain is not defined, please check the patch for consistency! ***
   " >&2;}
      { (exit 1); exit 1; }; }
   fi
   gentoo_lt_version="1.5.22"
   gentoo_ltmain_version=`sed -n '/^[ ]*VERSION=/{s/^[ ]*VERSION=//;p;q;}' "$ltmain"`
   if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
     echo "$as_me:$LINENO: result: no" >&5
   echo "${ECHO_T}no" >&6
     { { echo "$as_me:$LINENO: error:
   
   *** [Gentoo] sanity check failed! ***
   *** libtool.m4 and ltmain.sh have a version mismatch! ***
   *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
   
   Please run:
   
     libtoolize --copy --force
   
   if appropriate, please contact the maintainer of this
   package (or your distribution) for help.
   " >&5
   echo "$as_me: error:
   
   *** [Gentoo] sanity check failed! ***
   *** libtool.m4 and ltmain.sh have a version mismatch! ***
   *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
   
   Please run:
   
     libtoolize --copy --force
   
   if appropriate, please contact the maintainer of this
   package (or your distribution) for help.
   " >&2;}
      { (exit 1); exit 1; }; }
   else
     echo "$as_me:$LINENO: result: yes" >&5
   echo "${ECHO_T}yes" >&6
   fi
   
   
 # Use C for the default configuration in the libtool script  # Use C for the default configuration in the libtool script
 tagname=  tagname=
 lt_save_CC="$CC"  lt_save_CC="$CC"
Line 6195
 
Line 6392
 # If no C compiler was specified, use CC.  # If no C compiler was specified, use CC.
 LTCC=${LTCC-"$CC"}  LTCC=${LTCC-"$CC"}
   
   # If no C compiler flags were specified, use CFLAGS.
   LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   
 # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
 compiler=$CC  compiler=$CC
   
   
 #  # save warnings/boilerplate of simple test code
 # Check for any special shared library compilation flags.  ac_outfile=conftest.$ac_objext
 #  printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 lt_prog_cc_shlib=  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 if test "$GCC" = no; then  _lt_compiler_boilerplate=`cat conftest.err`
   case $host_os in  $rm conftest*
   sco3.2v5*)  
     lt_prog_cc_shlib='-belf'  
     ;;  
   esac  
 fi  
 if test -n "$lt_prog_cc_shlib"; then  
   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5  
 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}  
   if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :  
   else  
     { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5  
 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}  
     lt_cv_prog_cc_can_build_shared=no  
   fi  
 fi  
   
   
 #  ac_outfile=conftest.$ac_objext
 # Check to make sure the static flag actually works.  
 #  
 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5  
 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6  
 if test "${lt_prog_compiler_static_works+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   lt_prog_compiler_static_works=no  
    save_LDFLAGS="$LDFLAGS"  
    LDFLAGS="$LDFLAGS $lt_prog_compiler_static"  
    printf "$lt_simple_link_test_code" > conftest.$ac_ext     printf "$lt_simple_link_test_code" > conftest.$ac_ext
    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
      # The compiler can only warn and ignore the option if not recognized  _lt_linker_boilerplate=`cat conftest.err`
      # So say no if there are warnings  
      if test -s conftest.err; then  
        # Append any errors to the config.log.  
        cat conftest.err 1>&5  
      else  
        lt_prog_compiler_static_works=yes  
      fi  
    fi  
    $rm conftest*     $rm conftest*
    LDFLAGS="$save_LDFLAGS"  
   
 fi  
 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5  
 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6  
   
 if test x"$lt_prog_compiler_static_works" = xyes; then  
     :  
 else  
     lt_prog_compiler_static=  
 fi  
   
   
   
   
Line 6281
 
Line 6435
    # with a dollar sign (not a hyphen), so the echo should work correctly.     # with a dollar sign (not a hyphen), so the echo should work correctly.
    # The option is referenced via a variable to avoid confusing sed.     # The option is referenced via a variable to avoid confusing sed.
    lt_compile=`echo "$ac_compile" | $SED \     lt_compile=`echo "$ac_compile" | $SED \
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
    (eval echo "\"\$as_me:6287: $lt_compile\"" >&5)     (eval echo "\"\$as_me:6441: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
    ac_status=$?     ac_status=$?
    cat conftest.err >&5     cat conftest.err >&5
    echo "$as_me:6291: \$? = $ac_status" >&5     echo "$as_me:6445: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings       # So say no if there are warnings other than the usual output.
      if test ! -s conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_rtti_exceptions=yes         lt_cv_prog_compiler_rtti_exceptions=yes
      fi       fi
    fi     fi
Line 6353
 
Line 6509
       lt_prog_compiler_pic='-fno-common'        lt_prog_compiler_pic='-fno-common'
       ;;        ;;
   
       interix3*)
         # Interix 3.x gcc -fpic/-fPIC options generate broken code.
         # Instead, we relocate shared libraries at runtime.
         ;;
   
     msdosdjgpp*)      msdosdjgpp*)
       # Just because we use GCC doesn't mean we suddenly get shared libraries        # Just because we use GCC doesn't mean we suddenly get shared libraries
       # on systems that don't support them.        # on systems that don't support them.
Line 6369
 
Line 6530
     hpux*)      hpux*)
       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       # not for PA HP-UX.        # not for PA HP-UX.
       case "$host_cpu" in        case $host_cpu in
       hppa*64*|ia64*)        hppa*64*|ia64*)
  # +Z the default   # +Z the default
  ;;   ;;
Line 6395
 
Line 6556
  lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'   lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
       fi        fi
       ;;        ;;
         darwin*)
           # PIC is the default on this platform
           # Common symbols not allowed in MH_DYLIB files
          case $cc_basename in
            xlc*)
            lt_prog_compiler_pic='-qnocommon'
            lt_prog_compiler_wl='-Wl,'
            ;;
          esac
          ;;
   
     mingw* | pw32* | os2*)      mingw* | pw32* | os2*)
       # 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 6406
 
Line 6577
       lt_prog_compiler_wl='-Wl,'        lt_prog_compiler_wl='-Wl,'
       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       # not for PA HP-UX.        # not for PA HP-UX.
       case "$host_cpu" in        case $host_cpu in
       hppa*64*|ia64*)        hppa*64*|ia64*)
  # +Z the default   # +Z the default
  ;;   ;;
Line 6430
 
Line 6601
       ;;        ;;
   
     linux*)      linux*)
       case $CC in        case $cc_basename in
       icc* | ecc*)        icc* | ecc*)
  lt_prog_compiler_wl='-Wl,'   lt_prog_compiler_wl='-Wl,'
  lt_prog_compiler_pic='-KPIC'   lt_prog_compiler_pic='-KPIC'
  lt_prog_compiler_static='-static'   lt_prog_compiler_static='-static'
         ;;          ;;
         pgcc* | pgf77* | pgf90* | pgf95*)
           # Portland Group compilers (*not* the Pentium gcc compiler,
    # which looks to be a dead project)
    lt_prog_compiler_wl='-Wl,'
    lt_prog_compiler_pic='-fpic'
    lt_prog_compiler_static='-Bstatic'
           ;;
       ccc*)        ccc*)
         lt_prog_compiler_wl='-Wl,'          lt_prog_compiler_wl='-Wl,'
         # All Alpha code is PIC.          # All Alpha code is PIC.
Line 6450
 
Line 6628
       lt_prog_compiler_static='-non_shared'        lt_prog_compiler_static='-non_shared'
       ;;        ;;
   
     sco3.2v5*)  
       lt_prog_compiler_pic='-Kpic'  
       lt_prog_compiler_static='-dn'  
       ;;  
   
     solaris*)      solaris*)
       lt_prog_compiler_wl='-Wl,'  
       lt_prog_compiler_pic='-KPIC'        lt_prog_compiler_pic='-KPIC'
       lt_prog_compiler_static='-Bstatic'        lt_prog_compiler_static='-Bstatic'
         case $cc_basename in
         f77* | f90* | f95*)
    lt_prog_compiler_wl='-Qoption ld ';;
         *)
    lt_prog_compiler_wl='-Wl,';;
         esac
       ;;        ;;
   
     sunos4*)      sunos4*)
Line 6467
 
Line 6645
       lt_prog_compiler_static='-Bstatic'        lt_prog_compiler_static='-Bstatic'
       ;;        ;;
   
     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)      sysv4 | sysv4.2uw2* | sysv4.3*)
       lt_prog_compiler_wl='-Wl,'        lt_prog_compiler_wl='-Wl,'
       lt_prog_compiler_pic='-KPIC'        lt_prog_compiler_pic='-KPIC'
       lt_prog_compiler_static='-Bstatic'        lt_prog_compiler_static='-Bstatic'
Line 6480
 
Line 6658
       fi        fi
       ;;        ;;
   
       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
         lt_prog_compiler_wl='-Wl,'
         lt_prog_compiler_pic='-KPIC'
         lt_prog_compiler_static='-Bstatic'
         ;;
   
       unicos*)
         lt_prog_compiler_wl='-Wl,'
         lt_prog_compiler_can_build_shared=no
         ;;
   
     uts4*)      uts4*)
       lt_prog_compiler_pic='-pic'        lt_prog_compiler_pic='-pic'
       lt_prog_compiler_static='-Bstatic'        lt_prog_compiler_static='-Bstatic'
Line 6514
 
Line 6703
    # with a dollar sign (not a hyphen), so the echo should work correctly.     # with a dollar sign (not a hyphen), so the echo should work correctly.
    # The option is referenced via a variable to avoid confusing sed.     # The option is referenced via a variable to avoid confusing sed.
    lt_compile=`echo "$ac_compile" | $SED \     lt_compile=`echo "$ac_compile" | $SED \
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
    (eval echo "\"\$as_me:6520: $lt_compile\"" >&5)     (eval echo "\"\$as_me:6709: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
    ac_status=$?     ac_status=$?
    cat conftest.err >&5     cat conftest.err >&5
    echo "$as_me:6524: \$? = $ac_status" >&5     echo "$as_me:6713: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings       # So say no if there are warnings other than the usual output.
      if test ! -s conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        lt_prog_compiler_pic_works=yes         lt_prog_compiler_pic_works=yes
      fi       fi
    fi     fi
Line 6546
 
Line 6737
 fi  fi
   
 fi  fi
 case "$host_os" in  case $host_os in
   # For platforms which do not support PIC, -DPIC is meaningless:    # For platforms which do not support PIC, -DPIC is meaningless:
   *djgpp*)    *djgpp*)
     lt_prog_compiler_pic=      lt_prog_compiler_pic=
Line 6556
 
Line 6747
     ;;      ;;
 esac  esac
   
   #
   # Check to make sure the static flag actually works.
   #
   wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   if test "${lt_prog_compiler_static_works+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     lt_prog_compiler_static_works=no
      save_LDFLAGS="$LDFLAGS"
      LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
      printf "$lt_simple_link_test_code" > conftest.$ac_ext
      if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
        # The linker can only warn and ignore the option if not recognized
        # So say no if there are warnings
        if test -s conftest.err; then
          # Append any errors to the config.log.
          cat conftest.err 1>&5
          $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
          $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
          if diff conftest.exp conftest.er2 >/dev/null; then
            lt_prog_compiler_static_works=yes
          fi
        else
          lt_prog_compiler_static_works=yes
        fi
      fi
      $rm conftest*
      LDFLAGS="$save_LDFLAGS"
   
   fi
   echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
   
   if test x"$lt_prog_compiler_static_works" = xyes; then
       :
   else
       lt_prog_compiler_static=
   fi
   
   
 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6  echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 if test "${lt_cv_prog_compiler_c_o+set}" = set; then  if test "${lt_cv_prog_compiler_c_o+set}" = set; then
Line 6574
 
Line 6807
    # Note that $ac_compile itself does not contain backslashes and begins     # Note that $ac_compile itself does not contain backslashes and begins
    # with a dollar sign (not a hyphen), so the echo should work correctly.     # with a dollar sign (not a hyphen), so the echo should work correctly.
    lt_compile=`echo "$ac_compile" | $SED \     lt_compile=`echo "$ac_compile" | $SED \
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
    (eval echo "\"\$as_me:6580: $lt_compile\"" >&5)     (eval echo "\"\$as_me:6813: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)     (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?     ac_status=$?
    cat out/conftest.err >&5     cat out/conftest.err >&5
    echo "$as_me:6584: \$? = $ac_status" >&5     echo "$as_me:6817: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext     if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then     then
      # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings       # So say no if there are warnings
      if test ! -s out/conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
        $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
        if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_c_o=yes         lt_cv_prog_compiler_c_o=yes
      fi       fi
    fi     fi
    chmod u+w .     chmod u+w . 2>&5
    $rm conftest*     $rm conftest*
    # SGI C++ compiler will create directory out/ii_files/ for     # SGI C++ compiler will create directory out/ii_files/ for
    # template instantiation     # template instantiation
Line 6666
 
Line 6901
   # 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
   # preloaded symbol tables.    # preloaded symbol tables.
   extract_expsyms_cmds=    extract_expsyms_cmds=
     # Just being paranoid about ensuring that cc_basename is set.
     for cc_temp in $compiler""; do
     case $cc_temp in
       compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       \-*) ;;
       *) break;;
     esac
   done
   cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   
   case $host_os in    case $host_os in
   cygwin* | mingw* | pw32*)    cygwin* | mingw* | pw32*)
Line 6676
 
Line 6921
       with_gnu_ld=no        with_gnu_ld=no
     fi      fi
     ;;      ;;
     interix*)
       # we just hope/assume this is gcc and not c89 (= MSVC++)
       with_gnu_ld=yes
       ;;
   openbsd*)    openbsd*)
     with_gnu_ld=no      with_gnu_ld=no
     ;;      ;;
Line 6686
 
Line 6935
     # If archive_cmds runs LD, not CC, wlarc should be empty      # If archive_cmds runs LD, not CC, wlarc should be empty
     wlarc='${wl}'      wlarc='${wl}'
   
       # Set some defaults for GNU ld with shared library support. These
       # are reset later if shared libraries are not supported. Putting them
       # here allows them to be overridden if necessary.
       runpath_var=LD_RUN_PATH
       hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
       export_dynamic_flag_spec='${wl}--export-dynamic'
       # ancient GNU ld didn't support --whole-archive et. al.
       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
       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
   
     # See if GNU ld supports shared libraries.      # See if GNU ld supports shared libraries.
     case $host_os in      case $host_os in
     aix3* | aix4* | aix5*)      aix3* | aix4* | aix5*)
Line 6736
 
Line 7006
       allow_undefined_flag=unsupported        allow_undefined_flag=unsupported
       always_export_symbols=no        always_export_symbols=no
       enable_shared_with_static_runtimes=yes        enable_shared_with_static_runtimes=yes
       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'
   
       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
         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}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  # If the export-symbols file already is a .def file (1st line   # If the export-symbols file already is a .def file (1st line
  # is EXPORTS), use it as is; otherwise, prepend...   # is EXPORTS), use it as is; otherwise, prepend...
  archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then   archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
Line 6748
 
Line 7018
    echo EXPORTS > $output_objdir/$soname.def;     echo EXPORTS > $output_objdir/$soname.def;
    cat $export_symbols >> $output_objdir/$soname.def;     cat $export_symbols >> $output_objdir/$soname.def;
  fi~   fi~
  $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}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       else        else
  ld_shlibs=no   ld_shlibs=no
       fi        fi
       ;;        ;;
   
     netbsd* | netbsdelf*-gnu | knetbsd*-gnu)      interix3*)
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then        hardcode_direct=no
  archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'        hardcode_shlibpath_var=no
  wlarc=        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
       else        export_dynamic_flag_spec='${wl}-E'
  archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'        # Instead, shared libraries are loaded at an image base (0x10000000 by
       fi        # default) and relocated if they conflict, which is a slow very memory
         # consuming and fragmenting process.  To avoid this, we pick a random,
         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
         archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;        ;;
   
     solaris* | sysv5*)      linux*)
       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  ld_shlibs=no   tmp_addflag=
  cat <<EOF 1>&2   case $cc_basename,$host_cpu in
    pgcc*) # Portland Group C compiler
      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'
      tmp_addflag=' $pic_flag'
      ;;
    pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
      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'
      tmp_addflag=' $pic_flag -Mnomain' ;;
    ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
      tmp_addflag=' -i_dynamic' ;;
    efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
      tmp_addflag=' -i_dynamic -nofor_main' ;;
    ifc* | ifort*) # Intel Fortran compiler
      tmp_addflag=' -nofor_main' ;;
    esac
    archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   
 *** Warning: The releases 2.8.* of the GNU linker cannot reliably   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'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    fi
         else
    ld_shlibs=no
         fi
         ;;
   
       netbsd*)
         if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
    wlarc=
         else
    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
         fi
         ;;
   
       solaris*)
         if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
    ld_shlibs=no
    cat <<EOF 1>&2
   
   *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 *** create shared libraries on Solaris systems.  Therefore, libtool  *** create shared libraries on Solaris systems.  Therefore, libtool
 *** is disabling shared libraries support.  We urge you to upgrade GNU  *** is disabling shared libraries support.  We urge you to upgrade GNU
 *** binutils to release 2.9.1 or newer.  Another option is to modify  *** binutils to release 2.9.1 or newer.  Another option is to modify
Line 6785
 
Line 7101
       fi        fi
       ;;        ;;
   
     sunos4*)      sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'        case `$LD -v 2>&1` in
       wlarc=          *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
       hardcode_direct=yes   ld_shlibs=no
       hardcode_shlibpath_var=no   cat <<_LT_EOF 1>&2
       ;;  
   
   linux*)  *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   *** reliably create shared libraries on SCO systems.  Therefore, libtool
   *** is disabling shared libraries support.  We urge you to upgrade GNU
   *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   *** your PATH or compiler configuration so that the native linker is
   *** used, and then restart.
   
   _LT_EOF
    ;;
    *)
     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
         tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  archive_cmds="$tmp_archive_cmds"       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
       supports_anon_versioning=no       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
       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  
       link_all_deplibs=no  
     else      else
       ld_shlibs=no        ld_shlibs=no
     fi      fi
     ;;      ;;
         esac
         ;;
   
       sunos4*)
         archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
         wlarc=
         hardcode_direct=yes
         hardcode_shlibpath_var=no
         ;;
   
     *)      *)
       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
Line 6828
 
Line 7145
       ;;        ;;
     esac      esac
   
     if test "$ld_shlibs" = yes; then      if test "$ld_shlibs" = no; then
       runpath_var=LD_RUN_PATH        runpath_var=
       hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'        hardcode_libdir_flag_spec=
       export_dynamic_flag_spec='${wl}--export-dynamic'        export_dynamic_flag_spec=
       # ancient GNU ld didn't support --whole-archive et. al.  
       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=    whole_archive_flag_spec=
       fi        fi
     fi  
   else    else
     # 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)
     case $host_os in      case $host_os in
Line 6849
 
Line 7161
       # Note: this linker hardcodes the directories in LIBPATH if there        # Note: this linker hardcodes the directories in LIBPATH if there
       # are no directories specified by -L.        # are no directories specified by -L.
       hardcode_minus_L=yes        hardcode_minus_L=yes
       if test "$GCC" = yes && test -z "$link_static_flag"; then        if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  # Neither direct hardcoding nor static linking is supported with a   # Neither direct hardcoding nor static linking is supported with a
  # broken collect2.   # broken collect2.
  hardcode_direct=unsupported   hardcode_direct=unsupported
Line 6883
 
Line 7195
       break        break
     fi      fi
    done     done
      ;;
  esac   esac
   
  exp_sym_flag='-bexport'   exp_sym_flag='-bexport'
Line 6901
 
Line 7214
       link_all_deplibs=yes        link_all_deplibs=yes
   
       if test "$GCC" = yes; then        if test "$GCC" = yes; then
  case $host_os in aix4.012|aix4.012.*)   case $host_os in aix4.[012]|aix4.[012].*)
  # 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
  # below for broken collect2 doesn't work under 4.3+   # below for broken collect2 doesn't work under 4.3+
    collect2name=`${CC} -print-prog-name=collect2`     collect2name=`${CC} -print-prog-name=collect2`
Line 6920
 
Line 7233
     hardcode_libdir_flag_spec='-L$libdir'      hardcode_libdir_flag_spec='-L$libdir'
     hardcode_libdir_separator=      hardcode_libdir_separator=
    fi     fi
      ;;
  esac   esac
  shared_flag='-shared'   shared_flag='-shared'
    if test "$aix_use_runtimelinking" = yes; then
      shared_flag="$shared_flag "'${wl}-G'
    fi
       else        else
  # not using gcc   # not using gcc
  if test "$host_cpu" = ia64; then   if test "$host_cpu" = ia64; then
Line 6969
 
Line 7286
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 6997
 
Line 7315
 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"   archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
        else         else
  if test "$host_cpu" = ia64; then   if test "$host_cpu" = ia64; then
    hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'     hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
    allow_undefined_flag="-z nodefs"     allow_undefined_flag="-z nodefs"
    archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"     archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  else   else
  # Determine the default libpath from the value encoded in an empty executable.   # Determine the default libpath from the value encoded in an empty executable.
  cat >conftest.$ac_ext <<_ACEOF   cat >conftest.$ac_ext <<_ACEOF
Line 7029
 
Line 7347
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 7061
 
Line 7380
    # -berok will link without error, but may produce a broken library.     # -berok will link without error, but may produce a broken library.
    no_undefined_flag=' ${wl}-bernotok'     no_undefined_flag=' ${wl}-bernotok'
    allow_undefined_flag=' ${wl}-berok'     allow_undefined_flag=' ${wl}-berok'
    # -bexpall does not export symbols beginning with underscore (_)  
    always_export_symbols=yes  
    # Exported symbols can be pulled into shared objects from archives     # Exported symbols can be pulled into shared objects from archives
    whole_archive_flag_spec=' '     whole_archive_flag_spec='$convenience'
    archive_cmds_need_lc=yes     archive_cmds_need_lc=yes
    # This is similar to how AIX traditionally builds it's shared libraries.     # This is similar to how AIX traditionally builds its shared libraries.
    archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'     archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  fi   fi
       fi        fi
       ;;        ;;
Line 7080
 
Line 7397
       ld_shlibs=no        ld_shlibs=no
       ;;        ;;
   
     bsdi4*)      bsdi[45]*)
       export_dynamic_flag_spec=-rdynamic        export_dynamic_flag_spec=-rdynamic
       ;;        ;;
   
Line 7106
 
Line 7423
       ;;        ;;
   
     darwin* | rhapsody*)      darwin* | rhapsody*)
     if test "$GXX" = yes ; then        case $host_os in
       archive_cmds_need_lc=no  
       case "$host_os" in  
       rhapsody* | darwin1.[012])        rhapsody* | darwin1.[012])
  allow_undefined_flag='-undefined suppress'           allow_undefined_flag='${wl}-undefined ${wl}suppress'
  ;;   ;;
       *) # Darwin 1.3 on        *) # Darwin 1.3 on
       if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
        allow_undefined_flag='-flat_namespace -undefined suppress'             allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       else        else
         case ${MACOSX_DEPLOYMENT_TARGET} in          case ${MACOSX_DEPLOYMENT_TARGET} in
           10.[012])            10.[012])
             allow_undefined_flag='-flat_namespace -undefined suppress'                 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
             ;;              ;;
           10.*)            10.*)
             allow_undefined_flag='-undefined dynamic_lookup'                 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
             ;;              ;;
         esac          esac
       fi        fi
  ;;   ;;
       esac        esac
     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}'  
       hardcode_direct=no        hardcode_direct=no
       hardcode_automatic=yes        hardcode_automatic=yes
       hardcode_shlibpath_var=unsupported        hardcode_shlibpath_var=unsupported
       whole_archive_flag_spec='-all_load $convenience'        whole_archive_flag_spec=''
       link_all_deplibs=yes        link_all_deplibs=yes
       if test "$GCC" = yes ; then
       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 lds
         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}'
     else      else
         case $cc_basename in
           xlc*)
            output_verbose_link_cmd='echo'
            archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $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 lds
            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}'
             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}'
             ;;
          *)
       ld_shlibs=no        ld_shlibs=no
             ;;
         esac
     fi      fi
       ;;        ;;
   
Line 7185
 
Line 7502
       ;;        ;;
   
     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
     freebsd* | kfreebsd*-gnu)      freebsd* | kfreebsd*-gnu | dragonfly*)
       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'        archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
       hardcode_libdir_flag_spec='-R$libdir'        hardcode_libdir_flag_spec='-R$libdir'
       hardcode_direct=yes        hardcode_direct=yes
Line 7208
 
Line 7525
       export_dynamic_flag_spec='${wl}-E'        export_dynamic_flag_spec='${wl}-E'
       ;;        ;;
   
     hpux10* | hpux11*)      hpux10*)
       if test "$GCC" = yes -a "$with_gnu_ld" = no; then        if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  case "$host_cpu" in   archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  hppa*64*|ia64*)        else
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
         fi
         if test "$with_gnu_ld" = no; then
    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
    hardcode_libdir_separator=:
   
    hardcode_direct=yes
    export_dynamic_flag_spec='${wl}-E'
   
    # hardcode_minus_L: Not really in the search PATH,
    # but as the default location of the library.
    hardcode_minus_L=yes
         fi
         ;;
   
       hpux11*)
         if test "$GCC" = yes -a "$with_gnu_ld" = no; then
    case $host_cpu in
    hppa*64*)
    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'
    ;;     ;;
    ia64*)
      archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
      ;;
  *)   *)
    archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'     archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    ;;     ;;
  esac   esac
       else        else
  case "$host_cpu" in   case $host_cpu in
  hppa*64*|ia64*)   hppa*64*)
    archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'     archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
      ;;
    ia64*)
      archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    ;;     ;;
  *)   *)
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    ;;     ;;
  esac   esac
       fi        fi
       if test "$with_gnu_ld" = no; then        if test "$with_gnu_ld" = no; then
  case "$host_cpu" in  
  hppa*64*)  
    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
    hardcode_libdir_flag_spec_ld='+b $libdir'  
    hardcode_libdir_separator=:     hardcode_libdir_separator=:
   
    case $host_cpu in
    hppa*64*|ia64*)
      hardcode_libdir_flag_spec_ld='+b $libdir'
    hardcode_direct=no     hardcode_direct=no
    hardcode_shlibpath_var=no     hardcode_shlibpath_var=no
    ;;     ;;
  ia64*)  
    hardcode_libdir_flag_spec='-L$libdir'  
    hardcode_direct=no  
    hardcode_shlibpath_var=no  
   
    # hardcode_minus_L: Not really in the search PATH,  
    # but as the default location of the library.  
    hardcode_minus_L=yes  
    ;;  
  *)   *)
    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'  
    hardcode_libdir_separator=:  
    hardcode_direct=yes     hardcode_direct=yes
    export_dynamic_flag_spec='${wl}-E'     export_dynamic_flag_spec='${wl}-E'
   
Line 7272
 
Line 7604
       link_all_deplibs=yes        link_all_deplibs=yes
       ;;        ;;
   
     netbsd* | netbsdelf*-gnu | knetbsd*-gnu)      netbsd*)
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
       else        else
Line 7296
 
Line 7628
       hardcode_shlibpath_var=no        hardcode_shlibpath_var=no
       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
  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'   archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'   hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  export_dynamic_flag_spec='${wl}-E'   export_dynamic_flag_spec='${wl}-E'
       else        else
Line 7341
 
Line 7674
  allow_undefined_flag=' -expect_unresolved \*'   allow_undefined_flag=' -expect_unresolved \*'
  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'
  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~
  $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'
   
  # Both c and cxx compiler support -rpath directly   # Both c and cxx compiler support -rpath directly
  hardcode_libdir_flag_spec='-rpath $libdir'   hardcode_libdir_flag_spec='-rpath $libdir'
Line 7349
 
Line 7682
       hardcode_libdir_separator=:        hardcode_libdir_separator=:
       ;;        ;;
   
     sco3.2v5*)  
       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'  
       hardcode_shlibpath_var=no  
       export_dynamic_flag_spec='${wl}-Bexport'  
       runpath_var=LD_RUN_PATH  
       hardcode_runpath_var=yes  
       ;;  
   
     solaris*)      solaris*)
       no_undefined_flag=' -z text'        no_undefined_flag=' -z text'
       if test "$GCC" = yes; then        if test "$GCC" = yes; then
    wlarc='${wl}'
  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'
  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~
    $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'
       else        else
    wlarc=''
  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'
  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~
   $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 7372
 
Line 7699
       hardcode_shlibpath_var=no        hardcode_shlibpath_var=no
       case $host_os in        case $host_os in
       solaris2.[0-5] | solaris2.[0-5].*) ;;        solaris2.[0-5] | solaris2.[0-5].*) ;;
       *) # Supported since Solaris 2.6 (maybe 2.5.1?)        *)
    # The compiler driver will combine linker options so we
    # cannot just pass the convience library names through
    # without $wl, iff we do not link with $LD.
    # Luckily, gcc supports the same syntax we need for Sun Studio.
    # Supported since Solaris 2.6 (maybe 2.5.1?)
    case $wlarc in
    '')
  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;   whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
    *)
      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' ;;
    esac ;;
       esac        esac
       link_all_deplibs=yes        link_all_deplibs=yes
       ;;        ;;
Line 7430
 
Line 7767
       fi        fi
       ;;        ;;
   
     sysv4.2uw2*)      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
       archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'        no_undefined_flag='${wl}-z,text'
       hardcode_direct=yes        archive_cmds_need_lc=no
       hardcode_minus_L=no  
       hardcode_shlibpath_var=no        hardcode_shlibpath_var=no
       hardcode_runpath_var=yes        runpath_var='LD_RUN_PATH'
       runpath_var=LD_RUN_PATH  
       ;;  
   
    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)  
       no_undefined_flag='${wl}-z ${wl}text'  
       if test "$GCC" = yes; then        if test "$GCC" = yes; then
  archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'   archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       else        else
  archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'   archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       fi        fi
       runpath_var='LD_RUN_PATH'  
       hardcode_shlibpath_var=no  
       ;;        ;;
   
     sysv5*)      sysv5* | sco3.2v5* | sco5v6*)
       no_undefined_flag=' -z text'        # Note: We can NOT use -z defs as we might desire, because we do not
       # $CC -shared without GNU ld will not create a library from C++        # link with -lc, and that would cause any symbols used from libc to
       # object files and a static libstdc++, better avoid it by now        # always be unresolved, which means just about no library would
       archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'        # ever link correctly.  If we're not using GNU ld we use -z text
       archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~        # though, which does catch some bad symbols but isn't as heavy-handed
   $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'        # as -z defs.
       hardcode_libdir_flag_spec=        no_undefined_flag='${wl}-z,text'
         allow_undefined_flag='${wl}-z,nodefs'
         archive_cmds_need_lc=no
       hardcode_shlibpath_var=no        hardcode_shlibpath_var=no
         hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
         hardcode_libdir_separator=':'
         link_all_deplibs=yes
         export_dynamic_flag_spec='${wl}-Bexport'
       runpath_var='LD_RUN_PATH'        runpath_var='LD_RUN_PATH'
   
         if test "$GCC" = yes; then
    archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
         else
    archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
         fi
       ;;        ;;
   
     uts4*)      uts4*)
Line 7478
 
Line 7824
 echo "${ECHO_T}$ld_shlibs" >&6  echo "${ECHO_T}$ld_shlibs" >&6
 test "$ld_shlibs" = no && can_build_shared=no  test "$ld_shlibs" = no && can_build_shared=no
   
 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"  
 if test "$GCC" = yes; then  
   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"  
 fi  
   
 #  #
 # Do we need to explicitly link libc?  # Do we need to explicitly link libc?
 #  #
Line 7515
 
Line 7856
         libobjs=conftest.$ac_objext          libobjs=conftest.$ac_objext
         deplibs=          deplibs=
         wl=$lt_prog_compiler_wl          wl=$lt_prog_compiler_wl
    pic_flag=$lt_prog_compiler_pic
         compiler_flags=-v          compiler_flags=-v
         linker_flags=-v          linker_flags=-v
         verstring=          verstring=
Line 7647
 
Line 7989
   shlibpath_var=LIBRARY_PATH    shlibpath_var=LIBRARY_PATH
   ;;    ;;
   
 bsdi4*)  bsdi[45]*)
   version_type=linux    version_type=linux
   need_version=no    need_version=no
   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 7675
 
Line 8017
       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~        dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
       dldir=$destdir/`dirname \$dlpath`~        dldir=$destdir/`dirname \$dlpath`~
       test -d \$dldir || mkdir -p \$dldir~        test -d \$dldir || mkdir -p \$dldir~
       $install_prog $dir/$dlname \$dldir/$dlname'        $install_prog $dir/$dlname \$dldir/$dlname~
         chmod a+x \$dldir/$dlname'
     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~      postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
       dlpath=$dir/\$dldll~        dlpath=$dir/\$dldll~
        $rm \$dlpath'         $rm \$dlpath'
Line 7705
 
Line 8048
       ;;        ;;
     pw32*)      pw32*)
       # pw32 DLLs use 'pw' prefix rather than 'lib'        # pw32 DLLs use 'pw' prefix rather than 'lib'
       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}'
         ;;
       esac
       ;;        ;;
   
     linux*)
       if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
         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      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="$archive_cmds"
         fi
       else
         ld_shlibs=no
       fi
     ;;      ;;
   
   *)    *)
Line 7728
 
Line 8095
   soname_spec='${libname}${release}${major}$shared_ext'    soname_spec='${libname}${release}${major}$shared_ext'
   shlibpath_overrides_runpath=yes    shlibpath_overrides_runpath=yes
   shlibpath_var=DYLD_LIBRARY_PATH    shlibpath_var=DYLD_LIBRARY_PATH
   shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   # 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.
   if test "$GCC" = yes; then    if test "$GCC" = yes; then
     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 7763
 
Line 8130
   dynamic_linker='GNU ld.so'    dynamic_linker='GNU ld.so'
   ;;    ;;
   
 freebsd*)  freebsd* | dragonfly*)
   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`    # DragonFly does not have aout.  When/if they implement a new
   version_type=freebsd-$objformat    # versioning mechanism, adjust this.
     if test -x /usr/bin/objformat; then
       objformat=`/usr/bin/objformat`
     else
       case $host_os in
       freebsd[123]*) objformat=aout ;;
       *) objformat=elf ;;
       esac
     fi
     # Handle Gentoo/FreeBSD as it was Linux
     case $host_vendor in
       gentoo)
         version_type=linux ;;
       *)
         version_type=freebsd-$objformat ;;
     esac
   
   case $version_type in    case $version_type in
     freebsd-elf*)      freebsd-elf*)
       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'        library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
Line 7776
 
Line 8159
       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'        library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
       need_version=yes        need_version=yes
       ;;        ;;
       linux)
         library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
         soname_spec='${libname}${release}${shared_ext}$major'
         need_lib_prefix=no
         need_version=no
         ;;
   esac    esac
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
   case $host_os in    case $host_os in
   freebsd2*)    freebsd2*)
     shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
     ;;      ;;
   freebsd3.01* | freebsdelf3.01*)    freebsd3.[01]* | freebsdelf3.[01]*)
     shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
     hardcode_into_libs=yes      hardcode_into_libs=yes
     ;;      ;;
   *) # from 3.2 on    freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
     freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
     shlibpath_overrides_runpath=no      shlibpath_overrides_runpath=no
     hardcode_into_libs=yes      hardcode_into_libs=yes
     ;;      ;;
     freebsd*) # from 4.6 on
       shlibpath_overrides_runpath=yes
       hardcode_into_libs=yes
       ;;
   esac    esac
   ;;    ;;
   
Line 7809
 
Line 8203
   version_type=sunos    version_type=sunos
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   case "$host_cpu" in    case $host_cpu in
   ia64*)    ia64*)
     shrext_cmds='.so'      shrext_cmds='.so'
     hardcode_into_libs=yes      hardcode_into_libs=yes
Line 7849
 
Line 8243
   postinstall_cmds='chmod 555 $lib'    postinstall_cmds='chmod 555 $lib'
   ;;    ;;
   
   interix3*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     soname_spec='${libname}${release}${shared_ext}$major'
     dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=no
     hardcode_into_libs=yes
     ;;
   
 irix5* | irix6* | nonstopux*)  irix5* | irix6* | nonstopux*)
   case $host_os in    case $host_os in
     nonstopux*) version_type=nonstopux ;;      nonstopux*) version_type=nonstopux ;;
Line 7908
 
Line 8314
   
   # Append ld.so.conf contents to the search path    # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then    if test -f /etc/ld.so.conf; then
     lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`      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' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi    fi
   
Line 7921
 
Line 8327
   dynamic_linker='GNU/Linux ld.so'    dynamic_linker='GNU/Linux ld.so'
   ;;    ;;
   
 netbsdelf*-gnu)  knetbsd*-gnu)
   version_type=linux    version_type=linux
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
Line 7930
 
Line 8336
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=no    shlibpath_overrides_runpath=no
   hardcode_into_libs=yes    hardcode_into_libs=yes
   dynamic_linker='NetBSD ld.elf_so'    dynamic_linker='GNU ld.so'
   ;;  
   
 knetbsd*-gnu)  
   version_type=linux  
   need_lib_prefix=no  
   need_version=no  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'  
   soname_spec='${libname}${release}${shared_ext}$major'  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=no  
   hardcode_into_libs=yes  
   dynamic_linker='GNU ld.so'  
   ;;    ;;
   
 netbsd*)  netbsd*)
Line 7982
 
Line 8376
   
 openbsd*)  openbsd*)
   version_type=sunos    version_type=sunos
     sys_lib_dlsearch_path_spec="/usr/lib"
   need_lib_prefix=no    need_lib_prefix=no
   need_version=yes    # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
     case $host_os in
       openbsd3.3 | openbsd3.3.*) need_version=yes ;;
       *)                         need_version=no  ;;
     esac
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
Line 8021
 
Line 8420
   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   ;;    ;;
   
 sco3.2v5*)  
   version_type=osf  
   soname_spec='${libname}${release}${shared_ext}$major'  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'  
   shlibpath_var=LD_LIBRARY_PATH  
   ;;  
   
 solaris*)  solaris*)
   version_type=linux    version_type=linux
   need_lib_prefix=no    need_lib_prefix=no
Line 8053
 
Line 8445
   need_version=yes    need_version=yes
   ;;    ;;
   
 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  sysv4 | sysv4.3*)
   version_type=linux    version_type=linux
   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}'
   soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
Line 8086
 
Line 8478
   fi    fi
   ;;    ;;
   
   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     version_type=freebsd-elf
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
     soname_spec='${libname}${release}${shared_ext}$major'
     shlibpath_var=LD_LIBRARY_PATH
     hardcode_into_libs=yes
     if test "$with_gnu_ld" = yes; then
       sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
       shlibpath_overrides_runpath=no
     else
       sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
       shlibpath_overrides_runpath=yes
       case $host_os in
         sco3.2v5*)
           sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
    ;;
       esac
     fi
     sys_lib_dlsearch_path_spec='/usr/lib'
     ;;
   
 uts4*)  uts4*)
   version_type=linux    version_type=linux
   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 8101
 
Line 8516
 echo "${ECHO_T}$dynamic_linker" >&6  echo "${ECHO_T}$dynamic_linker" >&6
 test "$dynamic_linker" = no && can_build_shared=no  test "$dynamic_linker" = no && can_build_shared=no
   
   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   if test "$GCC" = yes; then
     variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   fi
   
 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5  echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 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
 hardcode_action=  hardcode_action=
Line 8232
 
Line 8652
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 8335
 
Line 8756
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 8400
 
Line 8822
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 8493
 
Line 8916
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 8558
 
Line 8982
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 8624
 
Line 9049
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 8690
 
Line 9116
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 8749
 
Line 9176
     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"      test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   
     save_LDFLAGS="$LDFLAGS"      save_LDFLAGS="$LDFLAGS"
     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   
     save_LIBS="$LIBS"      save_LIBS="$LIBS"
     LIBS="$lt_cv_dlopen_libs $LIBS"      LIBS="$lt_cv_dlopen_libs $LIBS"
Line 8765
 
Line 9192
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 8768 "configure"  #line 9195 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
Line 8822
 
Line 9249
       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;        else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
       /* dlclose (self); */        /* dlclose (self); */
     }      }
     else
       puts (dlerror ());
   
     exit (status);      exit (status);
 }  }
Line 8831
 
Line 9260
   ac_status=$?    ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then    (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
     (./conftest; exit; ) 2>/dev/null      (./conftest; exit; ) >&5 2>/dev/null
     lt_status=$?      lt_status=$?
     case x$lt_status in      case x$lt_status in
       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;        x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;        x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;        x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
     esac      esac
   else :    else :
     # compilation failed      # compilation failed
Line 8851
 
Line 9280
 echo "${ECHO_T}$lt_cv_dlopen_self" >&6  echo "${ECHO_T}$lt_cv_dlopen_self" >&6
   
     if test "x$lt_cv_dlopen_self" = xyes; then      if test "x$lt_cv_dlopen_self" = xyes; then
       LDFLAGS="$LDFLAGS $link_static_flag"        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5        echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6  echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 if test "${lt_cv_dlopen_self_static+set}" = set; then  if test "${lt_cv_dlopen_self_static+set}" = set; then
Line 8863
 
Line 9292
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 8866 "configure"  #line 9295 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
Line 8920
 
Line 9349
       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;        else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
       /* dlclose (self); */        /* dlclose (self); */
     }      }
     else
       puts (dlerror ());
   
     exit (status);      exit (status);
 }  }
Line 8929
 
Line 9360
   ac_status=$?    ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then    (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
     (./conftest; exit; ) 2>/dev/null      (./conftest; exit; ) >&5 2>/dev/null
     lt_status=$?      lt_status=$?
     case x$lt_status in      case x$lt_status in
       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;        x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;        x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;        x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
     esac      esac
   else :    else :
     # compilation failed      # compilation failed
Line 8967
 
Line 9398
 fi  fi
   
   
 # Report which librarie types wil actually be built  # Report which library types will actually be built
 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5  echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6  echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
 echo "$as_me:$LINENO: result: $can_build_shared" >&5  echo "$as_me:$LINENO: result: $can_build_shared" >&5
Line 8979
 
Line 9410
   
 # On AIX, shared libraries and static libraries use the same namespace, and  # On AIX, shared libraries and static libraries use the same namespace, and
 # are all built from PIC.  # are all built from PIC.
 case "$host_os" in  case $host_os in
 aix3*)  aix3*)
   test "$enable_shared" = yes && enable_static=no    test "$enable_shared" = yes && enable_static=no
   if test -n "$RANLIB"; then    if test -n "$RANLIB"; then
Line 8993
 
Line 9424
     test "$enable_shared" = yes && enable_static=no      test "$enable_shared" = yes && enable_static=no
   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  
     ;;  
 esac  esac
 echo "$as_me:$LINENO: result: $enable_shared" >&5  echo "$as_me:$LINENO: result: $enable_shared" >&5
 echo "${ECHO_T}$enable_shared" >&6  echo "${ECHO_T}$enable_shared" >&6
Line 9054
 
Line 9448
   # Now quote all the things that may contain metacharacters while being    # Now quote all the things that may contain metacharacters while being
   # 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
   # variables and quote the copies for generation of the libtool script.    # variables and quote the copies for generation of the libtool script.
   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \    for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
     SED SHELL STRIP \      SED SHELL STRIP \
     libname_spec library_names_spec soname_spec extract_expsyms_cmds \      libname_spec library_names_spec soname_spec extract_expsyms_cmds \
     old_striplib striplib file_magic_cmd finish_cmds finish_eval \      old_striplib striplib file_magic_cmd finish_cmds finish_eval \
Line 9158
 
Line 9552
 #  #
 # You should have received a copy of the GNU General Public License  # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software  # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 #  #
 # As a special exception to the GNU General Public License, if you  # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a  # distribute this file as part of a program that contains a
Line 9169
 
Line 9563
 SED=$lt_SED  SED=$lt_SED
   
 # Sed that helps us avoid accidentally triggering echo(1) options like -n.  # Sed that helps us avoid accidentally triggering echo(1) options like -n.
 Xsed="$SED -e s/^X//"  Xsed="$SED -e 1s/^X//"
   
 # 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
 # if CDPATH is set.  # if CDPATH is set.
 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   
 # The names of the tagged configurations supported by this script.  # The names of the tagged configurations supported by this script.
 available_tags=  available_tags=
Line 9203
 
Line 9597
 # The host system.  # The host system.
 host_alias=$host_alias  host_alias=$host_alias
 host=$host  host=$host
   host_os=$host_os
   
   # The build system.
   build_alias=$build_alias
   build=$build
   build_os=$build_os
   
 # An echo program that does not interpret backslashes.  # An echo program that does not interpret backslashes.
 echo=$lt_echo  echo=$lt_echo
Line 9214
 
Line 9614
 # A C compiler.  # A C compiler.
 LTCC=$lt_LTCC  LTCC=$lt_LTCC
   
   # LTCC compiler flags.
   LTCFLAGS=$lt_LTCFLAGS
   
 # A language-specific compiler.  # A language-specific compiler.
 CC=$lt_compiler  CC=$lt_compiler
   
Line 9544
 
Line 9947
 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}  echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
     fi      fi
   fi    fi
     if test -z "$LTCFLAGS"; then
       eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
     fi
   
   # Extract list of available tagged configurations in $ofile.    # Extract list of available tagged configurations in $ofile.
   # Note that this assumes the entire list is on one line.    # Note that this assumes the entire list is on one line.
Line 9574
 
Line 9980
   
       case $tagname in        case $tagname in
       CXX)        CXX)
  if test -n "$CXX" && test "X$CXX" != "Xno"; then   if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
        ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
        (test "X$CXX" != "Xg++"))) ; then
    ac_ext=cc     ac_ext=cc
 ac_cpp='$CXXCPP $CPPFLAGS'  ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Line 9594
 
Line 10002
 hardcode_libdir_flag_spec_ld_CXX=  hardcode_libdir_flag_spec_ld_CXX=
 hardcode_libdir_separator_CXX=  hardcode_libdir_separator_CXX=
 hardcode_minus_L_CXX=no  hardcode_minus_L_CXX=no
   hardcode_shlibpath_var_CXX=unsupported
 hardcode_automatic_CXX=no  hardcode_automatic_CXX=no
 module_cmds_CXX=  module_cmds_CXX=
 module_expsym_cmds_CXX=  module_expsym_cmds_CXX=
Line 9611
 
Line 10020
 compiler_lib_search_path_CXX=  compiler_lib_search_path_CXX=
   
 # Source file extension for C++ test sources.  # Source file extension for C++ test sources.
 ac_ext=cc  ac_ext=cpp
   
 # Object file extension for compiled C++ test sources.  # Object file extension for compiled C++ test sources.
 objext=o  objext=o
Line 9621
 
Line 10030
 lt_simple_compile_test_code="int some_variable = 0;\n"  lt_simple_compile_test_code="int some_variable = 0;\n"
   
 # Code to be used in simple link tests  # Code to be used in simple link tests
 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'  lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
   
 # 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.
   
 # If no C compiler was specified, use CC.  # If no C compiler was specified, use CC.
 LTCC=${LTCC-"$CC"}  LTCC=${LTCC-"$CC"}
   
   # If no C compiler flags were specified, use CFLAGS.
   LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   
 # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
 compiler=$CC  compiler=$CC
   
   
   # save warnings/boilerplate of simple test code
   ac_outfile=conftest.$ac_objext
   printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   _lt_compiler_boilerplate=`cat conftest.err`
   $rm conftest*
   
   ac_outfile=conftest.$ac_objext
   printf "$lt_simple_link_test_code" >conftest.$ac_ext
   eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   _lt_linker_boilerplate=`cat conftest.err`
   $rm conftest*
   
   
 # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
 lt_save_CC=$CC  lt_save_CC=$CC
 lt_save_LD=$LD  lt_save_LD=$LD
Line 9642
 
Line 10068
 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 else  else
   unset lt_cv_prog_gnu_ld    $as_unset lt_cv_prog_gnu_ld
 fi  fi
 if test -n "${lt_cv_path_LDCXX+set}"; then  if test -n "${lt_cv_path_LDCXX+set}"; then
   lt_cv_path_LD=$lt_cv_path_LDCXX    lt_cv_path_LD=$lt_cv_path_LDCXX
 else  else
   unset lt_cv_path_LD    $as_unset lt_cv_path_LD
 fi  fi
 test -z "${LDCXX+set}" || LD=$LDCXX  test -z "${LDCXX+set}" || LD=$LDCXX
 CC=${CXX-"c++"}  CC=${CXX-"c++"}
 compiler=$CC  compiler=$CC
 compiler_CXX=$CC  compiler_CXX=$CC
 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`  for cc_temp in $compiler""; do
     case $cc_temp in
       compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       \-*) ;;
       *) break;;
     esac
   done
   cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   
   
 # 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
 # no_builtin_flag separately  # no_builtin_flag separately
Line 9724
 
Line 10159
     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
       lt_cv_path_LD="$ac_dir/$ac_prog"        lt_cv_path_LD="$ac_dir/$ac_prog"
       # Check to see if the program is GNU ld.  I'd rather use --version,        # Check to see if the program is GNU ld.  I'd rather use --version,
       # but apparently some GNU ld's only accept -v.        # but apparently some variants of GNU ld only accept -v.
       # Break only if it was the GNU/non-GNU ld that we prefer.        # Break only if it was the GNU/non-GNU ld that we prefer.
       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
       *GNU* | *'with BFD'*)        *GNU* | *'with BFD'*)
Line 9758
 
Line 10193
 if test "${lt_cv_prog_gnu_ld+set}" = set; then  if test "${lt_cv_prog_gnu_ld+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   # I'd rather use --version here, but apparently some GNU ld's only accept -v.    # I'd rather use --version here, but apparently some GNU lds only accept -v.
 case `$LD -v 2>&1 </dev/null` in  case `$LD -v 2>&1 </dev/null` in
 *GNU* | *'with BFD'*)  *GNU* | *'with BFD'*)
   lt_cv_prog_gnu_ld=yes    lt_cv_prog_gnu_ld=yes
Line 9849
 
Line 10284
      ;;       ;;
    esac     esac
  done   done
    ;;
       esac        esac
   
       exp_sym_flag='-bexport'        exp_sym_flag='-bexport'
Line 9867
 
Line 10303
     link_all_deplibs_CXX=yes      link_all_deplibs_CXX=yes
   
     if test "$GXX" = yes; then      if test "$GXX" = yes; then
       case $host_os in aix4.012|aix4.012.*)        case $host_os in aix4.[012]|aix4.[012].*)
       # 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
       # below for broken collect2 doesn't work under 4.3+        # below for broken collect2 doesn't work under 4.3+
  collect2name=`${CC} -print-prog-name=collect2`   collect2name=`${CC} -print-prog-name=collect2`
Line 9886
 
Line 10322
    hardcode_libdir_flag_spec_CXX='-L$libdir'     hardcode_libdir_flag_spec_CXX='-L$libdir'
    hardcode_libdir_separator_CXX=     hardcode_libdir_separator_CXX=
  fi   fi
    ;;
       esac        esac
       shared_flag='-shared'        shared_flag='-shared'
         if test "$aix_use_runtimelinking" = yes; then
    shared_flag="$shared_flag "'${wl}-G'
         fi
     else      else
       # not using gcc        # not using gcc
       if test "$host_cpu" = ia64; then        if test "$host_cpu" = ia64; then
Line 9935
 
Line 10375
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_cxx_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 9964
 
Line 10405
   
       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   
       archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"        archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
      else       else
       if test "$host_cpu" = ia64; then        if test "$host_cpu" = ia64; then
  hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'   hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
  allow_undefined_flag_CXX="-z nodefs"   allow_undefined_flag_CXX="-z nodefs"
  archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"   archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
       else        else
  # Determine the default libpath from the value encoded in an empty executable.   # Determine the default libpath from the value encoded in an empty executable.
  cat >conftest.$ac_ext <<_ACEOF   cat >conftest.$ac_ext <<_ACEOF
Line 9996
 
Line 10437
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_cxx_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 10028
 
Line 10470
  # -berok will link without error, but may produce a broken library.   # -berok will link without error, but may produce a broken library.
  no_undefined_flag_CXX=' ${wl}-bernotok'   no_undefined_flag_CXX=' ${wl}-bernotok'
  allow_undefined_flag_CXX=' ${wl}-berok'   allow_undefined_flag_CXX=' ${wl}-berok'
  # -bexpall does not export symbols beginning with underscore (_)  
  always_export_symbols_CXX=yes  
  # Exported symbols can be pulled into shared objects from archives   # Exported symbols can be pulled into shared objects from archives
  whole_archive_flag_spec_CXX=' '   whole_archive_flag_spec_CXX='$convenience'
  archive_cmds_need_lc_CXX=yes   archive_cmds_need_lc_CXX=yes
  # This is similar to how AIX traditionally builds it's shared libraries.   # This is similar to how AIX traditionally builds its shared libraries.
  archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'   archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
         fi
       fi        fi
       ;;
   
     beos*)
       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
         allow_undefined_flag_CXX=unsupported
         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
         # support --undefined.  This deserves some investigation.  FIXME
         archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
       else
         ld_shlibs_CXX=no
     fi      fi
     ;;      ;;
   
   chorus*)    chorus*)
     case $cc_basename in      case $cc_basename in
       *)        *)
Line 10056
 
Line 10508
     enable_shared_with_static_runtimes_CXX=yes      enable_shared_with_static_runtimes_CXX=yes
   
     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
       archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       # If the export-symbols file already is a .def file (1st line        # If the export-symbols file already is a .def file (1st line
       # is EXPORTS), use it as is; otherwise, prepend...        # is EXPORTS), use it as is; otherwise, prepend...
       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then        archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
Line 10065
 
Line 10517
  echo EXPORTS > $output_objdir/$soname.def;   echo EXPORTS > $output_objdir/$soname.def;
  cat $export_symbols >> $output_objdir/$soname.def;   cat $export_symbols >> $output_objdir/$soname.def;
       fi~        fi~
       $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'        $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     else      else
       ld_shlibs_CXX=no        ld_shlibs_CXX=no
     fi      fi
   ;;    ;;
   
   darwin* | rhapsody*)    darwin* | rhapsody*)
   if test "$GXX" = yes; then          case $host_os in
     archive_cmds_need_lc_CXX=no  
     case "$host_os" in  
     rhapsody* | darwin1.[012])      rhapsody* | darwin1.[012])
       allow_undefined_flag_CXX='-undefined suppress'           allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
       ;;        ;;
     *) # Darwin 1.3 on      *) # Darwin 1.3 on
       if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
        allow_undefined_flag_CXX='-flat_namespace -undefined suppress'             allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       else        else
         case ${MACOSX_DEPLOYMENT_TARGET} in          case ${MACOSX_DEPLOYMENT_TARGET} in
           10.[012])            10.[012])
             allow_undefined_flag_CXX='-flat_namespace -undefined suppress'                 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
             ;;              ;;
           10.*)            10.*)
             allow_undefined_flag_CXX='-undefined dynamic_lookup'                 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
             ;;              ;;
         esac          esac
       fi        fi
       ;;        ;;
     esac      esac
         archive_cmds_need_lc_CXX=no
         hardcode_direct_CXX=no
         hardcode_automatic_CXX=yes
         hardcode_shlibpath_var_CXX=unsupported
         whole_archive_flag_spec_CXX=''
         link_all_deplibs_CXX=yes
   
       if test "$GXX" = yes ; then
     lt_int_apple_cc_single_mod=no      lt_int_apple_cc_single_mod=no
     output_verbose_link_cmd='echo'      output_verbose_link_cmd='echo'
     if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then        if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
       lt_int_apple_cc_single_mod=yes        lt_int_apple_cc_single_mod=yes
     fi      fi
     if test "X$lt_int_apple_cc_single_mod" = Xyes ; then      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'        archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
     else      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'            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'
     fi      fi
     module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'          module_cmds_CXX='$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 lds
     # 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      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
       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}'        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}'
     else      else
       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}'              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}'
     fi      fi
     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}'      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}'
     hardcode_direct_CXX=no  
     hardcode_automatic_CXX=yes  
     hardcode_shlibpath_var_CXX=unsupported  
     whole_archive_flag_spec_CXX='-all_load $convenience'  
     link_all_deplibs_CXX=yes  
   else    else
         case $cc_basename in
           xlc*)
            output_verbose_link_cmd='echo'
             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'
             module_cmds_CXX='$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 lds
             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}'
             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}'
             ;;
          *)
     ld_shlibs_CXX=no      ld_shlibs_CXX=no
             ;;
         esac
   fi    fi
     ;;      ;;
   
   dgux*)    dgux*)
     case $cc_basename in      case $cc_basename in
       ec++)        ec++*)
  # FIXME: insert proper C++ library support   # FIXME: insert proper C++ library support
  ld_shlibs_CXX=no   ld_shlibs_CXX=no
  ;;   ;;
       ghcx)        ghcx*)
  # Green Hills C++ Compiler   # Green Hills C++ Compiler
  # FIXME: insert proper C++ library support   # FIXME: insert proper C++ library support
  ld_shlibs_CXX=no   ld_shlibs_CXX=no
Line 10139
 
Line 10602
  ;;   ;;
     esac      esac
     ;;      ;;
   freebsd12*)    freebsd[12]*)
     # C++ shared libraries reported to be fairly broken before switch to ELF      # C++ shared libraries reported to be fairly broken before switch to ELF
     ld_shlibs_CXX=no      ld_shlibs_CXX=no
     ;;      ;;
   freebsd-elf*)    freebsd-elf*)
     archive_cmds_need_lc_CXX=no      archive_cmds_need_lc_CXX=no
     ;;      ;;
   freebsd* | kfreebsd*-gnu)    freebsd* | kfreebsd*-gnu | dragonfly*)
     # 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
     # conventions      # conventions
     ld_shlibs_CXX=yes      ld_shlibs_CXX=yes
Line 10163
 
Line 10626
  # location of the library.   # location of the library.
   
     case $cc_basename in      case $cc_basename in
     CC)      CC*)
       # FIXME: insert proper C++ library support        # FIXME: insert proper C++ library support
       ld_shlibs_CXX=no        ld_shlibs_CXX=no
       ;;        ;;
     aCC)      aCC*)
       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'
       # Commands to make compiler produce verbose output that lists        # Commands to make compiler produce verbose output that lists
       # what "hidden" libraries, object files and flags are used when        # what "hidden" libraries, object files and flags are used when
Line 10177
 
Line 10640
       # explicitly linking system object files so we need to strip them        # explicitly linking system object files so we need to strip them
       # 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
       # dependencies.        # dependencies.
       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'        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'
       ;;        ;;
     *)      *)
       if test "$GXX" = yes; then        if test "$GXX" = yes; then
Line 10191
 
Line 10654
     ;;      ;;
   hpux10*|hpux11*)    hpux10*|hpux11*)
     if test $with_gnu_ld = no; then      if test $with_gnu_ld = no; then
       case "$host_cpu" in  
       hppa*64*)  
  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'   hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
  hardcode_libdir_flag_spec_ld_CXX='+b $libdir'  
  hardcode_libdir_separator_CXX=:   hardcode_libdir_separator_CXX=:
         ;;  
       ia64*)        case $host_cpu in
  hardcode_libdir_flag_spec_CXX='-L$libdir'        hppa*64*|ia64*)
    hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
         ;;          ;;
       *)        *)
  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'  
  hardcode_libdir_separator_CXX=:  
  export_dynamic_flag_spec_CXX='${wl}-E'   export_dynamic_flag_spec_CXX='${wl}-E'
         ;;          ;;
       esac        esac
     fi      fi
     case "$host_cpu" in      case $host_cpu in
     hppa*64*)      hppa*64*|ia64*)
       hardcode_direct_CXX=no  
       hardcode_shlibpath_var_CXX=no  
       ;;  
     ia64*)  
       hardcode_direct_CXX=no        hardcode_direct_CXX=no
       hardcode_shlibpath_var_CXX=no        hardcode_shlibpath_var_CXX=no
       hardcode_minus_L_CXX=yes # Not in the search PATH,  
        # but as the default  
        # location of the library.  
       ;;        ;;
     *)      *)
       hardcode_direct_CXX=yes        hardcode_direct_CXX=yes
Line 10228
 
Line 10680
     esac      esac
   
     case $cc_basename in      case $cc_basename in
       CC)        CC*)
  # FIXME: insert proper C++ library support   # FIXME: insert proper C++ library support
  ld_shlibs_CXX=no   ld_shlibs_CXX=no
  ;;   ;;
       aCC)        aCC*)
  case "$host_cpu" in   case $host_cpu in
  hppa*64*|ia64*)   hppa*64*)
    archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'     archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
      ;;
    ia64*)
      archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    ;;     ;;
  *)   *)
    archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'     archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
Line 10254
 
Line 10709
       *)        *)
  if test "$GXX" = yes; then   if test "$GXX" = yes; then
    if test $with_gnu_ld = no; then     if test $with_gnu_ld = no; then
      case "$host_cpu" in       case $host_cpu in
      ia64*|hppa*64*)       hppa*64*)
        archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'         archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
          ;;
        ia64*)
          archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
        ;;         ;;
      *)       *)
        archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'         archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
Line 10270
 
Line 10728
  ;;   ;;
     esac      esac
     ;;      ;;
     interix3*)
       hardcode_direct_CXX=no
       hardcode_shlibpath_var_CXX=no
       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
       export_dynamic_flag_spec_CXX='${wl}-E'
       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
       # Instead, shared libraries are loaded at an image base (0x10000000 by
       # default) and relocated if they conflict, which is a slow very memory
       # consuming and fragmenting process.  To avoid this, we pick a random,
       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
       archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
   irix5* | irix6*)    irix5* | irix6*)
     case $cc_basename in      case $cc_basename in
       CC)        CC*)
  # SGI C++   # SGI C++
  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'
   
  # Archives containing C++ object files must be created using   # Archives containing C++ object files must be created using
  # "CC -ar", where "CC" is the IRIX C++ compiler.  This is   # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
Line 10285
 
Line 10757
       *)        *)
  if test "$GXX" = yes; then   if test "$GXX" = yes; then
    if test "$with_gnu_ld" = no; then     if test "$with_gnu_ld" = no; then
      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'
    else     else
      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'
    fi     fi
Line 10298
 
Line 10770
     ;;      ;;
   linux*)    linux*)
     case $cc_basename in      case $cc_basename in
       KCC)        KCC*)
  # Kuck and Associates, Inc. (KAI) C++ Compiler   # Kuck and Associates, Inc. (KAI) C++ Compiler
   
  # KCC will only create a shared library if the output file   # KCC will only create a shared library if the output file
Line 10323
 
Line 10795
  # "CC -Bstatic", where "CC" is the KAI C++ compiler.   # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'   old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
  ;;   ;;
       icpc)        icpc*)
  # Intel C++   # Intel C++
  with_gnu_ld=yes   with_gnu_ld=yes
  archive_cmds_need_lc_CXX=no   # version 8.0 and above of icpc choke on multiply defined symbols
    # if we add $predep_objects and $postdep_objects, however 7.1 and
    # earlier do not add the objects themselves.
    case `$CC -V 2>&1` in
    *"Version 7."*)
  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'
  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'   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'
      ;;
    *)  # Version 8.0 or newer
      tmp_idyn=
      case $host_cpu in
        ia64*) tmp_idyn=' -i_dynamic';;
      esac
       archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
      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'
      ;;
    esac
    archive_cmds_need_lc_CXX=no
  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'   hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
  export_dynamic_flag_spec_CXX='${wl}--export-dynamic'   export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  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'
  ;;   ;;
       cxx)        pgCC*)
           # Portland Group C++ compiler
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
     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'
   
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
    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'
           ;;
         cxx*)
  # Compaq C++   # Compaq C++
  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'
  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 10364
 
Line 10860
     ;;      ;;
   mvs*)    mvs*)
     case $cc_basename in      case $cc_basename in
       cxx)        cxx*)
  # FIXME: insert proper C++ library support   # FIXME: insert proper C++ library support
  ld_shlibs_CXX=no   ld_shlibs_CXX=no
  ;;   ;;
Line 10374
 
Line 10870
  ;;   ;;
     esac      esac
     ;;      ;;
   netbsd* | netbsdelf*-gnu | knetbsd*-gnu)    netbsd*)
     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'        archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
       wlarc=        wlarc=
Line 10385
 
Line 10881
     # Workaround some broken pre-1.5 toolchains      # Workaround some broken pre-1.5 toolchains
     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::"'
     ;;      ;;
     openbsd2*)
       # C++ shared libraries are fairly broken
       ld_shlibs_CXX=no
       ;;
     openbsd*)
       hardcode_direct_CXX=yes
       hardcode_shlibpath_var_CXX=no
       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
         archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
         export_dynamic_flag_spec_CXX='${wl}-E'
         whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
       fi
       output_verbose_link_cmd='echo'
       ;;
   osf3*)    osf3*)
     case $cc_basename in      case $cc_basename in
       KCC)        KCC*)
  # Kuck and Associates, Inc. (KAI) C++ Compiler   # Kuck and Associates, Inc. (KAI) C++ Compiler
   
  # KCC will only create a shared library if the output file   # KCC will only create a shared library if the output file
Line 10403
 
Line 10915
  old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'   old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   
  ;;   ;;
       RCC)        RCC*)
  # Rational C++ 2.4.1   # Rational C++ 2.4.1
  # FIXME: insert proper C++ library support   # FIXME: insert proper C++ library support
  ld_shlibs_CXX=no   ld_shlibs_CXX=no
  ;;   ;;
       cxx)        cxx*)
  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'   allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  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'
   
  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'   hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  hardcode_libdir_separator_CXX=:   hardcode_libdir_separator_CXX=:
Line 10428
 
Line 10940
       *)        *)
  if test "$GXX" = yes && test "$with_gnu_ld" = no; then   if test "$GXX" = yes && test "$with_gnu_ld" = no; then
    allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'     allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
    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'
   
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
    hardcode_libdir_separator_CXX=:     hardcode_libdir_separator_CXX=:
Line 10447
 
Line 10959
     ;;      ;;
   osf4* | osf5*)    osf4* | osf5*)
     case $cc_basename in      case $cc_basename in
       KCC)        KCC*)
  # Kuck and Associates, Inc. (KAI) C++ Compiler   # Kuck and Associates, Inc. (KAI) C++ Compiler
   
  # KCC will only create a shared library if the output file   # KCC will only create a shared library if the output file
Line 10462
 
Line 10974
  # the KAI C++ compiler.   # the KAI C++ compiler.
  old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'   old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
  ;;   ;;
       RCC)        RCC*)
  # Rational C++ 2.4.1   # Rational C++ 2.4.1
  # FIXME: insert proper C++ library support   # FIXME: insert proper C++ library support
  ld_shlibs_CXX=no   ld_shlibs_CXX=no
  ;;   ;;
       cxx)        cxx*)
  allow_undefined_flag_CXX=' -expect_unresolved \*'   allow_undefined_flag_CXX=' -expect_unresolved \*'
  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'
  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~
    echo "-hidden">> $lib.exp~     echo "-hidden">> $lib.exp~
    $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~
    $rm $lib.exp'     $rm $lib.exp'
   
  hardcode_libdir_flag_spec_CXX='-rpath $libdir'   hardcode_libdir_flag_spec_CXX='-rpath $libdir'
Line 10491
 
Line 11003
       *)        *)
  if test "$GXX" = yes && test "$with_gnu_ld" = no; then   if test "$GXX" = yes && test "$with_gnu_ld" = no; then
    allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'     allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
  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'
   
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
    hardcode_libdir_separator_CXX=:     hardcode_libdir_separator_CXX=:
Line 10512
 
Line 11024
     # FIXME: insert proper C++ library support      # FIXME: insert proper C++ library support
     ld_shlibs_CXX=no      ld_shlibs_CXX=no
     ;;      ;;
   sco*)  
     archive_cmds_need_lc_CXX=no  
     case $cc_basename in  
       CC)  
  # FIXME: insert proper C++ library support  
  ld_shlibs_CXX=no  
  ;;  
       *)  
  # FIXME: insert proper C++ library support  
  ld_shlibs_CXX=no  
  ;;  
     esac  
     ;;  
   sunos4*)    sunos4*)
     case $cc_basename in      case $cc_basename in
       CC)        CC*)
  # Sun C++ 4.x   # Sun C++ 4.x
  # FIXME: insert proper C++ library support   # FIXME: insert proper C++ library support
  ld_shlibs_CXX=no   ld_shlibs_CXX=no
  ;;   ;;
       lcc)        lcc*)
  # Lucid   # Lucid
  # FIXME: insert proper C++ library support   # FIXME: insert proper C++ library support
  ld_shlibs_CXX=no   ld_shlibs_CXX=no
Line 10545
 
Line 11044
     ;;      ;;
   solaris*)    solaris*)
     case $cc_basename in      case $cc_basename in
       CC)        CC*)
  # Sun C++ 4.2, 5.x and Centerline C++   # Sun C++ 4.2, 5.x and Centerline C++
           archive_cmds_need_lc_CXX=yes
  no_undefined_flag_CXX=' -zdefs'   no_undefined_flag_CXX=' -zdefs'
  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}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~   archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'   $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   
  hardcode_libdir_flag_spec_CXX='-R$libdir'   hardcode_libdir_flag_spec_CXX='-R$libdir'
  hardcode_shlibpath_var_CXX=no   hardcode_shlibpath_var_CXX=no
  case $host_os in   case $host_os in
    solaris2.0-5 | solaris2.0-5.*) ;;     solaris2.[0-5] | solaris2.[0-5].*) ;;
    *)     *)
      # The C++ compiler is used as linker so we must use $wl       # The C++ compiler is used as linker so we must use $wl
      # flag to pass the commands to the underlying system       # flag to pass the commands to the underlying system
      # linker.       # linker. We must also pass each convience library through
        # to the system linker between allextract/defaultextract.
        # The C++ compiler will combine linker options so we
        # cannot just pass the convience library names through
        # without $wl.
      # Supported since Solaris 2.6 (maybe 2.5.1?)       # Supported since Solaris 2.6 (maybe 2.5.1?)
      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'
      ;;       ;;
  esac   esac
  link_all_deplibs_CXX=yes   link_all_deplibs_CXX=yes
   
  # Commands to make compiler produce verbose output that lists   output_verbose_link_cmd='echo'
  # what "hidden" libraries, object files and flags are used when  
  # linking a shared library.  
  #  
  # There doesn't appear to be a way to prevent this compiler from  
  # explicitly linking system object files so we need to strip them  
  # from the output so that they don't get included in the library  
  # dependencies.  
  output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'  
   
  # Archives containing C++ object files must be created using   # Archives containing C++ object files must be created using
  # "CC -xar", where "CC" is the Sun C++ compiler.  This is   # "CC -xar", where "CC" is the Sun C++ compiler.  This is
Line 10582
 
Line 11078
  # in the archive.   # in the archive.
  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'   old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
  ;;   ;;
       gcx)        gcx*)
  # Green Hills C++ Compiler   # Green Hills C++ Compiler
  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'
   
Line 10620
 
Line 11116
  ;;   ;;
     esac      esac
     ;;      ;;
   sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
       no_undefined_flag_CXX='${wl}-z,text'
       archive_cmds_need_lc_CXX=no
       hardcode_shlibpath_var_CXX=no
       runpath_var='LD_RUN_PATH'
   
       case $cc_basename in
         CC*)
    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    ;;
         *)
    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    ;;
       esac
       ;;
     sysv5* | sco3.2v5* | sco5v6*)
       # Note: We can NOT use -z defs as we might desire, because we do not
       # link with -lc, and that would cause any symbols used from libc to
       # always be unresolved, which means just about no library would
       # ever link correctly.  If we're not using GNU ld we use -z text
       # though, which does catch some bad symbols but isn't as heavy-handed
       # as -z defs.
       # For security reasons, it is highly recommended that you always
       # use absolute paths for naming shared libraries, and exclude the
       # DT_RUNPATH tag from executables and libraries.  But doing so
       # requires that you compile everything twice, which is a pain.
       # So that behaviour is only enabled if SCOABSPATH is set to a
       # non-empty value in the environment.  Most likely only useful for
       # creating official distributions of packages.
       # This is a hack until libtool officially supports absolute path
       # names for shared libraries.
       no_undefined_flag_CXX='${wl}-z,text'
       allow_undefined_flag_CXX='${wl}-z,nodefs'
     archive_cmds_need_lc_CXX=no      archive_cmds_need_lc_CXX=no
       hardcode_shlibpath_var_CXX=no
       hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
       hardcode_libdir_separator_CXX=':'
       link_all_deplibs_CXX=yes
       export_dynamic_flag_spec_CXX='${wl}-Bexport'
       runpath_var='LD_RUN_PATH'
   
       case $cc_basename in
         CC*)
    archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    ;;
         *)
    archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    ;;
       esac
     ;;      ;;
   tandem*)    tandem*)
     case $cc_basename in      case $cc_basename in
       NCC)        NCC*)
  # NonStop-UX NCC 3.20   # NonStop-UX NCC 3.20
  # FIXME: insert proper C++ library support   # FIXME: insert proper C++ library support
  ld_shlibs_CXX=no   ld_shlibs_CXX=no
Line 10678
 
Line 11225
   # The `*' in the case matches for architectures that use `case' in    # The `*' in the case matches for architectures that use `case' in
   # $output_verbose_cmd can trigger glob expansion during the loop    # $output_verbose_cmd can trigger glob expansion during the loop
   # eval without this substitution.    # eval without this substitution.
   output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"    output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   
   for p in `eval $output_verbose_link_cmd`; do    for p in `eval $output_verbose_link_cmd`; do
     case $p in      case $p in
Line 10754
 
Line 11301
   
 $rm -f confest.$objext  $rm -f confest.$objext
   
   # PORTME: override above test on systems where it is broken
   case $host_os in
   interix3*)
     # Interix 3.5 installs completely hosed .la files for C++, so rather than
     # hack all around it, let's just trust "g++" to DTRT.
     predep_objects_CXX=
     postdep_objects_CXX=
     postdeps_CXX=
     ;;
   
   solaris*)
     case $cc_basename in
     CC*)
       # Adding this requires a known-good setup of shared libraries for
       # Sun compiler versions before 5.6, else PIC objects from an old
       # archive will be linked into the output, leading to subtle bugs.
       postdeps_CXX='-lCstd -lCrun'
       ;;
     esac
     ;;
   esac
   
   
 case " $postdeps_CXX " in  case " $postdeps_CXX " in
 *" -lc "*) archive_cmds_need_lc_CXX=no ;;  *" -lc "*) archive_cmds_need_lc_CXX=no ;;
 esac  esac
Line 10801
 
Line 11371
       # DJGPP does not support shared libraries at all        # DJGPP does not support shared libraries at all
       lt_prog_compiler_pic_CXX=        lt_prog_compiler_pic_CXX=
       ;;        ;;
       interix3*)
         # Interix 3.x gcc -fpic/-fPIC options generate broken code.
         # Instead, we relocate shared libraries at runtime.
         ;;
     sysv4*MP*)      sysv4*MP*)
       if test -d /usr/nec; then        if test -d /usr/nec; then
  lt_prog_compiler_pic_CXX=-Kconform_pic   lt_prog_compiler_pic_CXX=-Kconform_pic
Line 10809
 
Line 11383
     hpux*)      hpux*)
       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       # not for PA HP-UX.        # not for PA HP-UX.
       case "$host_cpu" in        case $host_cpu in
       hppa*64*|ia64*)        hppa*64*|ia64*)
  ;;   ;;
       *)        *)
Line 10834
 
Line 11408
  ;;   ;;
       chorus*)        chorus*)
  case $cc_basename in   case $cc_basename in
  cxch68)   cxch68*)
    # Green Hills C++ Compiler     # Green Hills C++ Compiler
    # _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"
    ;;     ;;
  esac   esac
  ;;   ;;
       dgux*)         darwin*)
            # PIC is the default on this platform
            # Common symbols not allowed in MH_DYLIB files
  case $cc_basename in   case $cc_basename in
    ec++)             xlc*)
      lt_prog_compiler_pic_CXX='-KPIC'             lt_prog_compiler_pic_CXX='-qnocommon'
              lt_prog_compiler_wl_CXX='-Wl,'
              ;;
            esac
          ;;
         dgux*)
    case $cc_basename in
      ec++*)
        lt_prog_compiler_pic_CXX='-KPIC'
      ;;       ;;
    ghcx)     ghcx*)
      # Green Hills C++ Compiler       # Green Hills C++ Compiler
      lt_prog_compiler_pic_CXX='-pic'       lt_prog_compiler_pic_CXX='-pic'
      ;;       ;;
Line 10853
 
Line 11437
      ;;       ;;
  esac   esac
  ;;   ;;
       freebsd* | kfreebsd*-gnu)        freebsd* | kfreebsd*-gnu | dragonfly*)
  # FreeBSD uses GNU C++   # FreeBSD uses GNU C++
  ;;   ;;
       hpux9* | hpux10* | hpux11*)        hpux9* | hpux10* | hpux11*)
  case $cc_basename in   case $cc_basename in
    CC)     CC*)
      lt_prog_compiler_wl_CXX='-Wl,'       lt_prog_compiler_wl_CXX='-Wl,'
      lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"       lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
      if test "$host_cpu" != ia64; then       if test "$host_cpu" != ia64; then
        lt_prog_compiler_pic_CXX='+Z'         lt_prog_compiler_pic_CXX='+Z'
      fi       fi
      ;;       ;;
    aCC)     aCC*)
      lt_prog_compiler_wl_CXX='-Wl,'       lt_prog_compiler_wl_CXX='-Wl,'
      lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"       lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
      case "$host_cpu" in       case $host_cpu in
      hppa*64*|ia64*)       hppa*64*|ia64*)
        # +Z the default         # +Z the default
        ;;         ;;
Line 10881
 
Line 11465
      ;;       ;;
  esac   esac
  ;;   ;;
         interix*)
    # This is c89, which is MS Visual C++ (no shared libs)
    # Anyone wants to do a port?
    ;;
       irix5* | irix6* | nonstopux*)        irix5* | irix6* | nonstopux*)
  case $cc_basename in   case $cc_basename in
    CC)     CC*)
      lt_prog_compiler_wl_CXX='-Wl,'       lt_prog_compiler_wl_CXX='-Wl,'
      lt_prog_compiler_static_CXX='-non_shared'       lt_prog_compiler_static_CXX='-non_shared'
      # CC pic flag -KPIC is the default.       # CC pic flag -KPIC is the default.
Line 10894
 
Line 11482
  ;;   ;;
       linux*)        linux*)
  case $cc_basename in   case $cc_basename in
    KCC)     KCC*)
      # KAI C++ Compiler       # KAI C++ Compiler
      lt_prog_compiler_wl_CXX='--backend -Wl,'       lt_prog_compiler_wl_CXX='--backend -Wl,'
      lt_prog_compiler_pic_CXX='-fPIC'       lt_prog_compiler_pic_CXX='-fPIC'
      ;;       ;;
    icpc)     icpc* | ecpc*)
      # Intel C++       # Intel C++
      lt_prog_compiler_wl_CXX='-Wl,'       lt_prog_compiler_wl_CXX='-Wl,'
      lt_prog_compiler_pic_CXX='-KPIC'       lt_prog_compiler_pic_CXX='-KPIC'
      lt_prog_compiler_static_CXX='-static'       lt_prog_compiler_static_CXX='-static'
      ;;       ;;
    cxx)     pgCC*)
        # Portland Group C++ compiler.
        lt_prog_compiler_wl_CXX='-Wl,'
        lt_prog_compiler_pic_CXX='-fpic'
        lt_prog_compiler_static_CXX='-Bstatic'
        ;;
      cxx*)
      # Compaq C++       # Compaq C++
      # Make sure the PIC flag is empty.  It appears that all Alpha       # Make sure the PIC flag is empty.  It appears that all Alpha
      # Linux and Compaq Tru64 Unix objects are PIC.       # Linux and Compaq Tru64 Unix objects are PIC.
Line 10922
 
Line 11516
  ;;   ;;
       mvs*)        mvs*)
  case $cc_basename in   case $cc_basename in
    cxx)     cxx*)
      lt_prog_compiler_pic_CXX='-W c,exportall'       lt_prog_compiler_pic_CXX='-W c,exportall'
      ;;       ;;
    *)     *)
      ;;       ;;
  esac   esac
  ;;   ;;
       netbsd* | netbsdelf*-gnu | knetbsd*-gnu)        netbsd*)
  ;;   ;;
       osf3* | osf4* | osf5*)        osf3* | osf4* | osf5*)
  case $cc_basename in   case $cc_basename in
    KCC)     KCC*)
      lt_prog_compiler_wl_CXX='--backend -Wl,'       lt_prog_compiler_wl_CXX='--backend -Wl,'
      ;;       ;;
    RCC)     RCC*)
      # Rational C++ 2.4.1       # Rational C++ 2.4.1
      lt_prog_compiler_pic_CXX='-pic'       lt_prog_compiler_pic_CXX='-pic'
      ;;       ;;
    cxx)     cxx*)
      # Digital/Compaq C++       # Digital/Compaq C++
      lt_prog_compiler_wl_CXX='-Wl,'       lt_prog_compiler_wl_CXX='-Wl,'
      # 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 10954
 
Line 11548
  ;;   ;;
       psos*)        psos*)
  ;;   ;;
       sco*)  
  case $cc_basename in  
    CC)  
      lt_prog_compiler_pic_CXX='-fPIC'  
      ;;  
    *)  
      ;;  
  esac  
  ;;  
       solaris*)        solaris*)
  case $cc_basename in   case $cc_basename in
    CC)     CC*)
      # Sun C++ 4.2, 5.x and Centerline C++       # Sun C++ 4.2, 5.x and Centerline C++
      lt_prog_compiler_pic_CXX='-KPIC'       lt_prog_compiler_pic_CXX='-KPIC'
      lt_prog_compiler_static_CXX='-Bstatic'       lt_prog_compiler_static_CXX='-Bstatic'
      lt_prog_compiler_wl_CXX='-Qoption ld '       lt_prog_compiler_wl_CXX='-Qoption ld '
      ;;       ;;
    gcx)     gcx*)
      # Green Hills C++ Compiler       # Green Hills C++ Compiler
      lt_prog_compiler_pic_CXX='-PIC'       lt_prog_compiler_pic_CXX='-PIC'
      ;;       ;;
Line 10981
 
Line 11566
  ;;   ;;
       sunos4*)        sunos4*)
  case $cc_basename in   case $cc_basename in
    CC)     CC*)
      # Sun C++ 4.x       # Sun C++ 4.x
      lt_prog_compiler_pic_CXX='-pic'       lt_prog_compiler_pic_CXX='-pic'
      lt_prog_compiler_static_CXX='-Bstatic'       lt_prog_compiler_static_CXX='-Bstatic'
      ;;       ;;
    lcc)     lcc*)
      # Lucid       # Lucid
      lt_prog_compiler_pic_CXX='-pic'       lt_prog_compiler_pic_CXX='-pic'
      ;;       ;;
Line 10996
 
Line 11581
  ;;   ;;
       tandem*)        tandem*)
  case $cc_basename in   case $cc_basename in
    NCC)     NCC*)
      # NonStop-UX NCC 3.20       # NonStop-UX NCC 3.20
      lt_prog_compiler_pic_CXX='-KPIC'       lt_prog_compiler_pic_CXX='-KPIC'
      ;;       ;;
Line 11004
 
Line 11589
      ;;       ;;
  esac   esac
  ;;   ;;
       unixware*)        sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
    case $cc_basename in
      CC*)
        lt_prog_compiler_wl_CXX='-Wl,'
        lt_prog_compiler_pic_CXX='-KPIC'
        lt_prog_compiler_static_CXX='-Bstatic'
        ;;
    esac
  ;;   ;;
       vxworks*)        vxworks*)
  ;;   ;;
Line 11037
 
Line 11629
    # with a dollar sign (not a hyphen), so the echo should work correctly.     # with a dollar sign (not a hyphen), so the echo should work correctly.
    # The option is referenced via a variable to avoid confusing sed.     # The option is referenced via a variable to avoid confusing sed.
    lt_compile=`echo "$ac_compile" | $SED \     lt_compile=`echo "$ac_compile" | $SED \
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
    (eval echo "\"\$as_me:11043: $lt_compile\"" >&5)     (eval echo "\"\$as_me:11635: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
    ac_status=$?     ac_status=$?
    cat conftest.err >&5     cat conftest.err >&5
    echo "$as_me:11047: \$? = $ac_status" >&5     echo "$as_me:11639: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings       # So say no if there are warnings other than the usual output.
      if test ! -s conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        lt_prog_compiler_pic_works_CXX=yes         lt_prog_compiler_pic_works_CXX=yes
      fi       fi
    fi     fi
Line 11069
 
Line 11663
 fi  fi
   
 fi  fi
 case "$host_os" in  case $host_os in
   # For platforms which do not support PIC, -DPIC is meaningless:    # For platforms which do not support PIC, -DPIC is meaningless:
   *djgpp*)    *djgpp*)
     lt_prog_compiler_pic_CXX=      lt_prog_compiler_pic_CXX=
Line 11079
 
Line 11673
     ;;      ;;
 esac  esac
   
   #
   # Check to make sure the static flag actually works.
   #
   wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     lt_prog_compiler_static_works_CXX=no
      save_LDFLAGS="$LDFLAGS"
      LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
      printf "$lt_simple_link_test_code" > conftest.$ac_ext
      if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
        # The linker can only warn and ignore the option if not recognized
        # So say no if there are warnings
        if test -s conftest.err; then
          # Append any errors to the config.log.
          cat conftest.err 1>&5
          $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
          $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
          if diff conftest.exp conftest.er2 >/dev/null; then
            lt_prog_compiler_static_works_CXX=yes
          fi
        else
          lt_prog_compiler_static_works_CXX=yes
        fi
      fi
      $rm conftest*
      LDFLAGS="$save_LDFLAGS"
   
   fi
   echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
   echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
   
   if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
       :
   else
       lt_prog_compiler_static_CXX=
   fi
   
   
 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6  echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then  if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
Line 11097
 
Line 11733
    # Note that $ac_compile itself does not contain backslashes and begins     # Note that $ac_compile itself does not contain backslashes and begins
    # with a dollar sign (not a hyphen), so the echo should work correctly.     # with a dollar sign (not a hyphen), so the echo should work correctly.
    lt_compile=`echo "$ac_compile" | $SED \     lt_compile=`echo "$ac_compile" | $SED \
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
    (eval echo "\"\$as_me:11103: $lt_compile\"" >&5)     (eval echo "\"\$as_me:11739: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)     (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?     ac_status=$?
    cat out/conftest.err >&5     cat out/conftest.err >&5
    echo "$as_me:11107: \$? = $ac_status" >&5     echo "$as_me:11743: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext     if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then     then
      # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings       # So say no if there are warnings
      if test ! -s out/conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
        $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
        if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_c_o_CXX=yes         lt_cv_prog_compiler_c_o_CXX=yes
      fi       fi
    fi     fi
    chmod u+w .     chmod u+w . 2>&5
    $rm conftest*     $rm conftest*
    # SGI C++ compiler will create directory out/ii_files/ for     # SGI C++ compiler will create directory out/ii_files/ for
    # template instantiation     # template instantiation
Line 11168
 
Line 11806
     export_symbols_cmds_CXX="$ltdll_cmds"      export_symbols_cmds_CXX="$ltdll_cmds"
   ;;    ;;
   cygwin* | mingw*)    cygwin* | mingw*)
     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'
   ;;  
   linux*)  
     link_all_deplibs_CXX=no  
   ;;    ;;
   *)    *)
     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 11182
 
Line 11817
 echo "${ECHO_T}$ld_shlibs_CXX" >&6  echo "${ECHO_T}$ld_shlibs_CXX" >&6
 test "$ld_shlibs_CXX" = no && can_build_shared=no  test "$ld_shlibs_CXX" = no && can_build_shared=no
   
 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"  
 if test "$GCC" = yes; then  
   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"  
 fi  
   
 #  #
 # Do we need to explicitly link libc?  # Do we need to explicitly link libc?
 #  #
Line 11219
 
Line 11849
         libobjs=conftest.$ac_objext          libobjs=conftest.$ac_objext
         deplibs=          deplibs=
         wl=$lt_prog_compiler_wl_CXX          wl=$lt_prog_compiler_wl_CXX
    pic_flag=$lt_prog_compiler_pic_CXX
         compiler_flags=-v          compiler_flags=-v
         linker_flags=-v          linker_flags=-v
         verstring=          verstring=
Line 11351
 
Line 11982
   shlibpath_var=LIBRARY_PATH    shlibpath_var=LIBRARY_PATH
   ;;    ;;
   
 bsdi4*)  bsdi[45]*)
   version_type=linux    version_type=linux
   need_version=no    need_version=no
   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 11379
 
Line 12010
       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~        dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
       dldir=$destdir/`dirname \$dlpath`~        dldir=$destdir/`dirname \$dlpath`~
       test -d \$dldir || mkdir -p \$dldir~        test -d \$dldir || mkdir -p \$dldir~
       $install_prog $dir/$dlname \$dldir/$dlname'        $install_prog $dir/$dlname \$dldir/$dlname~
         chmod a+x \$dldir/$dlname'
     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~      postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
       dlpath=$dir/\$dldll~        dlpath=$dir/\$dldll~
        $rm \$dlpath'         $rm \$dlpath'
Line 11409
 
Line 12041
       ;;        ;;
     pw32*)      pw32*)
       # pw32 DLLs use 'pw' prefix rather than 'lib'        # pw32 DLLs use 'pw' prefix rather than 'lib'
       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}'
         ;;
       esac
       ;;        ;;
   
     linux*)
       if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
         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      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="$archive_cmds"
         fi
       else
         ld_shlibs=no
       fi
     ;;      ;;
   
   *)    *)
Line 11432
 
Line 12088
   soname_spec='${libname}${release}${major}$shared_ext'    soname_spec='${libname}${release}${major}$shared_ext'
   shlibpath_overrides_runpath=yes    shlibpath_overrides_runpath=yes
   shlibpath_var=DYLD_LIBRARY_PATH    shlibpath_var=DYLD_LIBRARY_PATH
   shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   # 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.
   if test "$GCC" = yes; then    if test "$GCC" = yes; then
     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 11467
 
Line 12123
   dynamic_linker='GNU ld.so'    dynamic_linker='GNU ld.so'
   ;;    ;;
   
 freebsd*)  freebsd* | dragonfly*)
   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`    # DragonFly does not have aout.  When/if they implement a new
   version_type=freebsd-$objformat    # versioning mechanism, adjust this.
     if test -x /usr/bin/objformat; then
       objformat=`/usr/bin/objformat`
     else
       case $host_os in
       freebsd[123]*) objformat=aout ;;
       *) objformat=elf ;;
       esac
     fi
     # Handle Gentoo/FreeBSD as it was Linux
     case $host_vendor in
       gentoo)
         version_type=linux ;;
       *)
         version_type=freebsd-$objformat ;;
     esac
   
   case $version_type in    case $version_type in
     freebsd-elf*)      freebsd-elf*)
       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'        library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
Line 11480
 
Line 12152
       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'        library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
       need_version=yes        need_version=yes
       ;;        ;;
       linux)
         library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
         soname_spec='${libname}${release}${shared_ext}$major'
         need_lib_prefix=no
         need_version=no
         ;;
   esac    esac
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
   case $host_os in    case $host_os in
   freebsd2*)    freebsd2*)
     shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
     ;;      ;;
   freebsd3.01* | freebsdelf3.01*)    freebsd3.[01]* | freebsdelf3.[01]*)
     shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
     hardcode_into_libs=yes      hardcode_into_libs=yes
     ;;      ;;
   *) # from 3.2 on    freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
     freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
     shlibpath_overrides_runpath=no      shlibpath_overrides_runpath=no
     hardcode_into_libs=yes      hardcode_into_libs=yes
     ;;      ;;
     freebsd*) # from 4.6 on
       shlibpath_overrides_runpath=yes
       hardcode_into_libs=yes
       ;;
   esac    esac
   ;;    ;;
   
Line 11513
 
Line 12196
   version_type=sunos    version_type=sunos
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   case "$host_cpu" in    case $host_cpu in
   ia64*)    ia64*)
     shrext_cmds='.so'      shrext_cmds='.so'
     hardcode_into_libs=yes      hardcode_into_libs=yes
Line 11553
 
Line 12236
   postinstall_cmds='chmod 555 $lib'    postinstall_cmds='chmod 555 $lib'
   ;;    ;;
   
   interix3*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     soname_spec='${libname}${release}${shared_ext}$major'
     dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=no
     hardcode_into_libs=yes
     ;;
   
 irix5* | irix6* | nonstopux*)  irix5* | irix6* | nonstopux*)
   case $host_os in    case $host_os in
     nonstopux*) version_type=nonstopux ;;      nonstopux*) version_type=nonstopux ;;
Line 11612
 
Line 12307
   
   # Append ld.so.conf contents to the search path    # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then    if test -f /etc/ld.so.conf; then
     lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`      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' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi    fi
   
Line 11625
 
Line 12320
   dynamic_linker='GNU/Linux ld.so'    dynamic_linker='GNU/Linux ld.so'
   ;;    ;;
   
 netbsdelf*-gnu)  
   version_type=linux  
   need_lib_prefix=no  
   need_version=no  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'  
   soname_spec='${libname}${release}${shared_ext}$major'  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=no  
   hardcode_into_libs=yes  
   dynamic_linker='NetBSD ld.elf_so'  
   ;;  
   
 knetbsd*-gnu)  knetbsd*-gnu)
   version_type=linux    version_type=linux
   need_lib_prefix=no    need_lib_prefix=no
Line 11686
 
Line 12369
   
 openbsd*)  openbsd*)
   version_type=sunos    version_type=sunos
     sys_lib_dlsearch_path_spec="/usr/lib"
   need_lib_prefix=no    need_lib_prefix=no
   need_version=yes    # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
     case $host_os in
       openbsd3.3 | openbsd3.3.*) need_version=yes ;;
       *)                         need_version=no  ;;
     esac
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
Line 11725
 
Line 12413
   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   ;;    ;;
   
 sco3.2v5*)  
   version_type=osf  
   soname_spec='${libname}${release}${shared_ext}$major'  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'  
   shlibpath_var=LD_LIBRARY_PATH  
   ;;  
   
 solaris*)  solaris*)
   version_type=linux    version_type=linux
   need_lib_prefix=no    need_lib_prefix=no
Line 11757
 
Line 12438
   need_version=yes    need_version=yes
   ;;    ;;
   
 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  sysv4 | sysv4.3*)
   version_type=linux    version_type=linux
   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}'
   soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
Line 11790
 
Line 12471
   fi    fi
   ;;    ;;
   
   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     version_type=freebsd-elf
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
     soname_spec='${libname}${release}${shared_ext}$major'
     shlibpath_var=LD_LIBRARY_PATH
     hardcode_into_libs=yes
     if test "$with_gnu_ld" = yes; then
       sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
       shlibpath_overrides_runpath=no
     else
       sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
       shlibpath_overrides_runpath=yes
       case $host_os in
         sco3.2v5*)
           sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
    ;;
       esac
     fi
     sys_lib_dlsearch_path_spec='/usr/lib'
     ;;
   
 uts4*)  uts4*)
   version_type=linux    version_type=linux
   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 11805
 
Line 12509
 echo "${ECHO_T}$dynamic_linker" >&6  echo "${ECHO_T}$dynamic_linker" >&6
 test "$dynamic_linker" = no && can_build_shared=no  test "$dynamic_linker" = no && can_build_shared=no
   
   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   if test "$GCC" = yes; then
     variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   fi
   
 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5  echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 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
 hardcode_action_CXX=  hardcode_action_CXX=
 if test -n "$hardcode_libdir_flag_spec_CXX" || \  if test -n "$hardcode_libdir_flag_spec_CXX" || \
    test -n "$runpath_var CXX" || \     test -n "$runpath_var_CXX" || \
    test "X$hardcode_automatic_CXX"="Xyes" ; then     test "X$hardcode_automatic_CXX"="Xyes" ; then
   
   # We can hardcode non-existant directories.    # We can hardcode non-existant directories.
Line 11842
 
Line 12551
   enable_fast_install=needless    enable_fast_install=needless
 fi  fi
   
 striplib=  
 old_striplib=  # The else clause should only fire when bootstrapping the
 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5  # libtool distribution, otherwise you forgot to ship ltmain.sh
 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6  # with your package, and you will get complaints that there are
 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then  # no rules to generate ltmain.sh.
   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"  if test -f "$ltmain"; then
   test -z "$striplib" && striplib="$STRIP --strip-unneeded"    # See if we are running on zsh, and set the options which allow our commands through
   echo "$as_me:$LINENO: result: yes" >&5    # without removal of \ escapes.
 echo "${ECHO_T}yes" >&6    if test -n "${ZSH_VERSION+set}" ; then
 else      setopt NO_GLOB_SUBST
 # FIXME - insert some real tests, host_os isn't really good enough  
   case $host_os in  
    darwin*)  
        if test -n "$STRIP" ; then  
          striplib="$STRIP -x"  
          echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6  
        else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  fi
     # Now quote all the things that may contain metacharacters while being
     # careful not to overquote the AC_SUBSTed values.  We take copies of the
     # variables and quote the copies for generation of the libtool script.
     for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
       SED SHELL STRIP \
       libname_spec library_names_spec soname_spec extract_expsyms_cmds \
       old_striplib striplib file_magic_cmd finish_cmds finish_eval \
       deplibs_check_method reload_flag reload_cmds need_locks \
       lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
       lt_cv_sys_global_symbol_to_c_name_address \
       sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
       old_postinstall_cmds old_postuninstall_cmds \
       compiler_CXX \
       CC_CXX \
       LD_CXX \
       lt_prog_compiler_wl_CXX \
       lt_prog_compiler_pic_CXX \
       lt_prog_compiler_static_CXX \
       lt_prog_compiler_no_builtin_flag_CXX \
       export_dynamic_flag_spec_CXX \
       thread_safe_flag_spec_CXX \
       whole_archive_flag_spec_CXX \
       enable_shared_with_static_runtimes_CXX \
       old_archive_cmds_CXX \
       old_archive_from_new_cmds_CXX \
       predep_objects_CXX \
       postdep_objects_CXX \
       predeps_CXX \
       postdeps_CXX \
       compiler_lib_search_path_CXX \
       archive_cmds_CXX \
       archive_expsym_cmds_CXX \
       postinstall_cmds_CXX \
       postuninstall_cmds_CXX \
       old_archive_from_expsyms_cmds_CXX \
       allow_undefined_flag_CXX \
       no_undefined_flag_CXX \
       export_symbols_cmds_CXX \
       hardcode_libdir_flag_spec_CXX \
       hardcode_libdir_flag_spec_ld_CXX \
       hardcode_libdir_separator_CXX \
       hardcode_automatic_CXX \
       module_cmds_CXX \
       module_expsym_cmds_CXX \
       lt_cv_prog_compiler_c_o_CXX \
       exclude_expsyms_CXX \
       include_expsyms_CXX; do
   
       case $var in
       old_archive_cmds_CXX | \
       old_archive_from_new_cmds_CXX | \
       archive_cmds_CXX | \
       archive_expsym_cmds_CXX | \
       module_cmds_CXX | \
       module_expsym_cmds_CXX | \
       old_archive_from_expsyms_cmds_CXX | \
       export_symbols_cmds_CXX | \
       extract_expsyms_cmds | reload_cmds | finish_cmds | \
       postinstall_cmds | postuninstall_cmds | \
       old_postinstall_cmds | old_postuninstall_cmds | \
       sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
         # Double-quote double-evaled strings.
         eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
        ;;         ;;
    *)     *)
   echo "$as_me:$LINENO: result: no" >&5        eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 echo "${ECHO_T}no" >&6  
     ;;      ;;
   esac    esac
 fi    done
   
 if test "x$enable_dlopen" != xyes; then    case $lt_echo in
   enable_dlopen=unknown    *'\$0 --fallback-echo"')
   enable_dlopen_self=unknown      lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   enable_dlopen_self_static=unknown  
 else  
   lt_cv_dlopen=no  
   lt_cv_dlopen_libs=  
   
   case $host_os in  
   beos*)  
     lt_cv_dlopen="load_add_on"  
     lt_cv_dlopen_libs=  
     lt_cv_dlopen_self=yes  
     ;;      ;;
     esac
   
   mingw* | pw32*)  cfgfile="$ofile"
     lt_cv_dlopen="LoadLibrary"  
     lt_cv_dlopen_libs=  
    ;;  
   
   cygwin*)    cat <<__EOF__ >> "$cfgfile"
     lt_cv_dlopen="dlopen"  # ### BEGIN LIBTOOL TAG CONFIG: $tagname
     lt_cv_dlopen_libs=  
    ;;  
   
   darwin*)  # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   # if libdl is installed we need to link against it  
     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5  
 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6  
 if test "${ac_cv_lib_dl_dlopen+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-ldl  $LIBS"  
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 /* Override any gcc2 internal prototype to avoid an error.  */  # Shell to use when invoking shell scripts.
 #ifdef __cplusplus  SHELL=$lt_SHELL
 extern "C"  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char dlopen ();  
 int  
 main ()  
 {  
 dlopen ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
  { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
  { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_lib_dl_dlopen=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_lib_dl_dlopen=no  # Whether or not to build shared libraries.
 fi  build_libtool_libs=$enable_shared
 rm -f conftest.err conftest.$ac_objext \  
       conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5  
 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6  
 if test $ac_cv_lib_dl_dlopen = yes; then  
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"  
 else  
   
     lt_cv_dlopen="dyld"  # Whether or not to build static libraries.
     lt_cv_dlopen_libs=  build_old_libs=$enable_static
     lt_cv_dlopen_self=yes  
   
 fi  # Whether or not to add -lc for building shared libraries.
   build_libtool_need_lc=$archive_cmds_need_lc_CXX
   
    ;;  # Whether or not to disallow shared libs when runtime libs are static
   allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   
   *)  # Whether or not to optimize for fast installation.
     echo "$as_me:$LINENO: checking for shl_load" >&5  fast_install=$enable_fast_install
 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6  
 if test "${ac_cv_func_shl_load+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.  
    For example, HP-UX 11i <limits.h> declares gettimeofday.  */  
 #define shl_load innocuous_shl_load  
   
 /* System header to define __stub macros and hopefully few prototypes,  # The host system.
     which can conflict with char shl_load (); below.  host_alias=$host_alias
     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since  host=$host
     <limits.h> exists even on freestanding compilers.  */  host_os=$host_os
   
 #ifdef __STDC__  # The build system.
 # include <limits.h>  build_alias=$build_alias
 #else  build=$build
 # include <assert.h>  build_os=$build_os
 #endif  
   
 #undef shl_load  # An echo program that does not interpret backslashes.
   echo=$lt_echo
   
 /* Override any gcc2 internal prototype to avoid an error.  */  # The archiver.
 #ifdef __cplusplus  AR=$lt_AR
 extern "C"  AR_FLAGS=$lt_AR_FLAGS
 {  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char shl_load ();  
 /* The GNU C library defines this for functions which it implements  
     to always fail with ENOSYS.  Some functions are actually named  
     something starting with __ and the normal name is an alias.  */  
 #if defined (__stub_shl_load) || defined (__stub___shl_load)  
 choke me  
 #else  
 char (*f) () = shl_load;  
 #endif  
 #ifdef __cplusplus  
 }  
 #endif  
   
 int  # A C compiler.
 main ()  LTCC=$lt_LTCC
 {  
 return f != shl_load;  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
  { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
  { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_func_shl_load=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_func_shl_load=no  # LTCC compiler flags.
 fi  LTCFLAGS=$lt_LTCFLAGS
 rm -f conftest.err conftest.$ac_objext \  
       conftest$ac_exeext conftest.$ac_ext  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5  
 echo "${ECHO_T}$ac_cv_func_shl_load" >&6  
 if test $ac_cv_func_shl_load = yes; then  
   lt_cv_dlopen="shl_load"  
 else  
   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5  
 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6  
 if test "${ac_cv_lib_dld_shl_load+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-ldld  $LIBS"  
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 /* Override any gcc2 internal prototype to avoid an error.  */  # A language-specific compiler.
 #ifdef __cplusplus  CC=$lt_compiler_CXX
 extern "C"  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char shl_load ();  
 int  
 main ()  
 {  
 shl_load ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
  { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
  { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_lib_dld_shl_load=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_lib_dld_shl_load=no  # Is the compiler the GNU C compiler?
 fi  with_gcc=$GCC_CXX
 rm -f conftest.err conftest.$ac_objext \  
       conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5  
 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6  
 if test $ac_cv_lib_dld_shl_load = yes; then  
   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"  
 else  
   echo "$as_me:$LINENO: checking for dlopen" >&5  
 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6  
 if test "${ac_cv_func_dlopen+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.  
    For example, HP-UX 11i <limits.h> declares gettimeofday.  */  
 #define dlopen innocuous_dlopen  
   
 /* System header to define __stub macros and hopefully few prototypes,  
     which can conflict with char dlopen (); below.  
     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since  
     <limits.h> exists even on freestanding compilers.  */  
   
 #ifdef __STDC__  # An ERE matcher.
 # include <limits.h>  EGREP=$lt_EGREP
 #else  
 # include <assert.h>  
 #endif  
   
 #undef dlopen  # The linker used to build libraries.
   LD=$lt_LD_CXX
   
 /* Override any gcc2 internal prototype to avoid an error.  */  # Whether we need hard or soft links.
 #ifdef __cplusplus  LN_S=$lt_LN_S
 extern "C"  
 {  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char dlopen ();  
 /* The GNU C library defines this for functions which it implements  
     to always fail with ENOSYS.  Some functions are actually named  
     something starting with __ and the normal name is an alias.  */  
 #if defined (__stub_dlopen) || defined (__stub___dlopen)  
 choke me  
 #else  
 char (*f) () = dlopen;  
 #endif  
 #ifdef __cplusplus  
 }  
 #endif  
   
 int  # A BSD-compatible nm program.
 main ()  NM=$lt_NM
 {  
 return f != dlopen;  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
  { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
  { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_func_dlopen=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_func_dlopen=no  # A symbol stripping program
 fi  STRIP=$lt_STRIP
 rm -f conftest.err conftest.$ac_objext \  
       conftest$ac_exeext conftest.$ac_ext  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5  
 echo "${ECHO_T}$ac_cv_func_dlopen" >&6  
 if test $ac_cv_func_dlopen = yes; then  
   lt_cv_dlopen="dlopen"  
 else  
   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5  
 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6  
 if test "${ac_cv_lib_dl_dlopen+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-ldl  $LIBS"  
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 /* Override any gcc2 internal prototype to avoid an error.  */  # Used to examine libraries when file_magic_cmd begins "file"
 #ifdef __cplusplus  MAGIC_CMD=$MAGIC_CMD
 extern "C"  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char dlopen ();  
 int  
 main ()  
 {  
 dlopen ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
  { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
  { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_lib_dl_dlopen=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_lib_dl_dlopen=no  # Used on cygwin: DLL creation program.
 fi  DLLTOOL="$DLLTOOL"
 rm -f conftest.err conftest.$ac_objext \  
       conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5  
 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6  
 if test $ac_cv_lib_dl_dlopen = yes; then  
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"  
 else  
   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5  
 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6  
 if test "${ac_cv_lib_svld_dlopen+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-lsvld  $LIBS"  
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 /* Override any gcc2 internal prototype to avoid an error.  */  # Used on cygwin: object dumper.
 #ifdef __cplusplus  OBJDUMP="$OBJDUMP"
 extern "C"  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char dlopen ();  
 int  
 main ()  
 {  
 dlopen ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
  { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
  { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_lib_svld_dlopen=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_lib_svld_dlopen=no  # Used on cygwin: assembler.
 fi  AS="$AS"
 rm -f conftest.err conftest.$ac_objext \  
       conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5  
 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6  
 if test $ac_cv_lib_svld_dlopen = yes; then  
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"  
 else  
   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5  
 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6  
 if test "${ac_cv_lib_dld_dld_link+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-ldld  $LIBS"  
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 /* Override any gcc2 internal prototype to avoid an error.  */  # The name of the directory that contains temporary libtool files.
 #ifdef __cplusplus  objdir=$objdir
 extern "C"  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char dld_link ();  
 int  
 main ()  
 {  
 dld_link ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
  { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
  { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_lib_dld_dld_link=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_lib_dld_dld_link=no  # How to create reloadable object files.
 fi  reload_flag=$lt_reload_flag
 rm -f conftest.err conftest.$ac_objext \  reload_cmds=$lt_reload_cmds
       conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5  
 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6  
 if test $ac_cv_lib_dld_dld_link = yes; then  
   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"  
 fi  
   
   # How to pass a linker flag through the compiler.
   wl=$lt_lt_prog_compiler_wl_CXX
   
 fi  # Object file suffix (normally "o").
   objext="$ac_objext"
   
   # Old archive suffix (normally "a").
   libext="$libext"
   
 fi  # Shared library suffix (normally ".so").
   shrext_cmds='$shrext_cmds'
   
   # Executable file suffix (normally "").
   exeext="$exeext"
   
 fi  # Additional compiler flags for building library objects.
   pic_flag=$lt_lt_prog_compiler_pic_CXX
   pic_mode=$pic_mode
   
   # What is the maximum length of a command?
   max_cmd_len=$lt_cv_sys_max_cmd_len
   
 fi  # Does compiler simultaneously support -c and -o options?
   compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   
   # Must we lock files when doing compilation?
   need_locks=$lt_need_locks
   
 fi  # Do we need the lib prefix for modules?
   need_lib_prefix=$need_lib_prefix
   
     ;;  # Do we need a version for libraries?
   esac  need_version=$need_version
   
   if test "x$lt_cv_dlopen" != xno; then  # Whether dlopen is supported.
     enable_dlopen=yes  dlopen_support=$enable_dlopen
   else  
     enable_dlopen=no  
   fi  
   
   case $lt_cv_dlopen in  # Whether dlopen of programs is supported.
   dlopen)  dlopen_self=$enable_dlopen_self
     save_CPPFLAGS="$CPPFLAGS"  
     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"  
   
     save_LDFLAGS="$LDFLAGS"  # Whether dlopen of statically linked programs is supported.
     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"  dlopen_self_static=$enable_dlopen_self_static
   
     save_LIBS="$LIBS"  # Compiler flag to prevent dynamic linking.
     LIBS="$lt_cv_dlopen_libs $LIBS"  link_static_flag=$lt_lt_prog_compiler_static_CXX
   
     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5  # Compiler flag to turn off builtin functions.
 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 if test "${lt_cv_dlopen_self+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
     if test "$cross_compiling" = yes; then :  
   lt_cv_dlopen_self=cross  
 else  
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2  
   lt_status=$lt_dlunknown  
   cat > conftest.$ac_ext <<EOF  
 #line 12472 "configure"  
 #include "confdefs.h"  
   
 #if HAVE_DLFCN_H  # Compiler flag to allow reflexive dlopens.
 #include <dlfcn.h>  export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 #endif  
   
 #include <stdio.h>  # Compiler flag to generate shared objects directly from archives.
   whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   
 #ifdef RTLD_GLOBAL  # Compiler flag to generate thread-safe objects.
 #  define LT_DLGLOBAL RTLD_GLOBAL  thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
 #else  
 #  ifdef DL_GLOBAL  
 #    define LT_DLGLOBAL DL_GLOBAL  
 #  else  
 #    define LT_DLGLOBAL 0  
 #  endif  
 #endif  
   
 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we  # Library versioning type.
    find out it does not work in some platform. */  version_type=$version_type
 #ifndef LT_DLLAZY_OR_NOW  
 #  ifdef RTLD_LAZY  
 #    define LT_DLLAZY_OR_NOW RTLD_LAZY  
 #  else  
 #    ifdef DL_LAZY  
 #      define LT_DLLAZY_OR_NOW DL_LAZY  
 #    else  
 #      ifdef RTLD_NOW  
 #        define LT_DLLAZY_OR_NOW RTLD_NOW  
 #      else  
 #        ifdef DL_NOW  
 #          define LT_DLLAZY_OR_NOW DL_NOW  
 #        else  
 #          define LT_DLLAZY_OR_NOW 0  
 #        endif  
 #      endif  
 #    endif  
 #  endif  
 #endif  
   
 #ifdef __cplusplus  # Format of library name prefix.
 extern "C" void exit (int);  libname_spec=$lt_libname_spec
 #endif  
   
 void fnord() { int i=42;}  # List of archive names.  First name is the real one, the rest are links.
 int main ()  # The last name is the one that the linker finds with -lNAME.
 {  library_names_spec=$lt_library_names_spec
   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);  
   int status = $lt_dlunknown;  
   
   if (self)  # The coded name of the library, if different from the real name.
     {  soname_spec=$lt_soname_spec
       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;  
       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;  
       /* dlclose (self); */  
     }  
   
     exit (status);  # Commands used to build and install an old-style archive.
 }  RANLIB=$lt_RANLIB
 EOF  old_archive_cmds=$lt_old_archive_cmds_CXX
   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  old_postinstall_cmds=$lt_old_postinstall_cmds
   (eval $ac_link) 2>&5  old_postuninstall_cmds=$lt_old_postuninstall_cmds
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then  
     (./conftest; exit; ) 2>/dev/null  
     lt_status=$?  
     case x$lt_status in  
       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;  
       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;  
       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;  
     esac  
   else :  
     # compilation failed  
     lt_cv_dlopen_self=no  
   fi  
 fi  
 rm -fr conftest*  
   
   # Create an old-style archive from a shared archive.
   old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   
 fi  # Create a temporary old-style archive to link instead of a shared archive.
 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5  old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 echo "${ECHO_T}$lt_cv_dlopen_self" >&6  
   
     if test "x$lt_cv_dlopen_self" = xyes; then  # Commands used to build and install a shared archive.
       LDFLAGS="$LDFLAGS $link_static_flag"  archive_cmds=$lt_archive_cmds_CXX
       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5  archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6  postinstall_cmds=$lt_postinstall_cmds
 if test "${lt_cv_dlopen_self_static+set}" = set; then  postuninstall_cmds=$lt_postuninstall_cmds
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
     if test "$cross_compiling" = yes; then :  
   lt_cv_dlopen_self_static=cross  
 else  
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2  
   lt_status=$lt_dlunknown  
   cat > conftest.$ac_ext <<EOF  
 #line 12570 "configure"  
 #include "confdefs.h"  
   
 #if HAVE_DLFCN_H  # Commands used to build a loadable module (assumed same as above if empty)
 #include <dlfcn.h>  module_cmds=$lt_module_cmds_CXX
 #endif  module_expsym_cmds=$lt_module_expsym_cmds_CXX
   
 #include <stdio.h>  # Commands to strip libraries.
   old_striplib=$lt_old_striplib
   striplib=$lt_striplib
   
 #ifdef RTLD_GLOBAL  # Dependencies to place before the objects being linked to create a
 #  define LT_DLGLOBAL RTLD_GLOBAL  # shared library.
 #else  predep_objects=$lt_predep_objects_CXX
 #  ifdef DL_GLOBAL  
 #    define LT_DLGLOBAL DL_GLOBAL  
 #  else  
 #    define LT_DLGLOBAL 0  
 #  endif  
 #endif  
   
 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we  # Dependencies to place after the objects being linked to create a
    find out it does not work in some platform. */  # shared library.
 #ifndef LT_DLLAZY_OR_NOW  postdep_objects=$lt_postdep_objects_CXX
 #  ifdef RTLD_LAZY  
 #    define LT_DLLAZY_OR_NOW RTLD_LAZY  
 #  else  
 #    ifdef DL_LAZY  
 #      define LT_DLLAZY_OR_NOW DL_LAZY  
 #    else  
 #      ifdef RTLD_NOW  
 #        define LT_DLLAZY_OR_NOW RTLD_NOW  
 #      else  
 #        ifdef DL_NOW  
 #          define LT_DLLAZY_OR_NOW DL_NOW  
 #        else  
 #          define LT_DLLAZY_OR_NOW 0  
 #        endif  
 #      endif  
 #    endif  
 #  endif  
 #endif  
   
 #ifdef __cplusplus  # Dependencies to place before the objects being linked to create a
 extern "C" void exit (int);  # shared library.
 #endif  predeps=$lt_predeps_CXX
   
 void fnord() { int i=42;}  # Dependencies to place after the objects being linked to create a
 int main ()  # shared library.
 {  postdeps=$lt_postdeps_CXX
   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);  
   int status = $lt_dlunknown;  
   
   if (self)  # The library search path used internally by the compiler when linking
     {  # a shared library.
       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;  compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;  
       /* dlclose (self); */  
     }  
   
     exit (status);  # Method to check whether dependent libraries are shared objects.
 }  deplibs_check_method=$lt_deplibs_check_method
 EOF  
   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then  
     (./conftest; exit; ) 2>/dev/null  
     lt_status=$?  
     case x$lt_status in  
       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;  
       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;  
       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;  
     esac  
   else :  
     # compilation failed  
     lt_cv_dlopen_self_static=no  
   fi  
 fi  
 rm -fr conftest*  
   
   # Command to use when deplibs_check_method == file_magic.
   file_magic_cmd=$lt_file_magic_cmd
   
 fi  # Flag that allows shared libraries with undefined symbols to be built.
 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5  allow_undefined_flag=$lt_allow_undefined_flag_CXX
 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6  
     fi  
   
     CPPFLAGS="$save_CPPFLAGS"  # Flag that forces no undefined symbols.
     LDFLAGS="$save_LDFLAGS"  no_undefined_flag=$lt_no_undefined_flag_CXX
     LIBS="$save_LIBS"  
     ;;  
   esac  
   
   case $lt_cv_dlopen_self in  # Commands used to finish a libtool library installation in a directory.
   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;  finish_cmds=$lt_finish_cmds
   *) enable_dlopen_self=unknown ;;  
   esac  
   
   case $lt_cv_dlopen_self_static in  # Same as above, but a single script fragment to be evaled but not shown.
   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;  finish_eval=$lt_finish_eval
   *) enable_dlopen_self_static=unknown ;;  
   esac  
 fi  
   
   # Take the output of nm and produce a listing of raw symbols and C names.
   global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   
 # The else clause should only fire when bootstrapping the  # Transform the output of nm in a proper C declaration
 # libtool distribution, otherwise you forgot to ship ltmain.sh  global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 # with your package, and you will get complaints that there are  
 # no rules to generate ltmain.sh.  
 if test -f "$ltmain"; then  
   # See if we are running on zsh, and set the options which allow our commands through  
   # without removal of \ escapes.  
   if test -n "${ZSH_VERSION+set}" ; then  
     setopt NO_GLOB_SUBST  
   fi  
   # Now quote all the things that may contain metacharacters while being  
   # careful not to overquote the AC_SUBSTed values.  We take copies of the  
   # variables and quote the copies for generation of the libtool script.  
   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \  
     SED SHELL STRIP \  
     libname_spec library_names_spec soname_spec extract_expsyms_cmds \  
     old_striplib striplib file_magic_cmd finish_cmds finish_eval \  
     deplibs_check_method reload_flag reload_cmds need_locks \  
     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \  
     lt_cv_sys_global_symbol_to_c_name_address \  
     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \  
     old_postinstall_cmds old_postuninstall_cmds \  
     compiler_CXX \  
     CC_CXX \  
     LD_CXX \  
     lt_prog_compiler_wl_CXX \  
     lt_prog_compiler_pic_CXX \  
     lt_prog_compiler_static_CXX \  
     lt_prog_compiler_no_builtin_flag_CXX \  
     export_dynamic_flag_spec_CXX \  
     thread_safe_flag_spec_CXX \  
     whole_archive_flag_spec_CXX \  
     enable_shared_with_static_runtimes_CXX \  
     old_archive_cmds_CXX \  
     old_archive_from_new_cmds_CXX \  
     predep_objects_CXX \  
     postdep_objects_CXX \  
     predeps_CXX \  
     postdeps_CXX \  
     compiler_lib_search_path_CXX \  
     archive_cmds_CXX \  
     archive_expsym_cmds_CXX \  
     postinstall_cmds_CXX \  
     postuninstall_cmds_CXX \  
     old_archive_from_expsyms_cmds_CXX \  
     allow_undefined_flag_CXX \  
     no_undefined_flag_CXX \  
     export_symbols_cmds_CXX \  
     hardcode_libdir_flag_spec_CXX \  
     hardcode_libdir_flag_spec_ld_CXX \  
     hardcode_libdir_separator_CXX \  
     hardcode_automatic_CXX \  
     module_cmds_CXX \  
     module_expsym_cmds_CXX \  
     lt_cv_prog_compiler_c_o_CXX \  
     exclude_expsyms_CXX \  
     include_expsyms_CXX; do  
   
     case $var in  # Transform the output of nm in a C name address pair
     old_archive_cmds_CXX | \  global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
     old_archive_from_new_cmds_CXX | \  
     archive_cmds_CXX | \  
     archive_expsym_cmds_CXX | \  
     module_cmds_CXX | \  
     module_expsym_cmds_CXX | \  
     old_archive_from_expsyms_cmds_CXX | \  
     export_symbols_cmds_CXX | \  
     extract_expsyms_cmds | reload_cmds | finish_cmds | \  
     postinstall_cmds | postuninstall_cmds | \  
     old_postinstall_cmds | old_postuninstall_cmds | \  
     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)  
       # Double-quote double-evaled strings.  
       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""  
       ;;  
     *)  
       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""  
       ;;  
     esac  
   done  
   
   case $lt_echo in  # This is the shared library runtime path variable.
   *'\$0 --fallback-echo"')  runpath_var=$runpath_var
     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`  
     ;;  
   esac  
   
 cfgfile="$ofile"  # This is the shared library path variable.
   shlibpath_var=$shlibpath_var
   
   cat <<__EOF__ >> "$cfgfile"  # Is shlibpath searched before the hard-coded library search path?
 # ### BEGIN LIBTOOL TAG CONFIG: $tagname  shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   
 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:  # How to hardcode a shared library path into an executable.
   hardcode_action=$hardcode_action_CXX
   
 # Shell to use when invoking shell scripts.  # Whether we should hardcode library paths into libraries.
 SHELL=$lt_SHELL  hardcode_into_libs=$hardcode_into_libs
   
 # Whether or not to build shared libraries.  # Flag to hardcode \$libdir into a binary during linking.
 build_libtool_libs=$enable_shared  # This must work even if \$libdir does not exist.
   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   
 # Whether or not to build static libraries.  # If ld is used when linking, flag to hardcode \$libdir into
 build_old_libs=$enable_static  # a binary during linking. This must work even if \$libdir does
   # not exist.
   hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   
 # Whether or not to add -lc for building shared libraries.  # Whether we need a single -rpath flag with a separated argument.
 build_libtool_need_lc=$archive_cmds_need_lc_CXX  hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   
 # Whether or not to disallow shared libs when runtime libs are static  # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX  # resulting binary.
   hardcode_direct=$hardcode_direct_CXX
   
 # Whether or not to optimize for fast installation.  # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 fast_install=$enable_fast_install  # resulting binary.
   hardcode_minus_L=$hardcode_minus_L_CXX
   
 # The host system.  # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 host_alias=$host_alias  # the resulting binary.
 host=$host  hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   
 # An echo program that does not interpret backslashes.  # Set to yes if building a shared library automatically hardcodes DIR into the library
 echo=$lt_echo  # and all subsequent libraries and executables linked against it.
   hardcode_automatic=$hardcode_automatic_CXX
   
 # The archiver.  # Variables whose values should be saved in libtool wrapper scripts and
 AR=$lt_AR  # restored at relink time.
 AR_FLAGS=$lt_AR_FLAGS  variables_saved_for_relink="$variables_saved_for_relink"
   
 # A C compiler.  # Whether libtool must link a program against all its dependency libraries.
 LTCC=$lt_LTCC  link_all_deplibs=$link_all_deplibs_CXX
   
 # A language-specific compiler.  # Compile-time system search path for libraries
 CC=$lt_compiler_CXX  sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   
 # Is the compiler the GNU C compiler?  # Run-time system search path for libraries
 with_gcc=$GCC_CXX  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   
 # An ERE matcher.  # Fix the shell variable \$srcfile for the compiler.
 EGREP=$lt_EGREP  fix_srcfile_path="$fix_srcfile_path_CXX"
   
 # The linker used to build libraries.  
 LD=$lt_LD_CXX  
   
 # Whether we need hard or soft links.  
 LN_S=$lt_LN_S  
   
 # A BSD-compatible nm program.  
 NM=$lt_NM  
   
 # A symbol stripping program  
 STRIP=$lt_STRIP  
   
 # Used to examine libraries when file_magic_cmd begins "file"  
 MAGIC_CMD=$MAGIC_CMD  
   
 # Used on cygwin: DLL creation program.  
 DLLTOOL="$DLLTOOL"  
   
 # Used on cygwin: object dumper.  
 OBJDUMP="$OBJDUMP"  
   
 # Used on cygwin: assembler.  
 AS="$AS"  
   
 # The name of the directory that contains temporary libtool files.  
 objdir=$objdir  
   
 # How to create reloadable object files.  
 reload_flag=$lt_reload_flag  
 reload_cmds=$lt_reload_cmds  
   
 # How to pass a linker flag through the compiler.  
 wl=$lt_lt_prog_compiler_wl_CXX  
   
 # Object file suffix (normally "o").  
 objext="$ac_objext"  
   
 # Old archive suffix (normally "a").  
 libext="$libext"  
   
 # Shared library suffix (normally ".so").  
 shrext_cmds='$shrext_cmds'  
   
 # Executable file suffix (normally "").  
 exeext="$exeext"  
   
 # Additional compiler flags for building library objects.  
 pic_flag=$lt_lt_prog_compiler_pic_CXX  
 pic_mode=$pic_mode  
   
 # What is the maximum length of a command?  
 max_cmd_len=$lt_cv_sys_max_cmd_len  
   
 # Does compiler simultaneously support -c and -o options?  
 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX  
   
 # Must we lock files when doing compilation ?  
 need_locks=$lt_need_locks  
   
 # Do we need the lib prefix for modules?  
 need_lib_prefix=$need_lib_prefix  
   
 # Do we need a version for libraries?  
 need_version=$need_version  
   
 # Whether dlopen is supported.  
 dlopen_support=$enable_dlopen  
   
 # Whether dlopen of programs is supported.  
 dlopen_self=$enable_dlopen_self  
   
 # Whether dlopen of statically linked programs is supported.  
 dlopen_self_static=$enable_dlopen_self_static  
   
 # Compiler flag to prevent dynamic linking.  
 link_static_flag=$lt_lt_prog_compiler_static_CXX  
   
 # Compiler flag to turn off builtin functions.  
 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX  
   
 # Compiler flag to allow reflexive dlopens.  
 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX  
   
 # Compiler flag to generate shared objects directly from archives.  
 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX  
   
 # Compiler flag to generate thread-safe objects.  
 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX  
   
 # Library versioning type.  
 version_type=$version_type  
   
 # Format of library name prefix.  
 libname_spec=$lt_libname_spec  
   
 # List of archive names.  First name is the real one, the rest are links.  
 # The last name is the one that the linker finds with -lNAME.  
 library_names_spec=$lt_library_names_spec  
   
 # The coded name of the library, if different from the real name.  
 soname_spec=$lt_soname_spec  
   
 # Commands used to build and install an old-style archive.  
 RANLIB=$lt_RANLIB  
 old_archive_cmds=$lt_old_archive_cmds_CXX  
 old_postinstall_cmds=$lt_old_postinstall_cmds  
 old_postuninstall_cmds=$lt_old_postuninstall_cmds  
   
 # Create an old-style archive from a shared archive.  
 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX  
   
 # Create a temporary old-style archive to link instead of a shared archive.  
 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX  
   
 # Commands used to build and install a shared archive.  
 archive_cmds=$lt_archive_cmds_CXX  
 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX  
 postinstall_cmds=$lt_postinstall_cmds  
 postuninstall_cmds=$lt_postuninstall_cmds  
   
 # Commands used to build a loadable module (assumed same as above if empty)  
 module_cmds=$lt_module_cmds_CXX  
 module_expsym_cmds=$lt_module_expsym_cmds_CXX  
   
 # Commands to strip libraries.  
 old_striplib=$lt_old_striplib  
 striplib=$lt_striplib  
   
 # Dependencies to place before the objects being linked to create a  
 # shared library.  
 predep_objects=$lt_predep_objects_CXX  
   
 # Dependencies to place after the objects being linked to create a  
 # shared library.  
 postdep_objects=$lt_postdep_objects_CXX  
   
 # Dependencies to place before the objects being linked to create a  
 # shared library.  
 predeps=$lt_predeps_CXX  
   
 # Dependencies to place after the objects being linked to create a  
 # shared library.  
 postdeps=$lt_postdeps_CXX  
   
 # The library search path used internally by the compiler when linking  
 # a shared library.  
 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX  
   
 # Method to check whether dependent libraries are shared objects.  
 deplibs_check_method=$lt_deplibs_check_method  
   
 # Command to use when deplibs_check_method == file_magic.  
 file_magic_cmd=$lt_file_magic_cmd  
   
 # Flag that allows shared libraries with undefined symbols to be built.  
 allow_undefined_flag=$lt_allow_undefined_flag_CXX  
   
 # Flag that forces no undefined symbols.  
 no_undefined_flag=$lt_no_undefined_flag_CXX  
   
 # Commands used to finish a libtool library installation in a directory.  
 finish_cmds=$lt_finish_cmds  
   
 # Same as above, but a single script fragment to be evaled but not shown.  
 finish_eval=$lt_finish_eval  
   
 # Take the output of nm and produce a listing of raw symbols and C names.  
 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe  
   
 # Transform the output of nm in a proper C declaration  
 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl  
   
 # Transform the output of nm in a C name address pair  
 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address  
   
 # This is the shared library runtime path variable.  
 runpath_var=$runpath_var  
   
 # This is the shared library path variable.  
 shlibpath_var=$shlibpath_var  
   
 # Is shlibpath searched before the hard-coded library search path?  
 shlibpath_overrides_runpath=$shlibpath_overrides_runpath  
   
 # How to hardcode a shared library path into an executable.  
 hardcode_action=$hardcode_action_CXX  
   
 # Whether we should hardcode library paths into libraries.  
 hardcode_into_libs=$hardcode_into_libs  
   
 # Flag to hardcode \$libdir into a binary during linking.  
 # This must work even if \$libdir does not exist.  
 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX  
   
 # If ld is used when linking, flag to hardcode \$libdir into  
 # a binary during linking. This must work even if \$libdir does  
 # not exist.  
 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX  
   
 # Whether we need a single -rpath flag with a separated argument.  
 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX  
   
 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the  
 # resulting binary.  
 hardcode_direct=$hardcode_direct_CXX  
   
 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the  
 # resulting binary.  
 hardcode_minus_L=$hardcode_minus_L_CXX  
   
 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into  
 # the resulting binary.  
 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX  
   
 # Set to yes if building a shared library automatically hardcodes DIR into the library  
 # and all subsequent libraries and executables linked against it.  
 hardcode_automatic=$hardcode_automatic_CXX  
   
 # Variables whose values should be saved in libtool wrapper scripts and  
 # restored at relink time.  
 variables_saved_for_relink="$variables_saved_for_relink"  
   
 # Whether libtool must link a program against all its dependency libraries.  
 link_all_deplibs=$link_all_deplibs_CXX  
   
 # Compile-time system search path for libraries  
 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec  
   
 # Run-time system search path for libraries  
 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec  
   
 # Fix the shell variable \$srcfile for the compiler.  
 fix_srcfile_path="$fix_srcfile_path_CXX"  
   
 # Set to yes if exported symbols are required.  # Set to yes if exported symbols are required.
 always_export_symbols=$always_export_symbols_CXX  always_export_symbols=$always_export_symbols_CXX
Line 13138
 
Line 13028
 # If no C compiler was specified, use CC.  # If no C compiler was specified, use CC.
 LTCC=${LTCC-"$CC"}  LTCC=${LTCC-"$CC"}
   
   # If no C compiler flags were specified, use CFLAGS.
   LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   
 # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
 compiler=$CC  compiler=$CC
   
   
   # save warnings/boilerplate of simple test code
   ac_outfile=conftest.$ac_objext
   printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   _lt_compiler_boilerplate=`cat conftest.err`
   $rm conftest*
   
   ac_outfile=conftest.$ac_objext
   printf "$lt_simple_link_test_code" >conftest.$ac_ext
   eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   _lt_linker_boilerplate=`cat conftest.err`
   $rm conftest*
   
   
 # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
 lt_save_CC="$CC"  lt_save_CC="$CC"
 CC=${F77-"f77"}  CC=${F77-"f77"}
 compiler=$CC  compiler=$CC
 compiler_F77=$CC  compiler_F77=$CC
 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`  for cc_temp in $compiler""; do
     case $cc_temp in
       compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       \-*) ;;
       *) break;;
     esac
   done
   cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   
   
 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5  echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 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 13160
 
Line 13076
   
 # On AIX, shared libraries and static libraries use the same namespace, and  # On AIX, shared libraries and static libraries use the same namespace, and
 # are all built from PIC.  # are all built from PIC.
 case "$host_os" in  case $host_os in
 aix3*)  aix3*)
   test "$enable_shared" = yes && enable_static=no    test "$enable_shared" = yes && enable_static=no
   if test -n "$RANLIB"; then    if test -n "$RANLIB"; then
Line 13169
 
Line 13085
   fi    fi
   ;;    ;;
 aix4* | aix5*)  aix4* | aix5*)
     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   test "$enable_shared" = yes && enable_static=no    test "$enable_shared" = yes && enable_static=no
     fi
   ;;    ;;
 esac  esac
 echo "$as_me:$LINENO: result: $enable_shared" >&5  echo "$as_me:$LINENO: result: $enable_shared" >&5
Line 13182
 
Line 13100
 echo "$as_me:$LINENO: result: $enable_static" >&5  echo "$as_me:$LINENO: result: $enable_static" >&5
 echo "${ECHO_T}$enable_static" >&6  echo "${ECHO_T}$enable_static" >&6
   
 test "$ld_shlibs_F77" = no && can_build_shared=no  
   
 GCC_F77="$G77"  GCC_F77="$G77"
 LD_F77="$LD"  LD_F77="$LD"
   
Line 13230
 
Line 13146
       lt_prog_compiler_pic_F77='-fno-common'        lt_prog_compiler_pic_F77='-fno-common'
       ;;        ;;
   
       interix3*)
         # Interix 3.x gcc -fpic/-fPIC options generate broken code.
         # Instead, we relocate shared libraries at runtime.
         ;;
   
     msdosdjgpp*)      msdosdjgpp*)
       # Just because we use GCC doesn't mean we suddenly get shared libraries        # Just because we use GCC doesn't mean we suddenly get shared libraries
       # on systems that don't support them.        # on systems that don't support them.
Line 13246
 
Line 13167
     hpux*)      hpux*)
       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       # not for PA HP-UX.        # not for PA HP-UX.
       case "$host_cpu" in        case $host_cpu in
       hppa*64*|ia64*)        hppa*64*|ia64*)
  # +Z the default   # +Z the default
  ;;   ;;
Line 13272
 
Line 13193
  lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'   lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
       fi        fi
       ;;        ;;
         darwin*)
           # PIC is the default on this platform
           # Common symbols not allowed in MH_DYLIB files
          case $cc_basename in
            xlc*)
            lt_prog_compiler_pic_F77='-qnocommon'
            lt_prog_compiler_wl_F77='-Wl,'
            ;;
          esac
          ;;
   
     mingw* | pw32* | os2*)      mingw* | pw32* | os2*)
       # 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
       # built for inclusion in a dll (and should export symbols for example).        # built for inclusion in a dll (and should export symbols for example).
Line 13283
 
Line 13214
       lt_prog_compiler_wl_F77='-Wl,'        lt_prog_compiler_wl_F77='-Wl,'
       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       # not for PA HP-UX.        # not for PA HP-UX.
       case "$host_cpu" in        case $host_cpu in
       hppa*64*|ia64*)        hppa*64*|ia64*)
  # +Z the default   # +Z the default
  ;;   ;;
Line 13307
 
Line 13238
       ;;        ;;
   
     linux*)      linux*)
       case $CC in        case $cc_basename in
       icc* | ecc*)        icc* | ecc*)
  lt_prog_compiler_wl_F77='-Wl,'   lt_prog_compiler_wl_F77='-Wl,'
  lt_prog_compiler_pic_F77='-KPIC'   lt_prog_compiler_pic_F77='-KPIC'
  lt_prog_compiler_static_F77='-static'   lt_prog_compiler_static_F77='-static'
         ;;          ;;
         pgcc* | pgf77* | pgf90* | pgf95*)
           # Portland Group compilers (*not* the Pentium gcc compiler,
    # which looks to be a dead project)
    lt_prog_compiler_wl_F77='-Wl,'
    lt_prog_compiler_pic_F77='-fpic'
    lt_prog_compiler_static_F77='-Bstatic'
           ;;
       ccc*)        ccc*)
         lt_prog_compiler_wl_F77='-Wl,'          lt_prog_compiler_wl_F77='-Wl,'
         # All Alpha code is PIC.          # All Alpha code is PIC.
Line 13327
 
Line 13265
       lt_prog_compiler_static_F77='-non_shared'        lt_prog_compiler_static_F77='-non_shared'
       ;;        ;;
   
     sco3.2v5*)  
       lt_prog_compiler_pic_F77='-Kpic'  
       lt_prog_compiler_static_F77='-dn'  
       ;;  
   
     solaris*)      solaris*)
       lt_prog_compiler_wl_F77='-Wl,'  
       lt_prog_compiler_pic_F77='-KPIC'        lt_prog_compiler_pic_F77='-KPIC'
       lt_prog_compiler_static_F77='-Bstatic'        lt_prog_compiler_static_F77='-Bstatic'
         case $cc_basename in
         f77* | f90* | f95*)
    lt_prog_compiler_wl_F77='-Qoption ld ';;
         *)
    lt_prog_compiler_wl_F77='-Wl,';;
         esac
       ;;        ;;
   
     sunos4*)      sunos4*)
Line 13344
 
Line 13282
       lt_prog_compiler_static_F77='-Bstatic'        lt_prog_compiler_static_F77='-Bstatic'
       ;;        ;;
   
     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)      sysv4 | sysv4.2uw2* | sysv4.3*)
       lt_prog_compiler_wl_F77='-Wl,'        lt_prog_compiler_wl_F77='-Wl,'
       lt_prog_compiler_pic_F77='-KPIC'        lt_prog_compiler_pic_F77='-KPIC'
       lt_prog_compiler_static_F77='-Bstatic'        lt_prog_compiler_static_F77='-Bstatic'
Line 13357
 
Line 13295
       fi        fi
       ;;        ;;
   
       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
         lt_prog_compiler_wl_F77='-Wl,'
         lt_prog_compiler_pic_F77='-KPIC'
         lt_prog_compiler_static_F77='-Bstatic'
         ;;
   
       unicos*)
         lt_prog_compiler_wl_F77='-Wl,'
         lt_prog_compiler_can_build_shared_F77=no
         ;;
   
     uts4*)      uts4*)
       lt_prog_compiler_pic_F77='-pic'        lt_prog_compiler_pic_F77='-pic'
       lt_prog_compiler_static_F77='-Bstatic'        lt_prog_compiler_static_F77='-Bstatic'
Line 13391
 
Line 13340
    # with a dollar sign (not a hyphen), so the echo should work correctly.     # with a dollar sign (not a hyphen), so the echo should work correctly.
    # The option is referenced via a variable to avoid confusing sed.     # The option is referenced via a variable to avoid confusing sed.
    lt_compile=`echo "$ac_compile" | $SED \     lt_compile=`echo "$ac_compile" | $SED \
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
    (eval echo "\"\$as_me:13397: $lt_compile\"" >&5)     (eval echo "\"\$as_me:13346: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
    ac_status=$?     ac_status=$?
    cat conftest.err >&5     cat conftest.err >&5
    echo "$as_me:13401: \$? = $ac_status" >&5     echo "$as_me:13350: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings       # So say no if there are warnings other than the usual output.
      if test ! -s conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        lt_prog_compiler_pic_works_F77=yes         lt_prog_compiler_pic_works_F77=yes
      fi       fi
    fi     fi
Line 13423
 
Line 13374
 fi  fi
   
 fi  fi
 case "$host_os" in  case $host_os in
   # For platforms which do not support PIC, -DPIC is meaningless:    # For platforms which do not support PIC, -DPIC is meaningless:
   *djgpp*)    *djgpp*)
     lt_prog_compiler_pic_F77=      lt_prog_compiler_pic_F77=
Line 13433
 
Line 13384
     ;;      ;;
 esac  esac
   
   #
   # Check to make sure the static flag actually works.
   #
   wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   if test "${lt_prog_compiler_static_works_F77+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     lt_prog_compiler_static_works_F77=no
      save_LDFLAGS="$LDFLAGS"
      LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
      printf "$lt_simple_link_test_code" > conftest.$ac_ext
      if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
        # The linker can only warn and ignore the option if not recognized
        # So say no if there are warnings
        if test -s conftest.err; then
          # Append any errors to the config.log.
          cat conftest.err 1>&5
          $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
          $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
          if diff conftest.exp conftest.er2 >/dev/null; then
            lt_prog_compiler_static_works_F77=yes
          fi
        else
          lt_prog_compiler_static_works_F77=yes
        fi
      fi
      $rm conftest*
      LDFLAGS="$save_LDFLAGS"
   
   fi
   echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
   echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
   
   if test x"$lt_prog_compiler_static_works_F77" = xyes; then
       :
   else
       lt_prog_compiler_static_F77=
   fi
   
   
 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6  echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then  if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
Line 13451
 
Line 13444
    # Note that $ac_compile itself does not contain backslashes and begins     # Note that $ac_compile itself does not contain backslashes and begins
    # with a dollar sign (not a hyphen), so the echo should work correctly.     # with a dollar sign (not a hyphen), so the echo should work correctly.
    lt_compile=`echo "$ac_compile" | $SED \     lt_compile=`echo "$ac_compile" | $SED \
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
    (eval echo "\"\$as_me:13457: $lt_compile\"" >&5)     (eval echo "\"\$as_me:13450: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)     (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?     ac_status=$?
    cat out/conftest.err >&5     cat out/conftest.err >&5
    echo "$as_me:13461: \$? = $ac_status" >&5     echo "$as_me:13454: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext     if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then     then
      # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings       # So say no if there are warnings
      if test ! -s out/conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
        $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
        if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_c_o_F77=yes         lt_cv_prog_compiler_c_o_F77=yes
      fi       fi
    fi     fi
    chmod u+w .     chmod u+w . 2>&5
    $rm conftest*     $rm conftest*
    # SGI C++ compiler will create directory out/ii_files/ for     # SGI C++ compiler will create directory out/ii_files/ for
    # template instantiation     # template instantiation
Line 13543
 
Line 13538
   # 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
   # preloaded symbol tables.    # preloaded symbol tables.
   extract_expsyms_cmds=    extract_expsyms_cmds=
     # Just being paranoid about ensuring that cc_basename is set.
     for cc_temp in $compiler""; do
     case $cc_temp in
       compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       \-*) ;;
       *) break;;
     esac
   done
   cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   
   case $host_os in    case $host_os in
   cygwin* | mingw* | pw32*)    cygwin* | mingw* | pw32*)
Line 13553
 
Line 13558
       with_gnu_ld=no        with_gnu_ld=no
     fi      fi
     ;;      ;;
     interix*)
       # we just hope/assume this is gcc and not c89 (= MSVC++)
       with_gnu_ld=yes
       ;;
   openbsd*)    openbsd*)
     with_gnu_ld=no      with_gnu_ld=no
     ;;      ;;
Line 13563
 
Line 13572
     # If archive_cmds runs LD, not CC, wlarc should be empty      # If archive_cmds runs LD, not CC, wlarc should be empty
     wlarc='${wl}'      wlarc='${wl}'
   
       # Set some defaults for GNU ld with shared library support. These
       # are reset later if shared libraries are not supported. Putting them
       # here allows them to be overridden if necessary.
       runpath_var=LD_RUN_PATH
       hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
       export_dynamic_flag_spec_F77='${wl}--export-dynamic'
       # ancient GNU ld didn't support --whole-archive et. al.
       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
       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
   
     # See if GNU ld supports shared libraries.      # See if GNU ld supports shared libraries.
     case $host_os in      case $host_os in
     aix3* | aix4* | aix5*)      aix3* | aix4* | aix5*)
Line 13613
 
Line 13643
       allow_undefined_flag_F77=unsupported        allow_undefined_flag_F77=unsupported
       always_export_symbols_F77=no        always_export_symbols_F77=no
       enable_shared_with_static_runtimes_F77=yes        enable_shared_with_static_runtimes_F77=yes
       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'
   
       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
         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}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  # If the export-symbols file already is a .def file (1st line   # If the export-symbols file already is a .def file (1st line
  # is EXPORTS), use it as is; otherwise, prepend...   # is EXPORTS), use it as is; otherwise, prepend...
  archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then   archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
Line 13625
 
Line 13655
    echo EXPORTS > $output_objdir/$soname.def;     echo EXPORTS > $output_objdir/$soname.def;
    cat $export_symbols >> $output_objdir/$soname.def;     cat $export_symbols >> $output_objdir/$soname.def;
  fi~   fi~
  $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}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       else        else
  ld_shlibs=no   ld_shlibs_F77=no
         fi
         ;;
   
       interix3*)
         hardcode_direct_F77=no
         hardcode_shlibpath_var_F77=no
         hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
         export_dynamic_flag_spec_F77='${wl}-E'
         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
         # Instead, shared libraries are loaded at an image base (0x10000000 by
         # default) and relocated if they conflict, which is a slow very memory
         # consuming and fragmenting process.  To avoid this, we pick a random,
         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
         archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
         archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
         ;;
   
       linux*)
         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    tmp_addflag=
    case $cc_basename,$host_cpu in
    pgcc*) # Portland Group C compiler
      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'
      tmp_addflag=' $pic_flag'
      ;;
    pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
      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'
      tmp_addflag=' $pic_flag -Mnomain' ;;
    ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
      tmp_addflag=' -i_dynamic' ;;
    efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
      tmp_addflag=' -i_dynamic -nofor_main' ;;
    ifc* | ifort*) # Intel Fortran compiler
      tmp_addflag=' -nofor_main' ;;
    esac
    archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   
    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'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    fi
         else
    ld_shlibs_F77=no
       fi        fi
       ;;        ;;
   
     netbsd* | netbsdelf*-gnu | knetbsd*-gnu)      netbsd*)
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'   archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  wlarc=   wlarc=
Line 13641
 
Line 13717
       fi        fi
       ;;        ;;
   
     solaris* | sysv5*)      solaris*)
       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then        if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  ld_shlibs_F77=no   ld_shlibs_F77=no
  cat <<EOF 1>&2   cat <<EOF 1>&2
Line 13662
 
Line 13738
       fi        fi
       ;;        ;;
   
     sunos4*)      sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'        case `$LD -v 2>&1` in
       wlarc=          *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
       hardcode_direct_F77=yes   ld_shlibs_F77=no
       hardcode_shlibpath_var_F77=no   cat <<_LT_EOF 1>&2
       ;;  
   
   linux*)  *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   *** reliably create shared libraries on SCO systems.  Therefore, libtool
   *** is disabling shared libraries support.  We urge you to upgrade GNU
   *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   *** your PATH or compiler configuration so that the native linker is
   *** used, and then restart.
   
   _LT_EOF
    ;;
    *)
     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
         tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  archive_cmds_F77="$tmp_archive_cmds"       archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
       supports_anon_versioning=no       archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
       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  
       link_all_deplibs_F77=no  
     else      else
       ld_shlibs_F77=no        ld_shlibs_F77=no
     fi      fi
     ;;      ;;
         esac
         ;;
   
       sunos4*)
         archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
         wlarc=
         hardcode_direct_F77=yes
         hardcode_shlibpath_var_F77=no
         ;;
   
     *)      *)
       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
Line 13705
 
Line 13782
       ;;        ;;
     esac      esac
   
     if test "$ld_shlibs_F77" = yes; then      if test "$ld_shlibs_F77" = no; then
       runpath_var=LD_RUN_PATH        runpath_var=
       hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'        hardcode_libdir_flag_spec_F77=
       export_dynamic_flag_spec_F77='${wl}--export-dynamic'        export_dynamic_flag_spec_F77=
       # ancient GNU ld didn't support --whole-archive et. al.  
       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=    whole_archive_flag_spec_F77=
       fi        fi
     fi  
   else    else
     # 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)
     case $host_os in      case $host_os in
Line 13726
 
Line 13798
       # Note: this linker hardcodes the directories in LIBPATH if there        # Note: this linker hardcodes the directories in LIBPATH if there
       # are no directories specified by -L.        # are no directories specified by -L.
       hardcode_minus_L_F77=yes        hardcode_minus_L_F77=yes
       if test "$GCC" = yes && test -z "$link_static_flag"; then        if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  # Neither direct hardcoding nor static linking is supported with a   # Neither direct hardcoding nor static linking is supported with a
  # broken collect2.   # broken collect2.
  hardcode_direct_F77=unsupported   hardcode_direct_F77=unsupported
Line 13760
 
Line 13832
       break        break
     fi      fi
    done     done
      ;;
  esac   esac
   
  exp_sym_flag='-bexport'   exp_sym_flag='-bexport'
Line 13778
 
Line 13851
       link_all_deplibs_F77=yes        link_all_deplibs_F77=yes
   
       if test "$GCC" = yes; then        if test "$GCC" = yes; then
  case $host_os in aix4.012|aix4.012.*)   case $host_os in aix4.[012]|aix4.[012].*)
  # 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
  # below for broken collect2 doesn't work under 4.3+   # below for broken collect2 doesn't work under 4.3+
    collect2name=`${CC} -print-prog-name=collect2`     collect2name=`${CC} -print-prog-name=collect2`
Line 13797
 
Line 13870
     hardcode_libdir_flag_spec_F77='-L$libdir'      hardcode_libdir_flag_spec_F77='-L$libdir'
     hardcode_libdir_separator_F77=      hardcode_libdir_separator_F77=
    fi     fi
      ;;
  esac   esac
  shared_flag='-shared'   shared_flag='-shared'
    if test "$aix_use_runtimelinking" = yes; then
      shared_flag="$shared_flag "'${wl}-G'
    fi
       else        else
  # not using gcc   # not using gcc
  if test "$host_cpu" = ia64; then   if test "$host_cpu" = ia64; then
Line 13836
 
Line 13913
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_f77_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 13864
 
Line 13942
 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   
        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
  archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"   archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
        else         else
  if test "$host_cpu" = ia64; then   if test "$host_cpu" = ia64; then
    hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'     hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
    allow_undefined_flag_F77="-z nodefs"     allow_undefined_flag_F77="-z nodefs"
    archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"     archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  else   else
  # Determine the default libpath from the value encoded in an empty executable.   # Determine the default libpath from the value encoded in an empty executable.
  cat >conftest.$ac_ext <<_ACEOF   cat >conftest.$ac_ext <<_ACEOF
Line 13886
 
Line 13964
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_f77_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 13918
 
Line 13997
    # -berok will link without error, but may produce a broken library.     # -berok will link without error, but may produce a broken library.
    no_undefined_flag_F77=' ${wl}-bernotok'     no_undefined_flag_F77=' ${wl}-bernotok'
    allow_undefined_flag_F77=' ${wl}-berok'     allow_undefined_flag_F77=' ${wl}-berok'
    # -bexpall does not export symbols beginning with underscore (_)  
    always_export_symbols_F77=yes  
    # Exported symbols can be pulled into shared objects from archives     # Exported symbols can be pulled into shared objects from archives
    whole_archive_flag_spec_F77=' '     whole_archive_flag_spec_F77='$convenience'
    archive_cmds_need_lc_F77=yes     archive_cmds_need_lc_F77=yes
    # This is similar to how AIX traditionally builds it's shared libraries.     # This is similar to how AIX traditionally builds its shared libraries.
    archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'     archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  fi   fi
       fi        fi
       ;;        ;;
Line 13937
 
Line 14014
       ld_shlibs_F77=no        ld_shlibs_F77=no
       ;;        ;;
   
     bsdi4*)      bsdi[45]*)
       export_dynamic_flag_spec_F77=-rdynamic        export_dynamic_flag_spec_F77=-rdynamic
       ;;        ;;
   
Line 13958
 
Line 14035
       old_archive_From_new_cmds_F77='true'        old_archive_From_new_cmds_F77='true'
       # FIXME: Should let the user specify the lib program.        # FIXME: Should let the user specify the lib program.
       old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'        old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
       fix_srcfile_path='`cygpath -w "$srcfile"`'        fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
       enable_shared_with_static_runtimes_F77=yes        enable_shared_with_static_runtimes_F77=yes
       ;;        ;;
   
     darwin* | rhapsody*)      darwin* | rhapsody*)
     if test "$GXX" = yes ; then        case $host_os in
       archive_cmds_need_lc_F77=no  
       case "$host_os" in  
       rhapsody* | darwin1.[012])        rhapsody* | darwin1.[012])
  allow_undefined_flag_F77='-undefined suppress'           allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
  ;;   ;;
       *) # Darwin 1.3 on        *) # Darwin 1.3 on
       if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
        allow_undefined_flag_F77='-flat_namespace -undefined suppress'             allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       else        else
         case ${MACOSX_DEPLOYMENT_TARGET} in          case ${MACOSX_DEPLOYMENT_TARGET} in
           10.[012])            10.[012])
             allow_undefined_flag_F77='-flat_namespace -undefined suppress'                 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
             ;;              ;;
           10.*)            10.*)
             allow_undefined_flag_F77='-undefined dynamic_lookup'                 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
             ;;              ;;
         esac          esac
       fi        fi
  ;;   ;;
       esac        esac
     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}'  
       hardcode_direct_F77=no        hardcode_direct_F77=no
       hardcode_automatic_F77=yes        hardcode_automatic_F77=yes
       hardcode_shlibpath_var_F77=unsupported        hardcode_shlibpath_var_F77=unsupported
       whole_archive_flag_spec_F77='-all_load $convenience'        whole_archive_flag_spec_F77=''
       link_all_deplibs_F77=yes        link_all_deplibs_F77=yes
       if test "$GCC" = yes ; then
       output_verbose_link_cmd='echo'
           archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
         module_cmds_F77='$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 lds
         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}'
         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}'
     else      else
         case $cc_basename in
           xlc*)
            output_verbose_link_cmd='echo'
            archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
            module_cmds_F77='$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 lds
            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}'
             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}'
             ;;
          *)
       ld_shlibs_F77=no        ld_shlibs_F77=no
             ;;
         esac
     fi      fi
       ;;        ;;
   
Line 14042
 
Line 14119
       ;;        ;;
   
     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
     freebsd* | kfreebsd*-gnu)      freebsd* | kfreebsd*-gnu | dragonfly*)
       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'        archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
       hardcode_libdir_flag_spec_F77='-R$libdir'        hardcode_libdir_flag_spec_F77='-R$libdir'
       hardcode_direct_F77=yes        hardcode_direct_F77=yes
Line 14065
 
Line 14142
       export_dynamic_flag_spec_F77='${wl}-E'        export_dynamic_flag_spec_F77='${wl}-E'
       ;;        ;;
   
     hpux10* | hpux11*)      hpux10*)
       if test "$GCC" = yes -a "$with_gnu_ld" = no; then        if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  case "$host_cpu" in   archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  hppa*64*|ia64*)        else
    archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
         fi
         if test "$with_gnu_ld" = no; then
    hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
    hardcode_libdir_separator_F77=:
   
    hardcode_direct_F77=yes
    export_dynamic_flag_spec_F77='${wl}-E'
   
    # hardcode_minus_L: Not really in the search PATH,
    # but as the default location of the library.
    hardcode_minus_L_F77=yes
         fi
         ;;
   
       hpux11*)
         if test "$GCC" = yes -a "$with_gnu_ld" = no; then
    case $host_cpu in
    hppa*64*)
    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'
    ;;     ;;
    ia64*)
      archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
      ;;
  *)   *)
    archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'     archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    ;;     ;;
  esac   esac
       else        else
  case "$host_cpu" in   case $host_cpu in
  hppa*64*|ia64*)   hppa*64*)
    archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'     archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
      ;;
    ia64*)
      archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    ;;     ;;
  *)   *)
    archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'     archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    ;;     ;;
  esac   esac
       fi        fi
       if test "$with_gnu_ld" = no; then        if test "$with_gnu_ld" = no; then
  case "$host_cpu" in  
  hppa*64*)  
    hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'     hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
    hardcode_libdir_flag_spec_ld_F77='+b $libdir'  
    hardcode_libdir_separator_F77=:     hardcode_libdir_separator_F77=:
   
    case $host_cpu in
    hppa*64*|ia64*)
      hardcode_libdir_flag_spec_ld_F77='+b $libdir'
    hardcode_direct_F77=no     hardcode_direct_F77=no
    hardcode_shlibpath_var_F77=no     hardcode_shlibpath_var_F77=no
    ;;     ;;
  ia64*)  
    hardcode_libdir_flag_spec_F77='-L$libdir'  
    hardcode_direct_F77=no  
    hardcode_shlibpath_var_F77=no  
   
    # hardcode_minus_L: Not really in the search PATH,  
    # but as the default location of the library.  
    hardcode_minus_L_F77=yes  
    ;;  
  *)   *)
    hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'  
    hardcode_libdir_separator_F77=:  
    hardcode_direct_F77=yes     hardcode_direct_F77=yes
    export_dynamic_flag_spec_F77='${wl}-E'     export_dynamic_flag_spec_F77='${wl}-E'
   
Line 14129
 
Line 14221
       link_all_deplibs_F77=yes        link_all_deplibs_F77=yes
       ;;        ;;
   
     netbsd* | netbsdelf*-gnu | knetbsd*-gnu)      netbsd*)
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out   archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
       else        else
Line 14153
 
Line 14245
       hardcode_shlibpath_var_F77=no        hardcode_shlibpath_var_F77=no
       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
  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'
    archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'   hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
  export_dynamic_flag_spec_F77='${wl}-E'   export_dynamic_flag_spec_F77='${wl}-E'
       else        else
Line 14198
 
Line 14291
  allow_undefined_flag_F77=' -expect_unresolved \*'   allow_undefined_flag_F77=' -expect_unresolved \*'
  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'
  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~
  $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'
   
  # Both c and cxx compiler support -rpath directly   # Both c and cxx compiler support -rpath directly
  hardcode_libdir_flag_spec_F77='-rpath $libdir'   hardcode_libdir_flag_spec_F77='-rpath $libdir'
Line 14206
 
Line 14299
       hardcode_libdir_separator_F77=:        hardcode_libdir_separator_F77=:
       ;;        ;;
   
     sco3.2v5*)  
       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'  
       hardcode_shlibpath_var_F77=no  
       export_dynamic_flag_spec_F77='${wl}-Bexport'  
       runpath_var=LD_RUN_PATH  
       hardcode_runpath_var=yes  
       ;;  
   
     solaris*)      solaris*)
       no_undefined_flag_F77=' -z text'        no_undefined_flag_F77=' -z text'
       if test "$GCC" = yes; then        if test "$GCC" = yes; then
    wlarc='${wl}'
  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'
  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~
    $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'
       else        else
    wlarc=''
  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'
  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~
   $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 14229
 
Line 14316
       hardcode_shlibpath_var_F77=no        hardcode_shlibpath_var_F77=no
       case $host_os in        case $host_os in
       solaris2.[0-5] | solaris2.[0-5].*) ;;        solaris2.[0-5] | solaris2.[0-5].*) ;;
       *) # Supported since Solaris 2.6 (maybe 2.5.1?)        *)
    # The compiler driver will combine linker options so we
    # cannot just pass the convience library names through
    # without $wl, iff we do not link with $LD.
    # Luckily, gcc supports the same syntax we need for Sun Studio.
    # Supported since Solaris 2.6 (maybe 2.5.1?)
    case $wlarc in
    '')
  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;   whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
    *)
      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' ;;
    esac ;;
       esac        esac
       link_all_deplibs_F77=yes        link_all_deplibs_F77=yes
       ;;        ;;
Line 14287
 
Line 14384
       fi        fi
       ;;        ;;
   
     sysv4.2uw2*)      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
       archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'        no_undefined_flag_F77='${wl}-z,text'
       hardcode_direct_F77=yes        archive_cmds_need_lc_F77=no
       hardcode_minus_L_F77=no  
       hardcode_shlibpath_var_F77=no        hardcode_shlibpath_var_F77=no
       hardcode_runpath_var=yes        runpath_var='LD_RUN_PATH'
       runpath_var=LD_RUN_PATH  
       ;;  
   
    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)  
       no_undefined_flag_F77='${wl}-z ${wl}text'  
       if test "$GCC" = yes; then        if test "$GCC" = yes; then
  archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'   archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       else        else
  archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'   archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       fi        fi
       runpath_var='LD_RUN_PATH'  
       hardcode_shlibpath_var_F77=no  
       ;;        ;;
   
     sysv5*)      sysv5* | sco3.2v5* | sco5v6*)
       no_undefined_flag_F77=' -z text'        # Note: We can NOT use -z defs as we might desire, because we do not
       # $CC -shared without GNU ld will not create a library from C++        # link with -lc, and that would cause any symbols used from libc to
       # object files and a static libstdc++, better avoid it by now        # always be unresolved, which means just about no library would
       archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'        # ever link correctly.  If we're not using GNU ld we use -z text
       archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~        # though, which does catch some bad symbols but isn't as heavy-handed
   $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'        # as -z defs.
       hardcode_libdir_flag_spec_F77=        no_undefined_flag_F77='${wl}-z,text'
         allow_undefined_flag_F77='${wl}-z,nodefs'
         archive_cmds_need_lc_F77=no
       hardcode_shlibpath_var_F77=no        hardcode_shlibpath_var_F77=no
         hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
         hardcode_libdir_separator_F77=':'
         link_all_deplibs_F77=yes
         export_dynamic_flag_spec_F77='${wl}-Bexport'
       runpath_var='LD_RUN_PATH'        runpath_var='LD_RUN_PATH'
   
         if test "$GCC" = yes; then
    archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
         else
    archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
         fi
       ;;        ;;
   
     uts4*)      uts4*)
Line 14335
 
Line 14441
 echo "${ECHO_T}$ld_shlibs_F77" >&6  echo "${ECHO_T}$ld_shlibs_F77" >&6
 test "$ld_shlibs_F77" = no && can_build_shared=no  test "$ld_shlibs_F77" = no && can_build_shared=no
   
 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"  
 if test "$GCC" = yes; then  
   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"  
 fi  
   
 #  #
 # Do we need to explicitly link libc?  # Do we need to explicitly link libc?
 #  #
Line 14372
 
Line 14473
         libobjs=conftest.$ac_objext          libobjs=conftest.$ac_objext
         deplibs=          deplibs=
         wl=$lt_prog_compiler_wl_F77          wl=$lt_prog_compiler_wl_F77
    pic_flag=$lt_prog_compiler_pic_F77
         compiler_flags=-v          compiler_flags=-v
         linker_flags=-v          linker_flags=-v
         verstring=          verstring=
Line 14504
 
Line 14606
   shlibpath_var=LIBRARY_PATH    shlibpath_var=LIBRARY_PATH
   ;;    ;;
   
 bsdi4*)  bsdi[45]*)
   version_type=linux    version_type=linux
   need_version=no    need_version=no
   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 14532
 
Line 14634
       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~        dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
       dldir=$destdir/`dirname \$dlpath`~        dldir=$destdir/`dirname \$dlpath`~
       test -d \$dldir || mkdir -p \$dldir~        test -d \$dldir || mkdir -p \$dldir~
       $install_prog $dir/$dlname \$dldir/$dlname'        $install_prog $dir/$dlname \$dldir/$dlname~
         chmod a+x \$dldir/$dlname'
     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~      postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
       dlpath=$dir/\$dldll~        dlpath=$dir/\$dldll~
        $rm \$dlpath'         $rm \$dlpath'
Line 14562
 
Line 14665
       ;;        ;;
     pw32*)      pw32*)
       # pw32 DLLs use 'pw' prefix rather than 'lib'        # pw32 DLLs use 'pw' prefix rather than 'lib'
       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}'
         ;;
       esac
       ;;        ;;
   
     linux*)
       if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
         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      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="$archive_cmds"
         fi
       else
         ld_shlibs=no
       fi
     ;;      ;;
   
   *)    *)
Line 14585
 
Line 14712
   soname_spec='${libname}${release}${major}$shared_ext'    soname_spec='${libname}${release}${major}$shared_ext'
   shlibpath_overrides_runpath=yes    shlibpath_overrides_runpath=yes
   shlibpath_var=DYLD_LIBRARY_PATH    shlibpath_var=DYLD_LIBRARY_PATH
   shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   # 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.
   if test "$GCC" = yes; then    if test "$GCC" = yes; then
     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 14620
 
Line 14747
   dynamic_linker='GNU ld.so'    dynamic_linker='GNU ld.so'
   ;;    ;;
   
 freebsd*)  freebsd* | dragonfly*)
   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`    # DragonFly does not have aout.  When/if they implement a new
   version_type=freebsd-$objformat    # versioning mechanism, adjust this.
     if test -x /usr/bin/objformat; then
       objformat=`/usr/bin/objformat`
     else
       case $host_os in
       freebsd[123]*) objformat=aout ;;
       *) objformat=elf ;;
       esac
     fi
     # Handle Gentoo/FreeBSD as it was Linux
     case $host_vendor in
       gentoo)
         version_type=linux ;;
       *)
         version_type=freebsd-$objformat ;;
     esac
   
   case $version_type in    case $version_type in
     freebsd-elf*)      freebsd-elf*)
       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'        library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
Line 14633
 
Line 14776
       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'        library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
       need_version=yes        need_version=yes
       ;;        ;;
       linux)
         library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
         soname_spec='${libname}${release}${shared_ext}$major'
         need_lib_prefix=no
         need_version=no
         ;;
   esac    esac
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
   case $host_os in    case $host_os in
   freebsd2*)    freebsd2*)
     shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
     ;;      ;;
   freebsd3.01* | freebsdelf3.01*)    freebsd3.[01]* | freebsdelf3.[01]*)
     shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
     hardcode_into_libs=yes      hardcode_into_libs=yes
     ;;      ;;
   *) # from 3.2 on    freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
     freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
     shlibpath_overrides_runpath=no      shlibpath_overrides_runpath=no
     hardcode_into_libs=yes      hardcode_into_libs=yes
     ;;      ;;
     freebsd*) # from 4.6 on
       shlibpath_overrides_runpath=yes
       hardcode_into_libs=yes
       ;;
   esac    esac
   ;;    ;;
   
Line 14666
 
Line 14820
   version_type=sunos    version_type=sunos
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   case "$host_cpu" in    case $host_cpu in
   ia64*)    ia64*)
     shrext_cmds='.so'      shrext_cmds='.so'
     hardcode_into_libs=yes      hardcode_into_libs=yes
Line 14706
 
Line 14860
   postinstall_cmds='chmod 555 $lib'    postinstall_cmds='chmod 555 $lib'
   ;;    ;;
   
   interix3*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     soname_spec='${libname}${release}${shared_ext}$major'
     dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=no
     hardcode_into_libs=yes
     ;;
   
 irix5* | irix6* | nonstopux*)  irix5* | irix6* | nonstopux*)
   case $host_os in    case $host_os in
     nonstopux*) version_type=nonstopux ;;      nonstopux*) version_type=nonstopux ;;
Line 14765
 
Line 14931
   
   # Append ld.so.conf contents to the search path    # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then    if test -f /etc/ld.so.conf; then
     lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`      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' ' '`
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi    fi
   
Line 14778
 
Line 14944
   dynamic_linker='GNU/Linux ld.so'    dynamic_linker='GNU/Linux ld.so'
   ;;    ;;
   
 netbsdelf*-gnu)  
   version_type=linux  
   need_lib_prefix=no  
   need_version=no  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'  
   soname_spec='${libname}${release}${shared_ext}$major'  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=no  
   hardcode_into_libs=yes  
   dynamic_linker='NetBSD ld.elf_so'  
   ;;  
   
 knetbsd*-gnu)  knetbsd*-gnu)
   version_type=linux    version_type=linux
   need_lib_prefix=no    need_lib_prefix=no
Line 14839
 
Line 14993
   
 openbsd*)  openbsd*)
   version_type=sunos    version_type=sunos
     sys_lib_dlsearch_path_spec="/usr/lib"
   need_lib_prefix=no    need_lib_prefix=no
   need_version=yes    # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
     case $host_os in
       openbsd3.3 | openbsd3.3.*) need_version=yes ;;
       *)                         need_version=no  ;;
     esac
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
Line 14878
 
Line 15037
   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   ;;    ;;
   
 sco3.2v5*)  
   version_type=osf  
   soname_spec='${libname}${release}${shared_ext}$major'  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'  
   shlibpath_var=LD_LIBRARY_PATH  
   ;;  
   
 solaris*)  solaris*)
   version_type=linux    version_type=linux
   need_lib_prefix=no    need_lib_prefix=no
Line 14910
 
Line 15062
   need_version=yes    need_version=yes
   ;;    ;;
   
 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  sysv4 | sysv4.3*)
   version_type=linux    version_type=linux
   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}'
   soname_spec='${libname}${release}${shared_ext}$major'    soname_spec='${libname}${release}${shared_ext}$major'
Line 14943
 
Line 15095
   fi    fi
   ;;    ;;
   
   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     version_type=freebsd-elf
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
     soname_spec='${libname}${release}${shared_ext}$major'
     shlibpath_var=LD_LIBRARY_PATH
     hardcode_into_libs=yes
     if test "$with_gnu_ld" = yes; then
       sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
       shlibpath_overrides_runpath=no
     else
       sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
       shlibpath_overrides_runpath=yes
       case $host_os in
         sco3.2v5*)
           sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
    ;;
       esac
     fi
     sys_lib_dlsearch_path_spec='/usr/lib'
     ;;
   
 uts4*)  uts4*)
   version_type=linux    version_type=linux
   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 14958
 
Line 15133
 echo "${ECHO_T}$dynamic_linker" >&6  echo "${ECHO_T}$dynamic_linker" >&6
 test "$dynamic_linker" = no && can_build_shared=no  test "$dynamic_linker" = no && can_build_shared=no
   
   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   if test "$GCC" = yes; then
     variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   fi
   
 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5  echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 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
 hardcode_action_F77=  hardcode_action_F77=
 if test -n "$hardcode_libdir_flag_spec_F77" || \  if test -n "$hardcode_libdir_flag_spec_F77" || \
    test -n "$runpath_var F77" || \     test -n "$runpath_var_F77" || \
    test "X$hardcode_automatic_F77"="Xyes" ; then     test "X$hardcode_automatic_F77"="Xyes" ; then
   
   # We can hardcode non-existant directories.    # We can hardcode non-existant directories.
Line 14995
 
Line 15175
   enable_fast_install=needless    enable_fast_install=needless
 fi  fi
   
 striplib=  
 old_striplib=  
 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5  
 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6  
 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then  
   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"  
   test -z "$striplib" && striplib="$STRIP --strip-unneeded"  
   echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6  
 else  
 # FIXME - insert some real tests, host_os isn't really good enough  
   case $host_os in  
    darwin*)  
        if test -n "$STRIP" ; then  
          striplib="$STRIP -x"  
          echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6  
        else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
        ;;  
    *)  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
     ;;  
   esac  
 fi  
   
   
   
 # The else clause should only fire when bootstrapping the  # The else clause should only fire when bootstrapping the
 # libtool distribution, otherwise you forgot to ship ltmain.sh  # libtool distribution, otherwise you forgot to ship ltmain.sh
Line 15039
 
Line 15189
   # Now quote all the things that may contain metacharacters while being    # Now quote all the things that may contain metacharacters while being
   # 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
   # variables and quote the copies for generation of the libtool script.    # variables and quote the copies for generation of the libtool script.
   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \    for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
     SED SHELL STRIP \      SED SHELL STRIP \
     libname_spec library_names_spec soname_spec extract_expsyms_cmds \      libname_spec library_names_spec soname_spec extract_expsyms_cmds \
     old_striplib striplib file_magic_cmd finish_cmds finish_eval \      old_striplib striplib file_magic_cmd finish_cmds finish_eval \
Line 15140
 
Line 15290
 # The host system.  # The host system.
 host_alias=$host_alias  host_alias=$host_alias
 host=$host  host=$host
   host_os=$host_os
   
   # The build system.
   build_alias=$build_alias
   build=$build
   build_os=$build_os
   
 # An echo program that does not interpret backslashes.  # An echo program that does not interpret backslashes.
 echo=$lt_echo  echo=$lt_echo
Line 15151
 
Line 15307
 # A C compiler.  # A C compiler.
 LTCC=$lt_LTCC  LTCC=$lt_LTCC
   
   # LTCC compiler flags.
   LTCFLAGS=$lt_LTCFLAGS
   
 # A language-specific compiler.  # A language-specific compiler.
 CC=$lt_compiler_F77  CC=$lt_compiler_F77
   
Line 15454
 
Line 15613
 lt_simple_compile_test_code="class foo {}\n"  lt_simple_compile_test_code="class foo {}\n"
   
 # Code to be used in simple link tests  # Code to be used in simple link tests
 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'
   
 # 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.
   
 # If no C compiler was specified, use CC.  # If no C compiler was specified, use CC.
 LTCC=${LTCC-"$CC"}  LTCC=${LTCC-"$CC"}
   
   # If no C compiler flags were specified, use CFLAGS.
   LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   
 # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
 compiler=$CC  compiler=$CC
   
   
   # save warnings/boilerplate of simple test code
   ac_outfile=conftest.$ac_objext
   printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   _lt_compiler_boilerplate=`cat conftest.err`
   $rm conftest*
   
   ac_outfile=conftest.$ac_objext
   printf "$lt_simple_link_test_code" >conftest.$ac_ext
   eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   _lt_linker_boilerplate=`cat conftest.err`
   $rm conftest*
   
   
 # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
 lt_save_CC="$CC"  lt_save_CC="$CC"
 CC=${GCJ-"gcj"}  CC=${GCJ-"gcj"}
 compiler=$CC  compiler=$CC
 compiler_GCJ=$CC  compiler_GCJ=$CC
   for cc_temp in $compiler""; do
     case $cc_temp in
       compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       \-*) ;;
       *) break;;
     esac
   done
   cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   
   
 # 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.
 archive_cmds_need_lc_GCJ=no  archive_cmds_need_lc_GCJ=no
   
   old_archive_cmds_GCJ=$old_archive_cmds
   
   
 lt_prog_compiler_no_builtin_flag_GCJ=  lt_prog_compiler_no_builtin_flag_GCJ=
   
Line 15496
 
Line 15684
    # with a dollar sign (not a hyphen), so the echo should work correctly.     # with a dollar sign (not a hyphen), so the echo should work correctly.
    # The option is referenced via a variable to avoid confusing sed.     # The option is referenced via a variable to avoid confusing sed.
    lt_compile=`echo "$ac_compile" | $SED \     lt_compile=`echo "$ac_compile" | $SED \
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
    (eval echo "\"\$as_me:15502: $lt_compile\"" >&5)     (eval echo "\"\$as_me:15690: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
    ac_status=$?     ac_status=$?
    cat conftest.err >&5     cat conftest.err >&5
    echo "$as_me:15506: \$? = $ac_status" >&5     echo "$as_me:15694: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings       # So say no if there are warnings other than the usual output.
      if test ! -s conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_rtti_exceptions=yes         lt_cv_prog_compiler_rtti_exceptions=yes
      fi       fi
    fi     fi
Line 15568
 
Line 15758
       lt_prog_compiler_pic_GCJ='-fno-common'        lt_prog_compiler_pic_GCJ='-fno-common'
       ;;        ;;
   
       interix3*)
         # Interix 3.x gcc -fpic/-fPIC options generate broken code.
         # Instead, we relocate shared libraries at runtime.
         ;;
   
     msdosdjgpp*)      msdosdjgpp*)
       # Just because we use GCC doesn't mean we suddenly get shared libraries        # Just because we use GCC doesn't mean we suddenly get shared libraries
       # on systems that don't support them.        # on systems that don't support them.
Line 15584
 
Line 15779
     hpux*)      hpux*)
       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       # not for PA HP-UX.        # not for PA HP-UX.
       case "$host_cpu" in        case $host_cpu in
       hppa*64*|ia64*)        hppa*64*|ia64*)
  # +Z the default   # +Z the default
  ;;   ;;
Line 15610
 
Line 15805
  lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'   lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
       fi        fi
       ;;        ;;
         darwin*)
           # PIC is the default on this platform
           # Common symbols not allowed in MH_DYLIB files
          case $cc_basename in
            xlc*)
            lt_prog_compiler_pic_GCJ='-qnocommon'
            lt_prog_compiler_wl_GCJ='-Wl,'
            ;;
          esac
          ;;
   
     mingw* | pw32* | os2*)      mingw* | pw32* | os2*)
       # 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 15621
 
Line 15826
       lt_prog_compiler_wl_GCJ='-Wl,'        lt_prog_compiler_wl_GCJ='-Wl,'
       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
       # not for PA HP-UX.        # not for PA HP-UX.
       case "$host_cpu" in        case $host_cpu in
       hppa*64*|ia64*)        hppa*64*|ia64*)
  # +Z the default   # +Z the default
  ;;   ;;
Line 15645
 
Line 15850
       ;;        ;;
   
     linux*)      linux*)
       case $CC in        case $cc_basename in
       icc* | ecc*)        icc* | ecc*)
  lt_prog_compiler_wl_GCJ='-Wl,'   lt_prog_compiler_wl_GCJ='-Wl,'
  lt_prog_compiler_pic_GCJ='-KPIC'   lt_prog_compiler_pic_GCJ='-KPIC'
  lt_prog_compiler_static_GCJ='-static'   lt_prog_compiler_static_GCJ='-static'
         ;;          ;;
         pgcc* | pgf77* | pgf90* | pgf95*)
           # Portland Group compilers (*not* the Pentium gcc compiler,
    # which looks to be a dead project)
    lt_prog_compiler_wl_GCJ='-Wl,'
    lt_prog_compiler_pic_GCJ='-fpic'
    lt_prog_compiler_static_GCJ='-Bstatic'
           ;;
       ccc*)        ccc*)
         lt_prog_compiler_wl_GCJ='-Wl,'          lt_prog_compiler_wl_GCJ='-Wl,'
         # All Alpha code is PIC.          # All Alpha code is PIC.
Line 15665
 
Line 15877
       lt_prog_compiler_static_GCJ='-non_shared'        lt_prog_compiler_static_GCJ='-non_shared'
       ;;        ;;
   
     sco3.2v5*)  
       lt_prog_compiler_pic_GCJ='-Kpic'  
       lt_prog_compiler_static_GCJ='-dn'  
       ;;  
   
     solaris*)      solaris*)
       lt_prog_compiler_wl_GCJ='-Wl,'  
       lt_prog_compiler_pic_GCJ='-KPIC'        lt_prog_compiler_pic_GCJ='-KPIC'
       lt_prog_compiler_static_GCJ='-Bstatic'        lt_prog_compiler_static_GCJ='-Bstatic'
         case $cc_basename in
         f77* | f90* | f95*)
    lt_prog_compiler_wl_GCJ='-Qoption ld ';;
         *)
    lt_prog_compiler_wl_GCJ='-Wl,';;
         esac
       ;;        ;;
   
     sunos4*)      sunos4*)
Line 15682
 
Line 15894
       lt_prog_compiler_static_GCJ='-Bstatic'        lt_prog_compiler_static_GCJ='-Bstatic'
       ;;        ;;
   
     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)      sysv4 | sysv4.2uw2* | sysv4.3*)
       lt_prog_compiler_wl_GCJ='-Wl,'        lt_prog_compiler_wl_GCJ='-Wl,'
       lt_prog_compiler_pic_GCJ='-KPIC'        lt_prog_compiler_pic_GCJ='-KPIC'
       lt_prog_compiler_static_GCJ='-Bstatic'        lt_prog_compiler_static_GCJ='-Bstatic'
Line 15695
 
Line 15907
       fi        fi
       ;;        ;;
   
       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
         lt_prog_compiler_wl_GCJ='-Wl,'
         lt_prog_compiler_pic_GCJ='-KPIC'
         lt_prog_compiler_static_GCJ='-Bstatic'
         ;;
   
       unicos*)
         lt_prog_compiler_wl_GCJ='-Wl,'
         lt_prog_compiler_can_build_shared_GCJ=no
         ;;
   
     uts4*)      uts4*)
       lt_prog_compiler_pic_GCJ='-pic'        lt_prog_compiler_pic_GCJ='-pic'
       lt_prog_compiler_static_GCJ='-Bstatic'        lt_prog_compiler_static_GCJ='-Bstatic'
Line 15729
 
Line 15952
    # with a dollar sign (not a hyphen), so the echo should work correctly.     # with a dollar sign (not a hyphen), so the echo should work correctly.
    # The option is referenced via a variable to avoid confusing sed.     # The option is referenced via a variable to avoid confusing sed.
    lt_compile=`echo "$ac_compile" | $SED \     lt_compile=`echo "$ac_compile" | $SED \
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
    (eval echo "\"\$as_me:15735: $lt_compile\"" >&5)     (eval echo "\"\$as_me:15958: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)     (eval "$lt_compile" 2>conftest.err)
    ac_status=$?     ac_status=$?
    cat conftest.err >&5     cat conftest.err >&5
    echo "$as_me:15739: \$? = $ac_status" >&5     echo "$as_me:15962: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then     if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings       # So say no if there are warnings other than the usual output.
      if test ! -s conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
        lt_prog_compiler_pic_works_GCJ=yes         lt_prog_compiler_pic_works_GCJ=yes
      fi       fi
    fi     fi
Line 15761
 
Line 15986
 fi  fi
   
 fi  fi
 case "$host_os" in  case $host_os in
   # For platforms which do not support PIC, -DPIC is meaningless:    # For platforms which do not support PIC, -DPIC is meaningless:
   *djgpp*)    *djgpp*)
     lt_prog_compiler_pic_GCJ=      lt_prog_compiler_pic_GCJ=
Line 15771
 
Line 15996
     ;;      ;;
 esac  esac
   
   #
   # Check to make sure the static flag actually works.
   #
   wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     lt_prog_compiler_static_works_GCJ=no
      save_LDFLAGS="$LDFLAGS"
      LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
      printf "$lt_simple_link_test_code" > conftest.$ac_ext
      if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
        # The linker can only warn and ignore the option if not recognized
        # So say no if there are warnings
        if test -s conftest.err; then
          # Append any errors to the config.log.
          cat conftest.err 1>&5
          $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
          $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
          if diff conftest.exp conftest.er2 >/dev/null; then
            lt_prog_compiler_static_works_GCJ=yes
          fi
        else
          lt_prog_compiler_static_works_GCJ=yes
        fi
      fi
      $rm conftest*
      LDFLAGS="$save_LDFLAGS"
   
   fi
   echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
   echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
   
   if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
       :
   else
       lt_prog_compiler_static_GCJ=
   fi
   
   
 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5  echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6  echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then  if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
Line 15789
 
Line 16056
    # Note that $ac_compile itself does not contain backslashes and begins     # Note that $ac_compile itself does not contain backslashes and begins
    # with a dollar sign (not a hyphen), so the echo should work correctly.     # with a dollar sign (not a hyphen), so the echo should work correctly.
    lt_compile=`echo "$ac_compile" | $SED \     lt_compile=`echo "$ac_compile" | $SED \
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`     -e 's:$: $lt_compiler_flag:'`
    (eval echo "\"\$as_me:15795: $lt_compile\"" >&5)     (eval echo "\"\$as_me:16062: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)     (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?     ac_status=$?
    cat out/conftest.err >&5     cat out/conftest.err >&5
    echo "$as_me:15799: \$? = $ac_status" >&5     echo "$as_me:16066: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext     if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then     then
      # The compiler can only warn and ignore the option if not recognized       # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings       # So say no if there are warnings
      if test ! -s out/conftest.err; then       $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
        $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
        if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
        lt_cv_prog_compiler_c_o_GCJ=yes         lt_cv_prog_compiler_c_o_GCJ=yes
      fi       fi
    fi     fi
    chmod u+w .     chmod u+w . 2>&5
    $rm conftest*     $rm conftest*
    # SGI C++ compiler will create directory out/ii_files/ for     # SGI C++ compiler will create directory out/ii_files/ for
    # template instantiation     # template instantiation
Line 15881
 
Line 16150
   # 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
   # preloaded symbol tables.    # preloaded symbol tables.
   extract_expsyms_cmds=    extract_expsyms_cmds=
     # Just being paranoid about ensuring that cc_basename is set.
     for cc_temp in $compiler""; do
     case $cc_temp in
       compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       \-*) ;;
       *) break;;
     esac
   done
   cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   
   case $host_os in    case $host_os in
   cygwin* | mingw* | pw32*)    cygwin* | mingw* | pw32*)
Line 15891
 
Line 16170
       with_gnu_ld=no        with_gnu_ld=no
     fi      fi
     ;;      ;;
     interix*)
       # we just hope/assume this is gcc and not c89 (= MSVC++)
       with_gnu_ld=yes
       ;;
   openbsd*)    openbsd*)
     with_gnu_ld=no      with_gnu_ld=no
     ;;      ;;
Line 15901
 
Line 16184
     # If archive_cmds runs LD, not CC, wlarc should be empty      # If archive_cmds runs LD, not CC, wlarc should be empty
     wlarc='${wl}'      wlarc='${wl}'
   
       # Set some defaults for GNU ld with shared library support. These
       # are reset later if shared libraries are not supported. Putting them
       # here allows them to be overridden if necessary.
       runpath_var=LD_RUN_PATH
       hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
       export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
       # ancient GNU ld didn't support --whole-archive et. al.
       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
       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
   
     # See if GNU ld supports shared libraries.      # See if GNU ld supports shared libraries.
     case $host_os in      case $host_os in
     aix3* | aix4* | aix5*)      aix3* | aix4* | aix5*)
Line 15951
 
Line 16255
       allow_undefined_flag_GCJ=unsupported        allow_undefined_flag_GCJ=unsupported
       always_export_symbols_GCJ=no        always_export_symbols_GCJ=no
       enable_shared_with_static_runtimes_GCJ=yes        enable_shared_with_static_runtimes_GCJ=yes
       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'
   
       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then        if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
         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}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  # If the export-symbols file already is a .def file (1st line   # If the export-symbols file already is a .def file (1st line
  # is EXPORTS), use it as is; otherwise, prepend...   # is EXPORTS), use it as is; otherwise, prepend...
  archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then   archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
Line 15963
 
Line 16267
    echo EXPORTS > $output_objdir/$soname.def;     echo EXPORTS > $output_objdir/$soname.def;
    cat $export_symbols >> $output_objdir/$soname.def;     cat $export_symbols >> $output_objdir/$soname.def;
  fi~   fi~
  $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}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
       else        else
  ld_shlibs=no   ld_shlibs_GCJ=no
       fi        fi
       ;;        ;;
   
     netbsd* | netbsdelf*-gnu | knetbsd*-gnu)      interix3*)
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then        hardcode_direct_GCJ=no
  archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'        hardcode_shlibpath_var_GCJ=no
  wlarc=        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
       else        export_dynamic_flag_spec_GCJ='${wl}-E'
  archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'        # Instead, shared libraries are loaded at an image base (0x10000000 by
       fi        # default) and relocated if they conflict, which is a slow very memory
       ;;        # consuming and fragmenting process.  To avoid this, we pick a random,
         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
         archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
         archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
         ;;
   
       linux*)
         if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    tmp_addflag=
    case $cc_basename,$host_cpu in
    pgcc*) # Portland Group C compiler
      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'
      tmp_addflag=' $pic_flag'
      ;;
    pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
      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'
      tmp_addflag=' $pic_flag -Mnomain' ;;
    ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
      tmp_addflag=' -i_dynamic' ;;
    efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
      tmp_addflag=' -i_dynamic -nofor_main' ;;
    ifc* | ifort*) # Intel Fortran compiler
      tmp_addflag=' -nofor_main' ;;
    esac
    archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   
    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'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
    fi
         else
    ld_shlibs_GCJ=no
         fi
         ;;
   
       netbsd*)
         if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
    wlarc=
         else
    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
         fi
         ;;
   
     solaris* | sysv5*)      solaris*)
       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then        if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  ld_shlibs_GCJ=no   ld_shlibs_GCJ=no
  cat <<EOF 1>&2   cat <<EOF 1>&2
Line 16000
 
Line 16350
       fi        fi
       ;;        ;;
   
     sunos4*)      sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'        case `$LD -v 2>&1` in
       wlarc=          *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
       hardcode_direct_GCJ=yes   ld_shlibs_GCJ=no
       hardcode_shlibpath_var_GCJ=no   cat <<_LT_EOF 1>&2
       ;;  
   
   linux*)  *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   *** reliably create shared libraries on SCO systems.  Therefore, libtool
   *** is disabling shared libraries support.  We urge you to upgrade GNU
   *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   *** your PATH or compiler configuration so that the native linker is
   *** used, and then restart.
   
   _LT_EOF
    ;;
    *)
     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
         tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  archive_cmds_GCJ="$tmp_archive_cmds"       archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
       supports_anon_versioning=no       archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
       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  
       link_all_deplibs_GCJ=no  
     else      else
       ld_shlibs_GCJ=no        ld_shlibs_GCJ=no
     fi      fi
     ;;      ;;
         esac
         ;;
   
       sunos4*)
         archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
         wlarc=
         hardcode_direct_GCJ=yes
         hardcode_shlibpath_var_GCJ=no
         ;;
   
     *)      *)
       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then        if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
Line 16043
 
Line 16394
       ;;        ;;
     esac      esac
   
     if test "$ld_shlibs_GCJ" = yes; then      if test "$ld_shlibs_GCJ" = no; then
       runpath_var=LD_RUN_PATH        runpath_var=
       hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'        hardcode_libdir_flag_spec_GCJ=
       export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'        export_dynamic_flag_spec_GCJ=
       # ancient GNU ld didn't support --whole-archive et. al.  
       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=    whole_archive_flag_spec_GCJ=
       fi        fi
     fi  
   else    else
     # 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)
     case $host_os in      case $host_os in
Line 16064
 
Line 16410
       # Note: this linker hardcodes the directories in LIBPATH if there        # Note: this linker hardcodes the directories in LIBPATH if there
       # are no directories specified by -L.        # are no directories specified by -L.
       hardcode_minus_L_GCJ=yes        hardcode_minus_L_GCJ=yes
       if test "$GCC" = yes && test -z "$link_static_flag"; then        if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  # Neither direct hardcoding nor static linking is supported with a   # Neither direct hardcoding nor static linking is supported with a
  # broken collect2.   # broken collect2.
  hardcode_direct_GCJ=unsupported   hardcode_direct_GCJ=unsupported
Line 16098
 
Line 16444
       break        break
     fi      fi
    done     done
      ;;
  esac   esac
   
  exp_sym_flag='-bexport'   exp_sym_flag='-bexport'
Line 16116
 
Line 16463
       link_all_deplibs_GCJ=yes        link_all_deplibs_GCJ=yes
   
       if test "$GCC" = yes; then        if test "$GCC" = yes; then
  case $host_os in aix4.012|aix4.012.*)   case $host_os in aix4.[012]|aix4.[012].*)
  # 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
  # below for broken collect2 doesn't work under 4.3+   # below for broken collect2 doesn't work under 4.3+
    collect2name=`${CC} -print-prog-name=collect2`     collect2name=`${CC} -print-prog-name=collect2`
Line 16135
 
Line 16482
     hardcode_libdir_flag_spec_GCJ='-L$libdir'      hardcode_libdir_flag_spec_GCJ='-L$libdir'
     hardcode_libdir_separator_GCJ=      hardcode_libdir_separator_GCJ=
    fi     fi
      ;;
  esac   esac
  shared_flag='-shared'   shared_flag='-shared'
    if test "$aix_use_runtimelinking" = yes; then
      shared_flag="$shared_flag "'${wl}-G'
    fi
       else        else
  # not using gcc   # not using gcc
  if test "$host_cpu" = ia64; then   if test "$host_cpu" = ia64; then
Line 16184
 
Line 16535
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 16212
 
Line 16564
 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   
        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
  archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"   archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
        else         else
  if test "$host_cpu" = ia64; then   if test "$host_cpu" = ia64; then
    hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'     hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
    allow_undefined_flag_GCJ="-z nodefs"     allow_undefined_flag_GCJ="-z nodefs"
    archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"     archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  else   else
  # Determine the default libpath from the value encoded in an empty executable.   # Determine the default libpath from the value encoded in an empty executable.
  cat >conftest.$ac_ext <<_ACEOF   cat >conftest.$ac_ext <<_ACEOF
Line 16244
 
Line 16596
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 16276
 
Line 16629
    # -berok will link without error, but may produce a broken library.     # -berok will link without error, but may produce a broken library.
    no_undefined_flag_GCJ=' ${wl}-bernotok'     no_undefined_flag_GCJ=' ${wl}-bernotok'
    allow_undefined_flag_GCJ=' ${wl}-berok'     allow_undefined_flag_GCJ=' ${wl}-berok'
    # -bexpall does not export symbols beginning with underscore (_)  
    always_export_symbols_GCJ=yes  
    # Exported symbols can be pulled into shared objects from archives     # Exported symbols can be pulled into shared objects from archives
    whole_archive_flag_spec_GCJ=' '     whole_archive_flag_spec_GCJ='$convenience'
    archive_cmds_need_lc_GCJ=yes     archive_cmds_need_lc_GCJ=yes
    # This is similar to how AIX traditionally builds it's shared libraries.     # This is similar to how AIX traditionally builds its shared libraries.
    archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'     archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  fi   fi
       fi        fi
       ;;        ;;
Line 16295
 
Line 16646
       ld_shlibs_GCJ=no        ld_shlibs_GCJ=no
       ;;        ;;
   
     bsdi4*)      bsdi[45]*)
       export_dynamic_flag_spec_GCJ=-rdynamic        export_dynamic_flag_spec_GCJ=-rdynamic
       ;;        ;;
   
Line 16316
 
Line 16667
       old_archive_From_new_cmds_GCJ='true'        old_archive_From_new_cmds_GCJ='true'
       # FIXME: Should let the user specify the lib program.        # FIXME: Should let the user specify the lib program.
       old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'        old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
       fix_srcfile_path='`cygpath -w "$srcfile"`'        fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
       enable_shared_with_static_runtimes_GCJ=yes        enable_shared_with_static_runtimes_GCJ=yes
       ;;        ;;
   
     darwin* | rhapsody*)      darwin* | rhapsody*)
     if test "$GXX" = yes ; then        case $host_os in
       archive_cmds_need_lc_GCJ=no  
       case "$host_os" in  
       rhapsody* | darwin1.[012])        rhapsody* | darwin1.[012])
  allow_undefined_flag_GCJ='-undefined suppress'           allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
  ;;   ;;
       *) # Darwin 1.3 on        *) # Darwin 1.3 on
       if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then        if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
        allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'             allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
       else        else
         case ${MACOSX_DEPLOYMENT_TARGET} in          case ${MACOSX_DEPLOYMENT_TARGET} in
           10.[012])            10.[012])
             allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'                 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
             ;;              ;;
           10.*)            10.*)
             allow_undefined_flag_GCJ='-undefined dynamic_lookup'                 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
             ;;              ;;
         esac          esac
       fi        fi
  ;;   ;;
       esac        esac
     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}'  
       hardcode_direct_GCJ=no        hardcode_direct_GCJ=no
       hardcode_automatic_GCJ=yes        hardcode_automatic_GCJ=yes
       hardcode_shlibpath_var_GCJ=unsupported        hardcode_shlibpath_var_GCJ=unsupported
       whole_archive_flag_spec_GCJ='-all_load $convenience'        whole_archive_flag_spec_GCJ=''
       link_all_deplibs_GCJ=yes        link_all_deplibs_GCJ=yes
       if test "$GCC" = yes ; then
       output_verbose_link_cmd='echo'
           archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
         module_cmds_GCJ='$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 lds
         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}'
         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}'
     else      else
         case $cc_basename in
           xlc*)
            output_verbose_link_cmd='echo'
            archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
            module_cmds_GCJ='$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 lds
            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}'
             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}'
             ;;
          *)
       ld_shlibs_GCJ=no        ld_shlibs_GCJ=no
             ;;
         esac
     fi      fi
       ;;        ;;
   
Line 16400
 
Line 16751
       ;;        ;;
   
     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
     freebsd* | kfreebsd*-gnu)      freebsd* | kfreebsd*-gnu | dragonfly*)
       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'        archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
       hardcode_libdir_flag_spec_GCJ='-R$libdir'        hardcode_libdir_flag_spec_GCJ='-R$libdir'
       hardcode_direct_GCJ=yes        hardcode_direct_GCJ=yes
Line 16423
 
Line 16774
       export_dynamic_flag_spec_GCJ='${wl}-E'        export_dynamic_flag_spec_GCJ='${wl}-E'
       ;;        ;;
   
     hpux10* | hpux11*)      hpux10*)
       if test "$GCC" = yes -a "$with_gnu_ld" = no; then        if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  case "$host_cpu" in   archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  hppa*64*|ia64*)        else
    archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
         fi
         if test "$with_gnu_ld" = no; then
    hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
    hardcode_libdir_separator_GCJ=:
   
    hardcode_direct_GCJ=yes
    export_dynamic_flag_spec_GCJ='${wl}-E'
   
    # hardcode_minus_L: Not really in the search PATH,
    # but as the default location of the library.
    hardcode_minus_L_GCJ=yes
         fi
         ;;
   
       hpux11*)
         if test "$GCC" = yes -a "$with_gnu_ld" = no; then
    case $host_cpu in
    hppa*64*)
    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'
    ;;     ;;
    ia64*)
      archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
      ;;
  *)   *)
    archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'     archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    ;;     ;;
  esac   esac
       else        else
  case "$host_cpu" in   case $host_cpu in
  hppa*64*|ia64*)   hppa*64*)
    archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'     archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
      ;;
    ia64*)
      archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    ;;     ;;
  *)   *)
    archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'     archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    ;;     ;;
  esac   esac
       fi        fi
       if test "$with_gnu_ld" = no; then        if test "$with_gnu_ld" = no; then
  case "$host_cpu" in  
  hppa*64*)  
    hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'     hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
    hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'  
    hardcode_libdir_separator_GCJ=:     hardcode_libdir_separator_GCJ=:
   
    case $host_cpu in
    hppa*64*|ia64*)
      hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
    hardcode_direct_GCJ=no     hardcode_direct_GCJ=no
    hardcode_shlibpath_var_GCJ=no     hardcode_shlibpath_var_GCJ=no
    ;;     ;;
  ia64*)  
    hardcode_libdir_flag_spec_GCJ='-L$libdir'  
    hardcode_direct_GCJ=no  
    hardcode_shlibpath_var_GCJ=no  
   
    # hardcode_minus_L: Not really in the search PATH,  
    # but as the default location of the library.  
    hardcode_minus_L_GCJ=yes  
    ;;  
  *)   *)
    hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'  
    hardcode_libdir_separator_GCJ=:  
    hardcode_direct_GCJ=yes     hardcode_direct_GCJ=yes
    export_dynamic_flag_spec_GCJ='${wl}-E'     export_dynamic_flag_spec_GCJ='${wl}-E'
   
Line 16487
 
Line 16853
       link_all_deplibs_GCJ=yes        link_all_deplibs_GCJ=yes
       ;;        ;;
   
     netbsd* | netbsdelf*-gnu | knetbsd*-gnu)      netbsd*)
       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then        if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out   archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
       else        else
Line 16511
 
Line 16877
       hardcode_shlibpath_var_GCJ=no        hardcode_shlibpath_var_GCJ=no
       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
  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'
    archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'   hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
  export_dynamic_flag_spec_GCJ='${wl}-E'   export_dynamic_flag_spec_GCJ='${wl}-E'
       else        else
Line 16556
 
Line 16923
  allow_undefined_flag_GCJ=' -expect_unresolved \*'   allow_undefined_flag_GCJ=' -expect_unresolved \*'
  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'
  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~
  $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'
   
  # Both c and cxx compiler support -rpath directly   # Both c and cxx compiler support -rpath directly
  hardcode_libdir_flag_spec_GCJ='-rpath $libdir'   hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
Line 16564
 
Line 16931
       hardcode_libdir_separator_GCJ=:        hardcode_libdir_separator_GCJ=:
       ;;        ;;
   
     sco3.2v5*)  
       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'  
       hardcode_shlibpath_var_GCJ=no  
       export_dynamic_flag_spec_GCJ='${wl}-Bexport'  
       runpath_var=LD_RUN_PATH  
       hardcode_runpath_var=yes  
       ;;  
   
     solaris*)      solaris*)
       no_undefined_flag_GCJ=' -z text'        no_undefined_flag_GCJ=' -z text'
       if test "$GCC" = yes; then        if test "$GCC" = yes; then
    wlarc='${wl}'
  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'
  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~
    $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'
       else        else
    wlarc=''
  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'
  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~
   $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 16587
 
Line 16948
       hardcode_shlibpath_var_GCJ=no        hardcode_shlibpath_var_GCJ=no
       case $host_os in        case $host_os in
       solaris2.[0-5] | solaris2.[0-5].*) ;;        solaris2.[0-5] | solaris2.[0-5].*) ;;
       *) # Supported since Solaris 2.6 (maybe 2.5.1?)        *)
    # The compiler driver will combine linker options so we
    # cannot just pass the convience library names through
    # without $wl, iff we do not link with $LD.
    # Luckily, gcc supports the same syntax we need for Sun Studio.
    # Supported since Solaris 2.6 (maybe 2.5.1?)
    case $wlarc in
    '')
  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;   whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
    *)
      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' ;;
    esac ;;
       esac        esac
       link_all_deplibs_GCJ=yes        link_all_deplibs_GCJ=yes
       ;;        ;;
Line 16645
 
Line 17016
       fi        fi
       ;;        ;;
   
     sysv4.2uw2*)      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
       archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'        no_undefined_flag_GCJ='${wl}-z,text'
       hardcode_direct_GCJ=yes        archive_cmds_need_lc_GCJ=no
       hardcode_minus_L_GCJ=no  
       hardcode_shlibpath_var_GCJ=no        hardcode_shlibpath_var_GCJ=no
       hardcode_runpath_var=yes        runpath_var='LD_RUN_PATH'
       runpath_var=LD_RUN_PATH  
       ;;  
   
    sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)  
       no_undefined_flag_GCJ='${wl}-z ${wl}text'  
       if test "$GCC" = yes; then        if test "$GCC" = yes; then
  archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'   archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       else        else
  archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'   archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
       fi        fi
       runpath_var='LD_RUN_PATH'  
       hardcode_shlibpath_var_GCJ=no  
       ;;        ;;
   
     sysv5*)      sysv5* | sco3.2v5* | sco5v6*)
       no_undefined_flag_GCJ=' -z text'        # Note: We can NOT use -z defs as we might desire, because we do not
       # $CC -shared without GNU ld will not create a library from C++        # link with -lc, and that would cause any symbols used from libc to
       # object files and a static libstdc++, better avoid it by now        # always be unresolved, which means just about no library would
       archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'        # ever link correctly.  If we're not using GNU ld we use -z text
       archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~        # though, which does catch some bad symbols but isn't as heavy-handed
   $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'        # as -z defs.
       hardcode_libdir_flag_spec_GCJ=        no_undefined_flag_GCJ='${wl}-z,text'
         allow_undefined_flag_GCJ='${wl}-z,nodefs'
         archive_cmds_need_lc_GCJ=no
       hardcode_shlibpath_var_GCJ=no        hardcode_shlibpath_var_GCJ=no
         hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
         hardcode_libdir_separator_GCJ=':'
         link_all_deplibs_GCJ=yes
         export_dynamic_flag_spec_GCJ='${wl}-Bexport'
       runpath_var='LD_RUN_PATH'        runpath_var='LD_RUN_PATH'
   
         if test "$GCC" = yes; then
    archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
         else
    archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
    archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
         fi
       ;;        ;;
   
     uts4*)      uts4*)
Line 16693
 
Line 17073
 echo "${ECHO_T}$ld_shlibs_GCJ" >&6  echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 test "$ld_shlibs_GCJ" = no && can_build_shared=no  test "$ld_shlibs_GCJ" = no && can_build_shared=no
   
 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"  
 if test "$GCC" = yes; then  
   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"  
 fi  
   
 #  #
 # Do we need to explicitly link libc?  # Do we need to explicitly link libc?
 #  #
Line 16730
 
Line 17105
         libobjs=conftest.$ac_objext          libobjs=conftest.$ac_objext
         deplibs=          deplibs=
         wl=$lt_prog_compiler_wl_GCJ          wl=$lt_prog_compiler_wl_GCJ
    pic_flag=$lt_prog_compiler_pic_GCJ
         compiler_flags=-v          compiler_flags=-v
         linker_flags=-v          linker_flags=-v
         verstring=          verstring=
Line 16862
 
Line 17238
   shlibpath_var=LIBRARY_PATH    shlibpath_var=LIBRARY_PATH
   ;;    ;;
   
 bsdi4*)  bsdi[45]*)
   version_type=linux    version_type=linux
   need_version=no    need_version=no
   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 16890
 
Line 17266
       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~        dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
       dldir=$destdir/`dirname \$dlpath`~        dldir=$destdir/`dirname \$dlpath`~
       test -d \$dldir || mkdir -p \$dldir~        test -d \$dldir || mkdir -p \$dldir~
       $install_prog $dir/$dlname \$dldir/$dlname'        $install_prog $dir/$dlname \$dldir/$dlname~
         chmod a+x \$dldir/$dlname'
     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~      postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
       dlpath=$dir/\$dldll~        dlpath=$dir/\$dldll~
        $rm \$dlpath'         $rm \$dlpath'
Line 16920
 
Line 17297
       ;;        ;;
     pw32*)      pw32*)
       # pw32 DLLs use 'pw' prefix rather than 'lib'        # pw32 DLLs use 'pw' prefix rather than 'lib'
       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}'
       ;;        ;;
     esac      esac
     ;;      ;;
   
     linux*)
       if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
         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="$archive_cmds"
         fi
       else
         ld_shlibs=no
       fi
       ;;
   
   *)    *)
     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
     ;;      ;;
Line 16943
 
Line 17344
   soname_spec='${libname}${release}${major}$shared_ext'    soname_spec='${libname}${release}${major}$shared_ext'
   shlibpath_overrides_runpath=yes    shlibpath_overrides_runpath=yes
   shlibpath_var=DYLD_LIBRARY_PATH    shlibpath_var=DYLD_LIBRARY_PATH
   shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   # 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.
   if test "$GCC" = yes; then    if test "$GCC" = yes; then
     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 16978
 
Line 17379
   dynamic_linker='GNU ld.so'    dynamic_linker='GNU ld.so'
   ;;    ;;
   
 freebsd*)  freebsd* | dragonfly*)
   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`    # DragonFly does not have aout.  When/if they implement a new
   version_type=freebsd-$objformat    # versioning mechanism, adjust this.
     if test -x /usr/bin/objformat; then
       objformat=`/usr/bin/objformat`
     else
       case $host_os in
       freebsd[123]*) objformat=aout ;;
       *) objformat=elf ;;
       esac
     fi
     # Handle Gentoo/FreeBSD as it was Linux
     case $host_vendor in
       gentoo)
         version_type=linux ;;
       *)
         version_type=freebsd-$objformat ;;
     esac
   
   case $version_type in    case $version_type in
     freebsd-elf*)      freebsd-elf*)
       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'        library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
Line 16991
 
Line 17408
       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'        library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
       need_version=yes        need_version=yes
       ;;        ;;
       linux)
         library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
         soname_spec='${libname}${release}${shared_ext}$major'
         need_lib_prefix=no
         need_version=no
         ;;
   esac    esac
   shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
   case $host_os in    case $host_os in
   freebsd2*)    freebsd2*)
     shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
     ;;      ;;
   freebsd3.01* | freebsdelf3.01*)    freebsd3.[01]* | freebsdelf3.[01]*)
     shlibpath_overrides_runpath=yes      shlibpath_overrides_runpath=yes
     hardcode_into_libs=yes      hardcode_into_libs=yes
     ;;      ;;
   *) # from 3.2 on    freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
     freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
     shlibpath_overrides_runpath=no      shlibpath_overrides_runpath=no
     hardcode_into_libs=yes      hardcode_into_libs=yes
     ;;      ;;
     freebsd*) # from 4.6 on
       shlibpath_overrides_runpath=yes
       hardcode_into_libs=yes
       ;;
   esac    esac
   ;;    ;;
   
Line 17024
 
Line 17452
   version_type=sunos    version_type=sunos
   need_lib_prefix=no    need_lib_prefix=no
   need_version=no    need_version=no
   case "$host_cpu" in    case $host_cpu in
   ia64*)    ia64*)
     shrext_cmds='.so'      shrext_cmds='.so'
     hardcode_into_libs=yes      hardcode_into_libs=yes
Line 17064
 
Line 17492
   postinstall_cmds='chmod 555 $lib'    postinstall_cmds='chmod 555 $lib'
   ;;    ;;
   
 irix5* | irix6* | nonstopux*)  interix3*)
   case $host_os in    version_type=linux
     nonstopux*) version_type=nonstopux ;;    need_lib_prefix=no
     *)    need_version=no
  if test "$lt_cv_prog_gnu_ld" = yes; then    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  version_type=linux    soname_spec='${libname}${release}${shared_ext}$major'
  else    dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  version_type=irix    shlibpath_var=LD_LIBRARY_PATH
  fi ;;    shlibpath_overrides_runpath=no
   esac    hardcode_into_libs=yes
   need_lib_prefix=no    ;;
   need_version=no  
   soname_spec='${libname}${release}${shared_ext}$major'  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'  
   case $host_os in  
   irix5* | nonstopux*)  
     libsuff= shlibsuff=  
     ;;  
   *)  
     case $LD in # libtool.m4 will add one of these switches to LD  
     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")  
       libsuff= shlibsuff= libmagic=32-bit;;  
     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")  
       libsuff=32 shlibsuff=N32 libmagic=N32;;  
     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")  
       libsuff=64 shlibsuff=64 libmagic=64-bit;;  
     *) libsuff= shlibsuff= libmagic=never-match;;  
     esac  
     ;;  
   esac  
   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH  
   shlibpath_overrides_runpath=no  
   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"  
   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"  
   hardcode_into_libs=yes  
   ;;  
   
 # No shared lib support for Linux oldld, aout, or coff.  
 linux*oldld* | linux*aout* | linux*coff*)  
   dynamic_linker=no  
   ;;  
   
 # This must be Linux ELF.  
 linux*)  
   version_type=linux  
   need_lib_prefix=no  
   need_version=no  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'  
   soname_spec='${libname}${release}${shared_ext}$major'  
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=no  
   # This implies no fast_install, which is unacceptable.  
   # Some rework will be needed to allow for fast_install  
   # before this can be enabled.  
   hardcode_into_libs=yes  
   
   # Append ld.so.conf contents to the search path  
   if test -f /etc/ld.so.conf; then  
     lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`  
     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"  
   fi  
   
   # We used to test for /lib/ld.so.1 and disable shared libraries on  
   # powerpc, because MkLinux only supported shared libraries with the  
   # GNU dynamic linker.  Since this was broken with cross compilers,  
   # most powerpc-linux boxes support dynamic linking these days and  
   # people can always --disable-shared, the test was removed, and we  
   # assume the GNU/Linux dynamic linker is in use.  
   dynamic_linker='GNU/Linux ld.so'  
   ;;  
   
 netbsdelf*-gnu)  
   version_type=linux  
   need_lib_prefix=no  
   need_version=no  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'  
   soname_spec='${libname}${release}${shared_ext}$major'  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=no  
   hardcode_into_libs=yes  
   dynamic_linker='NetBSD ld.elf_so'  
   ;;  
   
 knetbsd*-gnu)  
   version_type=linux  
   need_lib_prefix=no  
   need_version=no  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'  
   soname_spec='${libname}${release}${shared_ext}$major'  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=no  
   hardcode_into_libs=yes  
   dynamic_linker='GNU ld.so'  
   ;;  
   
 netbsd*)  
   version_type=sunos  
   need_lib_prefix=no  
   need_version=no  
   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then  
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'  
     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'  
     dynamic_linker='NetBSD (a.out) ld.so'  
   else  
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'  
     soname_spec='${libname}${release}${shared_ext}$major'  
     dynamic_linker='NetBSD ld.elf_so'  
   fi  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=yes  
   hardcode_into_libs=yes  
   ;;  
   
 newsos6)  
   version_type=linux  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=yes  
   ;;  
   
 nto-qnx*)  
   version_type=linux  
   need_lib_prefix=no  
   need_version=no  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'  
   soname_spec='${libname}${release}${shared_ext}$major'  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=yes  
   ;;  
   
 openbsd*)  
   version_type=sunos  
   need_lib_prefix=no  
   need_version=yes  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'  
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'  
   shlibpath_var=LD_LIBRARY_PATH  
   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then  
     case $host_os in  
       openbsd2.[89] | openbsd2.[89].*)  
  shlibpath_overrides_runpath=no  
  ;;  
       *)  
  shlibpath_overrides_runpath=yes  
  ;;  
       esac  
   else  
     shlibpath_overrides_runpath=yes  
   fi  
   ;;  
   
 os2*)  
   libname_spec='$name'  
   shrext_cmds=".dll"  
   need_lib_prefix=no  
   library_names_spec='$libname${shared_ext} $libname.a'  
   dynamic_linker='OS/2 ld.exe'  
   shlibpath_var=LIBPATH  
   ;;  
   
 osf3* | osf4* | osf5*)  
   version_type=osf  
   need_lib_prefix=no  
   need_version=no  
   soname_spec='${libname}${release}${shared_ext}$major'  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'  
   shlibpath_var=LD_LIBRARY_PATH  
   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"  
   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"  
   ;;  
   
 sco3.2v5*)  
   version_type=osf  
   soname_spec='${libname}${release}${shared_ext}$major'  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'  
   shlibpath_var=LD_LIBRARY_PATH  
   ;;  
   
 solaris*)  
   version_type=linux  
   need_lib_prefix=no  
   need_version=no  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'  
   soname_spec='${libname}${release}${shared_ext}$major'  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=yes  
   hardcode_into_libs=yes  
   # ldd complains unless libraries are executable  
   postinstall_cmds='chmod +x $lib'  
   ;;  
   
 sunos4*)  
   version_type=sunos  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'  
   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'  
   shlibpath_var=LD_LIBRARY_PATH  
   shlibpath_overrides_runpath=yes  
   if test "$with_gnu_ld" = yes; then  
     need_lib_prefix=no  
   fi  
   need_version=yes  
   ;;  
   
 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  
   version_type=linux  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'  
   soname_spec='${libname}${release}${shared_ext}$major'  
   shlibpath_var=LD_LIBRARY_PATH  
   case $host_vendor in  
     sni)  
       shlibpath_overrides_runpath=no  
       need_lib_prefix=no  
       export_dynamic_flag_spec='${wl}-Blargedynsym'  
       runpath_var=LD_RUN_PATH  
       ;;  
     siemens)  
       need_lib_prefix=no  
       ;;  
     motorola)  
       need_lib_prefix=no  
       need_version=no  
       shlibpath_overrides_runpath=no  
       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'  
       ;;  
   esac  
   ;;  
   
 sysv4*MP*)  
   if test -d /usr/nec ;then  
     version_type=linux  
     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'  
     soname_spec='$libname${shared_ext}.$major'  
     shlibpath_var=LD_LIBRARY_PATH  
   fi  
   ;;  
   
 uts4*)  
   version_type=linux  
   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'  
   soname_spec='${libname}${release}${shared_ext}$major'  
   shlibpath_var=LD_LIBRARY_PATH  
   ;;  
   
 *)  
   dynamic_linker=no  
   ;;  
 esac  
 echo "$as_me:$LINENO: result: $dynamic_linker" >&5  
 echo "${ECHO_T}$dynamic_linker" >&6  
 test "$dynamic_linker" = no && can_build_shared=no  
   
 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5  
 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6  
 hardcode_action_GCJ=  
 if test -n "$hardcode_libdir_flag_spec_GCJ" || \  
    test -n "$runpath_var GCJ" || \  
    test "X$hardcode_automatic_GCJ"="Xyes" ; then  
   
   # We can hardcode non-existant directories.  
   if test "$hardcode_direct_GCJ" != no &&  
      # If the only mechanism to avoid hardcoding is shlibpath_var, we  
      # have to relink, otherwise we might link with an installed library  
      # when we should be linking with a yet-to-be-installed one  
      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&  
      test "$hardcode_minus_L_GCJ" != no; then  
     # Linking always hardcodes the temporary library directory.  
     hardcode_action_GCJ=relink  
   else  
     # We can link without hardcoding, and we can hardcode nonexisting dirs.  
     hardcode_action_GCJ=immediate  
   fi  
 else  
   # We cannot hardcode anything, or else we can only hardcode existing  
   # directories.  
   hardcode_action_GCJ=unsupported  
 fi  
 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5  
 echo "${ECHO_T}$hardcode_action_GCJ" >&6  
   
 if test "$hardcode_action_GCJ" = relink; then  
   # Fast installation is not supported  
   enable_fast_install=no  
 elif test "$shlibpath_overrides_runpath" = yes ||  
      test "$enable_shared" = no; then  
   # Fast installation is not necessary  
   enable_fast_install=needless  
 fi  
   
 striplib=  
 old_striplib=  
 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5  
 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6  
 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then  
   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"  
   test -z "$striplib" && striplib="$STRIP --strip-unneeded"  
   echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6  
 else  
 # FIXME - insert some real tests, host_os isn't really good enough  
   case $host_os in  
    darwin*)  
        if test -n "$STRIP" ; then  
          striplib="$STRIP -x"  
          echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6  
        else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
        ;;  
    *)  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
     ;;  
   esac  
 fi  
   
 if test "x$enable_dlopen" != xyes; then  
   enable_dlopen=unknown  
   enable_dlopen_self=unknown  
   enable_dlopen_self_static=unknown  
 else  
   lt_cv_dlopen=no  
   lt_cv_dlopen_libs=  
   
   case $host_os in  
   beos*)  
     lt_cv_dlopen="load_add_on"  
     lt_cv_dlopen_libs=  
     lt_cv_dlopen_self=yes  
     ;;  
   
   mingw* | pw32*)  
     lt_cv_dlopen="LoadLibrary"  
     lt_cv_dlopen_libs=  
    ;;  
   
   cygwin*)  
     lt_cv_dlopen="dlopen"  
     lt_cv_dlopen_libs=  
    ;;  
   
   darwin*)  
   # if libdl is installed we need to link against it  
     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5  
 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6  
 if test "${ac_cv_lib_dl_dlopen+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-ldl  $LIBS"  
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 /* Override any gcc2 internal prototype to avoid an error.  */  
 #ifdef __cplusplus  
 extern "C"  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char dlopen ();  
 int  
 main ()  
 {  
 dlopen ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
  { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_lib_dl_dlopen=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_lib_dl_dlopen=no  
 fi  
 rm -f conftest.err conftest.$ac_objext \  
       conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5  
 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6  
 if test $ac_cv_lib_dl_dlopen = yes; then  
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"  
 else  
   
     lt_cv_dlopen="dyld"  
     lt_cv_dlopen_libs=  
     lt_cv_dlopen_self=yes  
   
 fi  
   
    ;;  
   
   *)  
     echo "$as_me:$LINENO: checking for shl_load" >&5  
 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6  
 if test "${ac_cv_func_shl_load+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.  
    For example, HP-UX 11i <limits.h> declares gettimeofday.  */  
 #define shl_load innocuous_shl_load  
   
 /* System header to define __stub macros and hopefully few prototypes,  
     which can conflict with char shl_load (); below.  
     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since  
     <limits.h> exists even on freestanding compilers.  */  
   
 #ifdef __STDC__  
 # include <limits.h>  
 #else  
 # include <assert.h>  
 #endif  
   
 #undef shl_load  
   
 /* Override any gcc2 internal prototype to avoid an error.  */  
 #ifdef __cplusplus  
 extern "C"  
 {  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char shl_load ();  
 /* The GNU C library defines this for functions which it implements  
     to always fail with ENOSYS.  Some functions are actually named  
     something starting with __ and the normal name is an alias.  */  
 #if defined (__stub_shl_load) || defined (__stub___shl_load)  
 choke me  
 #else  
 char (*f) () = shl_load;  
 #endif  
 #ifdef __cplusplus  
 }  
 #endif  
   
 int  
 main ()  
 {  
 return f != shl_load;  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
  { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_func_shl_load=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_func_shl_load=no  
 fi  
 rm -f conftest.err conftest.$ac_objext \  
       conftest$ac_exeext conftest.$ac_ext  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5  
 echo "${ECHO_T}$ac_cv_func_shl_load" >&6  
 if test $ac_cv_func_shl_load = yes; then  
   lt_cv_dlopen="shl_load"  
 else  
   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5  
 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6  
 if test "${ac_cv_lib_dld_shl_load+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-ldld  $LIBS"  
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 /* Override any gcc2 internal prototype to avoid an error.  */  
 #ifdef __cplusplus  
 extern "C"  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char shl_load ();  
 int  
 main ()  
 {  
 shl_load ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
  { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_lib_dld_shl_load=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_lib_dld_shl_load=no  
 fi  
 rm -f conftest.err conftest.$ac_objext \  
       conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5  
 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6  
 if test $ac_cv_lib_dld_shl_load = yes; then  
   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"  
 else  
   echo "$as_me:$LINENO: checking for dlopen" >&5  
 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6  
 if test "${ac_cv_func_dlopen+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.  
    For example, HP-UX 11i <limits.h> declares gettimeofday.  */  
 #define dlopen innocuous_dlopen  
   
 /* System header to define __stub macros and hopefully few prototypes,  
     which can conflict with char dlopen (); below.  
     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since  
     <limits.h> exists even on freestanding compilers.  */  
   
 #ifdef __STDC__  
 # include <limits.h>  
 #else  
 # include <assert.h>  
 #endif  
   
 #undef dlopen  
   
 /* Override any gcc2 internal prototype to avoid an error.  */  
 #ifdef __cplusplus  
 extern "C"  
 {  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char dlopen ();  
 /* The GNU C library defines this for functions which it implements  
     to always fail with ENOSYS.  Some functions are actually named  
     something starting with __ and the normal name is an alias.  */  
 #if defined (__stub_dlopen) || defined (__stub___dlopen)  
 choke me  
 #else  
 char (*f) () = dlopen;  
 #endif  
 #ifdef __cplusplus  
 }  
 #endif  
   
 int  
 main ()  
 {  
 return f != dlopen;  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
  { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_func_dlopen=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_func_dlopen=no  
 fi  
 rm -f conftest.err conftest.$ac_objext \  
       conftest$ac_exeext conftest.$ac_ext  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5  
 echo "${ECHO_T}$ac_cv_func_dlopen" >&6  
 if test $ac_cv_func_dlopen = yes; then  
   lt_cv_dlopen="dlopen"  
 else  
   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5  
 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6  
 if test "${ac_cv_lib_dl_dlopen+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-ldl  $LIBS"  
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 /* Override any gcc2 internal prototype to avoid an error.  */  
 #ifdef __cplusplus  
 extern "C"  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char dlopen ();  
 int  
 main ()  
 {  
 dlopen ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
  { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_lib_dl_dlopen=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_lib_dl_dlopen=no  
 fi  
 rm -f conftest.err conftest.$ac_objext \  
       conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5  
 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6  
 if test $ac_cv_lib_dl_dlopen = yes; then  
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"  
 else  
   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5  
 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6  
 if test "${ac_cv_lib_svld_dlopen+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-lsvld  $LIBS"  
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 /* Override any gcc2 internal prototype to avoid an error.  */  
 #ifdef __cplusplus  
 extern "C"  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char dlopen ();  
 int  
 main ()  
 {  
 dlopen ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
  { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_lib_svld_dlopen=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_lib_svld_dlopen=no  
 fi  
 rm -f conftest.err conftest.$ac_objext \  
       conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5  
 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6  
 if test $ac_cv_lib_svld_dlopen = yes; then  
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"  
 else  
   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5  
 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6  
 if test "${ac_cv_lib_dld_dld_link+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-ldld  $LIBS"  
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 /* Override any gcc2 internal prototype to avoid an error.  */  
 #ifdef __cplusplus  
 extern "C"  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char dld_link ();  
 int  
 main ()  
 {  
 dld_link ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; } &&  
  { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_lib_dld_dld_link=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_lib_dld_dld_link=no  
 fi  
 rm -f conftest.err conftest.$ac_objext \  
       conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5  
 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6  
 if test $ac_cv_lib_dld_dld_link = yes; then  
   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"  
 fi  
   
   irix5* | irix6* | nonstopux*)
     case $host_os in
       nonstopux*) version_type=nonstopux ;;
       *)
    if test "$lt_cv_prog_gnu_ld" = yes; then
    version_type=linux
    else
    version_type=irix
    fi ;;
     esac
     need_lib_prefix=no
     need_version=no
     soname_spec='${libname}${release}${shared_ext}$major'
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
     case $host_os in
     irix5* | nonstopux*)
       libsuff= shlibsuff=
       ;;
     *)
       case $LD in # libtool.m4 will add one of these switches to LD
       *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
         libsuff= shlibsuff= libmagic=32-bit;;
       *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
         libsuff=32 shlibsuff=N32 libmagic=N32;;
       *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
         libsuff=64 shlibsuff=64 libmagic=64-bit;;
       *) libsuff= shlibsuff= libmagic=never-match;;
       esac
       ;;
     esac
     shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
     shlibpath_overrides_runpath=no
     sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
     sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
     hardcode_into_libs=yes
     ;;
   
 fi  # No shared lib support for Linux oldld, aout, or coff.
   linux*oldld* | linux*aout* | linux*coff*)
     dynamic_linker=no
     ;;
   
   # This must be Linux ELF.
   linux*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     soname_spec='${libname}${release}${shared_ext}$major'
     finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=no
     # This implies no fast_install, which is unacceptable.
     # Some rework will be needed to allow for fast_install
     # before this can be enabled.
     hardcode_into_libs=yes
   
     # Append ld.so.conf contents to the search path
     if test -f /etc/ld.so.conf; then
       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' ' '`
       sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 fi  fi
   
     # We used to test for /lib/ld.so.1 and disable shared libraries on
     # powerpc, because MkLinux only supported shared libraries with the
     # GNU dynamic linker.  Since this was broken with cross compilers,
     # most powerpc-linux boxes support dynamic linking these days and
     # people can always --disable-shared, the test was removed, and we
     # assume the GNU/Linux dynamic linker is in use.
     dynamic_linker='GNU/Linux ld.so'
     ;;
   
 fi  knetbsd*-gnu)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     soname_spec='${libname}${release}${shared_ext}$major'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=no
     hardcode_into_libs=yes
     dynamic_linker='GNU ld.so'
     ;;
   
   netbsd*)
     version_type=sunos
     need_lib_prefix=no
     need_version=no
     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
       finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       dynamic_linker='NetBSD (a.out) ld.so'
     else
       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
       soname_spec='${libname}${release}${shared_ext}$major'
       dynamic_linker='NetBSD ld.elf_so'
 fi  fi
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     hardcode_into_libs=yes
     ;;
   
   newsos6)
     version_type=linux
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     ;;
   
 fi  nto-qnx*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     soname_spec='${libname}${release}${shared_ext}$major'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     ;;
   
   openbsd*)
     version_type=sunos
     sys_lib_dlsearch_path_spec="/usr/lib"
     need_lib_prefix=no
     # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
     case $host_os in
       openbsd3.3 | openbsd3.3.*) need_version=yes ;;
       *)                         need_version=no  ;;
     esac
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     shlibpath_var=LD_LIBRARY_PATH
     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       case $host_os in
         openbsd2.[89] | openbsd2.[89].*)
    shlibpath_overrides_runpath=no
    ;;
         *)
    shlibpath_overrides_runpath=yes
     ;;      ;;
   esac    esac
   
   if test "x$lt_cv_dlopen" != xno; then  
     enable_dlopen=yes  
   else    else
     enable_dlopen=no      shlibpath_overrides_runpath=yes
   fi    fi
     ;;
   
   case $lt_cv_dlopen in  os2*)
   dlopen)    libname_spec='$name'
     save_CPPFLAGS="$CPPFLAGS"    shrext_cmds=".dll"
     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"    need_lib_prefix=no
     library_names_spec='$libname${shared_ext} $libname.a'
     save_LDFLAGS="$LDFLAGS"    dynamic_linker='OS/2 ld.exe'
     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"    shlibpath_var=LIBPATH
     ;;
     save_LIBS="$LIBS"  
     LIBS="$lt_cv_dlopen_libs $LIBS"  
   
     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5  
 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6  
 if test "${lt_cv_dlopen_self+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
     if test "$cross_compiling" = yes; then :  
   lt_cv_dlopen_self=cross  
 else  
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2  
   lt_status=$lt_dlunknown  
   cat > conftest.$ac_ext <<EOF  
 #line 17983 "configure"  
 #include "confdefs.h"  
   
 #if HAVE_DLFCN_H  
 #include <dlfcn.h>  
 #endif  
   
 #include <stdio.h>  
   
 #ifdef RTLD_GLOBAL  
 #  define LT_DLGLOBAL RTLD_GLOBAL  
 #else  
 #  ifdef DL_GLOBAL  
 #    define LT_DLGLOBAL DL_GLOBAL  
 #  else  
 #    define LT_DLGLOBAL 0  
 #  endif  
 #endif  
   
 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we  
    find out it does not work in some platform. */  
 #ifndef LT_DLLAZY_OR_NOW  
 #  ifdef RTLD_LAZY  
 #    define LT_DLLAZY_OR_NOW RTLD_LAZY  
 #  else  
 #    ifdef DL_LAZY  
 #      define LT_DLLAZY_OR_NOW DL_LAZY  
 #    else  
 #      ifdef RTLD_NOW  
 #        define LT_DLLAZY_OR_NOW RTLD_NOW  
 #      else  
 #        ifdef DL_NOW  
 #          define LT_DLLAZY_OR_NOW DL_NOW  
 #        else  
 #          define LT_DLLAZY_OR_NOW 0  
 #        endif  
 #      endif  
 #    endif  
 #  endif  
 #endif  
   
 #ifdef __cplusplus  
 extern "C" void exit (int);  
 #endif  
   
 void fnord() { int i=42;}  osf3* | osf4* | osf5*)
 int main ()    version_type=osf
 {    need_lib_prefix=no
   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);    need_version=no
   int status = $lt_dlunknown;    soname_spec='${libname}${release}${shared_ext}$major'
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     shlibpath_var=LD_LIBRARY_PATH
     sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
     sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
     ;;
   
   if (self)  solaris*)
     {    version_type=linux
       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;    need_lib_prefix=no
       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;    need_version=no
       /* dlclose (self); */    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     }    soname_spec='${libname}${release}${shared_ext}$major'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     hardcode_into_libs=yes
     # ldd complains unless libraries are executable
     postinstall_cmds='chmod +x $lib'
     ;;
   
     exit (status);  sunos4*)
 }    version_type=sunos
 EOF    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5    finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   (eval $ac_link) 2>&5    shlibpath_var=LD_LIBRARY_PATH
   ac_status=$?    shlibpath_overrides_runpath=yes
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    if test "$with_gnu_ld" = yes; then
   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then      need_lib_prefix=no
     (./conftest; exit; ) 2>/dev/null  
     lt_status=$?  
     case x$lt_status in  
       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;  
       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;  
       x$lt_unknown|x*) lt_cv_dlopen_self=no ;;  
     esac  
   else :  
     # compilation failed  
     lt_cv_dlopen_self=no  
   fi  
 fi  fi
 rm -fr conftest*    need_version=yes
     ;;
   
   sysv4 | sysv4.3*)
     version_type=linux
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     soname_spec='${libname}${release}${shared_ext}$major'
     shlibpath_var=LD_LIBRARY_PATH
     case $host_vendor in
       sni)
         shlibpath_overrides_runpath=no
         need_lib_prefix=no
         export_dynamic_flag_spec='${wl}-Blargedynsym'
         runpath_var=LD_RUN_PATH
         ;;
       siemens)
         need_lib_prefix=no
         ;;
       motorola)
         need_lib_prefix=no
         need_version=no
         shlibpath_overrides_runpath=no
         sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
         ;;
     esac
     ;;
   
   sysv4*MP*)
     if test -d /usr/nec ;then
       version_type=linux
       library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
       soname_spec='$libname${shared_ext}.$major'
       shlibpath_var=LD_LIBRARY_PATH
 fi  fi
 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5    ;;
 echo "${ECHO_T}$lt_cv_dlopen_self" >&6  
   
     if test "x$lt_cv_dlopen_self" = xyes; then  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
       LDFLAGS="$LDFLAGS $link_static_flag"    version_type=freebsd-elf
       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5    need_lib_prefix=no
 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6    need_version=no
 if test "${lt_cv_dlopen_self_static+set}" = set; then    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   echo $ECHO_N "(cached) $ECHO_C" >&6    soname_spec='${libname}${release}${shared_ext}$major'
 else    shlibpath_var=LD_LIBRARY_PATH
     if test "$cross_compiling" = yes; then :    hardcode_into_libs=yes
   lt_cv_dlopen_self_static=cross    if test "$with_gnu_ld" = yes; then
       sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
       shlibpath_overrides_runpath=no
 else  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2      sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   lt_status=$lt_dlunknown      shlibpath_overrides_runpath=yes
   cat > conftest.$ac_ext <<EOF      case $host_os in
 #line 18081 "configure"        sco3.2v5*)
 #include "confdefs.h"          sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
    ;;
 #if HAVE_DLFCN_H      esac
 #include <dlfcn.h>    fi
 #endif    sys_lib_dlsearch_path_spec='/usr/lib'
     ;;
 #include <stdio.h>  
   
 #ifdef RTLD_GLOBAL  
 #  define LT_DLGLOBAL RTLD_GLOBAL  
 #else  
 #  ifdef DL_GLOBAL  
 #    define LT_DLGLOBAL DL_GLOBAL  
 #  else  
 #    define LT_DLGLOBAL 0  
 #  endif  
 #endif  
   
 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we  
    find out it does not work in some platform. */  
 #ifndef LT_DLLAZY_OR_NOW  
 #  ifdef RTLD_LAZY  
 #    define LT_DLLAZY_OR_NOW RTLD_LAZY  
 #  else  
 #    ifdef DL_LAZY  
 #      define LT_DLLAZY_OR_NOW DL_LAZY  
 #    else  
 #      ifdef RTLD_NOW  
 #        define LT_DLLAZY_OR_NOW RTLD_NOW  
 #      else  
 #        ifdef DL_NOW  
 #          define LT_DLLAZY_OR_NOW DL_NOW  
 #        else  
 #          define LT_DLLAZY_OR_NOW 0  
 #        endif  
 #      endif  
 #    endif  
 #  endif  
 #endif  
   
 #ifdef __cplusplus  
 extern "C" void exit (int);  
 #endif  
   
 void fnord() { int i=42;}  
 int main ()  
 {  
   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);  
   int status = $lt_dlunknown;  
   
   if (self)  uts4*)
     {    version_type=linux
       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;    soname_spec='${libname}${release}${shared_ext}$major'
       /* dlclose (self); */    shlibpath_var=LD_LIBRARY_PATH
     }    ;;
   
     exit (status);  *)
 }    dynamic_linker=no
 EOF    ;;
   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then  
     (./conftest; exit; ) 2>/dev/null  
     lt_status=$?  
     case x$lt_status in  
       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;  
       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;  
       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;  
     esac      esac
   else :  echo "$as_me:$LINENO: result: $dynamic_linker" >&5
     # compilation failed  echo "${ECHO_T}$dynamic_linker" >&6
     lt_cv_dlopen_self_static=no  test "$dynamic_linker" = no && can_build_shared=no
   fi  
   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   if test "$GCC" = yes; then
     variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 fi  fi
 rm -fr conftest*  
   
   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   hardcode_action_GCJ=
   if test -n "$hardcode_libdir_flag_spec_GCJ" || \
      test -n "$runpath_var_GCJ" || \
      test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   
     # We can hardcode non-existant directories.
     if test "$hardcode_direct_GCJ" != no &&
        # If the only mechanism to avoid hardcoding is shlibpath_var, we
        # have to relink, otherwise we might link with an installed library
        # when we should be linking with a yet-to-be-installed one
        ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
        test "$hardcode_minus_L_GCJ" != no; then
       # Linking always hardcodes the temporary library directory.
       hardcode_action_GCJ=relink
     else
       # We can link without hardcoding, and we can hardcode nonexisting dirs.
       hardcode_action_GCJ=immediate
 fi  fi
 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5  else
 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6    # We cannot hardcode anything, or else we can only hardcode existing
     # directories.
     hardcode_action_GCJ=unsupported
     fi      fi
   echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   echo "${ECHO_T}$hardcode_action_GCJ" >&6
   
     CPPFLAGS="$save_CPPFLAGS"  if test "$hardcode_action_GCJ" = relink; then
     LDFLAGS="$save_LDFLAGS"    # Fast installation is not supported
     LIBS="$save_LIBS"    enable_fast_install=no
     ;;  elif test "$shlibpath_overrides_runpath" = yes ||
   esac       test "$enable_shared" = no; then
     # Fast installation is not necessary
   case $lt_cv_dlopen_self in    enable_fast_install=needless
   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;  
   *) enable_dlopen_self=unknown ;;  
   esac  
   
   case $lt_cv_dlopen_self_static in  
   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;  
   *) enable_dlopen_self_static=unknown ;;  
   esac  
 fi  fi
   
   
Line 18195
 
Line 17821
   # Now quote all the things that may contain metacharacters while being    # Now quote all the things that may contain metacharacters while being
   # 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
   # variables and quote the copies for generation of the libtool script.    # variables and quote the copies for generation of the libtool script.
   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \    for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
     SED SHELL STRIP \      SED SHELL STRIP \
     libname_spec library_names_spec soname_spec extract_expsyms_cmds \      libname_spec library_names_spec soname_spec extract_expsyms_cmds \
     old_striplib striplib file_magic_cmd finish_cmds finish_eval \      old_striplib striplib file_magic_cmd finish_cmds finish_eval \
Line 18296
 
Line 17922
 # The host system.  # The host system.
 host_alias=$host_alias  host_alias=$host_alias
 host=$host  host=$host
   host_os=$host_os
   
   # The build system.
   build_alias=$build_alias
   build=$build
   build_os=$build_os
   
 # An echo program that does not interpret backslashes.  # An echo program that does not interpret backslashes.
 echo=$lt_echo  echo=$lt_echo
Line 18307
 
Line 17939
 # A C compiler.  # A C compiler.
 LTCC=$lt_LTCC  LTCC=$lt_LTCC
   
   # LTCC compiler flags.
   LTCFLAGS=$lt_LTCFLAGS
   
 # A language-specific compiler.  # A language-specific compiler.
 CC=$lt_compiler_GCJ  CC=$lt_compiler_GCJ
   
Line 18616
 
Line 18251
 # If no C compiler was specified, use CC.  # If no C compiler was specified, use CC.
 LTCC=${LTCC-"$CC"}  LTCC=${LTCC-"$CC"}
   
   # If no C compiler flags were specified, use CFLAGS.
   LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   
 # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
 compiler=$CC  compiler=$CC
   
   
   # save warnings/boilerplate of simple test code
   ac_outfile=conftest.$ac_objext
   printf "$lt_simple_compile_test_code" >conftest.$ac_ext
   eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   _lt_compiler_boilerplate=`cat conftest.err`
   $rm conftest*
   
   ac_outfile=conftest.$ac_objext
   printf "$lt_simple_link_test_code" >conftest.$ac_ext
   eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   _lt_linker_boilerplate=`cat conftest.err`
   $rm conftest*
   
   
 # Allow CC to be a program name with arguments.  # Allow CC to be a program name with arguments.
 lt_save_CC="$CC"  lt_save_CC="$CC"
 CC=${RC-"windres"}  CC=${RC-"windres"}
 compiler=$CC  compiler=$CC
 compiler_RC=$CC  compiler_RC=$CC
   for cc_temp in $compiler""; do
     case $cc_temp in
       compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
       distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
       \-*) ;;
       *) break;;
     esac
   done
   cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   
 lt_cv_prog_compiler_c_o_RC=yes  lt_cv_prog_compiler_c_o_RC=yes
   
 # The else clause should only fire when bootstrapping the  # The else clause should only fire when bootstrapping the
Line 18640
 
Line 18302
   # Now quote all the things that may contain metacharacters while being    # Now quote all the things that may contain metacharacters while being
   # 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
   # variables and quote the copies for generation of the libtool script.    # variables and quote the copies for generation of the libtool script.
   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \    for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
     SED SHELL STRIP \      SED SHELL STRIP \
     libname_spec library_names_spec soname_spec extract_expsyms_cmds \      libname_spec library_names_spec soname_spec extract_expsyms_cmds \
     old_striplib striplib file_magic_cmd finish_cmds finish_eval \      old_striplib striplib file_magic_cmd finish_cmds finish_eval \
Line 18741
 
Line 18403
 # The host system.  # The host system.
 host_alias=$host_alias  host_alias=$host_alias
 host=$host  host=$host
   host_os=$host_os
   
   # The build system.
   build_alias=$build_alias
   build=$build
   build_os=$build_os
   
 # An echo program that does not interpret backslashes.  # An echo program that does not interpret backslashes.
 echo=$lt_echo  echo=$lt_echo
Line 18752
 
Line 18420
 # A C compiler.  # A C compiler.
 LTCC=$lt_LTCC  LTCC=$lt_LTCC
   
   # LTCC compiler flags.
   LTCFLAGS=$lt_LTCFLAGS
   
 # A language-specific compiler.  # A language-specific compiler.
 CC=$lt_compiler_RC  CC=$lt_compiler_RC
   
Line 19459
 
Line 19130
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 19517
 
Line 19189
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 19633
 
Line 19306
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 19687
 
Line 19361
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 19732
 
Line 19407
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 19776
 
Line 19452
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 20253
 
Line 19930
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 20319
 
Line 19997
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 20408
 
Line 20087
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 20946
 
Line 20626
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 21013
 
Line 20694
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 21048
 
Line 20730
 fi  fi
   
   
   
 if test "x$ac_path_x_has_been_run" != xyes; then  
   echo "$as_me:$LINENO: checking for X" >&5    echo "$as_me:$LINENO: checking for X" >&5
 echo $ECHO_N "checking for X... $ECHO_C" >&6  echo $ECHO_N "checking for X... $ECHO_C" >&6
   
 ac_path_x_has_been_run=yes  
   
 # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
 if test "${with_x+set}" = set; then  if test "${with_x+set}" = set; then
Line 21146
 
Line 20825
 /usr/openwin/share/include'  /usr/openwin/share/include'
   
 if test "$ac_x_includes" = no; then  if test "$ac_x_includes" = no; then
   # Guess where to find include files, by looking for a specified header file.    # Guess where to find include files, by looking for Intrinsic.h.
   # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
   cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */  /* confdefs.h.  */
Line 21220
 
Line 20899
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 21280
 
Line 20960
   # Update the cache value to reflect the command line values.    # Update the cache value to reflect the command line values.
   ac_cv_have_x="have_x=yes \    ac_cv_have_x="have_x=yes \
  ac_x_includes=$x_includes ac_x_libraries=$x_libraries"   ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
   # It might be that x_includes is empty (headers are found in the    echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
   # standard search path. Then output the corresponding message  echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
   ac_out_x_includes=$x_includes  
   test "x$x_includes" = x && ac_out_x_includes="in standard search path"  
   echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5  
 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6  
 fi  fi
   
 fi  
 if test "$no_x" = yes; then  if test "$no_x" = yes; then
   # Not all programs may use this symbol, but it does not hurt to define it.    # Not all programs may use this symbol, but it does not hurt to define it.
   
Line 21336
 
Line 21011
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 21387
 
Line 21063
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 21463
 
Line 21140
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 21518
 
Line 21196
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 21586
 
Line 21265
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 21694
 
Line 21374
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 21758
 
Line 21439
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 21826
 
Line 21508
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 21930
 
Line 21613
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 21994
 
Line 21678
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 22091
 
Line 21776
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 22155
 
Line 21841
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 22252
 
Line 21939
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 22316
 
Line 22004
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 22395
 
Line 22084
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 22464
 
Line 22154
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 22530
 
Line 22221
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 22596
 
Line 22288
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 22662
 
Line 22355
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 22728
 
Line 22422
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 22794
 
Line 22489
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 22860
 
Line 22556
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 22929
 
Line 22626
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 22996
 
Line 22694
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 23063
 
Line 22762
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 23129
 
Line 22829
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 23196
 
Line 22897
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 23269
 
Line 22971
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 23339
 
Line 23042
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 23407
 
Line 23111
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 23483
 
Line 23188
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 23555
 
Line 23261
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 23609
 
Line 23316
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 23680
 
Line 23388
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 23734
 
Line 23443
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 23801
 
Line 23511
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 23982
 
Line 23693
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 24174
 
Line 23886
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 24234
 
Line 23947
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 24307
 
Line 24021
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 24372
 
Line 24087
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 24438
 
Line 24154
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 24500
 
Line 24217
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 24602
 
Line 24320
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 24664
 
Line 24383
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 24704
 
Line 24424
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 24760
 
Line 24481
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 24800
 
Line 24522
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 24864
 
Line 24587
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 24895
 
Line 24619
 esac  esac
 else  else
   if test "$cross_compiling" = yes; then    if test "$cross_compiling" = yes; then
   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5    { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}  See \`config.log' for more details." >&5
   echo "$as_me: error: cannot run test program while cross compiling
   See \`config.log' for more details." >&2;}
    { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
 else  else
   cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
Line 25008
 
Line 24734
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 25070
 
Line 24797
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 25110
 
Line 24838
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 25166
 
Line 24895
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 25206
 
Line 24936
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 25270
 
Line 25001
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 25301
 
Line 25033
 esac  esac
 else  else
   if test "$cross_compiling" = yes; then    if test "$cross_compiling" = yes; then
   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5    { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}  See \`config.log' for more details." >&5
   echo "$as_me: error: cannot run test program while cross compiling
   See \`config.log' for more details." >&2;}
    { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
 else  else
   cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
Line 25617
 
Line 25351
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 25715
 
Line 25450
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 25784
 
Line 25520
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 25889
 
Line 25626
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 25983
 
Line 25721
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 26108
 
Line 25847
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 26167
 
Line 25907
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 26233
 
Line 25974
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 26276
 
Line 26018
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 26318
 
Line 26061
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 26466
 
Line 26210
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 26550
 
Line 26295
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 26706
 
Line 26452
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 26857
 
Line 26604
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 27058
 
Line 26806
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 27143
 
Line 26892
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 27204
 
Line 26954
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 27265
 
Line 27016
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 27450
 
Line 27202
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 27647
 
Line 27400
   cat conftest.err >&5    cat conftest.err >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } &&    (exit $ac_status); } &&
  { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'   { ac_try='test -z "$ac_c_werror_flag"
    || test ! -s conftest.err'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
   ac_status=$?    ac_status=$?
Line 29107
 
Line 28861
   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;    *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
   esac    esac
   
     if test x"$ac_file" != x-; then
       { echo "$as_me:$LINENO: creating $ac_file" >&5
   echo "$as_me: creating $ac_file" >&6;}
       rm -f "$ac_file"
     fi
   # Let's still pretend it is `configure' which instantiates (i.e., don't    # Let's still pretend it is `configure' which instantiates (i.e., don't
   # use $as_me), people would be surprised to read:    # use $as_me), people would be surprised to read:
   #    /* config.h.  Generated by config.status.  */    #    /* config.h.  Generated by config.status.  */
Line 29145
 
Line 28904
  fi;;   fi;;
       esac        esac
     done` || { (exit 1); exit 1; }      done` || { (exit 1); exit 1; }
   
   if test x"$ac_file" != x-; then  
     { echo "$as_me:$LINENO: creating $ac_file" >&5  
 echo "$as_me: creating $ac_file" >&6;}  
     rm -f "$ac_file"  
   fi  
 _ACEOF  _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF
   sed "$ac_vpsub    sed "$ac_vpsub


Legend:
line(s) removed in v.1.63 
line(s) changed
 line(s) added in v.1.64

File made using version 1.98 of cvs2html by leaf at 2011-07-21 16:54