~ubuntu-branches/ubuntu/natty/luatex/natty

« back to all changes in this revision

Viewing changes to source/texk/kpathsea/configure

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2010-12-13 23:22:59 UTC
  • mfrom: (0.2.1) (1.5.4) (4.3.12 experimental)
  • Revision ID: package-import@ubuntu.com-20101213232259-nqq2mq5z5x6qldw3
Tags: 0.65.0-1
* new upstream release
* ship two source packages as they are distributed by upstream, only
  renamed to match source package requirements. Fix debian/rules
  to install the manual pdf from the right place

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.65 for Kpathsea 6.0.0dev.
 
3
# Generated by GNU Autoconf 2.67 for Kpathsea 6.0.0.
4
4
#
5
5
# Report bugs to <tex-k@tug.org>.
6
6
#
7
7
#
8
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10
 
# Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
11
11
#
12
12
#
13
13
# This configure script is free software; the Free Software Foundation
173
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
 
 
177
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
178
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
179
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
181
    PATH=/empty FPATH=/empty; export PATH FPATH
 
182
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
183
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
176
184
test \$(( 1 + 1 )) = 2 || exit 1"
177
185
  if (eval "$as_required") 2>/dev/null; then :
178
186
  as_have_required=yes
319
327
      test -d "$as_dir" && break
320
328
    done
321
329
    test -z "$as_dirs" || eval "mkdir $as_dirs"
322
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
330
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
331
 
324
332
 
325
333
} # as_fn_mkdir_p
359
367
fi # as_fn_arith
360
368
 
361
369
 
362
 
# as_fn_error ERROR [LINENO LOG_FD]
363
 
# ---------------------------------
 
370
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
371
# ----------------------------------------
364
372
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
373
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
 
# script with status $?, using 1 if that was 0.
 
374
# script with STATUS, using 1 if that was 0.
367
375
as_fn_error ()
368
376
{
369
 
  as_status=$?; test $as_status -eq 0 && as_status=1
370
 
  if test "$3"; then
371
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
377
  as_status=$1; test $as_status -eq 0 && as_status=1
 
378
  if test "$4"; then
 
379
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
380
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373
381
  fi
374
 
  $as_echo "$as_me: error: $1" >&2
 
382
  $as_echo "$as_me: error: $2" >&2
375
383
  as_fn_exit $as_status
376
384
} # as_fn_error
377
385
 
528
536
# Sed expression to map a string onto a valid variable name.
529
537
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
538
 
531
 
 
532
 
 
533
 
# Check that we are running under the correct shell.
534
539
SHELL=${CONFIG_SHELL-/bin/sh}
535
540
 
536
 
case X$lt_ECHO in
537
 
X*--fallback-echo)
538
 
  # Remove one level of quotation (which was required for Make).
539
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540
 
  ;;
541
 
esac
542
 
 
543
 
ECHO=${lt_ECHO-echo}
544
 
if test "X$1" = X--no-reexec; then
545
 
  # Discard the --no-reexec flag, and continue.
546
 
  shift
547
 
elif test "X$1" = X--fallback-echo; then
548
 
  # Avoid inline document here, it may be left over
549
 
  :
550
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
 
  # Yippee, $ECHO works!
552
 
  :
553
 
else
554
 
  # Restart under the correct shell.
555
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
556
 
fi
557
 
 
558
 
if test "X$1" = X--fallback-echo; then
559
 
  # used as fallback echo
560
 
  shift
561
 
  cat <<_LT_EOF
562
 
$*
563
 
_LT_EOF
564
 
  exit 0
565
 
fi
566
 
 
567
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
568
 
# if CDPATH is set.
569
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
 
 
571
 
if test -z "$lt_ECHO"; then
572
 
  if test "X${echo_test_string+set}" != Xset; then
573
 
    # find a string as large as possible, as long as the shell can cope with it
574
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578
 
      then
579
 
        break
580
 
      fi
581
 
    done
582
 
  fi
583
 
 
584
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
587
 
    :
588
 
  else
589
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
590
 
    # backslashes.  This makes it impossible to quote backslashes using
591
 
    #   echo "$something" | sed 's/\\/\\\\/g'
592
 
    #
593
 
    # So, first we look for a working echo in the user's PATH.
594
 
 
595
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
 
    for dir in $PATH /usr/ucb; do
597
 
      IFS="$lt_save_ifs"
598
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
602
 
        ECHO="$dir/echo"
603
 
        break
604
 
      fi
605
 
    done
606
 
    IFS="$lt_save_ifs"
607
 
 
608
 
    if test "X$ECHO" = Xecho; then
609
 
      # We didn't find a better echo, so look for alternatives.
610
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
613
 
        # This shell has a builtin print -r that does the trick.
614
 
        ECHO='print -r'
615
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
617
 
        # If we have ksh, try running configure again with it.
618
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
 
        export ORIGINAL_CONFIG_SHELL
620
 
        CONFIG_SHELL=/bin/ksh
621
 
        export CONFIG_SHELL
622
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623
 
      else
624
 
        # Try using printf.
625
 
        ECHO='printf %s\n'
626
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
629
 
          # Cool, printf works
630
 
          :
631
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
 
             test "X$echo_testing_string" = 'X\t' &&
633
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
635
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636
 
          export CONFIG_SHELL
637
 
          SHELL="$CONFIG_SHELL"
638
 
          export SHELL
639
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
 
             test "X$echo_testing_string" = 'X\t' &&
642
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
644
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
645
 
        else
646
 
          # maybe with a smaller string...
647
 
          prev=:
648
 
 
649
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651
 
            then
652
 
              break
653
 
            fi
654
 
            prev="$cmd"
655
 
          done
656
 
 
657
 
          if test "$prev" != 'sed 50q "$0"'; then
658
 
            echo_test_string=`eval $prev`
659
 
            export echo_test_string
660
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661
 
          else
662
 
            # Oops.  We lost completely, so just stick with echo.
663
 
            ECHO=echo
664
 
          fi
665
 
        fi
666
 
      fi
667
 
    fi
668
 
  fi
669
 
fi
670
 
 
671
 
# Copy echo and quote the copy suitably for passing to libtool from
672
 
# the Makefile, instead of quoting the original, which is used later.
673
 
lt_ECHO=$ECHO
674
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676
 
fi
677
 
 
678
 
 
679
 
 
680
541
 
681
542
test -n "$DJDIR" || exec 7<&0 </dev/null
682
543
exec 6>&1
683
544
 
684
545
# Name of the host.
685
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
546
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686
547
# so uname gets run too.
687
548
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
549
 
701
562
# Identity of this package.
702
563
PACKAGE_NAME='Kpathsea'
703
564
PACKAGE_TARNAME='kpathsea'
704
 
PACKAGE_VERSION='6.0.0dev'
705
 
PACKAGE_STRING='Kpathsea 6.0.0dev'
 
565
PACKAGE_VERSION='6.0.0'
 
566
PACKAGE_STRING='Kpathsea 6.0.0'
706
567
PACKAGE_BUGREPORT='tex-k@tug.org'
707
568
PACKAGE_URL=''
708
569
 
746
607
ac_subst_vars='am__EXEEXT_FALSE
747
608
am__EXEEXT_TRUE
748
609
LTLIBOBJS
 
610
LT_OBJDIR
749
611
MINGW32_FALSE
750
612
MINGW32_TRUE
751
613
WIN32_FALSE
758
620
LIPO
759
621
NMEDIT
760
622
DSYMUTIL
761
 
lt_ECHO
 
623
MANIFEST_TOOL
762
624
RANLIB
 
625
ac_ct_AR
763
626
AR
764
627
LN_S
765
628
NM
874
737
enable_fast_install
875
738
enable_dependency_tracking
876
739
with_gnu_ld
 
740
with_sysroot
877
741
enable_libtool_lock
878
742
enable_largefile
879
743
enable_compiler_warnings
956
820
  fi
957
821
 
958
822
  case $ac_option in
959
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
960
 
  *)    ac_optarg=yes ;;
 
823
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
824
  *=)   ac_optarg= ;;
 
825
  *)    ac_optarg=yes ;;
961
826
  esac
962
827
 
963
828
  # Accept the important Cygnus configure options, so we can diagnose typos.
1002
867
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1003
868
    # Reject names that are not valid shell variable names.
1004
869
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005
 
      as_fn_error "invalid feature name: $ac_useropt"
 
870
      as_fn_error $? "invalid feature name: $ac_useropt"
1006
871
    ac_useropt_orig=$ac_useropt
1007
872
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008
873
    case $ac_user_opts in
1028
893
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1029
894
    # Reject names that are not valid shell variable names.
1030
895
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1031
 
      as_fn_error "invalid feature name: $ac_useropt"
 
896
      as_fn_error $? "invalid feature name: $ac_useropt"
1032
897
    ac_useropt_orig=$ac_useropt
1033
898
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034
899
    case $ac_user_opts in
1232
1097
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1233
1098
    # Reject names that are not valid shell variable names.
1234
1099
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1235
 
      as_fn_error "invalid package name: $ac_useropt"
 
1100
      as_fn_error $? "invalid package name: $ac_useropt"
1236
1101
    ac_useropt_orig=$ac_useropt
1237
1102
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1238
1103
    case $ac_user_opts in
1248
1113
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1249
1114
    # Reject names that are not valid shell variable names.
1250
1115
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1251
 
      as_fn_error "invalid package name: $ac_useropt"
 
1116
      as_fn_error $? "invalid package name: $ac_useropt"
1252
1117
    ac_useropt_orig=$ac_useropt
1253
1118
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1254
1119
    case $ac_user_opts in
1278
1143
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1279
1144
    x_libraries=$ac_optarg ;;
1280
1145
 
1281
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1282
 
Try \`$0 --help' for more information."
 
1146
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1147
Try \`$0 --help' for more information"
1283
1148
    ;;
1284
1149
 
1285
1150
  *=*)
1287
1152
    # Reject names that are not valid shell variable names.
1288
1153
    case $ac_envvar in #(
1289
1154
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1290
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1155
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1291
1156
    esac
1292
1157
    eval $ac_envvar=\$ac_optarg
1293
1158
    export $ac_envvar ;;
1305
1170
 
1306
1171
if test -n "$ac_prev"; then
1307
1172
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1308
 
  as_fn_error "missing argument to $ac_option"
 
1173
  as_fn_error $? "missing argument to $ac_option"
1309
1174
fi
1310
1175
 
1311
1176
if test -n "$ac_unrecognized_opts"; then
1312
1177
  case $enable_option_checking in
1313
1178
    no) ;;
1314
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1179
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1315
1180
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1316
1181
  esac
1317
1182
fi
1334
1199
    [\\/$]* | ?:[\\/]* )  continue;;
1335
1200
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1336
1201
  esac
1337
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1202
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1338
1203
done
1339
1204
 
1340
1205
# There might be people who depend on the old broken behavior: `$host'
1348
1213
if test "x$host_alias" != x; then
1349
1214
  if test "x$build_alias" = x; then
1350
1215
    cross_compiling=maybe
1351
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1352
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1216
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1217
    If a cross compiler is detected then cross compile mode will be used" >&2
1353
1218
  elif test "x$build_alias" != "x$host_alias"; then
1354
1219
    cross_compiling=yes
1355
1220
  fi
1364
1229
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1365
1230
ac_ls_di=`ls -di .` &&
1366
1231
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1367
 
  as_fn_error "working directory cannot be determined"
 
1232
  as_fn_error $? "working directory cannot be determined"
1368
1233
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1369
 
  as_fn_error "pwd does not report name of working directory"
 
1234
  as_fn_error $? "pwd does not report name of working directory"
1370
1235
 
1371
1236
 
1372
1237
# Find the source files, if location was not specified.
1405
1270
fi
1406
1271
if test ! -r "$srcdir/$ac_unique_file"; then
1407
1272
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1408
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1273
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1409
1274
fi
1410
1275
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1411
1276
ac_abs_confdir=`(
1412
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1277
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1413
1278
        pwd)`
1414
1279
# When building in place, set srcdir=.
1415
1280
if test "$ac_abs_confdir" = "$ac_pwd"; then
1435
1300
  # Omit some internal or obsolete options to make the list less imposing.
1436
1301
  # This message is too long to be a string in the A/UX 3.1 sh.
1437
1302
  cat <<_ACEOF
1438
 
\`configure' configures Kpathsea 6.0.0dev to adapt to many kinds of systems.
 
1303
\`configure' configures Kpathsea 6.0.0 to adapt to many kinds of systems.
1439
1304
 
1440
1305
Usage: $0 [OPTION]... [VAR=VALUE]...
1441
1306
 
1449
1314
      --help=short        display options specific to this package
1450
1315
      --help=recursive    display the short help of all the included packages
1451
1316
  -V, --version           display version information and exit
1452
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1317
  -q, --quiet, --silent   do not print \`checking ...' messages
1453
1318
      --cache-file=FILE   cache test results in FILE [disabled]
1454
1319
  -C, --config-cache      alias for \`--cache-file=config.cache'
1455
1320
  -n, --no-create         do not create output files
1505
1370
 
1506
1371
if test -n "$ac_init_help"; then
1507
1372
  case $ac_init_help in
1508
 
     short | recursive ) echo "Configuration of Kpathsea 6.0.0dev:";;
 
1373
     short | recursive ) echo "Configuration of Kpathsea 6.0.0:";;
1509
1374
   esac
1510
1375
  cat <<\_ACEOF
1511
1376
 
1542
1407
  --with-pic              try to use only PIC/non-PIC objects [default=use
1543
1408
                          both]
1544
1409
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1410
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1411
                        (or the compiler's sysroot if not specified).
1545
1412
 
1546
1413
Some influential environment variables:
1547
1414
  CC          C compiler command
1619
1486
test -n "$ac_init_help" && exit $ac_status
1620
1487
if $ac_init_version; then
1621
1488
  cat <<\_ACEOF
1622
 
Kpathsea configure 6.0.0dev
1623
 
generated by GNU Autoconf 2.65
 
1489
Kpathsea configure 6.0.0
 
1490
generated by GNU Autoconf 2.67
1624
1491
 
1625
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1492
Copyright (C) 2010 Free Software Foundation, Inc.
1626
1493
This configure script is free software; the Free Software Foundation
1627
1494
gives unlimited permission to copy, distribute and modify it.
1628
1495
_ACEOF
1726
1593
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727
1594
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1728
1595
$as_echo_n "checking for $2... " >&6; }
1729
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1596
if eval "test \"\${$3+set}\"" = set; then :
1730
1597
  $as_echo_n "(cached) " >&6
1731
1598
else
1732
1599
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1769
1636
    mv -f conftest.er1 conftest.err
1770
1637
  fi
1771
1638
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772
 
  test $ac_status = 0; } >/dev/null && {
 
1639
  test $ac_status = 0; } > conftest.i && {
1773
1640
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1774
1641
         test ! -s conftest.err
1775
1642
       }; then :
1835
1702
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836
1703
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1837
1704
$as_echo_n "checking for $2... " >&6; }
1838
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1705
if eval "test \"\${$3+set}\"" = set; then :
1839
1706
  $as_echo_n "(cached) " >&6
1840
1707
else
1841
1708
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1902
1769
ac_fn_c_check_header_mongrel ()
1903
1770
{
1904
1771
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1772
  if eval "test \"\${$3+set}\"" = set; then :
1906
1773
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1907
1774
$as_echo_n "checking for $2... " >&6; }
1908
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1775
if eval "test \"\${$3+set}\"" = set; then :
1909
1776
  $as_echo_n "(cached) " >&6
1910
1777
fi
1911
1778
eval ac_res=\$$3
1941
1808
else
1942
1809
  ac_header_preproc=no
1943
1810
fi
1944
 
rm -f conftest.err conftest.$ac_ext
 
1811
rm -f conftest.err conftest.i conftest.$ac_ext
1945
1812
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1946
1813
$as_echo "$ac_header_preproc" >&6; }
1947
1814
 
1964
1831
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1965
1832
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1966
1833
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1967
 
( cat <<\_ASBOX
1968
 
## ---------------------------- ##
 
1834
( $as_echo "## ---------------------------- ##
1969
1835
## Report this to tex-k@tug.org ##
1970
 
## ---------------------------- ##
1971
 
_ASBOX
 
1836
## ---------------------------- ##"
1972
1837
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1973
1838
    ;;
1974
1839
esac
1975
1840
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1976
1841
$as_echo_n "checking for $2... " >&6; }
1977
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1842
if eval "test \"\${$3+set}\"" = set; then :
1978
1843
  $as_echo_n "(cached) " >&6
1979
1844
else
1980
1845
  eval "$3=\$ac_header_compiler"
1996
1861
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1997
1862
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1998
1863
$as_echo_n "checking for $2... " >&6; }
1999
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1864
if eval "test \"\${$3+set}\"" = set; then :
2000
1865
  $as_echo_n "(cached) " >&6
2001
1866
else
2002
1867
  eval "$3=no"
2050
1915
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051
1916
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2052
1917
$as_echo_n "checking for $2.$3... " >&6; }
2053
 
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1918
if eval "test \"\${$4+set}\"" = set; then :
2054
1919
  $as_echo_n "(cached) " >&6
2055
1920
else
2056
1921
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098
1963
 
2099
1964
} # ac_fn_c_check_member
2100
1965
 
2101
 
# ac_fn_c_check_decl LINENO SYMBOL VAR
2102
 
# ------------------------------------
2103
 
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
 
1966
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 
1967
# ---------------------------------------------
 
1968
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
1969
# accordingly.
2104
1970
ac_fn_c_check_decl ()
2105
1971
{
2106
1972
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2107
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2108
 
$as_echo_n "checking whether $2 is declared... " >&6; }
2109
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1973
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
1974
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
1975
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
1976
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
1977
if eval "test \"\${$3+set}\"" = set; then :
2110
1978
  $as_echo_n "(cached) " >&6
2111
1979
else
2112
1980
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115
1983
int
2116
1984
main ()
2117
1985
{
2118
 
#ifndef $2
2119
 
  (void) $2;
 
1986
#ifndef $as_decl_name
 
1987
#ifdef __cplusplus
 
1988
  (void) $as_decl_use;
 
1989
#else
 
1990
  (void) $as_decl_name;
 
1991
#endif
2120
1992
#endif
2121
1993
 
2122
1994
  ;
2140
2012
This file contains any messages produced by compilers while
2141
2013
running configure, to aid debugging if configure makes a mistake.
2142
2014
 
2143
 
It was created by Kpathsea $as_me 6.0.0dev, which was
2144
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
2015
It was created by Kpathsea $as_me 6.0.0, which was
 
2016
generated by GNU Autoconf 2.67.  Invocation command line was
2145
2017
 
2146
2018
  $ $0 $@
2147
2019
 
2251
2123
  {
2252
2124
    echo
2253
2125
 
2254
 
    cat <<\_ASBOX
2255
 
## ---------------- ##
 
2126
    $as_echo "## ---------------- ##
2256
2127
## Cache variables. ##
2257
 
## ---------------- ##
2258
 
_ASBOX
 
2128
## ---------------- ##"
2259
2129
    echo
2260
2130
    # The following way of writing the cache mishandles newlines in values,
2261
2131
(
2289
2159
)
2290
2160
    echo
2291
2161
 
2292
 
    cat <<\_ASBOX
2293
 
## ----------------- ##
 
2162
    $as_echo "## ----------------- ##
2294
2163
## Output variables. ##
2295
 
## ----------------- ##
2296
 
_ASBOX
 
2164
## ----------------- ##"
2297
2165
    echo
2298
2166
    for ac_var in $ac_subst_vars
2299
2167
    do
2306
2174
    echo
2307
2175
 
2308
2176
    if test -n "$ac_subst_files"; then
2309
 
      cat <<\_ASBOX
2310
 
## ------------------- ##
 
2177
      $as_echo "## ------------------- ##
2311
2178
## File substitutions. ##
2312
 
## ------------------- ##
2313
 
_ASBOX
 
2179
## ------------------- ##"
2314
2180
      echo
2315
2181
      for ac_var in $ac_subst_files
2316
2182
      do
2324
2190
    fi
2325
2191
 
2326
2192
    if test -s confdefs.h; then
2327
 
      cat <<\_ASBOX
2328
 
## ----------- ##
 
2193
      $as_echo "## ----------- ##
2329
2194
## confdefs.h. ##
2330
 
## ----------- ##
2331
 
_ASBOX
 
2195
## ----------- ##"
2332
2196
      echo
2333
2197
      cat confdefs.h
2334
2198
      echo
2383
2247
ac_site_file1=NONE
2384
2248
ac_site_file2=NONE
2385
2249
if test -n "$CONFIG_SITE"; then
2386
 
  ac_site_file1=$CONFIG_SITE
 
2250
  # We do not want a PATH search for config.site.
 
2251
  case $CONFIG_SITE in #((
 
2252
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2253
    */*) ac_site_file1=$CONFIG_SITE;;
 
2254
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2255
  esac
2387
2256
elif test "x$prefix" != xNONE; then
2388
2257
  ac_site_file1=$prefix/share/config.site
2389
2258
  ac_site_file2=$prefix/etc/config.site
2398
2267
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2399
2268
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2400
2269
    sed 's/^/| /' "$ac_site_file" >&5
2401
 
    . "$ac_site_file"
 
2270
    . "$ac_site_file" \
 
2271
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2272
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2273
as_fn_error $? "failed to load site script $ac_site_file
 
2274
See \`config.log' for more details" "$LINENO" 5 ; }
2402
2275
  fi
2403
2276
done
2404
2277
 
2474
2347
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2475
2348
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2476
2349
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2477
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2350
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2478
2351
fi
2479
2352
## -------------------- ##
2480
2353
## Main body of script. ##
2491
2364
 
2492
2365
ac_aux_dir=
2493
2366
for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
2494
 
  for ac_t in install-sh install.sh shtool; do
2495
 
    if test -f "$ac_dir/$ac_t"; then
2496
 
      ac_aux_dir=$ac_dir
2497
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2498
 
      break 2
2499
 
    fi
2500
 
  done
 
2367
  if test -f "$ac_dir/install-sh"; then
 
2368
    ac_aux_dir=$ac_dir
 
2369
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2370
    break
 
2371
  elif test -f "$ac_dir/install.sh"; then
 
2372
    ac_aux_dir=$ac_dir
 
2373
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2374
    break
 
2375
  elif test -f "$ac_dir/shtool"; then
 
2376
    ac_aux_dir=$ac_dir
 
2377
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2378
    break
 
2379
  fi
2501
2380
done
2502
2381
if test -z "$ac_aux_dir"; then
2503
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
 
2382
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
2504
2383
fi
2505
2384
 
2506
2385
# These three variables are undocumented and unsupported,
2514
2393
 
2515
2394
 
2516
2395
 
2517
 
KPSEVERSION=6.0.0dev
 
2396
KPSEVERSION=6.0.0
2518
2397
 
2519
 
$as_echo "#define KPSEVERSION \"kpathsea version 6.0.0dev\"" >>confdefs.h
 
2398
$as_echo "#define KPSEVERSION \"kpathsea version 6.0.0\"" >>confdefs.h
2520
2399
 
2521
2400
KPSE_LT_VERSINFO=6:0:0
2522
2401
 
2627
2506
'
2628
2507
case `pwd` in
2629
2508
  *[\\\"\#\$\&\'\`$am_lf]*)
2630
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2509
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2631
2510
esac
2632
2511
case $srcdir in
2633
2512
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2634
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2513
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2635
2514
esac
2636
2515
 
2637
2516
# Do `set' in a subshell so we don't clobber the current shell's
2653
2532
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2654
2533
      # broken ls alias from the environment.  This has actually
2655
2534
      # happened.  Such a system could not be considered "sane".
2656
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2535
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2657
2536
alias in your environment" "$LINENO" 5
2658
2537
   fi
2659
2538
 
2663
2542
   # Ok.
2664
2543
   :
2665
2544
else
2666
 
   as_fn_error "newly created file is older than distributed files!
 
2545
   as_fn_error $? "newly created file is older than distributed files!
2667
2546
Check your system clock" "$LINENO" 5
2668
2547
fi
2669
2548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2901
2780
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2902
2781
set x ${MAKE-make}
2903
2782
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2904
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2783
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2905
2784
  $as_echo_n "(cached) " >&6
2906
2785
else
2907
2786
  cat >conftest.make <<\_ACEOF
2909
2788
all:
2910
2789
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2911
2790
_ACEOF
2912
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2791
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2913
2792
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2914
2793
  *@@@%%%=?*=@@@%%%*)
2915
2794
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2945
2824
 
2946
2825
 
2947
2826
 
2948
 
macro_version='2.2.6b'
2949
 
macro_revision='1.3017'
 
2827
macro_version='2.4'
 
2828
macro_revision='1.3293'
2950
2829
 
2951
2830
 
2952
2831
 
2964
2843
 
2965
2844
# Make sure we can run config.sub.
2966
2845
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2967
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2846
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2968
2847
 
2969
2848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2970
2849
$as_echo_n "checking build system type... " >&6; }
2975
2854
test "x$ac_build_alias" = x &&
2976
2855
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2977
2856
test "x$ac_build_alias" = x &&
2978
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
2857
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2979
2858
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2980
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2859
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2981
2860
 
2982
2861
fi
2983
2862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2984
2863
$as_echo "$ac_cv_build" >&6; }
2985
2864
case $ac_cv_build in
2986
2865
*-*-*) ;;
2987
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
2866
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2988
2867
esac
2989
2868
build=$ac_cv_build
2990
2869
ac_save_IFS=$IFS; IFS='-'
3009
2888
  ac_cv_host=$ac_cv_build
3010
2889
else
3011
2890
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3012
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2891
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3013
2892
fi
3014
2893
 
3015
2894
fi
3017
2896
$as_echo "$ac_cv_host" >&6; }
3018
2897
case $ac_cv_host in
3019
2898
*-*-*) ;;
3020
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
2899
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3021
2900
esac
3022
2901
host=$ac_cv_host
3023
2902
ac_save_IFS=$IFS; IFS='-'
3033
2912
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3034
2913
 
3035
2914
 
 
2915
# Backslashify metacharacters that are still active within
 
2916
# double-quoted strings.
 
2917
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
2918
 
 
2919
# Same as above, but do not quote variable references.
 
2920
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
2921
 
 
2922
# Sed substitution to delay expansion of an escaped shell variable in a
 
2923
# double_quote_subst'ed string.
 
2924
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
2925
 
 
2926
# Sed substitution to delay expansion of an escaped single quote.
 
2927
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
2928
 
 
2929
# Sed substitution to avoid accidental globbing in evaled expressions
 
2930
no_glob_subst='s/\*/\\\*/g'
 
2931
 
 
2932
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
2933
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
2934
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
2935
 
 
2936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
2937
$as_echo_n "checking how to print strings... " >&6; }
 
2938
# Test print first, because it will be a builtin if present.
 
2939
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
2940
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
2941
  ECHO='print -r --'
 
2942
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
2943
  ECHO='printf %s\n'
 
2944
else
 
2945
  # Use this function as a fallback that always works.
 
2946
  func_fallback_echo ()
 
2947
  {
 
2948
    eval 'cat <<_LTECHO_EOF
 
2949
$1
 
2950
_LTECHO_EOF'
 
2951
  }
 
2952
  ECHO='func_fallback_echo'
 
2953
fi
 
2954
 
 
2955
# func_echo_all arg...
 
2956
# Invoke $ECHO with all args, space-separated.
 
2957
func_echo_all ()
 
2958
{
 
2959
    $ECHO ""
 
2960
}
 
2961
 
 
2962
case "$ECHO" in
 
2963
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
2964
$as_echo "printf" >&6; } ;;
 
2965
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
2966
$as_echo "print -r" >&6; } ;;
 
2967
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
2968
$as_echo "cat" >&6; } ;;
 
2969
esac
 
2970
 
 
2971
 
 
2972
 
 
2973
 
 
2974
 
 
2975
 
 
2976
 
 
2977
 
 
2978
 
 
2979
 
 
2980
 
 
2981
 
 
2982
 
 
2983
 
3036
2984
DEPDIR="${am__leading_dot}deps"
3037
2985
 
3038
2986
ac_config_commands="$ac_config_commands depfiles"
3395
3343
 
3396
3344
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3397
3345
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3398
 
as_fn_error "no acceptable C compiler found in \$PATH
3399
 
See \`config.log' for more details." "$LINENO" 5; }
 
3346
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3347
See \`config.log' for more details" "$LINENO" 5 ; }
3400
3348
 
3401
3349
# Provide some information about the compiler.
3402
3350
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3510
3458
 
3511
3459
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3512
3460
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3513
 
{ as_fn_set_status 77
3514
 
as_fn_error "C compiler cannot create executables
3515
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3461
as_fn_error 77 "C compiler cannot create executables
 
3462
See \`config.log' for more details" "$LINENO" 5 ; }
3516
3463
else
3517
3464
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3518
3465
$as_echo "yes" >&6; }
3554
3501
else
3555
3502
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3556
3503
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3557
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3558
 
See \`config.log' for more details." "$LINENO" 5; }
 
3504
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3505
See \`config.log' for more details" "$LINENO" 5 ; }
3559
3506
fi
3560
3507
rm -f conftest conftest$ac_cv_exeext
3561
3508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3612
3559
    else
3613
3560
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3614
3561
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3615
 
as_fn_error "cannot run C compiled programs.
 
3562
as_fn_error $? "cannot run C compiled programs.
3616
3563
If you meant to cross compile, use \`--host'.
3617
 
See \`config.log' for more details." "$LINENO" 5; }
 
3564
See \`config.log' for more details" "$LINENO" 5 ; }
3618
3565
    fi
3619
3566
  fi
3620
3567
fi
3665
3612
 
3666
3613
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3667
3614
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3668
 
as_fn_error "cannot compute suffix of object files: cannot compile
3669
 
See \`config.log' for more details." "$LINENO" 5; }
 
3615
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3616
See \`config.log' for more details" "$LINENO" 5 ; }
3670
3617
fi
3671
3618
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3672
3619
fi
4070
4017
  done
4071
4018
IFS=$as_save_IFS
4072
4019
  if test -z "$ac_cv_path_SED"; then
4073
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4020
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4074
4021
  fi
4075
4022
else
4076
4023
  ac_cv_path_SED=$SED
4146
4093
  done
4147
4094
IFS=$as_save_IFS
4148
4095
  if test -z "$ac_cv_path_GREP"; then
4149
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4096
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4150
4097
  fi
4151
4098
else
4152
4099
  ac_cv_path_GREP=$GREP
4212
4159
  done
4213
4160
IFS=$as_save_IFS
4214
4161
  if test -z "$ac_cv_path_EGREP"; then
4215
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4162
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4216
4163
  fi
4217
4164
else
4218
4165
  ac_cv_path_EGREP=$EGREP
4279
4226
  done
4280
4227
IFS=$as_save_IFS
4281
4228
  if test -z "$ac_cv_path_FGREP"; then
4282
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4229
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4283
4230
  fi
4284
4231
else
4285
4232
  ac_cv_path_FGREP=$FGREP
4395
4342
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4396
4343
$as_echo "no" >&6; }
4397
4344
fi
4398
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4345
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4399
4346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4400
4347
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4401
4348
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4478
4425
  NM="$lt_cv_path_NM"
4479
4426
else
4480
4427
  # Didn't find any BSD compatible name lister, look for dumpbin.
4481
 
  if test -n "$ac_tool_prefix"; then
4482
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4428
  if test -n "$DUMPBIN"; then :
 
4429
    # Let the user override the test.
 
4430
  else
 
4431
    if test -n "$ac_tool_prefix"; then
 
4432
  for ac_prog in dumpbin "link -dump"
4483
4433
  do
4484
4434
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4485
4435
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4523
4473
fi
4524
4474
if test -z "$DUMPBIN"; then
4525
4475
  ac_ct_DUMPBIN=$DUMPBIN
4526
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4476
  for ac_prog in dumpbin "link -dump"
4527
4477
do
4528
4478
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4529
4479
set dummy $ac_prog; ac_word=$2
4578
4528
  fi
4579
4529
fi
4580
4530
 
 
4531
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4532
    *COFF*)
 
4533
      DUMPBIN="$DUMPBIN -symbols"
 
4534
      ;;
 
4535
    *)
 
4536
      DUMPBIN=:
 
4537
      ;;
 
4538
    esac
 
4539
  fi
4581
4540
 
4582
4541
  if test "$DUMPBIN" != ":"; then
4583
4542
    NM="$DUMPBIN"
4597
4556
else
4598
4557
  lt_cv_nm_interface="BSD nm"
4599
4558
  echo "int some_variable = 0;" > conftest.$ac_ext
4600
 
  (eval echo "\"\$as_me:4600: $ac_compile\"" >&5)
 
4559
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4601
4560
  (eval "$ac_compile" 2>conftest.err)
4602
4561
  cat conftest.err >&5
4603
 
  (eval echo "\"\$as_me:4603: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4562
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4604
4563
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4605
4564
  cat conftest.err >&5
4606
 
  (eval echo "\"\$as_me:4606: output\"" >&5)
 
4565
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4607
4566
  cat conftest.out >&5
4608
4567
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4609
4568
    lt_cv_nm_interface="MS dumpbin"
4660
4619
    lt_cv_sys_max_cmd_len=8192;
4661
4620
    ;;
4662
4621
 
 
4622
  mint*)
 
4623
    # On MiNT this can take a long time and run out of memory.
 
4624
    lt_cv_sys_max_cmd_len=8192;
 
4625
    ;;
 
4626
 
4663
4627
  amigaos*)
4664
4628
    # On AmigaOS with pdksh, this test takes hours, literally.
4665
4629
    # So we just punt and use a minimum line length of 8192.
4724
4688
      # If test is not a shell built-in, we'll probably end up computing a
4725
4689
      # maximum length that is only half of the actual maximum length, but
4726
4690
      # we can't tell.
4727
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4728
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4691
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
4692
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4729
4693
              test $i != 17 # 1/2 MB should be enough
4730
4694
      do
4731
4695
        i=`expr $i + 1`
4767
4731
# Try some XSI features
4768
4732
xsi_shell=no
4769
4733
( _lt_dummy="a/b/c"
4770
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4771
 
      = c,a/b,, \
 
4734
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
4735
      = c,a/b,b/c, \
4772
4736
    && eval 'test $(( 1 + 1 )) -eq 2 \
4773
4737
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4774
4738
  && xsi_shell=yes
4817
4781
 
4818
4782
 
4819
4783
 
 
4784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
4785
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
4786
if test "${lt_cv_to_host_file_cmd+set}" = set; then :
 
4787
  $as_echo_n "(cached) " >&6
 
4788
else
 
4789
  case $host in
 
4790
  *-*-mingw* )
 
4791
    case $build in
 
4792
      *-*-mingw* ) # actually msys
 
4793
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
4794
        ;;
 
4795
      *-*-cygwin* )
 
4796
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
4797
        ;;
 
4798
      * ) # otherwise, assume *nix
 
4799
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
4800
        ;;
 
4801
    esac
 
4802
    ;;
 
4803
  *-*-cygwin* )
 
4804
    case $build in
 
4805
      *-*-mingw* ) # actually msys
 
4806
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
4807
        ;;
 
4808
      *-*-cygwin* )
 
4809
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
4810
        ;;
 
4811
      * ) # otherwise, assume *nix
 
4812
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
4813
        ;;
 
4814
    esac
 
4815
    ;;
 
4816
  * ) # unhandled hosts (and "normal" native builds)
 
4817
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
4818
    ;;
 
4819
esac
 
4820
 
 
4821
fi
 
4822
 
 
4823
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
4824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
4825
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
4826
 
 
4827
 
 
4828
 
 
4829
 
 
4830
 
 
4831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
4832
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
4833
if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
 
4834
  $as_echo_n "(cached) " >&6
 
4835
else
 
4836
  #assume ordinary cross tools, or native build.
 
4837
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
4838
case $host in
 
4839
  *-*-mingw* )
 
4840
    case $build in
 
4841
      *-*-mingw* ) # actually msys
 
4842
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
4843
        ;;
 
4844
    esac
 
4845
    ;;
 
4846
esac
 
4847
 
 
4848
fi
 
4849
 
 
4850
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
4851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
4852
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
4853
 
 
4854
 
 
4855
 
 
4856
 
 
4857
 
4820
4858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4821
4859
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4822
4860
if test "${lt_cv_ld_reload_flag+set}" = set; then :
4833
4871
esac
4834
4872
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4835
4873
case $host_os in
 
4874
  cygwin* | mingw* | pw32* | cegcc*)
 
4875
    if test "$GCC" != yes; then
 
4876
      reload_cmds=false
 
4877
    fi
 
4878
    ;;
4836
4879
  darwin*)
4837
4880
    if test "$GCC" = yes; then
4838
4881
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4993
5036
  # Base MSYS/MinGW do not provide the 'file' command needed by
4994
5037
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4995
5038
  # unless we find 'file', for example because we are cross-compiling.
4996
 
  if ( file / ) >/dev/null 2>&1; then
 
5039
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5040
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4997
5041
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4998
5042
    lt_cv_file_magic_cmd='func_win32_libid'
4999
5043
  else
5000
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5044
    # Keep this pattern in sync with the one in func_win32_libid.
 
5045
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5001
5046
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5002
5047
  fi
5003
5048
  ;;
5004
5049
 
5005
 
cegcc)
 
5050
cegcc*)
5006
5051
  # use the weaker test based on 'objdump'. See mingw*.
5007
5052
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5008
5053
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5032
5077
  lt_cv_deplibs_check_method=pass_all
5033
5078
  ;;
5034
5079
 
 
5080
haiku*)
 
5081
  lt_cv_deplibs_check_method=pass_all
 
5082
  ;;
 
5083
 
5035
5084
hpux10.20* | hpux11*)
5036
5085
  lt_cv_file_magic_cmd=/usr/bin/file
5037
5086
  case $host_cpu in
5040
5089
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5041
5090
    ;;
5042
5091
  hppa*64*)
5043
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
5092
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5044
5093
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5045
5094
    ;;
5046
5095
  *)
5047
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5096
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5048
5097
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5049
5098
    ;;
5050
5099
  esac
5066
5115
  ;;
5067
5116
 
5068
5117
# This must be Linux ELF.
5069
 
linux* | k*bsd*-gnu)
 
5118
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5070
5119
  lt_cv_deplibs_check_method=pass_all
5071
5120
  ;;
5072
5121
 
5147
5196
fi
5148
5197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5149
5198
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5199
 
 
5200
file_magic_glob=
 
5201
want_nocaseglob=no
 
5202
if test "$build" = "$host"; then
 
5203
  case $host_os in
 
5204
  mingw* | pw32*)
 
5205
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5206
      want_nocaseglob=yes
 
5207
    else
 
5208
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5209
    fi
 
5210
    ;;
 
5211
  esac
 
5212
fi
 
5213
 
5150
5214
file_magic_cmd=$lt_cv_file_magic_cmd
5151
5215
deplibs_check_method=$lt_cv_deplibs_check_method
5152
5216
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5162
5226
 
5163
5227
 
5164
5228
 
5165
 
if test -n "$ac_tool_prefix"; then
5166
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5167
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5229
 
 
5230
 
 
5231
 
 
5232
 
 
5233
 
 
5234
 
 
5235
 
 
5236
 
 
5237
 
 
5238
 
 
5239
if test -n "$ac_tool_prefix"; then
 
5240
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5241
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5243
$as_echo_n "checking for $ac_word... " >&6; }
 
5244
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
 
5245
  $as_echo_n "(cached) " >&6
 
5246
else
 
5247
  if test -n "$DLLTOOL"; then
 
5248
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5249
else
 
5250
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5251
for as_dir in $PATH
 
5252
do
 
5253
  IFS=$as_save_IFS
 
5254
  test -z "$as_dir" && as_dir=.
 
5255
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5256
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5257
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5258
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5259
    break 2
 
5260
  fi
 
5261
done
 
5262
  done
 
5263
IFS=$as_save_IFS
 
5264
 
 
5265
fi
 
5266
fi
 
5267
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5268
if test -n "$DLLTOOL"; then
 
5269
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5270
$as_echo "$DLLTOOL" >&6; }
 
5271
else
 
5272
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5273
$as_echo "no" >&6; }
 
5274
fi
 
5275
 
 
5276
 
 
5277
fi
 
5278
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5279
  ac_ct_DLLTOOL=$DLLTOOL
 
5280
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5281
set dummy dlltool; ac_word=$2
 
5282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5283
$as_echo_n "checking for $ac_word... " >&6; }
 
5284
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
 
5285
  $as_echo_n "(cached) " >&6
 
5286
else
 
5287
  if test -n "$ac_ct_DLLTOOL"; then
 
5288
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5289
else
 
5290
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5291
for as_dir in $PATH
 
5292
do
 
5293
  IFS=$as_save_IFS
 
5294
  test -z "$as_dir" && as_dir=.
 
5295
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5296
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5297
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5298
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5299
    break 2
 
5300
  fi
 
5301
done
 
5302
  done
 
5303
IFS=$as_save_IFS
 
5304
 
 
5305
fi
 
5306
fi
 
5307
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5308
if test -n "$ac_ct_DLLTOOL"; then
 
5309
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5310
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5311
else
 
5312
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5313
$as_echo "no" >&6; }
 
5314
fi
 
5315
 
 
5316
  if test "x$ac_ct_DLLTOOL" = x; then
 
5317
    DLLTOOL="false"
 
5318
  else
 
5319
    case $cross_compiling:$ac_tool_warned in
 
5320
yes:)
 
5321
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5322
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5323
ac_tool_warned=yes ;;
 
5324
esac
 
5325
    DLLTOOL=$ac_ct_DLLTOOL
 
5326
  fi
 
5327
else
 
5328
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5329
fi
 
5330
 
 
5331
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5332
 
 
5333
 
 
5334
 
 
5335
 
 
5336
 
 
5337
 
 
5338
 
 
5339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5340
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5341
if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
 
5342
  $as_echo_n "(cached) " >&6
 
5343
else
 
5344
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5345
 
 
5346
case $host_os in
 
5347
cygwin* | mingw* | pw32* | cegcc*)
 
5348
  # two different shell functions defined in ltmain.sh
 
5349
  # decide which to use based on capabilities of $DLLTOOL
 
5350
  case `$DLLTOOL --help 2>&1` in
 
5351
  *--identify-strict*)
 
5352
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5353
    ;;
 
5354
  *)
 
5355
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5356
    ;;
 
5357
  esac
 
5358
  ;;
 
5359
*)
 
5360
  # fallback: assume linklib IS sharedlib
 
5361
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5362
  ;;
 
5363
esac
 
5364
 
 
5365
fi
 
5366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5367
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5368
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5369
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5370
 
 
5371
 
 
5372
 
 
5373
 
 
5374
 
 
5375
 
 
5376
 
 
5377
 
 
5378
if test -n "$ac_tool_prefix"; then
 
5379
  for ac_prog in ar
 
5380
  do
 
5381
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5382
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5168
5383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169
5384
$as_echo_n "checking for $ac_word... " >&6; }
5170
5385
if test "${ac_cv_prog_AR+set}" = set; then :
5180
5395
  test -z "$as_dir" && as_dir=.
5181
5396
    for ac_exec_ext in '' $ac_executable_extensions; do
5182
5397
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5183
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5398
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5184
5399
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5185
5400
    break 2
5186
5401
  fi
5200
5415
fi
5201
5416
 
5202
5417
 
 
5418
    test -n "$AR" && break
 
5419
  done
5203
5420
fi
5204
 
if test -z "$ac_cv_prog_AR"; then
 
5421
if test -z "$AR"; then
5205
5422
  ac_ct_AR=$AR
5206
 
  # Extract the first word of "ar", so it can be a program name with args.
5207
 
set dummy ar; ac_word=$2
 
5423
  for ac_prog in ar
 
5424
do
 
5425
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5426
set dummy $ac_prog; ac_word=$2
5208
5427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5209
5428
$as_echo_n "checking for $ac_word... " >&6; }
5210
5429
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5220
5439
  test -z "$as_dir" && as_dir=.
5221
5440
    for ac_exec_ext in '' $ac_executable_extensions; do
5222
5441
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5223
 
    ac_cv_prog_ac_ct_AR="ar"
 
5442
    ac_cv_prog_ac_ct_AR="$ac_prog"
5224
5443
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5225
5444
    break 2
5226
5445
  fi
5239
5458
$as_echo "no" >&6; }
5240
5459
fi
5241
5460
 
 
5461
 
 
5462
  test -n "$ac_ct_AR" && break
 
5463
done
 
5464
 
5242
5465
  if test "x$ac_ct_AR" = x; then
5243
5466
    AR="false"
5244
5467
  else
5250
5473
esac
5251
5474
    AR=$ac_ct_AR
5252
5475
  fi
5253
 
else
5254
 
  AR="$ac_cv_prog_AR"
5255
 
fi
5256
 
 
5257
 
test -z "$AR" && AR=ar
5258
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5259
 
 
5260
 
 
5261
 
 
5262
 
 
 
5476
fi
 
5477
 
 
5478
: ${AR=ar}
 
5479
: ${AR_FLAGS=cru}
 
5480
 
 
5481
 
 
5482
 
 
5483
 
 
5484
 
 
5485
 
 
5486
 
 
5487
 
 
5488
 
 
5489
 
 
5490
 
 
5491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5492
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5493
if test "${lt_cv_ar_at_file+set}" = set; then :
 
5494
  $as_echo_n "(cached) " >&6
 
5495
else
 
5496
  lt_cv_ar_at_file=no
 
5497
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5498
/* end confdefs.h.  */
 
5499
 
 
5500
int
 
5501
main ()
 
5502
{
 
5503
 
 
5504
  ;
 
5505
  return 0;
 
5506
}
 
5507
_ACEOF
 
5508
if ac_fn_c_try_compile "$LINENO"; then :
 
5509
  echo conftest.$ac_objext > conftest.lst
 
5510
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
5511
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5512
  (eval $lt_ar_try) 2>&5
 
5513
  ac_status=$?
 
5514
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5515
  test $ac_status = 0; }
 
5516
      if test "$ac_status" -eq 0; then
 
5517
        # Ensure the archiver fails upon bogus file names.
 
5518
        rm -f conftest.$ac_objext libconftest.a
 
5519
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5520
  (eval $lt_ar_try) 2>&5
 
5521
  ac_status=$?
 
5522
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5523
  test $ac_status = 0; }
 
5524
        if test "$ac_status" -ne 0; then
 
5525
          lt_cv_ar_at_file=@
 
5526
        fi
 
5527
      fi
 
5528
      rm -f conftest.* libconftest.a
 
5529
 
 
5530
fi
 
5531
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5532
 
 
5533
fi
 
5534
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
5535
$as_echo "$lt_cv_ar_at_file" >&6; }
 
5536
 
 
5537
if test "x$lt_cv_ar_at_file" = xno; then
 
5538
  archiver_list_spec=
 
5539
else
 
5540
  archiver_list_spec=$lt_cv_ar_at_file
 
5541
fi
5263
5542
 
5264
5543
 
5265
5544
 
5482
5761
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5483
5762
fi
5484
5763
 
 
5764
case $host_os in
 
5765
  darwin*)
 
5766
    lock_old_archive_extraction=yes ;;
 
5767
  *)
 
5768
    lock_old_archive_extraction=no ;;
 
5769
esac
 
5770
 
 
5771
 
 
5772
 
 
5773
 
 
5774
 
 
5775
 
5485
5776
 
5486
5777
 
5487
5778
 
5589
5880
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5590
5881
 
5591
5882
# Transform an extracted symbol line into symbol name and symbol address
5592
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5593
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
5883
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5884
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
5594
5885
 
5595
5886
# Handle CRLF in mingw tool chain
5596
5887
opt_cr=
5626
5917
  else
5627
5918
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5628
5919
  fi
 
5920
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5629
5921
 
5630
5922
  # Check to see that the pipe works correctly.
5631
5923
  pipe_works=no
5651
5943
  test $ac_status = 0; }; then
5652
5944
    # Now try to grab the symbols.
5653
5945
    nlist=conftest.nm
5654
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5655
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
5946
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
5947
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5656
5948
  ac_status=$?
5657
5949
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5658
5950
  test $ac_status = 0; } && test -s "$nlist"; then
5667
5959
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5668
5960
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5669
5961
          cat <<_LT_EOF > conftest.$ac_ext
 
5962
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
5963
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
5964
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
5965
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
5966
# define LT_DLSYM_CONST
 
5967
#elif defined(__osf__)
 
5968
/* This system does not cope well with relocations in const data.  */
 
5969
# define LT_DLSYM_CONST
 
5970
#else
 
5971
# define LT_DLSYM_CONST const
 
5972
#endif
 
5973
 
5670
5974
#ifdef __cplusplus
5671
5975
extern "C" {
5672
5976
#endif
5678
5982
          cat <<_LT_EOF >> conftest.$ac_ext
5679
5983
 
5680
5984
/* The mapping between symbol names and symbols.  */
5681
 
const struct {
 
5985
LT_DLSYM_CONST struct {
5682
5986
  const char *name;
5683
5987
  void       *address;
5684
5988
}
5704
6008
_LT_EOF
5705
6009
          # Now try linking the two files.
5706
6010
          mv conftest.$ac_objext conftstm.$ac_objext
5707
 
          lt_save_LIBS="$LIBS"
5708
 
          lt_save_CFLAGS="$CFLAGS"
 
6011
          lt_globsym_save_LIBS=$LIBS
 
6012
          lt_globsym_save_CFLAGS=$CFLAGS
5709
6013
          LIBS="conftstm.$ac_objext"
5710
6014
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5711
6015
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5715
6019
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5716
6020
            pipe_works=yes
5717
6021
          fi
5718
 
          LIBS="$lt_save_LIBS"
5719
 
          CFLAGS="$lt_save_CFLAGS"
 
6022
          LIBS=$lt_globsym_save_LIBS
 
6023
          CFLAGS=$lt_globsym_save_CFLAGS
5720
6024
        else
5721
6025
          echo "cannot find nm_test_func in $nlist" >&5
5722
6026
        fi
5753
6057
$as_echo "ok" >&6; }
5754
6058
fi
5755
6059
 
5756
 
 
5757
 
 
5758
 
 
5759
 
 
5760
 
 
5761
 
 
5762
 
 
5763
 
 
5764
 
 
5765
 
 
5766
 
 
5767
 
 
5768
 
 
5769
 
 
5770
 
 
5771
 
 
5772
 
 
 
6060
# Response file support.
 
6061
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6062
  nm_file_list_spec='@'
 
6063
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6064
  nm_file_list_spec='@'
 
6065
fi
 
6066
 
 
6067
 
 
6068
 
 
6069
 
 
6070
 
 
6071
 
 
6072
 
 
6073
 
 
6074
 
 
6075
 
 
6076
 
 
6077
 
 
6078
 
 
6079
 
 
6080
 
 
6081
 
 
6082
 
 
6083
 
 
6084
 
 
6085
 
 
6086
 
 
6087
 
 
6088
 
 
6089
 
 
6090
 
 
6091
 
 
6092
 
 
6093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6094
$as_echo_n "checking for sysroot... " >&6; }
 
6095
 
 
6096
# Check whether --with-sysroot was given.
 
6097
if test "${with_sysroot+set}" = set; then :
 
6098
  withval=$with_sysroot;
 
6099
else
 
6100
  with_sysroot=no
 
6101
fi
 
6102
 
 
6103
 
 
6104
lt_sysroot=
 
6105
case ${with_sysroot} in #(
 
6106
 yes)
 
6107
   if test "$GCC" = yes; then
 
6108
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6109
   fi
 
6110
   ;; #(
 
6111
 /*)
 
6112
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6113
   ;; #(
 
6114
 no|'')
 
6115
   ;; #(
 
6116
 *)
 
6117
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6118
$as_echo "${with_sysroot}" >&6; }
 
6119
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6120
   ;;
 
6121
esac
 
6122
 
 
6123
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6124
$as_echo "${lt_sysroot:-no}" >&6; }
5773
6125
 
5774
6126
 
5775
6127
 
5806
6158
  ;;
5807
6159
*-*-irix6*)
5808
6160
  # Find out which ABI we are using.
5809
 
  echo '#line 5809 "configure"' > conftest.$ac_ext
 
6161
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5810
6162
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5811
6163
  (eval $ac_compile) 2>&5
5812
6164
  ac_status=$?
5968
6320
 
5969
6321
need_locks="$enable_libtool_lock"
5970
6322
 
 
6323
if test -n "$ac_tool_prefix"; then
 
6324
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6325
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6327
$as_echo_n "checking for $ac_word... " >&6; }
 
6328
if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
 
6329
  $as_echo_n "(cached) " >&6
 
6330
else
 
6331
  if test -n "$MANIFEST_TOOL"; then
 
6332
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6333
else
 
6334
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6335
for as_dir in $PATH
 
6336
do
 
6337
  IFS=$as_save_IFS
 
6338
  test -z "$as_dir" && as_dir=.
 
6339
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6340
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6341
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6342
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6343
    break 2
 
6344
  fi
 
6345
done
 
6346
  done
 
6347
IFS=$as_save_IFS
 
6348
 
 
6349
fi
 
6350
fi
 
6351
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6352
if test -n "$MANIFEST_TOOL"; then
 
6353
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6354
$as_echo "$MANIFEST_TOOL" >&6; }
 
6355
else
 
6356
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6357
$as_echo "no" >&6; }
 
6358
fi
 
6359
 
 
6360
 
 
6361
fi
 
6362
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6363
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6364
  # Extract the first word of "mt", so it can be a program name with args.
 
6365
set dummy mt; ac_word=$2
 
6366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6367
$as_echo_n "checking for $ac_word... " >&6; }
 
6368
if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
 
6369
  $as_echo_n "(cached) " >&6
 
6370
else
 
6371
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6372
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6373
else
 
6374
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6375
for as_dir in $PATH
 
6376
do
 
6377
  IFS=$as_save_IFS
 
6378
  test -z "$as_dir" && as_dir=.
 
6379
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6380
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6381
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6382
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6383
    break 2
 
6384
  fi
 
6385
done
 
6386
  done
 
6387
IFS=$as_save_IFS
 
6388
 
 
6389
fi
 
6390
fi
 
6391
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6392
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6393
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6394
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6395
else
 
6396
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6397
$as_echo "no" >&6; }
 
6398
fi
 
6399
 
 
6400
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6401
    MANIFEST_TOOL=":"
 
6402
  else
 
6403
    case $cross_compiling:$ac_tool_warned in
 
6404
yes:)
 
6405
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6406
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6407
ac_tool_warned=yes ;;
 
6408
esac
 
6409
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6410
  fi
 
6411
else
 
6412
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6413
fi
 
6414
 
 
6415
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6417
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6418
if test "${lt_cv_path_mainfest_tool+set}" = set; then :
 
6419
  $as_echo_n "(cached) " >&6
 
6420
else
 
6421
  lt_cv_path_mainfest_tool=no
 
6422
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6423
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6424
  cat conftest.err >&5
 
6425
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6426
    lt_cv_path_mainfest_tool=yes
 
6427
  fi
 
6428
  rm -f conftest*
 
6429
fi
 
6430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6431
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6432
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6433
  MANIFEST_TOOL=:
 
6434
fi
 
6435
 
 
6436
 
 
6437
 
 
6438
 
 
6439
 
5971
6440
 
5972
6441
  case $host_os in
5973
6442
    rhapsody* | darwin*)
6518
6987
fi
6519
6988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6520
6989
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
6990
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
6991
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
6992
if test "${lt_cv_ld_force_load+set}" = set; then :
 
6993
  $as_echo_n "(cached) " >&6
 
6994
else
 
6995
  lt_cv_ld_force_load=no
 
6996
      cat > conftest.c << _LT_EOF
 
6997
int forced_loaded() { return 2;}
 
6998
_LT_EOF
 
6999
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7000
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7001
      echo "$AR cru libconftest.a conftest.o" >&5
 
7002
      $AR cru libconftest.a conftest.o 2>&5
 
7003
      echo "$RANLIB libconftest.a" >&5
 
7004
      $RANLIB libconftest.a 2>&5
 
7005
      cat > conftest.c << _LT_EOF
 
7006
int main() { return 0;}
 
7007
_LT_EOF
 
7008
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7009
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7010
      _lt_result=$?
 
7011
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
7012
        lt_cv_ld_force_load=yes
 
7013
      else
 
7014
        cat conftest.err >&5
 
7015
      fi
 
7016
        rm -f conftest.err libconftest.a conftest conftest.c
 
7017
        rm -rf conftest.dSYM
 
7018
 
 
7019
fi
 
7020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7021
$as_echo "$lt_cv_ld_force_load" >&6; }
6521
7022
    case $host_os in
6522
7023
    rhapsody* | darwin1.[012])
6523
7024
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6545
7046
    else
6546
7047
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6547
7048
    fi
6548
 
    if test "$DSYMUTIL" != ":"; then
 
7049
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6549
7050
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6550
7051
    else
6551
7052
      _lt_dsymutil=
6595
7096
  # Broken: fails on valid input.
6596
7097
continue
6597
7098
fi
6598
 
rm -f conftest.err conftest.$ac_ext
 
7099
rm -f conftest.err conftest.i conftest.$ac_ext
6599
7100
 
6600
7101
  # OK, works on sane cases.  Now check whether nonexistent headers
6601
7102
  # can be detected and how.
6611
7112
ac_preproc_ok=:
6612
7113
break
6613
7114
fi
6614
 
rm -f conftest.err conftest.$ac_ext
 
7115
rm -f conftest.err conftest.i conftest.$ac_ext
6615
7116
 
6616
7117
done
6617
7118
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6618
 
rm -f conftest.err conftest.$ac_ext
 
7119
rm -f conftest.i conftest.err conftest.$ac_ext
6619
7120
if $ac_preproc_ok; then :
6620
7121
  break
6621
7122
fi
6654
7155
  # Broken: fails on valid input.
6655
7156
continue
6656
7157
fi
6657
 
rm -f conftest.err conftest.$ac_ext
 
7158
rm -f conftest.err conftest.i conftest.$ac_ext
6658
7159
 
6659
7160
  # OK, works on sane cases.  Now check whether nonexistent headers
6660
7161
  # can be detected and how.
6670
7171
ac_preproc_ok=:
6671
7172
break
6672
7173
fi
6673
 
rm -f conftest.err conftest.$ac_ext
 
7174
rm -f conftest.err conftest.i conftest.$ac_ext
6674
7175
 
6675
7176
done
6676
7177
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6677
 
rm -f conftest.err conftest.$ac_ext
 
7178
rm -f conftest.i conftest.err conftest.$ac_ext
6678
7179
if $ac_preproc_ok; then :
6679
7180
 
6680
7181
else
6681
7182
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6682
7183
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6683
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
6684
 
See \`config.log' for more details." "$LINENO" 5; }
 
7184
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7185
See \`config.log' for more details" "$LINENO" 5 ; }
6685
7186
fi
6686
7187
 
6687
7188
ac_ext=c
6810
7311
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6811
7312
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6812
7313
"
6813
 
eval as_val=\$$as_ac_Header
6814
 
   if test "x$as_val" = x""yes; then :
 
7314
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6815
7315
  cat >>confdefs.h <<_ACEOF
6816
7316
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6817
7317
_ACEOF
6856
7356
  am__isrc=' -I$(srcdir)'
6857
7357
  # test to see if srcdir already configured
6858
7358
  if test -f $srcdir/config.status; then
6859
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
7359
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
6860
7360
  fi
6861
7361
fi
6862
7362
 
6872
7372
 
6873
7373
# Define the identity of the package.
6874
7374
 PACKAGE='kpathsea'
6875
 
 VERSION='6.0.0dev'
 
7375
 VERSION='6.0.0'
6876
7376
 
6877
7377
 
6878
7378
cat >>confdefs.h <<_ACEOF
6938
7438
 
6939
7439
 
6940
7440
 
 
7441
 
 
7442
 
6941
7443
# Set options
6942
7444
enable_win32_dll=yes
6943
7445
 
6944
7446
case $host in
6945
 
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
7447
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
6946
7448
  if test -n "$ac_tool_prefix"; then
6947
7449
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6948
7450
set dummy ${ac_tool_prefix}as; ac_word=$2
7388
7890
 
7389
7891
 
7390
7892
 
 
7893
 
7391
7894
test -z "$LN_S" && LN_S="ln -s"
7392
7895
 
7393
7896
 
7437
7940
 
7438
7941
 
7439
7942
 
7440
 
 
7441
 
 
7442
 
 
7443
 
 
7444
 
 
7445
 
 
7446
 
 
7447
 
 
7448
 
 
7449
 
 
7450
 
 
7451
 
 
7452
 
 
7453
7943
case $host_os in
7454
7944
aix3*)
7455
7945
  # AIX sometimes has problems with the GCC collect2 program.  For some
7462
7952
  ;;
7463
7953
esac
7464
7954
 
7465
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7466
 
# metacharacters that are still active within double-quoted strings.
7467
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7468
 
 
7469
 
# Same as above, but do not quote variable references.
7470
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7471
 
 
7472
 
# Sed substitution to delay expansion of an escaped shell variable in a
7473
 
# double_quote_subst'ed string.
7474
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7475
 
 
7476
 
# Sed substitution to delay expansion of an escaped single quote.
7477
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7478
 
 
7479
 
# Sed substitution to avoid accidental globbing in evaled expressions
7480
 
no_glob_subst='s/\*/\\\*/g'
7481
 
 
7482
7955
# Global variables:
7483
7956
ofile=libtool
7484
7957
can_build_shared=yes
7507
7980
    *) break;;
7508
7981
  esac
7509
7982
done
7510
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7983
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7511
7984
 
7512
7985
 
7513
7986
# Only perform the check for file, if the check method requires it
7716
8189
lt_prog_compiler_no_builtin_flag=
7717
8190
 
7718
8191
if test "$GCC" = yes; then
7719
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8192
  case $cc_basename in
 
8193
  nvcc*)
 
8194
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8195
  *)
 
8196
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8197
  esac
7720
8198
 
7721
8199
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7722
8200
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7736
8214
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7737
8215
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7738
8216
   -e 's:$: $lt_compiler_flag:'`
7739
 
   (eval echo "\"\$as_me:7739: $lt_compile\"" >&5)
 
8217
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7740
8218
   (eval "$lt_compile" 2>conftest.err)
7741
8219
   ac_status=$?
7742
8220
   cat conftest.err >&5
7743
 
   echo "$as_me:7743: \$? = $ac_status" >&5
 
8221
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744
8222
   if (exit $ac_status) && test -s "$ac_outfile"; then
7745
8223
     # The compiler can only warn and ignore the option if not recognized
7746
8224
     # So say no if there are warnings other than the usual output.
7747
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8225
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7748
8226
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7749
8227
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7750
8228
       lt_cv_prog_compiler_rtti_exceptions=yes
7773
8251
lt_prog_compiler_pic=
7774
8252
lt_prog_compiler_static=
7775
8253
 
7776
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7777
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7778
8254
 
7779
8255
  if test "$GCC" = yes; then
7780
8256
    lt_prog_compiler_wl='-Wl,'
7822
8298
      lt_prog_compiler_pic='-fno-common'
7823
8299
      ;;
7824
8300
 
 
8301
    haiku*)
 
8302
      # PIC is the default for Haiku.
 
8303
      # The "-static" flag exists, but is broken.
 
8304
      lt_prog_compiler_static=
 
8305
      ;;
 
8306
 
7825
8307
    hpux*)
7826
8308
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7827
8309
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7864
8346
      lt_prog_compiler_pic='-fPIC'
7865
8347
      ;;
7866
8348
    esac
 
8349
 
 
8350
    case $cc_basename in
 
8351
    nvcc*) # Cuda Compiler Driver 2.2
 
8352
      lt_prog_compiler_wl='-Xlinker '
 
8353
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
8354
      ;;
 
8355
    esac
7867
8356
  else
7868
8357
    # PORTME Check for flag to pass linker flags through the system compiler.
7869
8358
    case $host_os in
7905
8394
      lt_prog_compiler_static='-non_shared'
7906
8395
      ;;
7907
8396
 
7908
 
    linux* | k*bsd*-gnu)
 
8397
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7909
8398
      case $cc_basename in
7910
8399
      # old Intel for x86_64 which still supported -KPIC.
7911
8400
      ecc*)
7926
8415
        lt_prog_compiler_pic='--shared'
7927
8416
        lt_prog_compiler_static='--static'
7928
8417
        ;;
7929
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8418
      nagfor*)
 
8419
        # NAG Fortran compiler
 
8420
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8421
        lt_prog_compiler_pic='-PIC'
 
8422
        lt_prog_compiler_static='-Bstatic'
 
8423
        ;;
 
8424
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7930
8425
        # Portland Group compilers (*not* the Pentium gcc compiler,
7931
8426
        # which looks to be a dead project)
7932
8427
        lt_prog_compiler_wl='-Wl,'
7938
8433
        # All Alpha code is PIC.
7939
8434
        lt_prog_compiler_static='-non_shared'
7940
8435
        ;;
7941
 
      xl*)
7942
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8436
      xl* | bgxl* | bgf* | mpixl*)
 
8437
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7943
8438
        lt_prog_compiler_wl='-Wl,'
7944
8439
        lt_prog_compiler_pic='-qpic'
7945
8440
        lt_prog_compiler_static='-qstaticlink'
7946
8441
        ;;
7947
8442
      *)
7948
8443
        case `$CC -V 2>&1 | sed 5q` in
 
8444
        *Sun\ F* | *Sun*Fortran*)
 
8445
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8446
          lt_prog_compiler_pic='-KPIC'
 
8447
          lt_prog_compiler_static='-Bstatic'
 
8448
          lt_prog_compiler_wl=''
 
8449
          ;;
7949
8450
        *Sun\ C*)
7950
8451
          # Sun C 5.9
7951
8452
          lt_prog_compiler_pic='-KPIC'
7952
8453
          lt_prog_compiler_static='-Bstatic'
7953
8454
          lt_prog_compiler_wl='-Wl,'
7954
8455
          ;;
7955
 
        *Sun\ F*)
7956
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7957
 
          lt_prog_compiler_pic='-KPIC'
7958
 
          lt_prog_compiler_static='-Bstatic'
7959
 
          lt_prog_compiler_wl=''
7960
 
          ;;
7961
8456
        esac
7962
8457
        ;;
7963
8458
      esac
7988
8483
      lt_prog_compiler_pic='-KPIC'
7989
8484
      lt_prog_compiler_static='-Bstatic'
7990
8485
      case $cc_basename in
7991
 
      f77* | f90* | f95*)
 
8486
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7992
8487
        lt_prog_compiler_wl='-Qoption ld ';;
7993
8488
      *)
7994
8489
        lt_prog_compiler_wl='-Wl,';;
8045
8540
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8046
8541
    ;;
8047
8542
esac
8048
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8049
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8050
 
 
8051
 
 
8052
 
 
8053
 
 
8054
 
 
 
8543
 
 
8544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8545
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8546
if test "${lt_cv_prog_compiler_pic+set}" = set; then :
 
8547
  $as_echo_n "(cached) " >&6
 
8548
else
 
8549
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8550
fi
 
8551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8552
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8553
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8055
8554
 
8056
8555
#
8057
8556
# Check to make sure the PIC flag actually works.
8075
8574
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8076
8575
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8077
8576
   -e 's:$: $lt_compiler_flag:'`
8078
 
   (eval echo "\"\$as_me:8078: $lt_compile\"" >&5)
 
8577
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8079
8578
   (eval "$lt_compile" 2>conftest.err)
8080
8579
   ac_status=$?
8081
8580
   cat conftest.err >&5
8082
 
   echo "$as_me:8082: \$? = $ac_status" >&5
 
8581
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8083
8582
   if (exit $ac_status) && test -s "$ac_outfile"; then
8084
8583
     # The compiler can only warn and ignore the option if not recognized
8085
8584
     # So say no if there are warnings other than the usual output.
8086
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8585
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8087
8586
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8088
8587
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8089
8588
       lt_cv_prog_compiler_pic_works=yes
8112
8611
 
8113
8612
 
8114
8613
 
 
8614
 
 
8615
 
 
8616
 
 
8617
 
 
8618
 
8115
8619
#
8116
8620
# Check to make sure the static flag actually works.
8117
8621
#
8131
8635
     if test -s conftest.err; then
8132
8636
       # Append any errors to the config.log.
8133
8637
       cat conftest.err 1>&5
8134
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8638
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8135
8639
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8136
8640
       if diff conftest.exp conftest.er2 >/dev/null; then
8137
8641
         lt_cv_prog_compiler_static_works=yes
8180
8684
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8181
8685
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8182
8686
   -e 's:$: $lt_compiler_flag:'`
8183
 
   (eval echo "\"\$as_me:8183: $lt_compile\"" >&5)
 
8687
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8184
8688
   (eval "$lt_compile" 2>out/conftest.err)
8185
8689
   ac_status=$?
8186
8690
   cat out/conftest.err >&5
8187
 
   echo "$as_me:8187: \$? = $ac_status" >&5
 
8691
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8188
8692
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8189
8693
   then
8190
8694
     # The compiler can only warn and ignore the option if not recognized
8191
8695
     # So say no if there are warnings
8192
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8696
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8193
8697
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8194
8698
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8195
8699
       lt_cv_prog_compiler_c_o=yes
8235
8739
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8236
8740
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8237
8741
   -e 's:$: $lt_compiler_flag:'`
8238
 
   (eval echo "\"\$as_me:8238: $lt_compile\"" >&5)
 
8742
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8239
8743
   (eval "$lt_compile" 2>out/conftest.err)
8240
8744
   ac_status=$?
8241
8745
   cat out/conftest.err >&5
8242
 
   echo "$as_me:8242: \$? = $ac_status" >&5
 
8746
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243
8747
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8244
8748
   then
8245
8749
     # The compiler can only warn and ignore the option if not recognized
8246
8750
     # So say no if there are warnings
8247
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8751
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8248
8752
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8249
8753
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8250
8754
       lt_cv_prog_compiler_c_o=yes
8357
8861
  esac
8358
8862
 
8359
8863
  ld_shlibs=yes
 
8864
 
 
8865
  # On some targets, GNU ld is compatible enough with the native linker
 
8866
  # that we're better off using the native interface for both.
 
8867
  lt_use_gnu_ld_interface=no
8360
8868
  if test "$with_gnu_ld" = yes; then
 
8869
    case $host_os in
 
8870
      aix*)
 
8871
        # The AIX port of GNU ld has always aspired to compatibility
 
8872
        # with the native linker.  However, as the warning in the GNU ld
 
8873
        # block says, versions before 2.19.5* couldn't really create working
 
8874
        # shared libraries, regardless of the interface used.
 
8875
        case `$LD -v 2>&1` in
 
8876
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8877
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8878
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8879
          *)
 
8880
            lt_use_gnu_ld_interface=yes
 
8881
            ;;
 
8882
        esac
 
8883
        ;;
 
8884
      *)
 
8885
        lt_use_gnu_ld_interface=yes
 
8886
        ;;
 
8887
    esac
 
8888
  fi
 
8889
 
 
8890
  if test "$lt_use_gnu_ld_interface" = yes; then
8361
8891
    # If archive_cmds runs LD, not CC, wlarc should be empty
8362
8892
    wlarc='${wl}'
8363
8893
 
8375
8905
    fi
8376
8906
    supports_anon_versioning=no
8377
8907
    case `$LD -v 2>&1` in
 
8908
      *GNU\ gold*) supports_anon_versioning=yes ;;
8378
8909
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8379
8910
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8380
8911
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8390
8921
        ld_shlibs=no
8391
8922
        cat <<_LT_EOF 1>&2
8392
8923
 
8393
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8924
*** Warning: the GNU linker, at least up to release 2.19, is reported
8394
8925
*** to be unable to reliably create shared libraries on AIX.
8395
8926
*** Therefore, libtool is disabling shared libraries support.  If you
8396
 
*** really care for shared libraries, you may want to modify your PATH
8397
 
*** so that a non-GNU linker is found, and then restart.
 
8927
*** really care for shared libraries, you may want to install binutils
 
8928
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8929
*** You will then need to restart the configuration process.
8398
8930
 
8399
8931
_LT_EOF
8400
8932
      fi
8430
8962
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8431
8963
      # as there is no search path for DLLs.
8432
8964
      hardcode_libdir_flag_spec='-L$libdir'
 
8965
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8433
8966
      allow_undefined_flag=unsupported
8434
8967
      always_export_symbols=no
8435
8968
      enable_shared_with_static_runtimes=yes
8436
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8969
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
8970
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8437
8971
 
8438
8972
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8439
8973
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8451
8985
      fi
8452
8986
      ;;
8453
8987
 
 
8988
    haiku*)
 
8989
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8990
      link_all_deplibs=yes
 
8991
      ;;
 
8992
 
8454
8993
    interix[3-9]*)
8455
8994
      hardcode_direct=no
8456
8995
      hardcode_shlibpath_var=no
8466
9005
      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'
8467
9006
      ;;
8468
9007
 
8469
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9008
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8470
9009
      tmp_diet=no
8471
9010
      if test "$host_os" = linux-dietlibc; then
8472
9011
        case $cc_basename in
8476
9015
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8477
9016
         && test "$tmp_diet" = no
8478
9017
      then
8479
 
        tmp_addflag=
 
9018
        tmp_addflag=' $pic_flag'
8480
9019
        tmp_sharedflag='-shared'
8481
9020
        case $cc_basename,$host_cpu in
8482
9021
        pgcc*)                          # Portland Group C compiler
8483
 
          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'
 
9022
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8484
9023
          tmp_addflag=' $pic_flag'
8485
9024
          ;;
8486
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8487
 
          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'
 
9025
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9026
                                        # Portland Group f77 and f90 compilers
 
9027
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8488
9028
          tmp_addflag=' $pic_flag -Mnomain' ;;
8489
9029
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8490
9030
          tmp_addflag=' -i_dynamic' ;;
8495
9035
        lf95*)                          # Lahey Fortran 8.1
8496
9036
          whole_archive_flag_spec=
8497
9037
          tmp_sharedflag='--shared' ;;
8498
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9038
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8499
9039
          tmp_sharedflag='-qmkshrobj'
8500
9040
          tmp_addflag= ;;
 
9041
        nvcc*)  # Cuda Compiler Driver 2.2
 
9042
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
9043
          compiler_needs_object=yes
 
9044
          ;;
8501
9045
        esac
8502
9046
        case `$CC -V 2>&1 | sed 5q` in
8503
9047
        *Sun\ C*)                       # Sun C 5.9
8504
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
9048
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8505
9049
          compiler_needs_object=yes
8506
9050
          tmp_sharedflag='-G' ;;
8507
9051
        *Sun\ F*)                       # Sun Fortran 8.3
8517
9061
        fi
8518
9062
 
8519
9063
        case $cc_basename in
8520
 
        xlf*)
 
9064
        xlf* | bgf* | bgxlf* | mpixlf*)
8521
9065
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8522
9066
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8523
9067
          hardcode_libdir_flag_spec=
8524
9068
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8525
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9069
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8526
9070
          if test "x$supports_anon_versioning" = xyes; then
8527
9071
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8528
9072
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8529
9073
              echo "local: *; };" >> $output_objdir/$libname.ver~
8530
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9074
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8531
9075
          fi
8532
9076
          ;;
8533
9077
        esac
8541
9085
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8542
9086
        wlarc=
8543
9087
      else
8544
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8545
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9088
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9089
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8546
9090
      fi
8547
9091
      ;;
8548
9092
 
8560
9104
 
8561
9105
_LT_EOF
8562
9106
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8563
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8564
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9107
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9108
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8565
9109
      else
8566
9110
        ld_shlibs=no
8567
9111
      fi
8607
9151
 
8608
9152
    *)
8609
9153
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8610
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8611
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9154
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9155
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8612
9156
      else
8613
9157
        ld_shlibs=no
8614
9158
      fi
8648
9192
      else
8649
9193
        # If we're using GNU nm, then we don't want the "-C" option.
8650
9194
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9195
        # Also, AIX nm treats weak defined symbols like other global
 
9196
        # defined symbols, whereas GNU nm marks them as "W".
8651
9197
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8652
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
9198
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8653
9199
        else
8654
9200
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8655
9201
        fi
8736
9282
        allow_undefined_flag='-berok'
8737
9283
        # Determine the default libpath from the value encoded in an
8738
9284
        # empty executable.
8739
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9285
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9286
  aix_libpath=$lt_cv_aix_libpath
 
9287
else
 
9288
  if test "${lt_cv_aix_libpath_+set}" = set; then :
 
9289
  $as_echo_n "(cached) " >&6
 
9290
else
 
9291
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8740
9292
/* end confdefs.h.  */
8741
9293
 
8742
9294
int
8749
9301
_ACEOF
8750
9302
if ac_fn_c_try_link "$LINENO"; then :
8751
9303
 
8752
 
lt_aix_libpath_sed='
8753
 
    /Import File Strings/,/^$/ {
8754
 
        /^0/ {
8755
 
            s/^0  *\(.*\)$/\1/
8756
 
            p
8757
 
        }
8758
 
    }'
8759
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8760
 
# Check for a 64-bit object if we didn't find anything.
8761
 
if test -z "$aix_libpath"; then
8762
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8763
 
fi
 
9304
  lt_aix_libpath_sed='
 
9305
      /Import File Strings/,/^$/ {
 
9306
          /^0/ {
 
9307
              s/^0  *\([^ ]*\) *$/\1/
 
9308
              p
 
9309
          }
 
9310
      }'
 
9311
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9312
  # Check for a 64-bit object if we didn't find anything.
 
9313
  if test -z "$lt_cv_aix_libpath_"; then
 
9314
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9315
  fi
8764
9316
fi
8765
9317
rm -f core conftest.err conftest.$ac_objext \
8766
9318
    conftest$ac_exeext conftest.$ac_ext
8767
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9319
  if test -z "$lt_cv_aix_libpath_"; then
 
9320
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9321
  fi
 
9322
 
 
9323
fi
 
9324
 
 
9325
  aix_libpath=$lt_cv_aix_libpath_
 
9326
fi
8768
9327
 
8769
9328
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8770
 
        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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
9329
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8771
9330
      else
8772
9331
        if test "$host_cpu" = ia64; then
8773
9332
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8776
9335
        else
8777
9336
         # Determine the default libpath from the value encoded in an
8778
9337
         # empty executable.
8779
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9338
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9339
  aix_libpath=$lt_cv_aix_libpath
 
9340
else
 
9341
  if test "${lt_cv_aix_libpath_+set}" = set; then :
 
9342
  $as_echo_n "(cached) " >&6
 
9343
else
 
9344
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8780
9345
/* end confdefs.h.  */
8781
9346
 
8782
9347
int
8789
9354
_ACEOF
8790
9355
if ac_fn_c_try_link "$LINENO"; then :
8791
9356
 
8792
 
lt_aix_libpath_sed='
8793
 
    /Import File Strings/,/^$/ {
8794
 
        /^0/ {
8795
 
            s/^0  *\(.*\)$/\1/
8796
 
            p
8797
 
        }
8798
 
    }'
8799
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8800
 
# Check for a 64-bit object if we didn't find anything.
8801
 
if test -z "$aix_libpath"; then
8802
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8803
 
fi
 
9357
  lt_aix_libpath_sed='
 
9358
      /Import File Strings/,/^$/ {
 
9359
          /^0/ {
 
9360
              s/^0  *\([^ ]*\) *$/\1/
 
9361
              p
 
9362
          }
 
9363
      }'
 
9364
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9365
  # Check for a 64-bit object if we didn't find anything.
 
9366
  if test -z "$lt_cv_aix_libpath_"; then
 
9367
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9368
  fi
8804
9369
fi
8805
9370
rm -f core conftest.err conftest.$ac_objext \
8806
9371
    conftest$ac_exeext conftest.$ac_ext
8807
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9372
  if test -z "$lt_cv_aix_libpath_"; then
 
9373
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9374
  fi
 
9375
 
 
9376
fi
 
9377
 
 
9378
  aix_libpath=$lt_cv_aix_libpath_
 
9379
fi
8808
9380
 
8809
9381
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8810
9382
          # Warning - without using the other run time loading flags,
8811
9383
          # -berok will link without error, but may produce a broken library.
8812
9384
          no_undefined_flag=' ${wl}-bernotok'
8813
9385
          allow_undefined_flag=' ${wl}-berok'
8814
 
          # Exported symbols can be pulled into shared objects from archives
8815
 
          whole_archive_flag_spec='$convenience'
 
9386
          if test "$with_gnu_ld" = yes; then
 
9387
            # We only use this code for GNU lds that support --whole-archive.
 
9388
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9389
          else
 
9390
            # Exported symbols can be pulled into shared objects from archives
 
9391
            whole_archive_flag_spec='$convenience'
 
9392
          fi
8816
9393
          archive_cmds_need_lc=yes
8817
9394
          # This is similar to how AIX traditionally builds its shared libraries.
8818
9395
          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'
8844
9421
      # Microsoft Visual C++.
8845
9422
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8846
9423
      # no search path for DLLs.
8847
 
      hardcode_libdir_flag_spec=' '
8848
 
      allow_undefined_flag=unsupported
8849
 
      # Tell ltmain to make .lib files, not .a files.
8850
 
      libext=lib
8851
 
      # Tell ltmain to make .dll files, not .so files.
8852
 
      shrext_cmds=".dll"
8853
 
      # FIXME: Setting linknames here is a bad hack.
8854
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8855
 
      # The linker will automatically build a .lib file if we build a DLL.
8856
 
      old_archive_from_new_cmds='true'
8857
 
      # FIXME: Should let the user specify the lib program.
8858
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8859
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8860
 
      enable_shared_with_static_runtimes=yes
 
9424
      case $cc_basename in
 
9425
      cl*)
 
9426
        # Native MSVC
 
9427
        hardcode_libdir_flag_spec=' '
 
9428
        allow_undefined_flag=unsupported
 
9429
        always_export_symbols=yes
 
9430
        file_list_spec='@'
 
9431
        # Tell ltmain to make .lib files, not .a files.
 
9432
        libext=lib
 
9433
        # Tell ltmain to make .dll files, not .so files.
 
9434
        shrext_cmds=".dll"
 
9435
        # FIXME: Setting linknames here is a bad hack.
 
9436
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9437
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9438
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9439
          else
 
9440
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9441
          fi~
 
9442
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9443
          linknames='
 
9444
        # The linker will not automatically build a static lib if we build a DLL.
 
9445
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9446
        enable_shared_with_static_runtimes=yes
 
9447
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9448
        # Don't use ranlib
 
9449
        old_postinstall_cmds='chmod 644 $oldlib'
 
9450
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9451
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9452
          case $lt_outputfile in
 
9453
            *.exe|*.EXE) ;;
 
9454
            *)
 
9455
              lt_outputfile="$lt_outputfile.exe"
 
9456
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9457
              ;;
 
9458
          esac~
 
9459
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9460
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9461
            $RM "$lt_outputfile.manifest";
 
9462
          fi'
 
9463
        ;;
 
9464
      *)
 
9465
        # Assume MSVC wrapper
 
9466
        hardcode_libdir_flag_spec=' '
 
9467
        allow_undefined_flag=unsupported
 
9468
        # Tell ltmain to make .lib files, not .a files.
 
9469
        libext=lib
 
9470
        # Tell ltmain to make .dll files, not .so files.
 
9471
        shrext_cmds=".dll"
 
9472
        # FIXME: Setting linknames here is a bad hack.
 
9473
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9474
        # The linker will automatically build a .lib file if we build a DLL.
 
9475
        old_archive_from_new_cmds='true'
 
9476
        # FIXME: Should let the user specify the lib program.
 
9477
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9478
        enable_shared_with_static_runtimes=yes
 
9479
        ;;
 
9480
      esac
8861
9481
      ;;
8862
9482
 
8863
9483
    darwin* | rhapsody*)
8867
9487
  hardcode_direct=no
8868
9488
  hardcode_automatic=yes
8869
9489
  hardcode_shlibpath_var=unsupported
8870
 
  whole_archive_flag_spec=''
 
9490
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9491
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
9492
  else
 
9493
    whole_archive_flag_spec=''
 
9494
  fi
8871
9495
  link_all_deplibs=yes
8872
9496
  allow_undefined_flag="$_lt_dar_allow_undefined"
8873
9497
  case $cc_basename in
8875
9499
     *) _lt_dar_can_shared=$GCC ;;
8876
9500
  esac
8877
9501
  if test "$_lt_dar_can_shared" = "yes"; then
8878
 
    output_verbose_link_cmd=echo
 
9502
    output_verbose_link_cmd=func_echo_all
8879
9503
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8880
9504
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8881
9505
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8918
9542
 
8919
9543
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8920
9544
    freebsd* | dragonfly*)
8921
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9545
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8922
9546
      hardcode_libdir_flag_spec='-R$libdir'
8923
9547
      hardcode_direct=yes
8924
9548
      hardcode_shlibpath_var=no
8926
9550
 
8927
9551
    hpux9*)
8928
9552
      if test "$GCC" = yes; then
8929
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
9553
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8930
9554
      else
8931
9555
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8932
9556
      fi
8941
9565
      ;;
8942
9566
 
8943
9567
    hpux10*)
8944
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8945
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9568
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9569
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8946
9570
      else
8947
9571
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8948
9572
      fi
8960
9584
      ;;
8961
9585
 
8962
9586
    hpux11*)
8963
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9587
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8964
9588
        case $host_cpu in
8965
9589
        hppa*64*)
8966
9590
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8967
9591
          ;;
8968
9592
        ia64*)
8969
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9593
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8970
9594
          ;;
8971
9595
        *)
8972
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9596
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8973
9597
          ;;
8974
9598
        esac
8975
9599
      else
8981
9605
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8982
9606
          ;;
8983
9607
        *)
8984
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9608
 
 
9609
          # Older versions of the 11.00 compiler do not understand -b yet
 
9610
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9611
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9612
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9613
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
9614
  $as_echo_n "(cached) " >&6
 
9615
else
 
9616
  lt_cv_prog_compiler__b=no
 
9617
   save_LDFLAGS="$LDFLAGS"
 
9618
   LDFLAGS="$LDFLAGS -b"
 
9619
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9620
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9621
     # The linker can only warn and ignore the option if not recognized
 
9622
     # So say no if there are warnings
 
9623
     if test -s conftest.err; then
 
9624
       # Append any errors to the config.log.
 
9625
       cat conftest.err 1>&5
 
9626
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9627
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9628
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9629
         lt_cv_prog_compiler__b=yes
 
9630
       fi
 
9631
     else
 
9632
       lt_cv_prog_compiler__b=yes
 
9633
     fi
 
9634
   fi
 
9635
   $RM -r conftest*
 
9636
   LDFLAGS="$save_LDFLAGS"
 
9637
 
 
9638
fi
 
9639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9640
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9641
 
 
9642
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9643
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9644
else
 
9645
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9646
fi
 
9647
 
8985
9648
          ;;
8986
9649
        esac
8987
9650
      fi
9009
9672
 
9010
9673
    irix5* | irix6* | nonstopux*)
9011
9674
      if test "$GCC" = yes; then
9012
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9675
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9013
9676
        # Try to use the -exported_symbol ld option, if it does not
9014
9677
        # work, assume that -exports_file does not work either and
9015
9678
        # implicitly export all symbols.
9016
 
        save_LDFLAGS="$LDFLAGS"
9017
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9018
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9679
        # This should be the same for all languages, so no per-tag cache variable.
 
9680
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9681
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9682
if test "${lt_cv_irix_exported_symbol+set}" = set; then :
 
9683
  $as_echo_n "(cached) " >&6
 
9684
else
 
9685
  save_LDFLAGS="$LDFLAGS"
 
9686
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9687
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9019
9688
/* end confdefs.h.  */
9020
 
int foo(void) {}
 
9689
int foo (void) { return 0; }
9021
9690
_ACEOF
9022
9691
if ac_fn_c_try_link "$LINENO"; then :
9023
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9024
 
 
 
9692
  lt_cv_irix_exported_symbol=yes
 
9693
else
 
9694
  lt_cv_irix_exported_symbol=no
9025
9695
fi
9026
9696
rm -f core conftest.err conftest.$ac_objext \
9027
9697
    conftest$ac_exeext conftest.$ac_ext
9028
 
        LDFLAGS="$save_LDFLAGS"
 
9698
           LDFLAGS="$save_LDFLAGS"
 
9699
fi
 
9700
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9701
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9702
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9703
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
9704
        fi
9029
9705
      else
9030
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9031
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
9706
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
9707
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9032
9708
      fi
9033
9709
      archive_cmds_need_lc='no'
9034
9710
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9090
9766
      hardcode_libdir_flag_spec='-L$libdir'
9091
9767
      hardcode_minus_L=yes
9092
9768
      allow_undefined_flag=unsupported
9093
 
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
9769
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9094
9770
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9095
9771
      ;;
9096
9772
 
9097
9773
    osf3*)
9098
9774
      if test "$GCC" = yes; then
9099
9775
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9100
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9776
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9101
9777
      else
9102
9778
        allow_undefined_flag=' -expect_unresolved \*'
9103
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9779
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9104
9780
      fi
9105
9781
      archive_cmds_need_lc='no'
9106
9782
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9110
9786
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9111
9787
      if test "$GCC" = yes; then
9112
9788
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9113
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9789
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9114
9790
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9115
9791
      else
9116
9792
        allow_undefined_flag=' -expect_unresolved \*'
9117
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9793
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9118
9794
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9119
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
9795
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9120
9796
 
9121
9797
        # Both c and cxx compiler support -rpath directly
9122
9798
        hardcode_libdir_flag_spec='-rpath $libdir'
9129
9805
      no_undefined_flag=' -z defs'
9130
9806
      if test "$GCC" = yes; then
9131
9807
        wlarc='${wl}'
9132
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9808
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9133
9809
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9134
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9810
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9135
9811
      else
9136
9812
        case `$CC -V 2>&1` in
9137
9813
        *"Compilers 5.0"*)
9319
9995
      # to ld, don't add -lc before -lgcc.
9320
9996
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9321
9997
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9322
 
      $RM conftest*
9323
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9998
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
 
9999
  $as_echo_n "(cached) " >&6
 
10000
else
 
10001
  $RM conftest*
 
10002
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9324
10003
 
9325
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10004
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9326
10005
  (eval $ac_compile) 2>&5
9327
10006
  ac_status=$?
9328
10007
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9329
10008
  test $ac_status = 0; } 2>conftest.err; then
9330
 
        soname=conftest
9331
 
        lib=conftest
9332
 
        libobjs=conftest.$ac_objext
9333
 
        deplibs=
9334
 
        wl=$lt_prog_compiler_wl
9335
 
        pic_flag=$lt_prog_compiler_pic
9336
 
        compiler_flags=-v
9337
 
        linker_flags=-v
9338
 
        verstring=
9339
 
        output_objdir=.
9340
 
        libname=conftest
9341
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9342
 
        allow_undefined_flag=
9343
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10009
          soname=conftest
 
10010
          lib=conftest
 
10011
          libobjs=conftest.$ac_objext
 
10012
          deplibs=
 
10013
          wl=$lt_prog_compiler_wl
 
10014
          pic_flag=$lt_prog_compiler_pic
 
10015
          compiler_flags=-v
 
10016
          linker_flags=-v
 
10017
          verstring=
 
10018
          output_objdir=.
 
10019
          libname=conftest
 
10020
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10021
          allow_undefined_flag=
 
10022
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9344
10023
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9345
10024
  ac_status=$?
9346
10025
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9347
10026
  test $ac_status = 0; }
9348
 
        then
9349
 
          archive_cmds_need_lc=no
9350
 
        else
9351
 
          archive_cmds_need_lc=yes
9352
 
        fi
9353
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9354
 
      else
9355
 
        cat conftest.err 1>&5
9356
 
      fi
9357
 
      $RM conftest*
9358
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9359
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
10027
          then
 
10028
            lt_cv_archive_cmds_need_lc=no
 
10029
          else
 
10030
            lt_cv_archive_cmds_need_lc=yes
 
10031
          fi
 
10032
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10033
        else
 
10034
          cat conftest.err 1>&5
 
10035
        fi
 
10036
        $RM conftest*
 
10037
 
 
10038
fi
 
10039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10040
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10041
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9360
10042
      ;;
9361
10043
    esac
9362
10044
  fi
9527
10209
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9528
10210
    *) lt_awk_arg="/^libraries:/" ;;
9529
10211
  esac
9530
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9531
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10212
  case $host_os in
 
10213
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10214
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10215
  esac
 
10216
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10217
  case $lt_search_path_spec in
 
10218
  *\;*)
9532
10219
    # if the path contains ";" then we assume it to be the separator
9533
10220
    # otherwise default to the standard path separator (i.e. ":") - it is
9534
10221
    # assumed that no part of a normal pathname contains ";" but that should
9535
10222
    # okay in the real world where ";" in dirpaths is itself problematic.
9536
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9537
 
  else
9538
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9539
 
  fi
 
10223
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10224
    ;;
 
10225
  *)
 
10226
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10227
    ;;
 
10228
  esac
9540
10229
  # Ok, now we have the path, separated by spaces, we can step through it
9541
10230
  # and add multilib dir if necessary.
9542
10231
  lt_tmp_lt_search_path_spec=
9549
10238
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9550
10239
    fi
9551
10240
  done
9552
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10241
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9553
10242
BEGIN {RS=" "; FS="/|\n";} {
9554
10243
  lt_foo="";
9555
10244
  lt_count=0;
9569
10258
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9570
10259
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9571
10260
}'`
9572
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10261
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10262
  # for these hosts.
 
10263
  case $host_os in
 
10264
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10265
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10266
  esac
 
10267
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9573
10268
else
9574
10269
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9575
10270
fi
9657
10352
  m68k)
9658
10353
    library_names_spec='$libname.ixlibrary $libname.a'
9659
10354
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9660
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
10355
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9661
10356
    ;;
9662
10357
  esac
9663
10358
  ;;
9688
10383
  need_version=no
9689
10384
  need_lib_prefix=no
9690
10385
 
9691
 
  case $GCC,$host_os in
9692
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10386
  case $GCC,$cc_basename in
 
10387
  yes,*)
 
10388
    # gcc
9693
10389
    library_names_spec='$libname.dll.a'
9694
10390
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9695
10391
    postinstall_cmds='base_file=`basename \${file}`~
9710
10406
    cygwin*)
9711
10407
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9712
10408
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9713
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10409
 
 
10410
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9714
10411
      ;;
9715
10412
    mingw* | cegcc*)
9716
10413
      # MinGW DLLs use traditional 'lib' prefix
9717
10414
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9718
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9719
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9720
 
        # It is most probably a Windows format PATH printed by
9721
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9722
 
        # path with ; separators, and with drive letters. We can handle the
9723
 
        # drive letters (cygwin fileutils understands them), so leave them,
9724
 
        # especially as we might pass files found there to a mingw objdump,
9725
 
        # which wouldn't understand a cygwinified path. Ahh.
9726
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9727
 
      else
9728
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9729
 
      fi
9730
10415
      ;;
9731
10416
    pw32*)
9732
10417
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9733
10418
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9734
10419
      ;;
9735
10420
    esac
 
10421
    dynamic_linker='Win32 ld.exe'
 
10422
    ;;
 
10423
 
 
10424
  *,cl*)
 
10425
    # Native MSVC
 
10426
    libname_spec='$name'
 
10427
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10428
    library_names_spec='${libname}.dll.lib'
 
10429
 
 
10430
    case $build_os in
 
10431
    mingw*)
 
10432
      sys_lib_search_path_spec=
 
10433
      lt_save_ifs=$IFS
 
10434
      IFS=';'
 
10435
      for lt_path in $LIB
 
10436
      do
 
10437
        IFS=$lt_save_ifs
 
10438
        # Let DOS variable expansion print the short 8.3 style file name.
 
10439
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10440
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10441
      done
 
10442
      IFS=$lt_save_ifs
 
10443
      # Convert to MSYS style.
 
10444
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10445
      ;;
 
10446
    cygwin*)
 
10447
      # Convert to unix form, then to dos form, then back to unix form
 
10448
      # but this time dos style (no spaces!) so that the unix form looks
 
10449
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10450
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10451
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10452
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10453
      ;;
 
10454
    *)
 
10455
      sys_lib_search_path_spec="$LIB"
 
10456
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10457
        # It is most probably a Windows format PATH.
 
10458
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10459
      else
 
10460
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10461
      fi
 
10462
      # FIXME: find the short name or the path components, as spaces are
 
10463
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10464
      ;;
 
10465
    esac
 
10466
 
 
10467
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10468
    postinstall_cmds='base_file=`basename \${file}`~
 
10469
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10470
      dldir=$destdir/`dirname \$dlpath`~
 
10471
      test -d \$dldir || mkdir -p \$dldir~
 
10472
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10473
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10474
      dlpath=$dir/\$dldll~
 
10475
       $RM \$dlpath'
 
10476
    shlibpath_overrides_runpath=yes
 
10477
    dynamic_linker='Win32 link.exe'
9736
10478
    ;;
9737
10479
 
9738
10480
  *)
 
10481
    # Assume MSVC wrapper
9739
10482
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10483
    dynamic_linker='Win32 ld.exe'
9740
10484
    ;;
9741
10485
  esac
9742
 
  dynamic_linker='Win32 ld.exe'
9743
10486
  # FIXME: first we should search . and the directory the executable is in
9744
10487
  shlibpath_var=PATH
9745
10488
  ;;
9826
10569
  hardcode_into_libs=yes
9827
10570
  ;;
9828
10571
 
 
10572
haiku*)
 
10573
  version_type=linux
 
10574
  need_lib_prefix=no
 
10575
  need_version=no
 
10576
  dynamic_linker="$host_os runtime_loader"
 
10577
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10578
  soname_spec='${libname}${release}${shared_ext}$major'
 
10579
  shlibpath_var=LIBRARY_PATH
 
10580
  shlibpath_overrides_runpath=yes
 
10581
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
10582
  hardcode_into_libs=yes
 
10583
  ;;
 
10584
 
9829
10585
hpux9* | hpux10* | hpux11*)
9830
10586
  # Give a soname corresponding to the major version so that dld.sl refuses to
9831
10587
  # link against other versions.
9868
10624
    soname_spec='${libname}${release}${shared_ext}$major'
9869
10625
    ;;
9870
10626
  esac
9871
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10627
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9872
10628
  postinstall_cmds='chmod 555 $lib'
 
10629
  # or fails outright, so override atomically:
 
10630
  install_override_mode=555
9873
10631
  ;;
9874
10632
 
9875
10633
interix[3-9]*)
9927
10685
  ;;
9928
10686
 
9929
10687
# This must be Linux ELF.
9930
 
linux* | k*bsd*-gnu)
 
10688
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9931
10689
  version_type=linux
9932
10690
  need_lib_prefix=no
9933
10691
  need_version=no
9936
10694
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9937
10695
  shlibpath_var=LD_LIBRARY_PATH
9938
10696
  shlibpath_overrides_runpath=no
 
10697
 
9939
10698
  # Some binutils ld are patched to set DT_RUNPATH
9940
 
  save_LDFLAGS=$LDFLAGS
9941
 
  save_libdir=$libdir
9942
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9943
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9944
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10699
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
10700
  $as_echo_n "(cached) " >&6
 
10701
else
 
10702
  lt_cv_shlibpath_overrides_runpath=no
 
10703
    save_LDFLAGS=$LDFLAGS
 
10704
    save_libdir=$libdir
 
10705
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10706
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10707
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9945
10708
/* end confdefs.h.  */
9946
10709
 
9947
10710
int
9954
10717
_ACEOF
9955
10718
if ac_fn_c_try_link "$LINENO"; then :
9956
10719
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9957
 
  shlibpath_overrides_runpath=yes
 
10720
  lt_cv_shlibpath_overrides_runpath=yes
9958
10721
fi
9959
10722
fi
9960
10723
rm -f core conftest.err conftest.$ac_objext \
9961
10724
    conftest$ac_exeext conftest.$ac_ext
9962
 
  LDFLAGS=$save_LDFLAGS
9963
 
  libdir=$save_libdir
 
10725
    LDFLAGS=$save_LDFLAGS
 
10726
    libdir=$save_libdir
 
10727
 
 
10728
fi
 
10729
 
 
10730
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9964
10731
 
9965
10732
  # This implies no fast_install, which is unacceptable.
9966
10733
  # Some rework will be needed to allow for fast_install
9969
10736
 
9970
10737
  # Append ld.so.conf contents to the search path
9971
10738
  if test -f /etc/ld.so.conf; then
9972
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
10739
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
9973
10740
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9974
10741
  fi
9975
10742
 
10272
11039
 
10273
11040
 
10274
11041
 
 
11042
 
 
11043
 
 
11044
 
 
11045
 
 
11046
 
10275
11047
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10276
11048
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10277
11049
hardcode_action=
10602
11374
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10603
11375
  lt_status=$lt_dlunknown
10604
11376
  cat > conftest.$ac_ext <<_LT_EOF
10605
 
#line 10605 "configure"
 
11377
#line $LINENO "configure"
10606
11378
#include "confdefs.h"
10607
11379
 
10608
11380
#if HAVE_DLFCN_H
10643
11415
#  endif
10644
11416
#endif
10645
11417
 
10646
 
void fnord() { int i=42;}
 
11418
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11419
   correspondingly for the symbols needed.  */
 
11420
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11421
int fnord () __attribute__((visibility("default")));
 
11422
#endif
 
11423
 
 
11424
int fnord () { return 42; }
10647
11425
int main ()
10648
11426
{
10649
11427
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10652
11430
  if (self)
10653
11431
    {
10654
11432
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10655
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11433
      else
 
11434
        {
 
11435
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11436
          else puts (dlerror ());
 
11437
        }
10656
11438
      /* dlclose (self); */
10657
11439
    }
10658
11440
  else
10698
11480
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10699
11481
  lt_status=$lt_dlunknown
10700
11482
  cat > conftest.$ac_ext <<_LT_EOF
10701
 
#line 10701 "configure"
 
11483
#line $LINENO "configure"
10702
11484
#include "confdefs.h"
10703
11485
 
10704
11486
#if HAVE_DLFCN_H
10739
11521
#  endif
10740
11522
#endif
10741
11523
 
10742
 
void fnord() { int i=42;}
 
11524
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11525
   correspondingly for the symbols needed.  */
 
11526
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11527
int fnord () __attribute__((visibility("default")));
 
11528
#endif
 
11529
 
 
11530
int fnord () { return 42; }
10743
11531
int main ()
10744
11532
{
10745
11533
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10748
11536
  if (self)
10749
11537
    {
10750
11538
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10751
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11539
      else
 
11540
        {
 
11541
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11542
          else puts (dlerror ());
 
11543
        }
10752
11544
      /* dlclose (self); */
10753
11545
    }
10754
11546
  else
11196
11988
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
11197
11989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
11198
11990
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
11199
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
 
11991
if eval "test \"\${$as_ac_Header+set}\"" = set; then :
11200
11992
  $as_echo_n "(cached) " >&6
11201
11993
else
11202
11994
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223
12015
eval ac_res=\$$as_ac_Header
11224
12016
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11225
12017
$as_echo "$ac_res" >&6; }
11226
 
eval as_val=\$$as_ac_Header
11227
 
   if test "x$as_val" = x""yes; then :
 
12018
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11228
12019
  cat >>confdefs.h <<_ACEOF
11229
12020
#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
11230
12021
_ACEOF
11509
12300
do :
11510
12301
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11511
12302
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11512
 
eval as_val=\$$as_ac_Header
11513
 
   if test "x$as_val" = x""yes; then :
 
12303
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11514
12304
  cat >>confdefs.h <<_ACEOF
11515
12305
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11516
12306
_ACEOF
11523
12313
do :
11524
12314
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11525
12315
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11526
 
eval as_val=\$$as_ac_var
11527
 
   if test "x$as_val" = x""yes; then :
 
12316
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11528
12317
  cat >>confdefs.h <<_ACEOF
11529
12318
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11530
12319
_ACEOF
11536
12325
do :
11537
12326
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11538
12327
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11539
 
eval as_val=\$$as_ac_var
11540
 
   if test "x$as_val" = x""yes; then :
 
12328
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11541
12329
  cat >>confdefs.h <<_ACEOF
11542
12330
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11543
12331
_ACEOF
11715
12503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
11716
12504
$as_echo "$kb_cv_c_prototypes" >&6; }
11717
12505
if test "x$kb_cv_c_prototypes" = xno; then
11718
 
  as_fn_error "Sorry, your compiler does not understand prototypes." "$LINENO" 5
 
12506
  as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
11719
12507
fi
11720
12508
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether program_invocation_name is predefined" >&5
11721
12509
$as_echo_n "checking whether program_invocation_name is predefined... " >&6; }
11955
12743
#define HAVE_DECL_STRSTR $ac_have_decl
11956
12744
_ACEOF
11957
12745
 
11958
 
for ac_func in putenv strcasecmp strtol strstr
11959
 
do :
11960
 
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11961
 
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11962
 
eval as_val=\$$as_ac_var
11963
 
   if test "x$as_val" = x""yes; then :
11964
 
  cat >>confdefs.h <<_ACEOF
11965
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11966
 
_ACEOF
11967
 
 
11968
 
else
11969
 
  case " $LIBOBJS " in
11970
 
  *" $ac_func.$ac_objext "* ) ;;
11971
 
  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
11972
 
 ;;
11973
 
esac
11974
 
 
11975
 
fi
11976
 
done
 
12746
ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
 
12747
if test "x$ac_cv_func_putenv" = x""yes; then :
 
12748
  $as_echo "#define HAVE_PUTENV 1" >>confdefs.h
 
12749
 
 
12750
else
 
12751
  case " $LIBOBJS " in
 
12752
  *" putenv.$ac_objext "* ) ;;
 
12753
  *) LIBOBJS="$LIBOBJS putenv.$ac_objext"
 
12754
 ;;
 
12755
esac
 
12756
 
 
12757
fi
 
12758
 
 
12759
ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
 
12760
if test "x$ac_cv_func_strcasecmp" = x""yes; then :
 
12761
  $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h
 
12762
 
 
12763
else
 
12764
  case " $LIBOBJS " in
 
12765
  *" strcasecmp.$ac_objext "* ) ;;
 
12766
  *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
 
12767
 ;;
 
12768
esac
 
12769
 
 
12770
fi
 
12771
 
 
12772
ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
 
12773
if test "x$ac_cv_func_strtol" = x""yes; then :
 
12774
  $as_echo "#define HAVE_STRTOL 1" >>confdefs.h
 
12775
 
 
12776
else
 
12777
  case " $LIBOBJS " in
 
12778
  *" strtol.$ac_objext "* ) ;;
 
12779
  *) LIBOBJS="$LIBOBJS strtol.$ac_objext"
 
12780
 ;;
 
12781
esac
 
12782
 
 
12783
fi
 
12784
 
 
12785
ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
 
12786
if test "x$ac_cv_func_strstr" = x""yes; then :
 
12787
  $as_echo "#define HAVE_STRSTR 1" >>confdefs.h
 
12788
 
 
12789
else
 
12790
  case " $LIBOBJS " in
 
12791
  *" strstr.$ac_objext "* ) ;;
 
12792
  *) LIBOBJS="$LIBOBJS strstr.$ac_objext"
 
12793
 ;;
 
12794
esac
 
12795
 
 
12796
fi
11977
12797
 
11978
12798
 
11979
12799
 
12083
12903
fi
12084
12904
 
12085
12905
 
 
12906
LT_OBJDIR="$lt_cv_objdir"
 
12907
 
 
12908
 
12086
12909
ac_config_headers="$ac_config_headers c-auto.h:c-auto.in"
12087
12910
 
12088
12911
 
12175
12998
 
12176
12999
ac_libobjs=
12177
13000
ac_ltlibobjs=
 
13001
U=
12178
13002
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12179
13003
  # 1. Remove the extension, and $U if already installed.
12180
13004
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12198
13022
fi
12199
13023
 
12200
13024
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12201
 
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
13025
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12202
13026
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12203
13027
fi
12204
13028
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12205
 
  as_fn_error "conditional \"AMDEP\" was never defined.
 
13029
  as_fn_error $? "conditional \"AMDEP\" was never defined.
12206
13030
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12207
13031
fi
12208
13032
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12209
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
13033
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12210
13034
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12211
13035
fi
12212
13036
if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
12213
 
  as_fn_error "conditional \"WIN32\" was never defined.
 
13037
  as_fn_error $? "conditional \"WIN32\" was never defined.
12214
13038
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12215
13039
fi
12216
13040
if test -z "${MINGW32_TRUE}" && test -z "${MINGW32_FALSE}"; then
12217
 
  as_fn_error "conditional \"MINGW32\" was never defined.
 
13041
  as_fn_error $? "conditional \"MINGW32\" was never defined.
12218
13042
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12219
13043
fi
12220
13044
 
12364
13188
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12365
13189
 
12366
13190
 
12367
 
# as_fn_error ERROR [LINENO LOG_FD]
12368
 
# ---------------------------------
 
13191
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
13192
# ----------------------------------------
12369
13193
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12370
13194
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12371
 
# script with status $?, using 1 if that was 0.
 
13195
# script with STATUS, using 1 if that was 0.
12372
13196
as_fn_error ()
12373
13197
{
12374
 
  as_status=$?; test $as_status -eq 0 && as_status=1
12375
 
  if test "$3"; then
12376
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12377
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
13198
  as_status=$1; test $as_status -eq 0 && as_status=1
 
13199
  if test "$4"; then
 
13200
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
13201
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12378
13202
  fi
12379
 
  $as_echo "$as_me: error: $1" >&2
 
13203
  $as_echo "$as_me: error: $2" >&2
12380
13204
  as_fn_exit $as_status
12381
13205
} # as_fn_error
12382
13206
 
12572
13396
      test -d "$as_dir" && break
12573
13397
    done
12574
13398
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12575
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
13399
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12576
13400
 
12577
13401
 
12578
13402
} # as_fn_mkdir_p
12625
13449
# report actual input values of CONFIG_FILES etc. instead of their
12626
13450
# values after options handling.
12627
13451
ac_log="
12628
 
This file was extended by Kpathsea $as_me 6.0.0dev, which was
12629
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
13452
This file was extended by Kpathsea $as_me 6.0.0, which was
 
13453
generated by GNU Autoconf 2.67.  Invocation command line was
12630
13454
 
12631
13455
  CONFIG_FILES    = $CONFIG_FILES
12632
13456
  CONFIG_HEADERS  = $CONFIG_HEADERS
12650
13474
 
12651
13475
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12652
13476
# Files that config.status was made for.
12653
 
config_files="`echo $ac_config_files`"
12654
 
config_headers="`echo $ac_config_headers`"
12655
 
config_commands="`echo $ac_config_commands`"
 
13477
config_files="$ac_config_files"
 
13478
config_headers="$ac_config_headers"
 
13479
config_commands="$ac_config_commands"
12656
13480
 
12657
13481
_ACEOF
12658
13482
 
12691
13515
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12692
13516
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12693
13517
ac_cs_version="\\
12694
 
Kpathsea config.status 6.0.0dev
12695
 
configured by $0, generated by GNU Autoconf 2.65,
 
13518
Kpathsea config.status 6.0.0
 
13519
configured by $0, generated by GNU Autoconf 2.67,
12696
13520
  with options \\"\$ac_cs_config\\"
12697
13521
 
12698
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
13522
Copyright (C) 2010 Free Software Foundation, Inc.
12699
13523
This config.status script is free software; the Free Software Foundation
12700
13524
gives unlimited permission to copy, distribute and modify it."
12701
13525
 
12713
13537
while test $# != 0
12714
13538
do
12715
13539
  case $1 in
12716
 
  --*=*)
 
13540
  --*=?*)
12717
13541
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12718
13542
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12719
13543
    ac_shift=:
12720
13544
    ;;
 
13545
  --*=)
 
13546
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
13547
    ac_optarg=
 
13548
    ac_shift=:
 
13549
    ;;
12721
13550
  *)
12722
13551
    ac_option=$1
12723
13552
    ac_optarg=$2
12739
13568
    $ac_shift
12740
13569
    case $ac_optarg in
12741
13570
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
13571
    '') as_fn_error $? "missing file argument" ;;
12742
13572
    esac
12743
13573
    as_fn_append CONFIG_FILES " '$ac_optarg'"
12744
13574
    ac_need_defaults=false;;
12751
13581
    ac_need_defaults=false;;
12752
13582
  --he | --h)
12753
13583
    # Conflict between --help and --header
12754
 
    as_fn_error "ambiguous option: \`$1'
 
13584
    as_fn_error $? "ambiguous option: \`$1'
12755
13585
Try \`$0 --help' for more information.";;
12756
13586
  --help | --hel | -h )
12757
13587
    $as_echo "$ac_cs_usage"; exit ;;
12760
13590
    ac_cs_silent=: ;;
12761
13591
 
12762
13592
  # This is an error.
12763
 
  -*) as_fn_error "unrecognized option: \`$1'
 
13593
  -*) as_fn_error $? "unrecognized option: \`$1'
12764
13594
Try \`$0 --help' for more information." ;;
12765
13595
 
12766
13596
  *) as_fn_append ac_config_targets " $1"
12814
13644
sed_quote_subst='$sed_quote_subst'
12815
13645
double_quote_subst='$double_quote_subst'
12816
13646
delay_variable_subst='$delay_variable_subst'
12817
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12818
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12819
 
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
12820
 
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12821
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12822
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12823
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12824
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12825
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12826
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12827
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12828
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12829
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12830
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12831
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12832
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12833
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12834
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12835
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12836
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12837
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12838
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12839
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12840
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12841
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12842
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12843
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12844
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12845
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12846
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12847
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12848
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12849
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12850
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12851
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12852
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12853
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12854
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12855
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12856
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12857
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12858
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12859
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12860
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12861
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12862
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12863
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
12864
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12865
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12866
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12867
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12868
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12869
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12870
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12871
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12872
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12873
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12874
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12875
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12876
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12877
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12878
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12879
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12880
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12881
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12882
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12883
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12884
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12885
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12886
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12887
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12888
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12889
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12890
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12891
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12892
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12893
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12894
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12895
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12896
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12897
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12898
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12899
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12900
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12901
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12902
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12903
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12904
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12905
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12906
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12907
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12908
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12909
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12910
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12911
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12912
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12913
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12914
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12915
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12916
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12917
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12918
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12919
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12920
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12921
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12922
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12923
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12924
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12925
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12926
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12927
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12928
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12929
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12930
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12931
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12932
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12933
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12934
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12935
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12936
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
13647
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
13648
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
13649
AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
 
13650
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
13651
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
13652
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
13653
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
13654
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
13655
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
13656
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
13657
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
13658
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
13659
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
13660
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
13661
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
13662
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
13663
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
13664
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
13665
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
13666
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
13667
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
13668
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
13669
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
13670
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
13671
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
13672
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
13673
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
13674
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
13675
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
13676
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
13677
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
13678
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
13679
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
13680
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
13681
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
13682
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
13683
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
13684
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
13685
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
13686
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
13687
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
13688
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
13689
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
13690
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
13691
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
13692
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13693
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13694
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
13695
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
13696
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
13697
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
13698
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
13699
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
13700
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
13701
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
13702
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
13703
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
13704
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
13705
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
13706
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
13707
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
13708
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
13709
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
13710
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
13711
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
13712
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
13713
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
13714
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
13715
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
13716
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
13717
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
13718
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
13719
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
13720
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
13721
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
13722
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
13723
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
13724
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
13725
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13726
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13727
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
13728
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
13729
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
13730
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
13731
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
13732
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
13733
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
13734
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
13735
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
13736
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
13737
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13738
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
13739
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
13740
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
13741
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
13742
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
13743
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
13744
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
13745
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
13746
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
13747
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
13748
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
13749
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
13750
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
13751
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
13752
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
13753
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
13754
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
13755
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
13756
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
13757
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
13758
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
13759
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
13760
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
13761
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
13762
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
13763
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
13764
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
13765
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13766
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13767
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
13768
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
13769
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
13770
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
13771
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
13772
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
13773
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
13774
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
13775
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
13776
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
13777
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12937
13778
 
12938
13779
LTCC='$LTCC'
12939
13780
LTCFLAGS='$LTCFLAGS'
12940
13781
compiler='$compiler_DEFAULT'
12941
13782
 
 
13783
# A function that is used when there is no print builtin or printf.
 
13784
func_fallback_echo ()
 
13785
{
 
13786
  eval 'cat <<_LTECHO_EOF
 
13787
\$1
 
13788
_LTECHO_EOF'
 
13789
}
 
13790
 
12942
13791
# Quote evaled strings.
12943
 
for var in SED \
 
13792
for var in AS \
 
13793
DLLTOOL \
 
13794
OBJDUMP \
 
13795
SHELL \
 
13796
ECHO \
 
13797
SED \
12944
13798
GREP \
12945
13799
EGREP \
12946
13800
FGREP \
12952
13806
reload_flag \
12953
13807
deplibs_check_method \
12954
13808
file_magic_cmd \
 
13809
file_magic_glob \
 
13810
want_nocaseglob \
 
13811
sharedlib_from_linklib_cmd \
12955
13812
AR \
12956
13813
AR_FLAGS \
 
13814
archiver_list_spec \
12957
13815
STRIP \
12958
13816
RANLIB \
12959
13817
CC \
12963
13821
lt_cv_sys_global_symbol_to_cdecl \
12964
13822
lt_cv_sys_global_symbol_to_c_name_address \
12965
13823
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12966
 
SHELL \
12967
 
ECHO \
 
13824
nm_file_list_spec \
12968
13825
lt_prog_compiler_no_builtin_flag \
 
13826
lt_prog_compiler_pic \
12969
13827
lt_prog_compiler_wl \
12970
 
lt_prog_compiler_pic \
12971
13828
lt_prog_compiler_static \
12972
13829
lt_cv_prog_compiler_c_o \
12973
13830
need_locks \
 
13831
MANIFEST_TOOL \
12974
13832
DSYMUTIL \
12975
13833
NMEDIT \
12976
13834
LIPO \
12986
13844
hardcode_libdir_flag_spec \
12987
13845
hardcode_libdir_flag_spec_ld \
12988
13846
hardcode_libdir_separator \
12989
 
fix_srcfile_path \
12990
13847
exclude_expsyms \
12991
13848
include_expsyms \
12992
13849
file_list_spec \
12994
13851
libname_spec \
12995
13852
library_names_spec \
12996
13853
soname_spec \
 
13854
install_override_mode \
12997
13855
finish_eval \
12998
13856
old_striplib \
12999
13857
striplib; do
13000
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13858
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13001
13859
    *[\\\\\\\`\\"\\\$]*)
13002
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
13860
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13003
13861
      ;;
13004
13862
    *)
13005
13863
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13021
13879
module_expsym_cmds \
13022
13880
export_symbols_cmds \
13023
13881
prelink_cmds \
 
13882
postlink_cmds \
13024
13883
postinstall_cmds \
13025
13884
postuninstall_cmds \
13026
13885
finish_cmds \
13027
13886
sys_lib_search_path_spec \
13028
13887
sys_lib_dlsearch_path_spec; do
13029
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13888
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13030
13889
    *[\\\\\\\`\\"\\\$]*)
13031
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
13890
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13032
13891
      ;;
13033
13892
    *)
13034
13893
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13036
13895
    esac
13037
13896
done
13038
13897
 
13039
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
13040
 
case \$lt_ECHO in
13041
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13042
 
  ;;
13043
 
esac
13044
 
 
13045
13898
ac_aux_dir='$ac_aux_dir'
13046
13899
xsi_shell='$xsi_shell'
13047
13900
lt_shell_append='$lt_shell_append'
13077
13930
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13078
13931
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
13079
13932
 
13080
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
13933
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13081
13934
  esac
13082
13935
done
13083
13936
 
13115
13968
{
13116
13969
  tmp=./conf$$-$RANDOM
13117
13970
  (umask 077 && mkdir "$tmp")
13118
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
13971
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13119
13972
 
13120
13973
# Set up the scripts for CONFIG_FILES section.
13121
13974
# No need to generate them if there are no CONFIG_FILES.
13132
13985
fi
13133
13986
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13134
13987
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13135
 
  ac_cs_awk_cr='\r'
 
13988
  ac_cs_awk_cr='\\r'
13136
13989
else
13137
13990
  ac_cs_awk_cr=$ac_cr
13138
13991
fi
13146
13999
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13147
14000
  echo "_ACEOF"
13148
14001
} >conf$$subs.sh ||
13149
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13150
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
14002
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
14003
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13151
14004
ac_delim='%!_!# '
13152
14005
for ac_last_try in false false false false false :; do
13153
14006
  . ./conf$$subs.sh ||
13154
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
14007
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13155
14008
 
13156
14009
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13157
14010
  if test $ac_delim_n = $ac_delim_num; then
13158
14011
    break
13159
14012
  elif $ac_last_try; then
13160
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
14013
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13161
14014
  else
13162
14015
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13163
14016
  fi
13246
14099
else
13247
14100
  cat
13248
14101
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13249
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
14102
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13250
14103
_ACEOF
13251
14104
 
13252
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
13253
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
14105
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
14106
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13254
14107
# trailing colons and then remove the whole line if VPATH becomes empty
13255
14108
# (actually we leave an empty line to preserve line numbers).
13256
14109
if test "x$srcdir" = x.; then
13257
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
13258
 
s/:*\$(srcdir):*/:/
13259
 
s/:*\${srcdir}:*/:/
13260
 
s/:*@srcdir@:*/:/
13261
 
s/^\([^=]*=[     ]*\):*/\1/
 
14110
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
14111
h
 
14112
s///
 
14113
s/^/:/
 
14114
s/[      ]*$/:/
 
14115
s/:\$(srcdir):/:/g
 
14116
s/:\${srcdir}:/:/g
 
14117
s/:@srcdir@:/:/g
 
14118
s/^:*//
13262
14119
s/:*$//
 
14120
x
 
14121
s/\(=[   ]*\).*/\1/
 
14122
G
 
14123
s/\n//
13263
14124
s/^[^=]*=[       ]*$//
13264
14125
}'
13265
14126
fi
13287
14148
  if test -z "$ac_t"; then
13288
14149
    break
13289
14150
  elif $ac_last_try; then
13290
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
14151
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13291
14152
  else
13292
14153
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13293
14154
  fi
13372
14233
_ACAWK
13373
14234
_ACEOF
13374
14235
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13375
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
14236
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13376
14237
fi # test -n "$CONFIG_HEADERS"
13377
14238
 
13378
14239
 
13385
14246
  esac
13386
14247
  case $ac_mode$ac_tag in
13387
14248
  :[FHL]*:*);;
13388
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
14249
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
13389
14250
  :[FH]-) ac_tag=-:-;;
13390
14251
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13391
14252
  esac
13413
14274
           [\\/$]*) false;;
13414
14275
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13415
14276
           esac ||
13416
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
14277
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
13417
14278
      esac
13418
14279
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13419
14280
      as_fn_append ac_file_inputs " '$ac_f'"
13440
14301
 
13441
14302
    case $ac_tag in
13442
14303
    *:-:* | *:-) cat >"$tmp/stdin" \
13443
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
14304
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
13444
14305
    esac
13445
14306
    ;;
13446
14307
  esac
13577
14438
$ac_datarootdir_hack
13578
14439
"
13579
14440
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13580
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
14441
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13581
14442
 
13582
14443
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13583
14444
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13584
14445
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13585
14446
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13586
 
which seems to be undefined.  Please make sure it is defined." >&5
 
14447
which seems to be undefined.  Please make sure it is defined" >&5
13587
14448
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13588
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
14449
which seems to be undefined.  Please make sure it is defined" >&2;}
13589
14450
 
13590
14451
  rm -f "$tmp/stdin"
13591
14452
  case $ac_file in
13592
14453
  -) cat "$tmp/out" && rm -f "$tmp/out";;
13593
14454
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13594
14455
  esac \
13595
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
14456
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13596
14457
 ;;
13597
14458
  :H)
13598
14459
  #
13603
14464
      $as_echo "/* $configure_input  */" \
13604
14465
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13605
14466
    } >"$tmp/config.h" \
13606
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
14467
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13607
14468
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13608
14469
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13609
14470
$as_echo "$as_me: $ac_file is unchanged" >&6;}
13610
14471
    else
13611
14472
      rm -f "$ac_file"
13612
14473
      mv "$tmp/config.h" "$ac_file" \
13613
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
14474
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13614
14475
    fi
13615
14476
  else
13616
14477
    $as_echo "/* $configure_input  */" \
13617
14478
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13618
 
      || as_fn_error "could not create -" "$LINENO" 5
 
14479
      || as_fn_error $? "could not create -" "$LINENO" 5
13619
14480
  fi
13620
14481
# Compute "$ac_file"'s index in $config_headers.
13621
14482
_am_arg="$ac_file"
13776
14637
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
13777
14638
#
13778
14639
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13779
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
14640
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
14641
#                 Inc.
13780
14642
#   Written by Gordon Matzigkeit, 1996
13781
14643
#
13782
14644
#   This file is part of GNU Libtool.
13813
14675
macro_revision=$macro_revision
13814
14676
 
13815
14677
# Assembler program.
13816
 
AS=$AS
 
14678
AS=$lt_AS
13817
14679
 
13818
14680
# DLL creation program.
13819
 
DLLTOOL=$DLLTOOL
 
14681
DLLTOOL=$lt_DLLTOOL
13820
14682
 
13821
14683
# Object dumper program.
13822
 
OBJDUMP=$OBJDUMP
 
14684
OBJDUMP=$lt_OBJDUMP
13823
14685
 
13824
14686
# Whether or not to build shared libraries.
13825
14687
build_libtool_libs=$enable_shared
13833
14695
# Whether or not to optimize for fast installation.
13834
14696
fast_install=$enable_fast_install
13835
14697
 
 
14698
# Shell to use when invoking shell scripts.
 
14699
SHELL=$lt_SHELL
 
14700
 
 
14701
# An echo program that protects backslashes.
 
14702
ECHO=$lt_ECHO
 
14703
 
13836
14704
# The host system.
13837
14705
host_alias=$host_alias
13838
14706
host=$host
13882
14750
# turn newlines into spaces.
13883
14751
NL2SP=$lt_lt_NL2SP
13884
14752
 
13885
 
# How to create reloadable object files.
13886
 
reload_flag=$lt_reload_flag
13887
 
reload_cmds=$lt_reload_cmds
 
14753
# convert \$build file names to \$host format.
 
14754
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
14755
 
 
14756
# convert \$build files to toolchain format.
 
14757
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13888
14758
 
13889
14759
# Method to check whether dependent libraries are shared objects.
13890
14760
deplibs_check_method=$lt_deplibs_check_method
13891
14761
 
13892
 
# Command to use when deplibs_check_method == "file_magic".
 
14762
# Command to use when deplibs_check_method = "file_magic".
13893
14763
file_magic_cmd=$lt_file_magic_cmd
13894
14764
 
 
14765
# How to find potential files when deplibs_check_method = "file_magic".
 
14766
file_magic_glob=$lt_file_magic_glob
 
14767
 
 
14768
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
14769
want_nocaseglob=$lt_want_nocaseglob
 
14770
 
 
14771
# Command to associate shared and link libraries.
 
14772
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
14773
 
13895
14774
# The archiver.
13896
14775
AR=$lt_AR
 
14776
 
 
14777
# Flags to create an archive.
13897
14778
AR_FLAGS=$lt_AR_FLAGS
13898
14779
 
 
14780
# How to feed a file listing to the archiver.
 
14781
archiver_list_spec=$lt_archiver_list_spec
 
14782
 
13899
14783
# A symbol stripping program.
13900
14784
STRIP=$lt_STRIP
13901
14785
 
13904
14788
old_postinstall_cmds=$lt_old_postinstall_cmds
13905
14789
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13906
14790
 
 
14791
# Whether to use a lock for old archive extraction.
 
14792
lock_old_archive_extraction=$lock_old_archive_extraction
 
14793
 
13907
14794
# A C compiler.
13908
14795
LTCC=$lt_CC
13909
14796
 
13922
14809
# Transform the output of nm in a C name address pair when lib prefix is needed.
13923
14810
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13924
14811
 
 
14812
# Specify filename containing input files for \$NM.
 
14813
nm_file_list_spec=$lt_nm_file_list_spec
 
14814
 
 
14815
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
14816
lt_sysroot=$lt_sysroot
 
14817
 
13925
14818
# The name of the directory that contains temporary libtool files.
13926
14819
objdir=$objdir
13927
14820
 
13928
 
# Shell to use when invoking shell scripts.
13929
 
SHELL=$lt_SHELL
13930
 
 
13931
 
# An echo program that does not interpret backslashes.
13932
 
ECHO=$lt_ECHO
13933
 
 
13934
14821
# Used to examine libraries when file_magic_cmd begins with "file".
13935
14822
MAGIC_CMD=$MAGIC_CMD
13936
14823
 
13937
14824
# Must we lock files when doing compilation?
13938
14825
need_locks=$lt_need_locks
13939
14826
 
 
14827
# Manifest tool.
 
14828
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
14829
 
13940
14830
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13941
14831
DSYMUTIL=$lt_DSYMUTIL
13942
14832
 
13993
14883
# The coded name of the library, if different from the real name.
13994
14884
soname_spec=$lt_soname_spec
13995
14885
 
 
14886
# Permission mode override for installation of shared libraries.
 
14887
install_override_mode=$lt_install_override_mode
 
14888
 
13996
14889
# Command to use after installation of a shared archive.
13997
14890
postinstall_cmds=$lt_postinstall_cmds
13998
14891
 
14032
14925
# The linker used to build libraries.
14033
14926
LD=$lt_LD
14034
14927
 
 
14928
# How to create reloadable object files.
 
14929
reload_flag=$lt_reload_flag
 
14930
reload_cmds=$lt_reload_cmds
 
14931
 
14035
14932
# Commands used to build an old-style archive.
14036
14933
old_archive_cmds=$lt_old_archive_cmds
14037
14934
 
14044
14941
# Compiler flag to turn off builtin functions.
14045
14942
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14046
14943
 
 
14944
# Additional compiler flags for building library objects.
 
14945
pic_flag=$lt_lt_prog_compiler_pic
 
14946
 
14047
14947
# How to pass a linker flag through the compiler.
14048
14948
wl=$lt_lt_prog_compiler_wl
14049
14949
 
14050
 
# Additional compiler flags for building library objects.
14051
 
pic_flag=$lt_lt_prog_compiler_pic
14052
 
 
14053
14950
# Compiler flag to prevent dynamic linking.
14054
14951
link_static_flag=$lt_lt_prog_compiler_static
14055
14952
 
14136
15033
# Whether libtool must link a program against all its dependency libraries.
14137
15034
link_all_deplibs=$link_all_deplibs
14138
15035
 
14139
 
# Fix the shell variable \$srcfile for the compiler.
14140
 
fix_srcfile_path=$lt_fix_srcfile_path
14141
 
 
14142
15036
# Set to "yes" if exported symbols are required.
14143
15037
always_export_symbols=$always_export_symbols
14144
15038
 
14154
15048
# Commands necessary for linking programs (against libraries) with templates.
14155
15049
prelink_cmds=$lt_prelink_cmds
14156
15050
 
 
15051
# Commands necessary for finishing linking programs.
 
15052
postlink_cmds=$lt_postlink_cmds
 
15053
 
14157
15054
# Specify filename containing input files.
14158
15055
file_list_spec=$lt_file_list_spec
14159
15056
 
14186
15083
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14187
15084
  # text mode, it properly converts lines to CR/LF.  This bash problem
14188
15085
  # is reportedly fixed, but why not run on old versions too?
14189
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14190
 
    || (rm -f "$cfgfile"; exit 1)
14191
 
 
14192
 
  case $xsi_shell in
14193
 
  yes)
14194
 
    cat << \_LT_EOF >> "$cfgfile"
14195
 
 
14196
 
# func_dirname file append nondir_replacement
14197
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14198
 
# otherwise set result to NONDIR_REPLACEMENT.
14199
 
func_dirname ()
14200
 
{
14201
 
  case ${1} in
14202
 
    */*) func_dirname_result="${1%/*}${2}" ;;
14203
 
    *  ) func_dirname_result="${3}" ;;
14204
 
  esac
14205
 
}
14206
 
 
14207
 
# func_basename file
14208
 
func_basename ()
14209
 
{
14210
 
  func_basename_result="${1##*/}"
14211
 
}
14212
 
 
14213
 
# func_dirname_and_basename file append nondir_replacement
14214
 
# perform func_basename and func_dirname in a single function
14215
 
# call:
14216
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
14217
 
#             add APPEND to the result, otherwise set result
14218
 
#             to NONDIR_REPLACEMENT.
14219
 
#             value returned in "$func_dirname_result"
14220
 
#   basename: Compute filename of FILE.
14221
 
#             value retuned in "$func_basename_result"
14222
 
# Implementation must be kept synchronized with func_dirname
14223
 
# and func_basename. For efficiency, we do not delegate to
14224
 
# those functions but instead duplicate the functionality here.
14225
 
func_dirname_and_basename ()
14226
 
{
14227
 
  case ${1} in
14228
 
    */*) func_dirname_result="${1%/*}${2}" ;;
14229
 
    *  ) func_dirname_result="${3}" ;;
14230
 
  esac
14231
 
  func_basename_result="${1##*/}"
14232
 
}
14233
 
 
14234
 
# func_stripname prefix suffix name
14235
 
# strip PREFIX and SUFFIX off of NAME.
14236
 
# PREFIX and SUFFIX must not contain globbing or regex special
14237
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
14238
 
# dot (in which case that matches only a dot).
14239
 
func_stripname ()
14240
 
{
14241
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14242
 
  # positional parameters, so assign one to ordinary parameter first.
14243
 
  func_stripname_result=${3}
14244
 
  func_stripname_result=${func_stripname_result#"${1}"}
14245
 
  func_stripname_result=${func_stripname_result%"${2}"}
14246
 
}
14247
 
 
14248
 
# func_opt_split
14249
 
func_opt_split ()
14250
 
{
14251
 
  func_opt_split_opt=${1%%=*}
14252
 
  func_opt_split_arg=${1#*=}
14253
 
}
14254
 
 
14255
 
# func_lo2o object
14256
 
func_lo2o ()
14257
 
{
14258
 
  case ${1} in
14259
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14260
 
    *)    func_lo2o_result=${1} ;;
14261
 
  esac
14262
 
}
14263
 
 
14264
 
# func_xform libobj-or-source
14265
 
func_xform ()
14266
 
{
14267
 
  func_xform_result=${1%.*}.lo
14268
 
}
14269
 
 
14270
 
# func_arith arithmetic-term...
14271
 
func_arith ()
14272
 
{
14273
 
  func_arith_result=$(( $* ))
14274
 
}
14275
 
 
14276
 
# func_len string
14277
 
# STRING may not start with a hyphen.
14278
 
func_len ()
14279
 
{
14280
 
  func_len_result=${#1}
14281
 
}
14282
 
 
14283
 
_LT_EOF
14284
 
    ;;
14285
 
  *) # Bourne compatible functions.
14286
 
    cat << \_LT_EOF >> "$cfgfile"
14287
 
 
14288
 
# func_dirname file append nondir_replacement
14289
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14290
 
# otherwise set result to NONDIR_REPLACEMENT.
14291
 
func_dirname ()
14292
 
{
14293
 
  # Extract subdirectory from the argument.
14294
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14295
 
  if test "X$func_dirname_result" = "X${1}"; then
14296
 
    func_dirname_result="${3}"
14297
 
  else
14298
 
    func_dirname_result="$func_dirname_result${2}"
14299
 
  fi
14300
 
}
14301
 
 
14302
 
# func_basename file
14303
 
func_basename ()
14304
 
{
14305
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14306
 
}
14307
 
 
14308
 
 
14309
 
# func_stripname prefix suffix name
14310
 
# strip PREFIX and SUFFIX off of NAME.
14311
 
# PREFIX and SUFFIX must not contain globbing or regex special
14312
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
14313
 
# dot (in which case that matches only a dot).
14314
 
# func_strip_suffix prefix name
14315
 
func_stripname ()
14316
 
{
14317
 
  case ${2} in
14318
 
    .*) func_stripname_result=`$ECHO "X${3}" \
14319
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14320
 
    *)  func_stripname_result=`$ECHO "X${3}" \
14321
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14322
 
  esac
14323
 
}
14324
 
 
14325
 
# sed scripts:
14326
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14327
 
my_sed_long_arg='1s/^-[^=]*=//'
14328
 
 
14329
 
# func_opt_split
14330
 
func_opt_split ()
14331
 
{
14332
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14333
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14334
 
}
14335
 
 
14336
 
# func_lo2o object
14337
 
func_lo2o ()
14338
 
{
14339
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14340
 
}
14341
 
 
14342
 
# func_xform libobj-or-source
14343
 
func_xform ()
14344
 
{
14345
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14346
 
}
14347
 
 
14348
 
# func_arith arithmetic-term...
14349
 
func_arith ()
14350
 
{
14351
 
  func_arith_result=`expr "$@"`
14352
 
}
14353
 
 
14354
 
# func_len string
14355
 
# STRING may not start with a hyphen.
14356
 
func_len ()
14357
 
{
14358
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14359
 
}
14360
 
 
14361
 
_LT_EOF
14362
 
esac
14363
 
 
14364
 
case $lt_shell_append in
14365
 
  yes)
14366
 
    cat << \_LT_EOF >> "$cfgfile"
14367
 
 
14368
 
# func_append var value
14369
 
# Append VALUE to the end of shell variable VAR.
14370
 
func_append ()
14371
 
{
14372
 
  eval "$1+=\$2"
14373
 
}
14374
 
_LT_EOF
14375
 
    ;;
14376
 
  *)
14377
 
    cat << \_LT_EOF >> "$cfgfile"
14378
 
 
14379
 
# func_append var value
14380
 
# Append VALUE to the end of shell variable VAR.
14381
 
func_append ()
14382
 
{
14383
 
  eval "$1=\$$1\$2"
14384
 
}
14385
 
 
14386
 
_LT_EOF
14387
 
    ;;
14388
 
  esac
14389
 
 
14390
 
 
14391
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14392
 
    || (rm -f "$cfgfile"; exit 1)
14393
 
 
14394
 
  mv -f "$cfgfile" "$ofile" ||
 
15086
  sed '$q' "$ltmain" >> "$cfgfile" \
 
15087
     || (rm -f "$cfgfile"; exit 1)
 
15088
 
 
15089
  if test x"$xsi_shell" = xyes; then
 
15090
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
15091
func_dirname ()\
 
15092
{\
 
15093
\    case ${1} in\
 
15094
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15095
\      *  ) func_dirname_result="${3}" ;;\
 
15096
\    esac\
 
15097
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
15098
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15099
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15100
test 0 -eq $? || _lt_function_replace_fail=:
 
15101
 
 
15102
 
 
15103
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
15104
func_basename ()\
 
15105
{\
 
15106
\    func_basename_result="${1##*/}"\
 
15107
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15108
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15109
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15110
test 0 -eq $? || _lt_function_replace_fail=:
 
15111
 
 
15112
 
 
15113
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
15114
func_dirname_and_basename ()\
 
15115
{\
 
15116
\    case ${1} in\
 
15117
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15118
\      *  ) func_dirname_result="${3}" ;;\
 
15119
\    esac\
 
15120
\    func_basename_result="${1##*/}"\
 
15121
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15122
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15123
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15124
test 0 -eq $? || _lt_function_replace_fail=:
 
15125
 
 
15126
 
 
15127
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
15128
func_stripname ()\
 
15129
{\
 
15130
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
15131
\    # positional parameters, so assign one to ordinary parameter first.\
 
15132
\    func_stripname_result=${3}\
 
15133
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
15134
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
15135
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
15136
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15137
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15138
test 0 -eq $? || _lt_function_replace_fail=:
 
15139
 
 
15140
 
 
15141
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
15142
func_split_long_opt ()\
 
15143
{\
 
15144
\    func_split_long_opt_name=${1%%=*}\
 
15145
\    func_split_long_opt_arg=${1#*=}\
 
15146
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15147
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15148
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15149
test 0 -eq $? || _lt_function_replace_fail=:
 
15150
 
 
15151
 
 
15152
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
15153
func_split_short_opt ()\
 
15154
{\
 
15155
\    func_split_short_opt_arg=${1#??}\
 
15156
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
15157
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15158
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15159
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15160
test 0 -eq $? || _lt_function_replace_fail=:
 
15161
 
 
15162
 
 
15163
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
15164
func_lo2o ()\
 
15165
{\
 
15166
\    case ${1} in\
 
15167
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
15168
\      *)    func_lo2o_result=${1} ;;\
 
15169
\    esac\
 
15170
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
15171
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15172
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15173
test 0 -eq $? || _lt_function_replace_fail=:
 
15174
 
 
15175
 
 
15176
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
15177
func_xform ()\
 
15178
{\
 
15179
    func_xform_result=${1%.*}.lo\
 
15180
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
15181
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15182
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15183
test 0 -eq $? || _lt_function_replace_fail=:
 
15184
 
 
15185
 
 
15186
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
15187
func_arith ()\
 
15188
{\
 
15189
    func_arith_result=$(( $* ))\
 
15190
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
15191
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15192
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15193
test 0 -eq $? || _lt_function_replace_fail=:
 
15194
 
 
15195
 
 
15196
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
15197
func_len ()\
 
15198
{\
 
15199
    func_len_result=${#1}\
 
15200
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
15201
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15202
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15203
test 0 -eq $? || _lt_function_replace_fail=:
 
15204
 
 
15205
fi
 
15206
 
 
15207
if test x"$lt_shell_append" = xyes; then
 
15208
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
15209
func_append ()\
 
15210
{\
 
15211
    eval "${1}+=\\${2}"\
 
15212
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
15213
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15214
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15215
test 0 -eq $? || _lt_function_replace_fail=:
 
15216
 
 
15217
 
 
15218
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
15219
func_append_quoted ()\
 
15220
{\
 
15221
\    func_quote_for_eval "${2}"\
 
15222
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
15223
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
15224
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15225
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15226
test 0 -eq $? || _lt_function_replace_fail=:
 
15227
 
 
15228
 
 
15229
  # Save a `func_append' function call where possible by direct use of '+='
 
15230
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
15231
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15232
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15233
  test 0 -eq $? || _lt_function_replace_fail=:
 
15234
else
 
15235
  # Save a `func_append' function call even when '+=' is not available
 
15236
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
15237
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15238
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15239
  test 0 -eq $? || _lt_function_replace_fail=:
 
15240
fi
 
15241
 
 
15242
if test x"$_lt_function_replace_fail" = x":"; then
 
15243
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
15244
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
15245
fi
 
15246
 
 
15247
 
 
15248
   mv -f "$cfgfile" "$ofile" ||
14395
15249
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14396
15250
  chmod +x "$ofile"
14397
15251
 
14408
15262
ac_clean_files=$ac_clean_files_save
14409
15263
 
14410
15264
test $ac_write_fail = 0 ||
14411
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
15265
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14412
15266
 
14413
15267
 
14414
15268
# configure is writing to config.log, and then calls config.status.
14429
15283
  exec 5>>config.log
14430
15284
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14431
15285
  # would make configure fail if this is the last instruction.
14432
 
  $ac_cs_success || as_fn_exit $?
 
15286
  $ac_cs_success || as_fn_exit 1
14433
15287
fi
14434
15288
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14435
15289
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5