~ubuntu-branches/ubuntu/trusty/libspectre/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Pino Toscano
  • Date: 2012-08-15 12:25:52 UTC
  • mfrom: (9.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120815122552-xf17in4q0fq6h4pc
Tags: 0.2.7-2
Upload to unstable.

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 libspectre 0.2.6.
 
3
# Generated by GNU Autoconf 2.68 for libspectre 0.2.7.
4
4
#
5
5
#
6
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8
 
# Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
8
# Foundation, Inc.
9
9
#
10
10
#
11
11
# This configure script is free software; the Free Software Foundation
89
89
IFS=" ""        $as_nl"
90
90
 
91
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
92
93
case $0 in #((
93
94
  *[\\/]* ) as_myself=$0 ;;
94
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
171
172
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
173
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
174
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
175
 
 
176
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
177
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
178
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
179
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
180
    PATH=/empty FPATH=/empty; export PATH FPATH
 
181
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
182
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
174
183
test \$(( 1 + 1 )) = 2 || exit 1"
175
184
  if (eval "$as_required") 2>/dev/null; then :
176
185
  as_have_required=yes
214
223
  # We cannot yet assume a decent shell, so we have to provide a
215
224
        # neutralization value for shells without unset; and this also
216
225
        # works around shells that cannot unset nonexistent variables.
 
226
        # Preserve -v and -x to the replacement shell.
217
227
        BASH_ENV=/dev/null
218
228
        ENV=/dev/null
219
229
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
230
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
231
        case $- in # ((((
 
232
          *v*x* | *x*v* ) as_opts=-vx ;;
 
233
          *v* ) as_opts=-v ;;
 
234
          *x* ) as_opts=-x ;;
 
235
          * ) as_opts= ;;
 
236
        esac
 
237
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
222
238
fi
223
239
 
224
240
    if test x$as_have_required = xno; then :
316
332
      test -d "$as_dir" && break
317
333
    done
318
334
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
335
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
336
 
321
337
 
322
338
} # as_fn_mkdir_p
356
372
fi # as_fn_arith
357
373
 
358
374
 
359
 
# as_fn_error ERROR [LINENO LOG_FD]
360
 
# ---------------------------------
 
375
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
376
# ----------------------------------------
361
377
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
378
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
 
# script with status $?, using 1 if that was 0.
 
379
# script with STATUS, using 1 if that was 0.
364
380
as_fn_error ()
365
381
{
366
 
  as_status=$?; test $as_status -eq 0 && as_status=1
367
 
  if test "$3"; then
368
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
382
  as_status=$1; test $as_status -eq 0 && as_status=1
 
383
  if test "$4"; then
 
384
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
385
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370
386
  fi
371
 
  $as_echo "$as_me: error: $1" >&2
 
387
  $as_echo "$as_me: error: $2" >&2
372
388
  as_fn_exit $as_status
373
389
} # as_fn_error
374
390
 
525
541
# Sed expression to map a string onto a valid variable name.
526
542
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
543
 
528
 
 
529
 
 
530
 
# Check that we are running under the correct shell.
531
544
SHELL=${CONFIG_SHELL-/bin/sh}
532
545
 
533
 
case X$lt_ECHO in
534
 
X*--fallback-echo)
535
 
  # Remove one level of quotation (which was required for Make).
536
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537
 
  ;;
538
 
esac
539
 
 
540
 
ECHO=${lt_ECHO-echo}
541
 
if test "X$1" = X--no-reexec; then
542
 
  # Discard the --no-reexec flag, and continue.
543
 
  shift
544
 
elif test "X$1" = X--fallback-echo; then
545
 
  # Avoid inline document here, it may be left over
546
 
  :
547
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
 
  # Yippee, $ECHO works!
549
 
  :
550
 
else
551
 
  # Restart under the correct shell.
552
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
553
 
fi
554
 
 
555
 
if test "X$1" = X--fallback-echo; then
556
 
  # used as fallback echo
557
 
  shift
558
 
  cat <<_LT_EOF
559
 
$*
560
 
_LT_EOF
561
 
  exit 0
562
 
fi
563
 
 
564
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
565
 
# if CDPATH is set.
566
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
 
 
568
 
if test -z "$lt_ECHO"; then
569
 
  if test "X${echo_test_string+set}" != Xset; then
570
 
    # find a string as large as possible, as long as the shell can cope with it
571
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575
 
      then
576
 
        break
577
 
      fi
578
 
    done
579
 
  fi
580
 
 
581
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
584
 
    :
585
 
  else
586
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
587
 
    # backslashes.  This makes it impossible to quote backslashes using
588
 
    #   echo "$something" | sed 's/\\/\\\\/g'
589
 
    #
590
 
    # So, first we look for a working echo in the user's PATH.
591
 
 
592
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
 
    for dir in $PATH /usr/ucb; do
594
 
      IFS="$lt_save_ifs"
595
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
599
 
        ECHO="$dir/echo"
600
 
        break
601
 
      fi
602
 
    done
603
 
    IFS="$lt_save_ifs"
604
 
 
605
 
    if test "X$ECHO" = Xecho; then
606
 
      # We didn't find a better echo, so look for alternatives.
607
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
        # This shell has a builtin print -r that does the trick.
611
 
        ECHO='print -r'
612
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
614
 
        # If we have ksh, try running configure again with it.
615
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
 
        export ORIGINAL_CONFIG_SHELL
617
 
        CONFIG_SHELL=/bin/ksh
618
 
        export CONFIG_SHELL
619
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620
 
      else
621
 
        # Try using printf.
622
 
        ECHO='printf %s\n'
623
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
626
 
          # Cool, printf works
627
 
          :
628
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
 
             test "X$echo_testing_string" = 'X\t' &&
630
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
632
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633
 
          export CONFIG_SHELL
634
 
          SHELL="$CONFIG_SHELL"
635
 
          export SHELL
636
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
 
             test "X$echo_testing_string" = 'X\t' &&
639
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
641
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
642
 
        else
643
 
          # maybe with a smaller string...
644
 
          prev=:
645
 
 
646
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648
 
            then
649
 
              break
650
 
            fi
651
 
            prev="$cmd"
652
 
          done
653
 
 
654
 
          if test "$prev" != 'sed 50q "$0"'; then
655
 
            echo_test_string=`eval $prev`
656
 
            export echo_test_string
657
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658
 
          else
659
 
            # Oops.  We lost completely, so just stick with echo.
660
 
            ECHO=echo
661
 
          fi
662
 
        fi
663
 
      fi
664
 
    fi
665
 
  fi
666
 
fi
667
 
 
668
 
# Copy echo and quote the copy suitably for passing to libtool from
669
 
# the Makefile, instead of quoting the original, which is used later.
670
 
lt_ECHO=$ECHO
671
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673
 
fi
674
 
 
675
 
 
676
 
 
677
546
 
678
547
test -n "$DJDIR" || exec 7<&0 </dev/null
679
548
exec 6>&1
680
549
 
681
550
# Name of the host.
682
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
551
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683
552
# so uname gets run too.
684
553
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
554
 
698
567
# Identity of this package.
699
568
PACKAGE_NAME='libspectre'
700
569
PACKAGE_TARNAME='libspectre'
701
 
PACKAGE_VERSION='0.2.6'
702
 
PACKAGE_STRING='libspectre 0.2.6'
 
570
PACKAGE_VERSION='0.2.7'
 
571
PACKAGE_STRING='libspectre 0.2.7'
703
572
PACKAGE_BUGREPORT=''
704
573
PACKAGE_URL=''
705
574
 
748
617
ENABLE_TEST_TRUE
749
618
CAIRO_LIBS
750
619
CAIRO_CFLAGS
 
620
PKG_CONFIG_LIBDIR
 
621
PKG_CONFIG_PATH
751
622
PKG_CONFIG
752
623
LIB_GS
753
624
CPP
756
627
LIPO
757
628
NMEDIT
758
629
DSYMUTIL
759
 
lt_ECHO
 
630
MANIFEST_TOOL
760
631
RANLIB
 
632
ac_ct_AR
761
633
AR
 
634
DLLTOOL
762
635
OBJDUMP
763
636
LN_S
764
637
NM
772
645
am__fastdepCC_FALSE
773
646
am__fastdepCC_TRUE
774
647
CCDEPMODE
 
648
am__nodep
775
649
AMDEPBACKSLASH
776
650
AMDEP_FALSE
777
651
AMDEP_TRUE
808
682
MAINTAINER_MODE_TRUE
809
683
AM_BACKSLASH
810
684
AM_DEFAULT_VERBOSITY
 
685
AM_DEFAULT_V
 
686
AM_V
811
687
am__untar
812
688
am__tar
813
689
AMTAR
880
756
enable_fast_install
881
757
enable_dependency_tracking
882
758
with_gnu_ld
 
759
with_sysroot
883
760
enable_libtool_lock
884
761
enable_asserts
885
762
enable_checks
896
773
CPPFLAGS
897
774
CPP
898
775
PKG_CONFIG
 
776
PKG_CONFIG_PATH
 
777
PKG_CONFIG_LIBDIR
899
778
CAIRO_CFLAGS
900
779
CAIRO_LIBS'
901
780
 
960
839
  fi
961
840
 
962
841
  case $ac_option in
963
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964
 
  *)    ac_optarg=yes ;;
 
842
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
843
  *=)   ac_optarg= ;;
 
844
  *)    ac_optarg=yes ;;
965
845
  esac
966
846
 
967
847
  # Accept the important Cygnus configure options, so we can diagnose typos.
1006
886
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1007
887
    # Reject names that are not valid shell variable names.
1008
888
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009
 
      as_fn_error "invalid feature name: $ac_useropt"
 
889
      as_fn_error $? "invalid feature name: $ac_useropt"
1010
890
    ac_useropt_orig=$ac_useropt
1011
891
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012
892
    case $ac_user_opts in
1032
912
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1033
913
    # Reject names that are not valid shell variable names.
1034
914
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035
 
      as_fn_error "invalid feature name: $ac_useropt"
 
915
      as_fn_error $? "invalid feature name: $ac_useropt"
1036
916
    ac_useropt_orig=$ac_useropt
1037
917
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038
918
    case $ac_user_opts in
1236
1116
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1237
1117
    # Reject names that are not valid shell variable names.
1238
1118
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239
 
      as_fn_error "invalid package name: $ac_useropt"
 
1119
      as_fn_error $? "invalid package name: $ac_useropt"
1240
1120
    ac_useropt_orig=$ac_useropt
1241
1121
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242
1122
    case $ac_user_opts in
1252
1132
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1253
1133
    # Reject names that are not valid shell variable names.
1254
1134
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1255
 
      as_fn_error "invalid package name: $ac_useropt"
 
1135
      as_fn_error $? "invalid package name: $ac_useropt"
1256
1136
    ac_useropt_orig=$ac_useropt
1257
1137
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258
1138
    case $ac_user_opts in
1282
1162
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1283
1163
    x_libraries=$ac_optarg ;;
1284
1164
 
1285
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1286
 
Try \`$0 --help' for more information."
 
1165
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1166
Try \`$0 --help' for more information"
1287
1167
    ;;
1288
1168
 
1289
1169
  *=*)
1291
1171
    # Reject names that are not valid shell variable names.
1292
1172
    case $ac_envvar in #(
1293
1173
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1294
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1174
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1295
1175
    esac
1296
1176
    eval $ac_envvar=\$ac_optarg
1297
1177
    export $ac_envvar ;;
1301
1181
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1302
1182
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1303
1183
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1304
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1184
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1305
1185
    ;;
1306
1186
 
1307
1187
  esac
1309
1189
 
1310
1190
if test -n "$ac_prev"; then
1311
1191
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1312
 
  as_fn_error "missing argument to $ac_option"
 
1192
  as_fn_error $? "missing argument to $ac_option"
1313
1193
fi
1314
1194
 
1315
1195
if test -n "$ac_unrecognized_opts"; then
1316
1196
  case $enable_option_checking in
1317
1197
    no) ;;
1318
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1198
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1319
1199
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1320
1200
  esac
1321
1201
fi
1338
1218
    [\\/$]* | ?:[\\/]* )  continue;;
1339
1219
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1340
1220
  esac
1341
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1221
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1342
1222
done
1343
1223
 
1344
1224
# There might be people who depend on the old broken behavior: `$host'
1352
1232
if test "x$host_alias" != x; then
1353
1233
  if test "x$build_alias" = x; then
1354
1234
    cross_compiling=maybe
1355
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1356
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1235
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1236
    If a cross compiler is detected then cross compile mode will be used" >&2
1357
1237
  elif test "x$build_alias" != "x$host_alias"; then
1358
1238
    cross_compiling=yes
1359
1239
  fi
1368
1248
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1369
1249
ac_ls_di=`ls -di .` &&
1370
1250
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1371
 
  as_fn_error "working directory cannot be determined"
 
1251
  as_fn_error $? "working directory cannot be determined"
1372
1252
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1373
 
  as_fn_error "pwd does not report name of working directory"
 
1253
  as_fn_error $? "pwd does not report name of working directory"
1374
1254
 
1375
1255
 
1376
1256
# Find the source files, if location was not specified.
1409
1289
fi
1410
1290
if test ! -r "$srcdir/$ac_unique_file"; then
1411
1291
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1412
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1292
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1413
1293
fi
1414
1294
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1415
1295
ac_abs_confdir=`(
1416
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1296
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1417
1297
        pwd)`
1418
1298
# When building in place, set srcdir=.
1419
1299
if test "$ac_abs_confdir" = "$ac_pwd"; then
1439
1319
  # Omit some internal or obsolete options to make the list less imposing.
1440
1320
  # This message is too long to be a string in the A/UX 3.1 sh.
1441
1321
  cat <<_ACEOF
1442
 
\`configure' configures libspectre 0.2.6 to adapt to many kinds of systems.
 
1322
\`configure' configures libspectre 0.2.7 to adapt to many kinds of systems.
1443
1323
 
1444
1324
Usage: $0 [OPTION]... [VAR=VALUE]...
1445
1325
 
1453
1333
      --help=short        display options specific to this package
1454
1334
      --help=recursive    display the short help of all the included packages
1455
1335
  -V, --version           display version information and exit
1456
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1336
  -q, --quiet, --silent   do not print \`checking ...' messages
1457
1337
      --cache-file=FILE   cache test results in FILE [disabled]
1458
1338
  -C, --config-cache      alias for \`--cache-file=config.cache'
1459
1339
  -n, --no-create         do not create output files
1509
1389
 
1510
1390
if test -n "$ac_init_help"; then
1511
1391
  case $ac_init_help in
1512
 
     short | recursive ) echo "Configuration of libspectre 0.2.6:";;
 
1392
     short | recursive ) echo "Configuration of libspectre 0.2.7:";;
1513
1393
   esac
1514
1394
  cat <<\_ACEOF
1515
1395
 
1536
1416
Optional Packages:
1537
1417
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1538
1418
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1539
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1419
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1540
1420
                          both]
1541
1421
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1422
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1423
                        (or the compiler's sysroot if not specified).
1542
1424
 
1543
1425
Some influential environment variables:
1544
1426
  CC          C compiler command
1550
1432
              you have headers in a nonstandard directory <include dir>
1551
1433
  CPP         C preprocessor
1552
1434
  PKG_CONFIG  path to pkg-config utility
 
1435
  PKG_CONFIG_PATH
 
1436
              directories to add to pkg-config's search path
 
1437
  PKG_CONFIG_LIBDIR
 
1438
              path overriding pkg-config's built-in search path
1553
1439
  CAIRO_CFLAGS
1554
1440
              C compiler flags for CAIRO, overriding pkg-config
1555
1441
  CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
1620
1506
test -n "$ac_init_help" && exit $ac_status
1621
1507
if $ac_init_version; then
1622
1508
  cat <<\_ACEOF
1623
 
libspectre configure 0.2.6
1624
 
generated by GNU Autoconf 2.65
 
1509
libspectre configure 0.2.7
 
1510
generated by GNU Autoconf 2.68
1625
1511
 
1626
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1512
Copyright (C) 2010 Free Software Foundation, Inc.
1627
1513
This configure script is free software; the Free Software Foundation
1628
1514
gives unlimited permission to copy, distribute and modify it.
1629
1515
_ACEOF
1667
1553
 
1668
1554
        ac_retval=1
1669
1555
fi
1670
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1556
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671
1557
  as_fn_set_status $ac_retval
1672
1558
 
1673
1559
} # ac_fn_c_try_compile
1713
1599
  # interfere with the next link command; also delete a directory that is
1714
1600
  # left behind by Apple's compiler.  We do this before executing the actions.
1715
1601
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1716
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1602
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717
1603
  as_fn_set_status $ac_retval
1718
1604
 
1719
1605
} # ac_fn_c_try_link
1727
1613
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728
1614
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729
1615
$as_echo_n "checking for $2... " >&6; }
1730
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1616
if eval \${$3+:} false; then :
1731
1617
  $as_echo_n "(cached) " >&6
1732
1618
else
1733
1619
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745
1631
eval ac_res=\$$3
1746
1632
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1747
1633
$as_echo "$ac_res" >&6; }
1748
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1634
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749
1635
 
1750
1636
} # ac_fn_c_check_header_compile
1751
1637
 
1770
1656
    mv -f conftest.er1 conftest.err
1771
1657
  fi
1772
1658
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773
 
  test $ac_status = 0; } >/dev/null && {
 
1659
  test $ac_status = 0; } > conftest.i && {
1774
1660
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1775
1661
         test ! -s conftest.err
1776
1662
       }; then :
1781
1667
 
1782
1668
    ac_retval=1
1783
1669
fi
1784
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1670
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785
1671
  as_fn_set_status $ac_retval
1786
1672
 
1787
1673
} # ac_fn_c_try_cpp
1823
1709
       ac_retval=$ac_status
1824
1710
fi
1825
1711
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1826
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1712
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1827
1713
  as_fn_set_status $ac_retval
1828
1714
 
1829
1715
} # ac_fn_c_try_run
1836
1722
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837
1723
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1838
1724
$as_echo_n "checking for $2... " >&6; }
1839
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1725
if eval \${$3+:} false; then :
1840
1726
  $as_echo_n "(cached) " >&6
1841
1727
else
1842
1728
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1891
1777
eval ac_res=\$$3
1892
1778
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893
1779
$as_echo "$ac_res" >&6; }
1894
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1780
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895
1781
 
1896
1782
} # ac_fn_c_check_func
1897
1783
cat >config.log <<_ACEOF
1898
1784
This file contains any messages produced by compilers while
1899
1785
running configure, to aid debugging if configure makes a mistake.
1900
1786
 
1901
 
It was created by libspectre $as_me 0.2.6, which was
1902
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
1787
It was created by libspectre $as_me 0.2.7, which was
 
1788
generated by GNU Autoconf 2.68.  Invocation command line was
1903
1789
 
1904
1790
  $ $0 $@
1905
1791
 
2009
1895
  {
2010
1896
    echo
2011
1897
 
2012
 
    cat <<\_ASBOX
2013
 
## ---------------- ##
 
1898
    $as_echo "## ---------------- ##
2014
1899
## Cache variables. ##
2015
 
## ---------------- ##
2016
 
_ASBOX
 
1900
## ---------------- ##"
2017
1901
    echo
2018
1902
    # The following way of writing the cache mishandles newlines in values,
2019
1903
(
2047
1931
)
2048
1932
    echo
2049
1933
 
2050
 
    cat <<\_ASBOX
2051
 
## ----------------- ##
 
1934
    $as_echo "## ----------------- ##
2052
1935
## Output variables. ##
2053
 
## ----------------- ##
2054
 
_ASBOX
 
1936
## ----------------- ##"
2055
1937
    echo
2056
1938
    for ac_var in $ac_subst_vars
2057
1939
    do
2064
1946
    echo
2065
1947
 
2066
1948
    if test -n "$ac_subst_files"; then
2067
 
      cat <<\_ASBOX
2068
 
## ------------------- ##
 
1949
      $as_echo "## ------------------- ##
2069
1950
## File substitutions. ##
2070
 
## ------------------- ##
2071
 
_ASBOX
 
1951
## ------------------- ##"
2072
1952
      echo
2073
1953
      for ac_var in $ac_subst_files
2074
1954
      do
2082
1962
    fi
2083
1963
 
2084
1964
    if test -s confdefs.h; then
2085
 
      cat <<\_ASBOX
2086
 
## ----------- ##
 
1965
      $as_echo "## ----------- ##
2087
1966
## confdefs.h. ##
2088
 
## ----------- ##
2089
 
_ASBOX
 
1967
## ----------- ##"
2090
1968
      echo
2091
1969
      cat confdefs.h
2092
1970
      echo
2141
2019
ac_site_file1=NONE
2142
2020
ac_site_file2=NONE
2143
2021
if test -n "$CONFIG_SITE"; then
2144
 
  ac_site_file1=$CONFIG_SITE
 
2022
  # We do not want a PATH search for config.site.
 
2023
  case $CONFIG_SITE in #((
 
2024
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2025
    */*) ac_site_file1=$CONFIG_SITE;;
 
2026
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2027
  esac
2145
2028
elif test "x$prefix" != xNONE; then
2146
2029
  ac_site_file1=$prefix/share/config.site
2147
2030
  ac_site_file2=$prefix/etc/config.site
2156
2039
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2157
2040
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2158
2041
    sed 's/^/| /' "$ac_site_file" >&5
2159
 
    . "$ac_site_file"
 
2042
    . "$ac_site_file" \
 
2043
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2044
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2045
as_fn_error $? "failed to load site script $ac_site_file
 
2046
See \`config.log' for more details" "$LINENO" 5; }
2160
2047
  fi
2161
2048
done
2162
2049
 
2232
2119
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2233
2120
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2234
2121
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2235
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2122
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2236
2123
fi
2237
2124
## -------------------- ##
2238
2125
## Main body of script. ##
2252
2139
 
2253
2140
ac_aux_dir=
2254
2141
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2255
 
  for ac_t in install-sh install.sh shtool; do
2256
 
    if test -f "$ac_dir/$ac_t"; then
2257
 
      ac_aux_dir=$ac_dir
2258
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2259
 
      break 2
2260
 
    fi
2261
 
  done
 
2142
  if test -f "$ac_dir/install-sh"; then
 
2143
    ac_aux_dir=$ac_dir
 
2144
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2145
    break
 
2146
  elif test -f "$ac_dir/install.sh"; then
 
2147
    ac_aux_dir=$ac_dir
 
2148
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2149
    break
 
2150
  elif test -f "$ac_dir/shtool"; then
 
2151
    ac_aux_dir=$ac_dir
 
2152
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2153
    break
 
2154
  fi
2262
2155
done
2263
2156
if test -z "$ac_aux_dir"; then
2264
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2157
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2265
2158
fi
2266
2159
 
2267
2160
# These three variables are undocumented and unsupported,
2290
2183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2291
2184
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2292
2185
if test -z "$INSTALL"; then
2293
 
if test "${ac_cv_path_install+set}" = set; then :
 
2186
if ${ac_cv_path_install+:} false; then :
2294
2187
  $as_echo_n "(cached) " >&6
2295
2188
else
2296
2189
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2377
2270
'
2378
2271
case `pwd` in
2379
2272
  *[\\\"\#\$\&\'\`$am_lf]*)
2380
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2273
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2381
2274
esac
2382
2275
case $srcdir in
2383
2276
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2384
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2277
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2385
2278
esac
2386
2279
 
2387
2280
# Do `set' in a subshell so we don't clobber the current shell's
2403
2296
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2404
2297
      # broken ls alias from the environment.  This has actually
2405
2298
      # happened.  Such a system could not be considered "sane".
2406
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2299
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2407
2300
alias in your environment" "$LINENO" 5
2408
2301
   fi
2409
2302
 
2413
2306
   # Ok.
2414
2307
   :
2415
2308
else
2416
 
   as_fn_error "newly created file is older than distributed files!
 
2309
   as_fn_error $? "newly created file is older than distributed files!
2417
2310
Check your system clock" "$LINENO" 5
2418
2311
fi
2419
2312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2467
2360
set dummy ${ac_tool_prefix}strip; ac_word=$2
2468
2361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2469
2362
$as_echo_n "checking for $ac_word... " >&6; }
2470
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2363
if ${ac_cv_prog_STRIP+:} false; then :
2471
2364
  $as_echo_n "(cached) " >&6
2472
2365
else
2473
2366
  if test -n "$STRIP"; then
2507
2400
set dummy strip; ac_word=$2
2508
2401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2509
2402
$as_echo_n "checking for $ac_word... " >&6; }
2510
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2403
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2511
2404
  $as_echo_n "(cached) " >&6
2512
2405
else
2513
2406
  if test -n "$ac_ct_STRIP"; then
2560
2453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2561
2454
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2562
2455
if test -z "$MKDIR_P"; then
2563
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2456
  if ${ac_cv_path_mkdir+:} false; then :
2564
2457
  $as_echo_n "(cached) " >&6
2565
2458
else
2566
2459
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611
2504
set dummy $ac_prog; ac_word=$2
2612
2505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2613
2506
$as_echo_n "checking for $ac_word... " >&6; }
2614
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2507
if ${ac_cv_prog_AWK+:} false; then :
2615
2508
  $as_echo_n "(cached) " >&6
2616
2509
else
2617
2510
  if test -n "$AWK"; then
2651
2544
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2652
2545
set x ${MAKE-make}
2653
2546
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2654
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2547
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2655
2548
  $as_echo_n "(cached) " >&6
2656
2549
else
2657
2550
  cat >conftest.make <<\_ACEOF
2659
2552
all:
2660
2553
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2661
2554
_ACEOF
2662
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2555
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2663
2556
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2664
2557
  *@@@%%%=?*=@@@%%%*)
2665
2558
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2693
2586
  am__isrc=' -I$(srcdir)'
2694
2587
  # test to see if srcdir already configured
2695
2588
  if test -f $srcdir/config.status; then
2696
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2589
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2697
2590
  fi
2698
2591
fi
2699
2592
 
2709
2602
 
2710
2603
# Define the identity of the package.
2711
2604
 PACKAGE='libspectre'
2712
 
 VERSION='0.2.6'
 
2605
 VERSION='0.2.7'
2713
2606
 
2714
2607
 
2715
2608
cat >>confdefs.h <<_ACEOF
2739
2632
 
2740
2633
# We need awk for the "check" target.  The system "awk" is bad on
2741
2634
# some platforms.
2742
 
# Always define AMTAR for backward compatibility.
2743
 
 
2744
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2745
 
 
2746
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2635
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
2636
# in the wild :-(  We should find a proper way to deprecate it ...
 
2637
AMTAR='$${TAR-tar}'
 
2638
 
 
2639
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2747
2640
 
2748
2641
 
2749
2642
 
2760
2653
no)  AM_DEFAULT_VERBOSITY=1;;
2761
2654
*)   AM_DEFAULT_VERBOSITY=0;;
2762
2655
esac
 
2656
am_make=${MAKE-make}
 
2657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
2658
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
2659
if ${am_cv_make_support_nested_variables+:} false; then :
 
2660
  $as_echo_n "(cached) " >&6
 
2661
else
 
2662
  if $as_echo 'TRUE=$(BAR$(V))
 
2663
BAR0=false
 
2664
BAR1=true
 
2665
V=1
 
2666
am__doit:
 
2667
        @$(TRUE)
 
2668
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
2669
  am_cv_make_support_nested_variables=yes
 
2670
else
 
2671
  am_cv_make_support_nested_variables=no
 
2672
fi
 
2673
fi
 
2674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
2675
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
2676
if test $am_cv_make_support_nested_variables = yes; then
 
2677
    AM_V='$(V)'
 
2678
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
2679
else
 
2680
  AM_V=$AM_DEFAULT_VERBOSITY
 
2681
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
2682
fi
2763
2683
AM_BACKSLASH='\'
2764
2684
 
2765
2685
 
2797
2717
 
2798
2718
## increment any time the source changes; set to
2799
2719
##  0 if you increment CURRENT
2800
 
LT_REVISION=6
 
2720
LT_REVISION=7
2801
2721
 
2802
2722
## increment if any interfaces have been added; set to 0
2803
2723
## if any interfaces have been changed or removed. removal has
2816
2736
 
2817
2737
SPECTRE_MAJOR_VERSION=0
2818
2738
SPECTRE_MINOR_VERSION=2
2819
 
SPECTRE_MICRO_VERSION=6
2820
 
SPECTRE_VERSION=0.2.6
 
2739
SPECTRE_MICRO_VERSION=7
 
2740
SPECTRE_VERSION=0.2.7
2821
2741
 
2822
2742
 
2823
2743
 
2832
2752
 
2833
2753
 
2834
2754
 
2835
 
macro_version='2.2.6'
2836
 
macro_revision='1.3012'
 
2755
macro_version='2.4.2'
 
2756
macro_revision='1.3337'
2837
2757
 
2838
2758
 
2839
2759
 
2851
2771
 
2852
2772
# Make sure we can run config.sub.
2853
2773
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2854
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2774
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2855
2775
 
2856
2776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2857
2777
$as_echo_n "checking build system type... " >&6; }
2858
 
if test "${ac_cv_build+set}" = set; then :
 
2778
if ${ac_cv_build+:} false; then :
2859
2779
  $as_echo_n "(cached) " >&6
2860
2780
else
2861
2781
  ac_build_alias=$build_alias
2862
2782
test "x$ac_build_alias" = x &&
2863
2783
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2864
2784
test "x$ac_build_alias" = x &&
2865
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
2785
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2866
2786
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2867
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2787
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2868
2788
 
2869
2789
fi
2870
2790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2871
2791
$as_echo "$ac_cv_build" >&6; }
2872
2792
case $ac_cv_build in
2873
2793
*-*-*) ;;
2874
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
2794
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2875
2795
esac
2876
2796
build=$ac_cv_build
2877
2797
ac_save_IFS=$IFS; IFS='-'
2889
2809
 
2890
2810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2891
2811
$as_echo_n "checking host system type... " >&6; }
2892
 
if test "${ac_cv_host+set}" = set; then :
 
2812
if ${ac_cv_host+:} false; then :
2893
2813
  $as_echo_n "(cached) " >&6
2894
2814
else
2895
2815
  if test "x$host_alias" = x; then
2896
2816
  ac_cv_host=$ac_cv_build
2897
2817
else
2898
2818
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2899
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2819
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2900
2820
fi
2901
2821
 
2902
2822
fi
2904
2824
$as_echo "$ac_cv_host" >&6; }
2905
2825
case $ac_cv_host in
2906
2826
*-*-*) ;;
2907
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
2827
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2908
2828
esac
2909
2829
host=$ac_cv_host
2910
2830
ac_save_IFS=$IFS; IFS='-'
2920
2840
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2921
2841
 
2922
2842
 
 
2843
# Backslashify metacharacters that are still active within
 
2844
# double-quoted strings.
 
2845
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
2846
 
 
2847
# Same as above, but do not quote variable references.
 
2848
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
2849
 
 
2850
# Sed substitution to delay expansion of an escaped shell variable in a
 
2851
# double_quote_subst'ed string.
 
2852
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
2853
 
 
2854
# Sed substitution to delay expansion of an escaped single quote.
 
2855
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
2856
 
 
2857
# Sed substitution to avoid accidental globbing in evaled expressions
 
2858
no_glob_subst='s/\*/\\\*/g'
 
2859
 
 
2860
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
2861
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
2862
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
2863
 
 
2864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
2865
$as_echo_n "checking how to print strings... " >&6; }
 
2866
# Test print first, because it will be a builtin if present.
 
2867
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
2868
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
2869
  ECHO='print -r --'
 
2870
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
2871
  ECHO='printf %s\n'
 
2872
else
 
2873
  # Use this function as a fallback that always works.
 
2874
  func_fallback_echo ()
 
2875
  {
 
2876
    eval 'cat <<_LTECHO_EOF
 
2877
$1
 
2878
_LTECHO_EOF'
 
2879
  }
 
2880
  ECHO='func_fallback_echo'
 
2881
fi
 
2882
 
 
2883
# func_echo_all arg...
 
2884
# Invoke $ECHO with all args, space-separated.
 
2885
func_echo_all ()
 
2886
{
 
2887
    $ECHO ""
 
2888
}
 
2889
 
 
2890
case "$ECHO" in
 
2891
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
2892
$as_echo "printf" >&6; } ;;
 
2893
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
2894
$as_echo "print -r" >&6; } ;;
 
2895
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
2896
$as_echo "cat" >&6; } ;;
 
2897
esac
 
2898
 
 
2899
 
 
2900
 
 
2901
 
 
2902
 
 
2903
 
 
2904
 
 
2905
 
 
2906
 
 
2907
 
 
2908
 
 
2909
 
 
2910
 
 
2911
 
2923
2912
DEPDIR="${am__leading_dot}deps"
2924
2913
 
2925
2914
ac_config_commands="$ac_config_commands depfiles"
2972
2961
if test "x$enable_dependency_tracking" != xno; then
2973
2962
  am_depcomp="$ac_aux_dir/depcomp"
2974
2963
  AMDEPBACKSLASH='\'
 
2964
  am__nodep='_no'
2975
2965
fi
2976
2966
 if test "x$enable_dependency_tracking" != xno; then
2977
2967
  AMDEP_TRUE=
2992
2982
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2993
2983
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2994
2984
$as_echo_n "checking for $ac_word... " >&6; }
2995
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2985
if ${ac_cv_prog_CC+:} false; then :
2996
2986
  $as_echo_n "(cached) " >&6
2997
2987
else
2998
2988
  if test -n "$CC"; then
3032
3022
set dummy gcc; ac_word=$2
3033
3023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034
3024
$as_echo_n "checking for $ac_word... " >&6; }
3035
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3025
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3036
3026
  $as_echo_n "(cached) " >&6
3037
3027
else
3038
3028
  if test -n "$ac_ct_CC"; then
3085
3075
set dummy ${ac_tool_prefix}cc; ac_word=$2
3086
3076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087
3077
$as_echo_n "checking for $ac_word... " >&6; }
3088
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3078
if ${ac_cv_prog_CC+:} false; then :
3089
3079
  $as_echo_n "(cached) " >&6
3090
3080
else
3091
3081
  if test -n "$CC"; then
3125
3115
set dummy cc; ac_word=$2
3126
3116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127
3117
$as_echo_n "checking for $ac_word... " >&6; }
3128
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3118
if ${ac_cv_prog_CC+:} false; then :
3129
3119
  $as_echo_n "(cached) " >&6
3130
3120
else
3131
3121
  if test -n "$CC"; then
3184
3174
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3185
3175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3186
3176
$as_echo_n "checking for $ac_word... " >&6; }
3187
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3177
if ${ac_cv_prog_CC+:} false; then :
3188
3178
  $as_echo_n "(cached) " >&6
3189
3179
else
3190
3180
  if test -n "$CC"; then
3228
3218
set dummy $ac_prog; ac_word=$2
3229
3219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230
3220
$as_echo_n "checking for $ac_word... " >&6; }
3231
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3221
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3232
3222
  $as_echo_n "(cached) " >&6
3233
3223
else
3234
3224
  if test -n "$ac_ct_CC"; then
3282
3272
 
3283
3273
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3284
3274
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3285
 
as_fn_error "no acceptable C compiler found in \$PATH
3286
 
See \`config.log' for more details." "$LINENO" 5; }
 
3275
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3276
See \`config.log' for more details" "$LINENO" 5; }
3287
3277
 
3288
3278
# Provide some information about the compiler.
3289
3279
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3397
3387
 
3398
3388
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3399
3389
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3400
 
{ as_fn_set_status 77
3401
 
as_fn_error "C compiler cannot create executables
3402
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3390
as_fn_error 77 "C compiler cannot create executables
 
3391
See \`config.log' for more details" "$LINENO" 5; }
3403
3392
else
3404
3393
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3405
3394
$as_echo "yes" >&6; }
3441
3430
else
3442
3431
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3443
3432
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3444
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3445
 
See \`config.log' for more details." "$LINENO" 5; }
 
3433
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3434
See \`config.log' for more details" "$LINENO" 5; }
3446
3435
fi
3447
3436
rm -f conftest conftest$ac_cv_exeext
3448
3437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3499
3488
    else
3500
3489
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3501
3490
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3502
 
as_fn_error "cannot run C compiled programs.
 
3491
as_fn_error $? "cannot run C compiled programs.
3503
3492
If you meant to cross compile, use \`--host'.
3504
 
See \`config.log' for more details." "$LINENO" 5; }
 
3493
See \`config.log' for more details" "$LINENO" 5; }
3505
3494
    fi
3506
3495
  fi
3507
3496
fi
3512
3501
ac_clean_files=$ac_clean_files_save
3513
3502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3514
3503
$as_echo_n "checking for suffix of object files... " >&6; }
3515
 
if test "${ac_cv_objext+set}" = set; then :
 
3504
if ${ac_cv_objext+:} false; then :
3516
3505
  $as_echo_n "(cached) " >&6
3517
3506
else
3518
3507
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3552
3541
 
3553
3542
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3554
3543
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3555
 
as_fn_error "cannot compute suffix of object files: cannot compile
3556
 
See \`config.log' for more details." "$LINENO" 5; }
 
3544
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3545
See \`config.log' for more details" "$LINENO" 5; }
3557
3546
fi
3558
3547
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3559
3548
fi
3563
3552
ac_objext=$OBJEXT
3564
3553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3565
3554
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3566
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3555
if ${ac_cv_c_compiler_gnu+:} false; then :
3567
3556
  $as_echo_n "(cached) " >&6
3568
3557
else
3569
3558
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600
3589
ac_save_CFLAGS=$CFLAGS
3601
3590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3602
3591
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3603
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3592
if ${ac_cv_prog_cc_g+:} false; then :
3604
3593
  $as_echo_n "(cached) " >&6
3605
3594
else
3606
3595
  ac_save_c_werror_flag=$ac_c_werror_flag
3678
3667
fi
3679
3668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3680
3669
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3681
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3670
if ${ac_cv_prog_cc_c89+:} false; then :
3682
3671
  $as_echo_n "(cached) " >&6
3683
3672
else
3684
3673
  ac_cv_prog_cc_c89=no
3777
3766
 
3778
3767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3779
3768
$as_echo_n "checking dependency style of $depcc... " >&6; }
3780
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3769
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3781
3770
  $as_echo_n "(cached) " >&6
3782
3771
else
3783
3772
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3786
3775
  # instance it was reported that on HP-UX the gcc test will end up
3787
3776
  # making a dummy file named `D' -- because `-MD' means `put the output
3788
3777
  # in D'.
 
3778
  rm -rf conftest.dir
3789
3779
  mkdir conftest.dir
3790
3780
  # Copy depcomp to subdir because otherwise we won't find it if we're
3791
3781
  # using a relative directory.
3845
3835
        break
3846
3836
      fi
3847
3837
      ;;
3848
 
    msvisualcpp | msvcmsys)
 
3838
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3849
3839
      # This compiler won't grok `-c -o', but also, the minuso test has
3850
3840
      # not run yet.  These depmodes are late enough in the game, and
3851
3841
      # so weak that their functioning should not be impacted.
3902
3892
 
3903
3893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3904
3894
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3905
 
if test "${ac_cv_path_SED+set}" = set; then :
 
3895
if ${ac_cv_path_SED+:} false; then :
3906
3896
  $as_echo_n "(cached) " >&6
3907
3897
else
3908
3898
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3957
3947
  done
3958
3948
IFS=$as_save_IFS
3959
3949
  if test -z "$ac_cv_path_SED"; then
3960
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
3950
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3961
3951
  fi
3962
3952
else
3963
3953
  ac_cv_path_SED=$SED
3984
3974
 
3985
3975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3986
3976
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3987
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
3977
if ${ac_cv_path_GREP+:} false; then :
3988
3978
  $as_echo_n "(cached) " >&6
3989
3979
else
3990
3980
  if test -z "$GREP"; then
4033
4023
  done
4034
4024
IFS=$as_save_IFS
4035
4025
  if test -z "$ac_cv_path_GREP"; then
4036
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4026
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4037
4027
  fi
4038
4028
else
4039
4029
  ac_cv_path_GREP=$GREP
4047
4037
 
4048
4038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4049
4039
$as_echo_n "checking for egrep... " >&6; }
4050
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4040
if ${ac_cv_path_EGREP+:} false; then :
4051
4041
  $as_echo_n "(cached) " >&6
4052
4042
else
4053
4043
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4099
4089
  done
4100
4090
IFS=$as_save_IFS
4101
4091
  if test -z "$ac_cv_path_EGREP"; then
4102
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4092
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4103
4093
  fi
4104
4094
else
4105
4095
  ac_cv_path_EGREP=$EGREP
4114
4104
 
4115
4105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4116
4106
$as_echo_n "checking for fgrep... " >&6; }
4117
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4107
if ${ac_cv_path_FGREP+:} false; then :
4118
4108
  $as_echo_n "(cached) " >&6
4119
4109
else
4120
4110
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4166
4156
  done
4167
4157
IFS=$as_save_IFS
4168
4158
  if test -z "$ac_cv_path_FGREP"; then
4169
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4159
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4170
4160
  fi
4171
4161
else
4172
4162
  ac_cv_path_FGREP=$FGREP
4245
4235
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4246
4236
$as_echo_n "checking for non-GNU ld... " >&6; }
4247
4237
fi
4248
 
if test "${lt_cv_path_LD+set}" = set; then :
 
4238
if ${lt_cv_path_LD+:} false; then :
4249
4239
  $as_echo_n "(cached) " >&6
4250
4240
else
4251
4241
  if test -z "$LD"; then
4282
4272
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4283
4273
$as_echo "no" >&6; }
4284
4274
fi
4285
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4275
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4286
4276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4287
4277
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4288
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4278
if ${lt_cv_prog_gnu_ld+:} false; then :
4289
4279
  $as_echo_n "(cached) " >&6
4290
4280
else
4291
4281
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4312
4302
 
4313
4303
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4314
4304
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4315
 
if test "${lt_cv_path_NM+set}" = set; then :
 
4305
if ${lt_cv_path_NM+:} false; then :
4316
4306
  $as_echo_n "(cached) " >&6
4317
4307
else
4318
4308
  if test -n "$NM"; then
4365
4355
  NM="$lt_cv_path_NM"
4366
4356
else
4367
4357
  # Didn't find any BSD compatible name lister, look for dumpbin.
4368
 
  if test -n "$ac_tool_prefix"; then
4369
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4358
  if test -n "$DUMPBIN"; then :
 
4359
    # Let the user override the test.
 
4360
  else
 
4361
    if test -n "$ac_tool_prefix"; then
 
4362
  for ac_prog in dumpbin "link -dump"
4370
4363
  do
4371
4364
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4372
4365
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4373
4366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4374
4367
$as_echo_n "checking for $ac_word... " >&6; }
4375
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4368
if ${ac_cv_prog_DUMPBIN+:} false; then :
4376
4369
  $as_echo_n "(cached) " >&6
4377
4370
else
4378
4371
  if test -n "$DUMPBIN"; then
4410
4403
fi
4411
4404
if test -z "$DUMPBIN"; then
4412
4405
  ac_ct_DUMPBIN=$DUMPBIN
4413
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4406
  for ac_prog in dumpbin "link -dump"
4414
4407
do
4415
4408
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4416
4409
set dummy $ac_prog; ac_word=$2
4417
4410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4418
4411
$as_echo_n "checking for $ac_word... " >&6; }
4419
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4412
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4420
4413
  $as_echo_n "(cached) " >&6
4421
4414
else
4422
4415
  if test -n "$ac_ct_DUMPBIN"; then
4465
4458
  fi
4466
4459
fi
4467
4460
 
 
4461
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4462
    *COFF*)
 
4463
      DUMPBIN="$DUMPBIN -symbols"
 
4464
      ;;
 
4465
    *)
 
4466
      DUMPBIN=:
 
4467
      ;;
 
4468
    esac
 
4469
  fi
4468
4470
 
4469
4471
  if test "$DUMPBIN" != ":"; then
4470
4472
    NM="$DUMPBIN"
4479
4481
 
4480
4482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4481
4483
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4482
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
4484
if ${lt_cv_nm_interface+:} false; then :
4483
4485
  $as_echo_n "(cached) " >&6
4484
4486
else
4485
4487
  lt_cv_nm_interface="BSD nm"
4486
4488
  echo "int some_variable = 0;" > conftest.$ac_ext
4487
 
  (eval echo "\"\$as_me:4487: $ac_compile\"" >&5)
 
4489
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4488
4490
  (eval "$ac_compile" 2>conftest.err)
4489
4491
  cat conftest.err >&5
4490
 
  (eval echo "\"\$as_me:4490: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4492
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4491
4493
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4492
4494
  cat conftest.err >&5
4493
 
  (eval echo "\"\$as_me:4493: output\"" >&5)
 
4495
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4494
4496
  cat conftest.out >&5
4495
4497
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4496
4498
    lt_cv_nm_interface="MS dumpbin"
4514
4516
# find the maximum length of command line arguments
4515
4517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4516
4518
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4517
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
4519
if ${lt_cv_sys_max_cmd_len+:} false; then :
4518
4520
  $as_echo_n "(cached) " >&6
4519
4521
else
4520
4522
    i=0
4547
4549
    lt_cv_sys_max_cmd_len=8192;
4548
4550
    ;;
4549
4551
 
 
4552
  mint*)
 
4553
    # On MiNT this can take a long time and run out of memory.
 
4554
    lt_cv_sys_max_cmd_len=8192;
 
4555
    ;;
 
4556
 
4550
4557
  amigaos*)
4551
4558
    # On AmigaOS with pdksh, this test takes hours, literally.
4552
4559
    # So we just punt and use a minimum line length of 8192.
4572
4579
    lt_cv_sys_max_cmd_len=196608
4573
4580
    ;;
4574
4581
 
 
4582
  os2*)
 
4583
    # The test takes a long time on OS/2.
 
4584
    lt_cv_sys_max_cmd_len=8192
 
4585
    ;;
 
4586
 
4575
4587
  osf*)
4576
4588
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4577
4589
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4611
4623
      # If test is not a shell built-in, we'll probably end up computing a
4612
4624
      # maximum length that is only half of the actual maximum length, but
4613
4625
      # we can't tell.
4614
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4615
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4626
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
4627
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4616
4628
              test $i != 17 # 1/2 MB should be enough
4617
4629
      do
4618
4630
        i=`expr $i + 1`
4654
4666
# Try some XSI features
4655
4667
xsi_shell=no
4656
4668
( _lt_dummy="a/b/c"
4657
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4658
 
      = c,a/b,, \
 
4669
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
4670
      = c,a/b,b/c, \
4659
4671
    && eval 'test $(( 1 + 1 )) -eq 2 \
4660
4672
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4661
4673
  && xsi_shell=yes
4704
4716
 
4705
4717
 
4706
4718
 
 
4719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
4720
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
4721
if ${lt_cv_to_host_file_cmd+:} false; then :
 
4722
  $as_echo_n "(cached) " >&6
 
4723
else
 
4724
  case $host in
 
4725
  *-*-mingw* )
 
4726
    case $build in
 
4727
      *-*-mingw* ) # actually msys
 
4728
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
4729
        ;;
 
4730
      *-*-cygwin* )
 
4731
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
4732
        ;;
 
4733
      * ) # otherwise, assume *nix
 
4734
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
4735
        ;;
 
4736
    esac
 
4737
    ;;
 
4738
  *-*-cygwin* )
 
4739
    case $build in
 
4740
      *-*-mingw* ) # actually msys
 
4741
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
4742
        ;;
 
4743
      *-*-cygwin* )
 
4744
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
4745
        ;;
 
4746
      * ) # otherwise, assume *nix
 
4747
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
4748
        ;;
 
4749
    esac
 
4750
    ;;
 
4751
  * ) # unhandled hosts (and "normal" native builds)
 
4752
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
4753
    ;;
 
4754
esac
 
4755
 
 
4756
fi
 
4757
 
 
4758
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
4759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
4760
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
4761
 
 
4762
 
 
4763
 
 
4764
 
 
4765
 
 
4766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
4767
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
4768
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
4769
  $as_echo_n "(cached) " >&6
 
4770
else
 
4771
  #assume ordinary cross tools, or native build.
 
4772
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
4773
case $host in
 
4774
  *-*-mingw* )
 
4775
    case $build in
 
4776
      *-*-mingw* ) # actually msys
 
4777
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
4778
        ;;
 
4779
    esac
 
4780
    ;;
 
4781
esac
 
4782
 
 
4783
fi
 
4784
 
 
4785
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
4786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
4787
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
4788
 
 
4789
 
 
4790
 
 
4791
 
 
4792
 
4707
4793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4708
4794
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4709
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
4795
if ${lt_cv_ld_reload_flag+:} false; then :
4710
4796
  $as_echo_n "(cached) " >&6
4711
4797
else
4712
4798
  lt_cv_ld_reload_flag='-r'
4720
4806
esac
4721
4807
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4722
4808
case $host_os in
 
4809
  cygwin* | mingw* | pw32* | cegcc*)
 
4810
    if test "$GCC" != yes; then
 
4811
      reload_cmds=false
 
4812
    fi
 
4813
    ;;
4723
4814
  darwin*)
4724
4815
    if test "$GCC" = yes; then
4725
4816
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4742
4833
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4743
4834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4744
4835
$as_echo_n "checking for $ac_word... " >&6; }
4745
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
4836
if ${ac_cv_prog_OBJDUMP+:} false; then :
4746
4837
  $as_echo_n "(cached) " >&6
4747
4838
else
4748
4839
  if test -n "$OBJDUMP"; then
4782
4873
set dummy objdump; ac_word=$2
4783
4874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4784
4875
$as_echo_n "checking for $ac_word... " >&6; }
4785
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
4876
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4786
4877
  $as_echo_n "(cached) " >&6
4787
4878
else
4788
4879
  if test -n "$ac_ct_OBJDUMP"; then
4841
4932
 
4842
4933
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4843
4934
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4844
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
4935
if ${lt_cv_deplibs_check_method+:} false; then :
4845
4936
  $as_echo_n "(cached) " >&6
4846
4937
else
4847
4938
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4883
4974
  # Base MSYS/MinGW do not provide the 'file' command needed by
4884
4975
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4885
4976
  # unless we find 'file', for example because we are cross-compiling.
4886
 
  if ( file / ) >/dev/null 2>&1; then
 
4977
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
4978
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4887
4979
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4888
4980
    lt_cv_file_magic_cmd='func_win32_libid'
4889
4981
  else
4890
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4982
    # Keep this pattern in sync with the one in func_win32_libid.
 
4983
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4891
4984
    lt_cv_file_magic_cmd='$OBJDUMP -f'
4892
4985
  fi
4893
4986
  ;;
4894
4987
 
4895
 
cegcc)
 
4988
cegcc*)
4896
4989
  # use the weaker test based on 'objdump'. See mingw*.
4897
4990
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4898
4991
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4922
5015
  lt_cv_deplibs_check_method=pass_all
4923
5016
  ;;
4924
5017
 
 
5018
haiku*)
 
5019
  lt_cv_deplibs_check_method=pass_all
 
5020
  ;;
 
5021
 
4925
5022
hpux10.20* | hpux11*)
4926
5023
  lt_cv_file_magic_cmd=/usr/bin/file
4927
5024
  case $host_cpu in
4930
5027
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4931
5028
    ;;
4932
5029
  hppa*64*)
4933
 
    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]'
 
5030
    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]'
4934
5031
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4935
5032
    ;;
4936
5033
  *)
4937
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5034
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4938
5035
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4939
5036
    ;;
4940
5037
  esac
4955
5052
  lt_cv_deplibs_check_method=pass_all
4956
5053
  ;;
4957
5054
 
4958
 
# This must be Linux ELF.
4959
 
linux* | k*bsd*-gnu)
 
5055
# This must be glibc/ELF.
 
5056
linux* | k*bsd*-gnu | kopensolaris*-gnu)
4960
5057
  lt_cv_deplibs_check_method=pass_all
4961
5058
  ;;
4962
5059
 
4963
 
netbsd*)
 
5060
netbsd* | netbsdelf*-gnu)
4964
5061
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4965
5062
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4966
5063
  else
5037
5134
fi
5038
5135
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5039
5136
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5137
 
 
5138
file_magic_glob=
 
5139
want_nocaseglob=no
 
5140
if test "$build" = "$host"; then
 
5141
  case $host_os in
 
5142
  mingw* | pw32*)
 
5143
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5144
      want_nocaseglob=yes
 
5145
    else
 
5146
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5147
    fi
 
5148
    ;;
 
5149
  esac
 
5150
fi
 
5151
 
5040
5152
file_magic_cmd=$lt_cv_file_magic_cmd
5041
5153
deplibs_check_method=$lt_cv_deplibs_check_method
5042
5154
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5052
5164
 
5053
5165
 
5054
5166
 
5055
 
if test -n "$ac_tool_prefix"; then
5056
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5057
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5058
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059
 
$as_echo_n "checking for $ac_word... " >&6; }
5060
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
5167
 
 
5168
 
 
5169
 
 
5170
 
 
5171
 
 
5172
 
 
5173
 
 
5174
 
 
5175
 
 
5176
 
 
5177
if test -n "$ac_tool_prefix"; then
 
5178
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5179
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5181
$as_echo_n "checking for $ac_word... " >&6; }
 
5182
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5183
  $as_echo_n "(cached) " >&6
 
5184
else
 
5185
  if test -n "$DLLTOOL"; then
 
5186
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5187
else
 
5188
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5189
for as_dir in $PATH
 
5190
do
 
5191
  IFS=$as_save_IFS
 
5192
  test -z "$as_dir" && as_dir=.
 
5193
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5194
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5195
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5196
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5197
    break 2
 
5198
  fi
 
5199
done
 
5200
  done
 
5201
IFS=$as_save_IFS
 
5202
 
 
5203
fi
 
5204
fi
 
5205
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5206
if test -n "$DLLTOOL"; then
 
5207
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5208
$as_echo "$DLLTOOL" >&6; }
 
5209
else
 
5210
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5211
$as_echo "no" >&6; }
 
5212
fi
 
5213
 
 
5214
 
 
5215
fi
 
5216
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5217
  ac_ct_DLLTOOL=$DLLTOOL
 
5218
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5219
set dummy dlltool; ac_word=$2
 
5220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5221
$as_echo_n "checking for $ac_word... " >&6; }
 
5222
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5223
  $as_echo_n "(cached) " >&6
 
5224
else
 
5225
  if test -n "$ac_ct_DLLTOOL"; then
 
5226
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5227
else
 
5228
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5229
for as_dir in $PATH
 
5230
do
 
5231
  IFS=$as_save_IFS
 
5232
  test -z "$as_dir" && as_dir=.
 
5233
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5234
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5235
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5236
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5237
    break 2
 
5238
  fi
 
5239
done
 
5240
  done
 
5241
IFS=$as_save_IFS
 
5242
 
 
5243
fi
 
5244
fi
 
5245
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5246
if test -n "$ac_ct_DLLTOOL"; then
 
5247
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5248
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5249
else
 
5250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5251
$as_echo "no" >&6; }
 
5252
fi
 
5253
 
 
5254
  if test "x$ac_ct_DLLTOOL" = x; then
 
5255
    DLLTOOL="false"
 
5256
  else
 
5257
    case $cross_compiling:$ac_tool_warned in
 
5258
yes:)
 
5259
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5260
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5261
ac_tool_warned=yes ;;
 
5262
esac
 
5263
    DLLTOOL=$ac_ct_DLLTOOL
 
5264
  fi
 
5265
else
 
5266
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5267
fi
 
5268
 
 
5269
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5270
 
 
5271
 
 
5272
 
 
5273
 
 
5274
 
 
5275
 
 
5276
 
 
5277
 
 
5278
 
 
5279
 
 
5280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5281
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5282
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5283
  $as_echo_n "(cached) " >&6
 
5284
else
 
5285
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5286
 
 
5287
case $host_os in
 
5288
cygwin* | mingw* | pw32* | cegcc*)
 
5289
  # two different shell functions defined in ltmain.sh
 
5290
  # decide which to use based on capabilities of $DLLTOOL
 
5291
  case `$DLLTOOL --help 2>&1` in
 
5292
  *--identify-strict*)
 
5293
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5294
    ;;
 
5295
  *)
 
5296
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5297
    ;;
 
5298
  esac
 
5299
  ;;
 
5300
*)
 
5301
  # fallback: assume linklib IS sharedlib
 
5302
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5303
  ;;
 
5304
esac
 
5305
 
 
5306
fi
 
5307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5308
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5309
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5310
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5311
 
 
5312
 
 
5313
 
 
5314
 
 
5315
 
 
5316
 
 
5317
 
 
5318
 
 
5319
if test -n "$ac_tool_prefix"; then
 
5320
  for ac_prog in ar
 
5321
  do
 
5322
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5323
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5325
$as_echo_n "checking for $ac_word... " >&6; }
 
5326
if ${ac_cv_prog_AR+:} false; then :
5061
5327
  $as_echo_n "(cached) " >&6
5062
5328
else
5063
5329
  if test -n "$AR"; then
5070
5336
  test -z "$as_dir" && as_dir=.
5071
5337
    for ac_exec_ext in '' $ac_executable_extensions; do
5072
5338
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5339
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5074
5340
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075
5341
    break 2
5076
5342
  fi
5090
5356
fi
5091
5357
 
5092
5358
 
 
5359
    test -n "$AR" && break
 
5360
  done
5093
5361
fi
5094
 
if test -z "$ac_cv_prog_AR"; then
 
5362
if test -z "$AR"; then
5095
5363
  ac_ct_AR=$AR
5096
 
  # Extract the first word of "ar", so it can be a program name with args.
5097
 
set dummy ar; ac_word=$2
 
5364
  for ac_prog in ar
 
5365
do
 
5366
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5367
set dummy $ac_prog; ac_word=$2
5098
5368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5099
5369
$as_echo_n "checking for $ac_word... " >&6; }
5100
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5370
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5101
5371
  $as_echo_n "(cached) " >&6
5102
5372
else
5103
5373
  if test -n "$ac_ct_AR"; then
5110
5380
  test -z "$as_dir" && as_dir=.
5111
5381
    for ac_exec_ext in '' $ac_executable_extensions; do
5112
5382
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5113
 
    ac_cv_prog_ac_ct_AR="ar"
 
5383
    ac_cv_prog_ac_ct_AR="$ac_prog"
5114
5384
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5115
5385
    break 2
5116
5386
  fi
5129
5399
$as_echo "no" >&6; }
5130
5400
fi
5131
5401
 
 
5402
 
 
5403
  test -n "$ac_ct_AR" && break
 
5404
done
 
5405
 
5132
5406
  if test "x$ac_ct_AR" = x; then
5133
5407
    AR="false"
5134
5408
  else
5140
5414
esac
5141
5415
    AR=$ac_ct_AR
5142
5416
  fi
5143
 
else
5144
 
  AR="$ac_cv_prog_AR"
5145
 
fi
5146
 
 
5147
 
test -z "$AR" && AR=ar
5148
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5149
 
 
5150
 
 
5151
 
 
5152
 
 
 
5417
fi
 
5418
 
 
5419
: ${AR=ar}
 
5420
: ${AR_FLAGS=cru}
 
5421
 
 
5422
 
 
5423
 
 
5424
 
 
5425
 
 
5426
 
 
5427
 
 
5428
 
 
5429
 
 
5430
 
 
5431
 
 
5432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5433
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5434
if ${lt_cv_ar_at_file+:} false; then :
 
5435
  $as_echo_n "(cached) " >&6
 
5436
else
 
5437
  lt_cv_ar_at_file=no
 
5438
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5439
/* end confdefs.h.  */
 
5440
 
 
5441
int
 
5442
main ()
 
5443
{
 
5444
 
 
5445
  ;
 
5446
  return 0;
 
5447
}
 
5448
_ACEOF
 
5449
if ac_fn_c_try_compile "$LINENO"; then :
 
5450
  echo conftest.$ac_objext > conftest.lst
 
5451
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
5452
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5453
  (eval $lt_ar_try) 2>&5
 
5454
  ac_status=$?
 
5455
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5456
  test $ac_status = 0; }
 
5457
      if test "$ac_status" -eq 0; then
 
5458
        # Ensure the archiver fails upon bogus file names.
 
5459
        rm -f conftest.$ac_objext libconftest.a
 
5460
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5461
  (eval $lt_ar_try) 2>&5
 
5462
  ac_status=$?
 
5463
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5464
  test $ac_status = 0; }
 
5465
        if test "$ac_status" -ne 0; then
 
5466
          lt_cv_ar_at_file=@
 
5467
        fi
 
5468
      fi
 
5469
      rm -f conftest.* libconftest.a
 
5470
 
 
5471
fi
 
5472
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5473
 
 
5474
fi
 
5475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
5476
$as_echo "$lt_cv_ar_at_file" >&6; }
 
5477
 
 
5478
if test "x$lt_cv_ar_at_file" = xno; then
 
5479
  archiver_list_spec=
 
5480
else
 
5481
  archiver_list_spec=$lt_cv_ar_at_file
 
5482
fi
5153
5483
 
5154
5484
 
5155
5485
 
5162
5492
set dummy ${ac_tool_prefix}strip; ac_word=$2
5163
5493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164
5494
$as_echo_n "checking for $ac_word... " >&6; }
5165
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5495
if ${ac_cv_prog_STRIP+:} false; then :
5166
5496
  $as_echo_n "(cached) " >&6
5167
5497
else
5168
5498
  if test -n "$STRIP"; then
5202
5532
set dummy strip; ac_word=$2
5203
5533
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204
5534
$as_echo_n "checking for $ac_word... " >&6; }
5205
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
5535
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5206
5536
  $as_echo_n "(cached) " >&6
5207
5537
else
5208
5538
  if test -n "$ac_ct_STRIP"; then
5261
5591
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5262
5592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263
5593
$as_echo_n "checking for $ac_word... " >&6; }
5264
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5594
if ${ac_cv_prog_RANLIB+:} false; then :
5265
5595
  $as_echo_n "(cached) " >&6
5266
5596
else
5267
5597
  if test -n "$RANLIB"; then
5301
5631
set dummy ranlib; ac_word=$2
5302
5632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5303
5633
$as_echo_n "checking for $ac_word... " >&6; }
5304
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
5634
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5305
5635
  $as_echo_n "(cached) " >&6
5306
5636
else
5307
5637
  if test -n "$ac_ct_RANLIB"; then
5363
5693
if test -n "$RANLIB"; then
5364
5694
  case $host_os in
5365
5695
  openbsd*)
5366
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5696
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5367
5697
    ;;
5368
5698
  *)
5369
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5699
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5370
5700
    ;;
5371
5701
  esac
5372
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5702
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5373
5703
fi
5374
5704
 
 
5705
case $host_os in
 
5706
  darwin*)
 
5707
    lock_old_archive_extraction=yes ;;
 
5708
  *)
 
5709
    lock_old_archive_extraction=no ;;
 
5710
esac
 
5711
 
 
5712
 
 
5713
 
 
5714
 
 
5715
 
 
5716
 
5375
5717
 
5376
5718
 
5377
5719
 
5418
5760
# Check for command to grab the raw symbol name followed by C symbol from nm.
5419
5761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5420
5762
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5421
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
5763
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5422
5764
  $as_echo_n "(cached) " >&6
5423
5765
else
5424
5766
 
5479
5821
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5480
5822
 
5481
5823
# Transform an extracted symbol line into symbol name and symbol address
5482
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5483
 
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'"
 
5824
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5825
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'"
5484
5826
 
5485
5827
# Handle CRLF in mingw tool chain
5486
5828
opt_cr=
5504
5846
    # which start with @ or ?.
5505
5847
    lt_cv_sys_global_symbol_pipe="$AWK '"\
5506
5848
"     {last_section=section; section=\$ 3};"\
 
5849
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5507
5850
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5508
5851
"     \$ 0!~/External *\|/{next};"\
5509
5852
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5516
5859
  else
5517
5860
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5518
5861
  fi
 
5862
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5519
5863
 
5520
5864
  # Check to see that the pipe works correctly.
5521
5865
  pipe_works=no
5541
5885
  test $ac_status = 0; }; then
5542
5886
    # Now try to grab the symbols.
5543
5887
    nlist=conftest.nm
5544
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5545
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
5888
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
5889
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5546
5890
  ac_status=$?
5547
5891
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5548
5892
  test $ac_status = 0; } && test -s "$nlist"; then
5557
5901
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5558
5902
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5559
5903
          cat <<_LT_EOF > conftest.$ac_ext
 
5904
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
5905
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
5906
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
5907
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
5908
# define LT_DLSYM_CONST
 
5909
#elif defined(__osf__)
 
5910
/* This system does not cope well with relocations in const data.  */
 
5911
# define LT_DLSYM_CONST
 
5912
#else
 
5913
# define LT_DLSYM_CONST const
 
5914
#endif
 
5915
 
5560
5916
#ifdef __cplusplus
5561
5917
extern "C" {
5562
5918
#endif
5568
5924
          cat <<_LT_EOF >> conftest.$ac_ext
5569
5925
 
5570
5926
/* The mapping between symbol names and symbols.  */
5571
 
const struct {
 
5927
LT_DLSYM_CONST struct {
5572
5928
  const char *name;
5573
5929
  void       *address;
5574
5930
}
5594
5950
_LT_EOF
5595
5951
          # Now try linking the two files.
5596
5952
          mv conftest.$ac_objext conftstm.$ac_objext
5597
 
          lt_save_LIBS="$LIBS"
5598
 
          lt_save_CFLAGS="$CFLAGS"
 
5953
          lt_globsym_save_LIBS=$LIBS
 
5954
          lt_globsym_save_CFLAGS=$CFLAGS
5599
5955
          LIBS="conftstm.$ac_objext"
5600
5956
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5601
5957
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5605
5961
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5606
5962
            pipe_works=yes
5607
5963
          fi
5608
 
          LIBS="$lt_save_LIBS"
5609
 
          CFLAGS="$lt_save_CFLAGS"
 
5964
          LIBS=$lt_globsym_save_LIBS
 
5965
          CFLAGS=$lt_globsym_save_CFLAGS
5610
5966
        else
5611
5967
          echo "cannot find nm_test_func in $nlist" >&5
5612
5968
        fi
5643
5999
$as_echo "ok" >&6; }
5644
6000
fi
5645
6001
 
5646
 
 
5647
 
 
5648
 
 
5649
 
 
5650
 
 
5651
 
 
5652
 
 
5653
 
 
5654
 
 
5655
 
 
5656
 
 
5657
 
 
5658
 
 
5659
 
 
5660
 
 
5661
 
 
5662
 
 
 
6002
# Response file support.
 
6003
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6004
  nm_file_list_spec='@'
 
6005
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6006
  nm_file_list_spec='@'
 
6007
fi
 
6008
 
 
6009
 
 
6010
 
 
6011
 
 
6012
 
 
6013
 
 
6014
 
 
6015
 
 
6016
 
 
6017
 
 
6018
 
 
6019
 
 
6020
 
 
6021
 
 
6022
 
 
6023
 
 
6024
 
 
6025
 
 
6026
 
 
6027
 
 
6028
 
 
6029
 
 
6030
 
 
6031
 
 
6032
 
 
6033
 
 
6034
 
 
6035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6036
$as_echo_n "checking for sysroot... " >&6; }
 
6037
 
 
6038
# Check whether --with-sysroot was given.
 
6039
if test "${with_sysroot+set}" = set; then :
 
6040
  withval=$with_sysroot;
 
6041
else
 
6042
  with_sysroot=no
 
6043
fi
 
6044
 
 
6045
 
 
6046
lt_sysroot=
 
6047
case ${with_sysroot} in #(
 
6048
 yes)
 
6049
   if test "$GCC" = yes; then
 
6050
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6051
   fi
 
6052
   ;; #(
 
6053
 /*)
 
6054
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6055
   ;; #(
 
6056
 no|'')
 
6057
   ;; #(
 
6058
 *)
 
6059
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6060
$as_echo "${with_sysroot}" >&6; }
 
6061
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6062
   ;;
 
6063
esac
 
6064
 
 
6065
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6066
$as_echo "${lt_sysroot:-no}" >&6; }
5663
6067
 
5664
6068
 
5665
6069
 
5696
6100
  ;;
5697
6101
*-*-irix6*)
5698
6102
  # Find out which ABI we are using.
5699
 
  echo '#line 5699 "configure"' > conftest.$ac_ext
 
6103
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5700
6104
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5701
6105
  (eval $ac_compile) 2>&5
5702
6106
  ac_status=$?
5790
6194
  CFLAGS="$CFLAGS -belf"
5791
6195
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5792
6196
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5793
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6197
if ${lt_cv_cc_needs_belf+:} false; then :
5794
6198
  $as_echo_n "(cached) " >&6
5795
6199
else
5796
6200
  ac_ext=c
5831
6235
    CFLAGS="$SAVE_CFLAGS"
5832
6236
  fi
5833
6237
  ;;
5834
 
sparc*-*solaris*)
 
6238
*-*solaris*)
5835
6239
  # Find out which ABI we are using.
5836
6240
  echo 'int i;' > conftest.$ac_ext
5837
6241
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5842
6246
    case `/usr/bin/file conftest.o` in
5843
6247
    *64-bit*)
5844
6248
      case $lt_cv_prog_gnu_ld in
5845
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6249
      yes*)
 
6250
        case $host in
 
6251
        i?86-*-solaris*)
 
6252
          LD="${LD-ld} -m elf_x86_64"
 
6253
          ;;
 
6254
        sparc*-*-solaris*)
 
6255
          LD="${LD-ld} -m elf64_sparc"
 
6256
          ;;
 
6257
        esac
 
6258
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
6259
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
6260
          LD="${LD-ld}_sol2"
 
6261
        fi
 
6262
        ;;
5846
6263
      *)
5847
6264
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5848
6265
          LD="${LD-ld} -64"
5858
6275
 
5859
6276
need_locks="$enable_libtool_lock"
5860
6277
 
 
6278
if test -n "$ac_tool_prefix"; then
 
6279
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6280
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6282
$as_echo_n "checking for $ac_word... " >&6; }
 
6283
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6284
  $as_echo_n "(cached) " >&6
 
6285
else
 
6286
  if test -n "$MANIFEST_TOOL"; then
 
6287
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6288
else
 
6289
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6290
for as_dir in $PATH
 
6291
do
 
6292
  IFS=$as_save_IFS
 
6293
  test -z "$as_dir" && as_dir=.
 
6294
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6295
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6296
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6297
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6298
    break 2
 
6299
  fi
 
6300
done
 
6301
  done
 
6302
IFS=$as_save_IFS
 
6303
 
 
6304
fi
 
6305
fi
 
6306
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6307
if test -n "$MANIFEST_TOOL"; then
 
6308
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6309
$as_echo "$MANIFEST_TOOL" >&6; }
 
6310
else
 
6311
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6312
$as_echo "no" >&6; }
 
6313
fi
 
6314
 
 
6315
 
 
6316
fi
 
6317
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6318
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6319
  # Extract the first word of "mt", so it can be a program name with args.
 
6320
set dummy mt; ac_word=$2
 
6321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6322
$as_echo_n "checking for $ac_word... " >&6; }
 
6323
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6324
  $as_echo_n "(cached) " >&6
 
6325
else
 
6326
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6327
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6328
else
 
6329
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6330
for as_dir in $PATH
 
6331
do
 
6332
  IFS=$as_save_IFS
 
6333
  test -z "$as_dir" && as_dir=.
 
6334
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6335
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6336
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6337
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6338
    break 2
 
6339
  fi
 
6340
done
 
6341
  done
 
6342
IFS=$as_save_IFS
 
6343
 
 
6344
fi
 
6345
fi
 
6346
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6347
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6348
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6349
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6350
else
 
6351
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6352
$as_echo "no" >&6; }
 
6353
fi
 
6354
 
 
6355
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6356
    MANIFEST_TOOL=":"
 
6357
  else
 
6358
    case $cross_compiling:$ac_tool_warned in
 
6359
yes:)
 
6360
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6361
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6362
ac_tool_warned=yes ;;
 
6363
esac
 
6364
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6365
  fi
 
6366
else
 
6367
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6368
fi
 
6369
 
 
6370
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6372
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6373
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6374
  $as_echo_n "(cached) " >&6
 
6375
else
 
6376
  lt_cv_path_mainfest_tool=no
 
6377
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6378
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6379
  cat conftest.err >&5
 
6380
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6381
    lt_cv_path_mainfest_tool=yes
 
6382
  fi
 
6383
  rm -f conftest*
 
6384
fi
 
6385
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6386
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6387
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6388
  MANIFEST_TOOL=:
 
6389
fi
 
6390
 
 
6391
 
 
6392
 
 
6393
 
 
6394
 
5861
6395
 
5862
6396
  case $host_os in
5863
6397
    rhapsody* | darwin*)
5866
6400
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5867
6401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5868
6402
$as_echo_n "checking for $ac_word... " >&6; }
5869
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6403
if ${ac_cv_prog_DSYMUTIL+:} false; then :
5870
6404
  $as_echo_n "(cached) " >&6
5871
6405
else
5872
6406
  if test -n "$DSYMUTIL"; then
5906
6440
set dummy dsymutil; ac_word=$2
5907
6441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908
6442
$as_echo_n "checking for $ac_word... " >&6; }
5909
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6443
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
5910
6444
  $as_echo_n "(cached) " >&6
5911
6445
else
5912
6446
  if test -n "$ac_ct_DSYMUTIL"; then
5958
6492
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5959
6493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960
6494
$as_echo_n "checking for $ac_word... " >&6; }
5961
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6495
if ${ac_cv_prog_NMEDIT+:} false; then :
5962
6496
  $as_echo_n "(cached) " >&6
5963
6497
else
5964
6498
  if test -n "$NMEDIT"; then
5998
6532
set dummy nmedit; ac_word=$2
5999
6533
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6000
6534
$as_echo_n "checking for $ac_word... " >&6; }
6001
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
6535
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6002
6536
  $as_echo_n "(cached) " >&6
6003
6537
else
6004
6538
  if test -n "$ac_ct_NMEDIT"; then
6050
6584
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6051
6585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6052
6586
$as_echo_n "checking for $ac_word... " >&6; }
6053
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
6587
if ${ac_cv_prog_LIPO+:} false; then :
6054
6588
  $as_echo_n "(cached) " >&6
6055
6589
else
6056
6590
  if test -n "$LIPO"; then
6090
6624
set dummy lipo; ac_word=$2
6091
6625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6092
6626
$as_echo_n "checking for $ac_word... " >&6; }
6093
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
6627
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6094
6628
  $as_echo_n "(cached) " >&6
6095
6629
else
6096
6630
  if test -n "$ac_ct_LIPO"; then
6142
6676
set dummy ${ac_tool_prefix}otool; ac_word=$2
6143
6677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6144
6678
$as_echo_n "checking for $ac_word... " >&6; }
6145
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
6679
if ${ac_cv_prog_OTOOL+:} false; then :
6146
6680
  $as_echo_n "(cached) " >&6
6147
6681
else
6148
6682
  if test -n "$OTOOL"; then
6182
6716
set dummy otool; ac_word=$2
6183
6717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6184
6718
$as_echo_n "checking for $ac_word... " >&6; }
6185
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
6719
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6186
6720
  $as_echo_n "(cached) " >&6
6187
6721
else
6188
6722
  if test -n "$ac_ct_OTOOL"; then
6234
6768
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6235
6769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6236
6770
$as_echo_n "checking for $ac_word... " >&6; }
6237
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
6771
if ${ac_cv_prog_OTOOL64+:} false; then :
6238
6772
  $as_echo_n "(cached) " >&6
6239
6773
else
6240
6774
  if test -n "$OTOOL64"; then
6274
6808
set dummy otool64; ac_word=$2
6275
6809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6276
6810
$as_echo_n "checking for $ac_word... " >&6; }
6277
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
6811
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6278
6812
  $as_echo_n "(cached) " >&6
6279
6813
else
6280
6814
  if test -n "$ac_ct_OTOOL64"; then
6349
6883
 
6350
6884
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6351
6885
$as_echo_n "checking for -single_module linker flag... " >&6; }
6352
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
6886
if ${lt_cv_apple_cc_single_mod+:} false; then :
6353
6887
  $as_echo_n "(cached) " >&6
6354
6888
else
6355
6889
  lt_cv_apple_cc_single_mod=no
6365
6899
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6366
6900
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6367
6901
        _lt_result=$?
6368
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
6902
        # If there is a non-empty error log, and "single_module"
 
6903
        # appears in it, assume the flag caused a linker warning
 
6904
        if test -s conftest.err && $GREP single_module conftest.err; then
 
6905
          cat conftest.err >&5
 
6906
        # Otherwise, if the output was created with a 0 exit code from
 
6907
        # the compiler, it worked.
 
6908
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6369
6909
          lt_cv_apple_cc_single_mod=yes
6370
6910
        else
6371
6911
          cat conftest.err >&5
6376
6916
fi
6377
6917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6378
6918
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
6919
 
6379
6920
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6380
6921
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6381
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
6922
if ${lt_cv_ld_exported_symbols_list+:} false; then :
6382
6923
  $as_echo_n "(cached) " >&6
6383
6924
else
6384
6925
  lt_cv_ld_exported_symbols_list=no
6408
6949
fi
6409
6950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6410
6951
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
6952
 
 
6953
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
6954
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
6955
if ${lt_cv_ld_force_load+:} false; then :
 
6956
  $as_echo_n "(cached) " >&6
 
6957
else
 
6958
  lt_cv_ld_force_load=no
 
6959
      cat > conftest.c << _LT_EOF
 
6960
int forced_loaded() { return 2;}
 
6961
_LT_EOF
 
6962
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
6963
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
6964
      echo "$AR cru libconftest.a conftest.o" >&5
 
6965
      $AR cru libconftest.a conftest.o 2>&5
 
6966
      echo "$RANLIB libconftest.a" >&5
 
6967
      $RANLIB libconftest.a 2>&5
 
6968
      cat > conftest.c << _LT_EOF
 
6969
int main() { return 0;}
 
6970
_LT_EOF
 
6971
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
6972
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
6973
      _lt_result=$?
 
6974
      if test -s conftest.err && $GREP force_load conftest.err; then
 
6975
        cat conftest.err >&5
 
6976
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
6977
        lt_cv_ld_force_load=yes
 
6978
      else
 
6979
        cat conftest.err >&5
 
6980
      fi
 
6981
        rm -f conftest.err libconftest.a conftest conftest.c
 
6982
        rm -rf conftest.dSYM
 
6983
 
 
6984
fi
 
6985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
6986
$as_echo "$lt_cv_ld_force_load" >&6; }
6411
6987
    case $host_os in
6412
6988
    rhapsody* | darwin1.[012])
6413
6989
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6435
7011
    else
6436
7012
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6437
7013
    fi
6438
 
    if test "$DSYMUTIL" != ":"; then
 
7014
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6439
7015
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6440
7016
    else
6441
7017
      _lt_dsymutil=
6455
7031
  CPP=
6456
7032
fi
6457
7033
if test -z "$CPP"; then
6458
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
7034
  if ${ac_cv_prog_CPP+:} false; then :
6459
7035
  $as_echo_n "(cached) " >&6
6460
7036
else
6461
7037
      # Double quotes because CPP needs to be expanded
6485
7061
  # Broken: fails on valid input.
6486
7062
continue
6487
7063
fi
6488
 
rm -f conftest.err conftest.$ac_ext
 
7064
rm -f conftest.err conftest.i conftest.$ac_ext
6489
7065
 
6490
7066
  # OK, works on sane cases.  Now check whether nonexistent headers
6491
7067
  # can be detected and how.
6501
7077
ac_preproc_ok=:
6502
7078
break
6503
7079
fi
6504
 
rm -f conftest.err conftest.$ac_ext
 
7080
rm -f conftest.err conftest.i conftest.$ac_ext
6505
7081
 
6506
7082
done
6507
7083
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6508
 
rm -f conftest.err conftest.$ac_ext
 
7084
rm -f conftest.i conftest.err conftest.$ac_ext
6509
7085
if $ac_preproc_ok; then :
6510
7086
  break
6511
7087
fi
6544
7120
  # Broken: fails on valid input.
6545
7121
continue
6546
7122
fi
6547
 
rm -f conftest.err conftest.$ac_ext
 
7123
rm -f conftest.err conftest.i conftest.$ac_ext
6548
7124
 
6549
7125
  # OK, works on sane cases.  Now check whether nonexistent headers
6550
7126
  # can be detected and how.
6560
7136
ac_preproc_ok=:
6561
7137
break
6562
7138
fi
6563
 
rm -f conftest.err conftest.$ac_ext
 
7139
rm -f conftest.err conftest.i conftest.$ac_ext
6564
7140
 
6565
7141
done
6566
7142
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6567
 
rm -f conftest.err conftest.$ac_ext
 
7143
rm -f conftest.i conftest.err conftest.$ac_ext
6568
7144
if $ac_preproc_ok; then :
6569
7145
 
6570
7146
else
6571
7147
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6572
7148
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6573
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
6574
 
See \`config.log' for more details." "$LINENO" 5; }
 
7149
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7150
See \`config.log' for more details" "$LINENO" 5; }
6575
7151
fi
6576
7152
 
6577
7153
ac_ext=c
6583
7159
 
6584
7160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6585
7161
$as_echo_n "checking for ANSI C header files... " >&6; }
6586
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
7162
if ${ac_cv_header_stdc+:} false; then :
6587
7163
  $as_echo_n "(cached) " >&6
6588
7164
else
6589
7165
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6700
7276
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6701
7277
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6702
7278
"
6703
 
eval as_val=\$$as_ac_Header
6704
 
   if test "x$as_val" = x""yes; then :
 
7279
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6705
7280
  cat >>confdefs.h <<_ACEOF
6706
7281
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6707
7282
_ACEOF
6715
7290
do :
6716
7291
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6717
7292
"
6718
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7293
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
6719
7294
  cat >>confdefs.h <<_ACEOF
6720
7295
#define HAVE_DLFCN_H 1
6721
7296
_ACEOF
6726
7301
 
6727
7302
 
6728
7303
 
 
7304
 
 
7305
 
6729
7306
# Set options
6730
7307
 
6731
7308
 
6801
7378
 
6802
7379
# Check whether --with-pic was given.
6803
7380
if test "${with_pic+set}" = set; then :
6804
 
  withval=$with_pic; pic_mode="$withval"
 
7381
  withval=$with_pic; lt_p=${PACKAGE-default}
 
7382
    case $withval in
 
7383
    yes|no) pic_mode=$withval ;;
 
7384
    *)
 
7385
      pic_mode=default
 
7386
      # Look at the argument we got.  We use all the common list separators.
 
7387
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7388
      for lt_pkg in $withval; do
 
7389
        IFS="$lt_save_ifs"
 
7390
        if test "X$lt_pkg" = "X$lt_p"; then
 
7391
          pic_mode=yes
 
7392
        fi
 
7393
      done
 
7394
      IFS="$lt_save_ifs"
 
7395
      ;;
 
7396
    esac
6805
7397
else
6806
7398
  pic_mode=default
6807
7399
fi
6878
7470
 
6879
7471
 
6880
7472
 
 
7473
 
 
7474
 
 
7475
 
 
7476
 
 
7477
 
6881
7478
test -z "$LN_S" && LN_S="ln -s"
6882
7479
 
6883
7480
 
6899
7496
 
6900
7497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6901
7498
$as_echo_n "checking for objdir... " >&6; }
6902
 
if test "${lt_cv_objdir+set}" = set; then :
 
7499
if ${lt_cv_objdir+:} false; then :
6903
7500
  $as_echo_n "(cached) " >&6
6904
7501
else
6905
7502
  rm -f .libs 2>/dev/null
6927
7524
 
6928
7525
 
6929
7526
 
6930
 
 
6931
 
 
6932
 
 
6933
 
 
6934
 
 
6935
 
 
6936
 
 
6937
 
 
6938
 
 
6939
 
 
6940
 
 
6941
 
 
6942
 
 
6943
7527
case $host_os in
6944
7528
aix3*)
6945
7529
  # AIX sometimes has problems with the GCC collect2 program.  For some
6952
7536
  ;;
6953
7537
esac
6954
7538
 
6955
 
# Sed substitution that helps us do robust quoting.  It backslashifies
6956
 
# metacharacters that are still active within double-quoted strings.
6957
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6958
 
 
6959
 
# Same as above, but do not quote variable references.
6960
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
6961
 
 
6962
 
# Sed substitution to delay expansion of an escaped shell variable in a
6963
 
# double_quote_subst'ed string.
6964
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6965
 
 
6966
 
# Sed substitution to delay expansion of an escaped single quote.
6967
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6968
 
 
6969
 
# Sed substitution to avoid accidental globbing in evaled expressions
6970
 
no_glob_subst='s/\*/\\\*/g'
6971
 
 
6972
7539
# Global variables:
6973
7540
ofile=libtool
6974
7541
can_build_shared=yes
6997
7564
    *) break;;
6998
7565
  esac
6999
7566
done
7000
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7567
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7001
7568
 
7002
7569
 
7003
7570
# Only perform the check for file, if the check method requires it
7007
7574
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7008
7575
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7009
7576
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7010
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7577
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7011
7578
  $as_echo_n "(cached) " >&6
7012
7579
else
7013
7580
  case $MAGIC_CMD in
7073
7640
  if test -n "$ac_tool_prefix"; then
7074
7641
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7075
7642
$as_echo_n "checking for file... " >&6; }
7076
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7643
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7077
7644
  $as_echo_n "(cached) " >&6
7078
7645
else
7079
7646
  case $MAGIC_CMD in
7202
7769
lt_prog_compiler_no_builtin_flag=
7203
7770
 
7204
7771
if test "$GCC" = yes; then
7205
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
7772
  case $cc_basename in
 
7773
  nvcc*)
 
7774
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
7775
  *)
 
7776
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
7777
  esac
7206
7778
 
7207
7779
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7208
7780
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7209
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
7781
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7210
7782
  $as_echo_n "(cached) " >&6
7211
7783
else
7212
7784
  lt_cv_prog_compiler_rtti_exceptions=no
7222
7794
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7223
7795
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7224
7796
   -e 's:$: $lt_compiler_flag:'`
7225
 
   (eval echo "\"\$as_me:7225: $lt_compile\"" >&5)
 
7797
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7226
7798
   (eval "$lt_compile" 2>conftest.err)
7227
7799
   ac_status=$?
7228
7800
   cat conftest.err >&5
7229
 
   echo "$as_me:7229: \$? = $ac_status" >&5
 
7801
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230
7802
   if (exit $ac_status) && test -s "$ac_outfile"; then
7231
7803
     # The compiler can only warn and ignore the option if not recognized
7232
7804
     # So say no if there are warnings other than the usual output.
7233
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7805
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7234
7806
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7235
7807
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7236
7808
       lt_cv_prog_compiler_rtti_exceptions=yes
7259
7831
lt_prog_compiler_pic=
7260
7832
lt_prog_compiler_static=
7261
7833
 
7262
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7263
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7264
7834
 
7265
7835
  if test "$GCC" = yes; then
7266
7836
    lt_prog_compiler_wl='-Wl,'
7308
7878
      lt_prog_compiler_pic='-fno-common'
7309
7879
      ;;
7310
7880
 
 
7881
    haiku*)
 
7882
      # PIC is the default for Haiku.
 
7883
      # The "-static" flag exists, but is broken.
 
7884
      lt_prog_compiler_static=
 
7885
      ;;
 
7886
 
7311
7887
    hpux*)
7312
7888
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7313
7889
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7350
7926
      lt_prog_compiler_pic='-fPIC'
7351
7927
      ;;
7352
7928
    esac
 
7929
 
 
7930
    case $cc_basename in
 
7931
    nvcc*) # Cuda Compiler Driver 2.2
 
7932
      lt_prog_compiler_wl='-Xlinker '
 
7933
      if test -n "$lt_prog_compiler_pic"; then
 
7934
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
7935
      fi
 
7936
      ;;
 
7937
    esac
7353
7938
  else
7354
7939
    # PORTME Check for flag to pass linker flags through the system compiler.
7355
7940
    case $host_os in
7391
7976
      lt_prog_compiler_static='-non_shared'
7392
7977
      ;;
7393
7978
 
7394
 
    linux* | k*bsd*-gnu)
 
7979
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7395
7980
      case $cc_basename in
7396
7981
      # old Intel for x86_64 which still supported -KPIC.
7397
7982
      ecc*)
7412
7997
        lt_prog_compiler_pic='--shared'
7413
7998
        lt_prog_compiler_static='--static'
7414
7999
        ;;
7415
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8000
      nagfor*)
 
8001
        # NAG Fortran compiler
 
8002
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8003
        lt_prog_compiler_pic='-PIC'
 
8004
        lt_prog_compiler_static='-Bstatic'
 
8005
        ;;
 
8006
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7416
8007
        # Portland Group compilers (*not* the Pentium gcc compiler,
7417
8008
        # which looks to be a dead project)
7418
8009
        lt_prog_compiler_wl='-Wl,'
7424
8015
        # All Alpha code is PIC.
7425
8016
        lt_prog_compiler_static='-non_shared'
7426
8017
        ;;
7427
 
      xl*)
7428
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8018
      xl* | bgxl* | bgf* | mpixl*)
 
8019
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7429
8020
        lt_prog_compiler_wl='-Wl,'
7430
8021
        lt_prog_compiler_pic='-qpic'
7431
8022
        lt_prog_compiler_static='-qstaticlink'
7432
8023
        ;;
7433
8024
      *)
7434
8025
        case `$CC -V 2>&1 | sed 5q` in
 
8026
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
8027
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8028
          lt_prog_compiler_pic='-KPIC'
 
8029
          lt_prog_compiler_static='-Bstatic'
 
8030
          lt_prog_compiler_wl=''
 
8031
          ;;
 
8032
        *Sun\ F* | *Sun*Fortran*)
 
8033
          lt_prog_compiler_pic='-KPIC'
 
8034
          lt_prog_compiler_static='-Bstatic'
 
8035
          lt_prog_compiler_wl='-Qoption ld '
 
8036
          ;;
7435
8037
        *Sun\ C*)
7436
8038
          # Sun C 5.9
7437
8039
          lt_prog_compiler_pic='-KPIC'
7438
8040
          lt_prog_compiler_static='-Bstatic'
7439
8041
          lt_prog_compiler_wl='-Wl,'
7440
8042
          ;;
7441
 
        *Sun\ F*)
7442
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7443
 
          lt_prog_compiler_pic='-KPIC'
 
8043
        *Intel*\ [CF]*Compiler*)
 
8044
          lt_prog_compiler_wl='-Wl,'
 
8045
          lt_prog_compiler_pic='-fPIC'
 
8046
          lt_prog_compiler_static='-static'
 
8047
          ;;
 
8048
        *Portland\ Group*)
 
8049
          lt_prog_compiler_wl='-Wl,'
 
8050
          lt_prog_compiler_pic='-fpic'
7444
8051
          lt_prog_compiler_static='-Bstatic'
7445
 
          lt_prog_compiler_wl=''
7446
8052
          ;;
7447
8053
        esac
7448
8054
        ;;
7474
8080
      lt_prog_compiler_pic='-KPIC'
7475
8081
      lt_prog_compiler_static='-Bstatic'
7476
8082
      case $cc_basename in
7477
 
      f77* | f90* | f95*)
 
8083
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7478
8084
        lt_prog_compiler_wl='-Qoption ld ';;
7479
8085
      *)
7480
8086
        lt_prog_compiler_wl='-Wl,';;
7531
8137
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7532
8138
    ;;
7533
8139
esac
7534
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7535
 
$as_echo "$lt_prog_compiler_pic" >&6; }
7536
 
 
7537
 
 
7538
 
 
7539
 
 
7540
 
 
 
8140
 
 
8141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8142
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8143
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8144
  $as_echo_n "(cached) " >&6
 
8145
else
 
8146
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8147
fi
 
8148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8149
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8150
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
7541
8151
 
7542
8152
#
7543
8153
# Check to make sure the PIC flag actually works.
7545
8155
if test -n "$lt_prog_compiler_pic"; then
7546
8156
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7547
8157
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7548
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8158
if ${lt_cv_prog_compiler_pic_works+:} false; then :
7549
8159
  $as_echo_n "(cached) " >&6
7550
8160
else
7551
8161
  lt_cv_prog_compiler_pic_works=no
7561
8171
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7562
8172
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7563
8173
   -e 's:$: $lt_compiler_flag:'`
7564
 
   (eval echo "\"\$as_me:7564: $lt_compile\"" >&5)
 
8174
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7565
8175
   (eval "$lt_compile" 2>conftest.err)
7566
8176
   ac_status=$?
7567
8177
   cat conftest.err >&5
7568
 
   echo "$as_me:7568: \$? = $ac_status" >&5
 
8178
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7569
8179
   if (exit $ac_status) && test -s "$ac_outfile"; then
7570
8180
     # The compiler can only warn and ignore the option if not recognized
7571
8181
     # So say no if there are warnings other than the usual output.
7572
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8182
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7573
8183
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7574
8184
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7575
8185
       lt_cv_prog_compiler_pic_works=yes
7598
8208
 
7599
8209
 
7600
8210
 
 
8211
 
 
8212
 
 
8213
 
 
8214
 
 
8215
 
7601
8216
#
7602
8217
# Check to make sure the static flag actually works.
7603
8218
#
7604
8219
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7605
8220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7606
8221
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7607
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8222
if ${lt_cv_prog_compiler_static_works+:} false; then :
7608
8223
  $as_echo_n "(cached) " >&6
7609
8224
else
7610
8225
  lt_cv_prog_compiler_static_works=no
7617
8232
     if test -s conftest.err; then
7618
8233
       # Append any errors to the config.log.
7619
8234
       cat conftest.err 1>&5
7620
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8235
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7621
8236
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7622
8237
       if diff conftest.exp conftest.er2 >/dev/null; then
7623
8238
         lt_cv_prog_compiler_static_works=yes
7647
8262
 
7648
8263
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7649
8264
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7650
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8265
if ${lt_cv_prog_compiler_c_o+:} false; then :
7651
8266
  $as_echo_n "(cached) " >&6
7652
8267
else
7653
8268
  lt_cv_prog_compiler_c_o=no
7666
8281
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7667
8282
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7668
8283
   -e 's:$: $lt_compiler_flag:'`
7669
 
   (eval echo "\"\$as_me:7669: $lt_compile\"" >&5)
 
8284
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7670
8285
   (eval "$lt_compile" 2>out/conftest.err)
7671
8286
   ac_status=$?
7672
8287
   cat out/conftest.err >&5
7673
 
   echo "$as_me:7673: \$? = $ac_status" >&5
 
8288
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674
8289
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7675
8290
   then
7676
8291
     # The compiler can only warn and ignore the option if not recognized
7677
8292
     # So say no if there are warnings
7678
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8293
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7679
8294
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7680
8295
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7681
8296
       lt_cv_prog_compiler_c_o=yes
7702
8317
 
7703
8318
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7704
8319
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7705
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8320
if ${lt_cv_prog_compiler_c_o+:} false; then :
7706
8321
  $as_echo_n "(cached) " >&6
7707
8322
else
7708
8323
  lt_cv_prog_compiler_c_o=no
7721
8336
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7722
8337
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7723
8338
   -e 's:$: $lt_compiler_flag:'`
7724
 
   (eval echo "\"\$as_me:7724: $lt_compile\"" >&5)
 
8339
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7725
8340
   (eval "$lt_compile" 2>out/conftest.err)
7726
8341
   ac_status=$?
7727
8342
   cat out/conftest.err >&5
7728
 
   echo "$as_me:7728: \$? = $ac_status" >&5
 
8343
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7729
8344
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7730
8345
   then
7731
8346
     # The compiler can only warn and ignore the option if not recognized
7732
8347
     # So say no if there are warnings
7733
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8348
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7734
8349
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7735
8350
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7736
8351
       lt_cv_prog_compiler_c_o=yes
7796
8411
  hardcode_direct=no
7797
8412
  hardcode_direct_absolute=no
7798
8413
  hardcode_libdir_flag_spec=
7799
 
  hardcode_libdir_flag_spec_ld=
7800
8414
  hardcode_libdir_separator=
7801
8415
  hardcode_minus_L=no
7802
8416
  hardcode_shlibpath_var=unsupported
7840
8454
  openbsd*)
7841
8455
    with_gnu_ld=no
7842
8456
    ;;
 
8457
  linux* | k*bsd*-gnu | gnu*)
 
8458
    link_all_deplibs=no
 
8459
    ;;
7843
8460
  esac
7844
8461
 
7845
8462
  ld_shlibs=yes
 
8463
 
 
8464
  # On some targets, GNU ld is compatible enough with the native linker
 
8465
  # that we're better off using the native interface for both.
 
8466
  lt_use_gnu_ld_interface=no
7846
8467
  if test "$with_gnu_ld" = yes; then
 
8468
    case $host_os in
 
8469
      aix*)
 
8470
        # The AIX port of GNU ld has always aspired to compatibility
 
8471
        # with the native linker.  However, as the warning in the GNU ld
 
8472
        # block says, versions before 2.19.5* couldn't really create working
 
8473
        # shared libraries, regardless of the interface used.
 
8474
        case `$LD -v 2>&1` in
 
8475
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8476
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8477
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8478
          *)
 
8479
            lt_use_gnu_ld_interface=yes
 
8480
            ;;
 
8481
        esac
 
8482
        ;;
 
8483
      *)
 
8484
        lt_use_gnu_ld_interface=yes
 
8485
        ;;
 
8486
    esac
 
8487
  fi
 
8488
 
 
8489
  if test "$lt_use_gnu_ld_interface" = yes; then
7847
8490
    # If archive_cmds runs LD, not CC, wlarc should be empty
7848
8491
    wlarc='${wl}'
7849
8492
 
7861
8504
    fi
7862
8505
    supports_anon_versioning=no
7863
8506
    case `$LD -v 2>&1` in
 
8507
      *GNU\ gold*) supports_anon_versioning=yes ;;
7864
8508
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7865
8509
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7866
8510
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7876
8520
        ld_shlibs=no
7877
8521
        cat <<_LT_EOF 1>&2
7878
8522
 
7879
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8523
*** Warning: the GNU linker, at least up to release 2.19, is reported
7880
8524
*** to be unable to reliably create shared libraries on AIX.
7881
8525
*** Therefore, libtool is disabling shared libraries support.  If you
7882
 
*** really care for shared libraries, you may want to modify your PATH
7883
 
*** so that a non-GNU linker is found, and then restart.
 
8526
*** really care for shared libraries, you may want to install binutils
 
8527
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8528
*** You will then need to restart the configuration process.
7884
8529
 
7885
8530
_LT_EOF
7886
8531
      fi
7916
8561
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7917
8562
      # as there is no search path for DLLs.
7918
8563
      hardcode_libdir_flag_spec='-L$libdir'
 
8564
      export_dynamic_flag_spec='${wl}--export-all-symbols'
7919
8565
      allow_undefined_flag=unsupported
7920
8566
      always_export_symbols=no
7921
8567
      enable_shared_with_static_runtimes=yes
7922
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8568
      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'
 
8569
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
7923
8570
 
7924
8571
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7925
8572
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7937
8584
      fi
7938
8585
      ;;
7939
8586
 
 
8587
    haiku*)
 
8588
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8589
      link_all_deplibs=yes
 
8590
      ;;
 
8591
 
7940
8592
    interix[3-9]*)
7941
8593
      hardcode_direct=no
7942
8594
      hardcode_shlibpath_var=no
7952
8604
      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'
7953
8605
      ;;
7954
8606
 
7955
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8607
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
7956
8608
      tmp_diet=no
7957
8609
      if test "$host_os" = linux-dietlibc; then
7958
8610
        case $cc_basename in
7962
8614
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7963
8615
         && test "$tmp_diet" = no
7964
8616
      then
7965
 
        tmp_addflag=
 
8617
        tmp_addflag=' $pic_flag'
7966
8618
        tmp_sharedflag='-shared'
7967
8619
        case $cc_basename,$host_cpu in
7968
8620
        pgcc*)                          # Portland Group C compiler
7969
 
          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'
 
8621
          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'
7970
8622
          tmp_addflag=' $pic_flag'
7971
8623
          ;;
7972
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7973
 
          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'
 
8624
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8625
                                        # Portland Group f77 and f90 compilers
 
8626
          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'
7974
8627
          tmp_addflag=' $pic_flag -Mnomain' ;;
7975
8628
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7976
8629
          tmp_addflag=' -i_dynamic' ;;
7981
8634
        lf95*)                          # Lahey Fortran 8.1
7982
8635
          whole_archive_flag_spec=
7983
8636
          tmp_sharedflag='--shared' ;;
7984
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8637
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7985
8638
          tmp_sharedflag='-qmkshrobj'
7986
8639
          tmp_addflag= ;;
 
8640
        nvcc*)  # Cuda Compiler Driver 2.2
 
8641
          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'
 
8642
          compiler_needs_object=yes
 
8643
          ;;
7987
8644
        esac
7988
8645
        case `$CC -V 2>&1 | sed 5q` in
7989
8646
        *Sun\ C*)                       # Sun C 5.9
7990
 
          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'
 
8647
          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'
7991
8648
          compiler_needs_object=yes
7992
8649
          tmp_sharedflag='-G' ;;
7993
8650
        *Sun\ F*)                       # Sun Fortran 8.3
8003
8660
        fi
8004
8661
 
8005
8662
        case $cc_basename in
8006
 
        xlf*)
 
8663
        xlf* | bgf* | bgxlf* | mpixlf*)
8007
8664
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8008
8665
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8009
 
          hardcode_libdir_flag_spec=
8010
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8011
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8666
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8667
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8012
8668
          if test "x$supports_anon_versioning" = xyes; then
8013
8669
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8014
8670
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8015
8671
              echo "local: *; };" >> $output_objdir/$libname.ver~
8016
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8672
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8017
8673
          fi
8018
8674
          ;;
8019
8675
        esac
8022
8678
      fi
8023
8679
      ;;
8024
8680
 
8025
 
    netbsd*)
 
8681
    netbsd* | netbsdelf*-gnu)
8026
8682
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8027
8683
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8028
8684
        wlarc=
8029
8685
      else
8030
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8031
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8686
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8687
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8032
8688
      fi
8033
8689
      ;;
8034
8690
 
8046
8702
 
8047
8703
_LT_EOF
8048
8704
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8049
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8050
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8705
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8706
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8051
8707
      else
8052
8708
        ld_shlibs=no
8053
8709
      fi
8093
8749
 
8094
8750
    *)
8095
8751
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8096
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8097
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8752
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8753
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8098
8754
      else
8099
8755
        ld_shlibs=no
8100
8756
      fi
8134
8790
      else
8135
8791
        # If we're using GNU nm, then we don't want the "-C" option.
8136
8792
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
8793
        # Also, AIX nm treats weak defined symbols like other global
 
8794
        # defined symbols, whereas GNU nm marks them as "W".
8137
8795
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8138
 
          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'
 
8796
          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'
8139
8797
        else
8140
8798
          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'
8141
8799
        fi
8197
8855
        if test "$aix_use_runtimelinking" = yes; then
8198
8856
          shared_flag="$shared_flag "'${wl}-G'
8199
8857
        fi
 
8858
        link_all_deplibs=no
8200
8859
      else
8201
8860
        # not using gcc
8202
8861
        if test "$host_cpu" = ia64; then
8222
8881
        allow_undefined_flag='-berok'
8223
8882
        # Determine the default libpath from the value encoded in an
8224
8883
        # empty executable.
8225
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8884
        if test "${lt_cv_aix_libpath+set}" = set; then
 
8885
  aix_libpath=$lt_cv_aix_libpath
 
8886
else
 
8887
  if ${lt_cv_aix_libpath_+:} false; then :
 
8888
  $as_echo_n "(cached) " >&6
 
8889
else
 
8890
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8226
8891
/* end confdefs.h.  */
8227
8892
 
8228
8893
int
8235
8900
_ACEOF
8236
8901
if ac_fn_c_try_link "$LINENO"; then :
8237
8902
 
8238
 
lt_aix_libpath_sed='
8239
 
    /Import File Strings/,/^$/ {
8240
 
        /^0/ {
8241
 
            s/^0  *\(.*\)$/\1/
8242
 
            p
8243
 
        }
8244
 
    }'
8245
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8246
 
# Check for a 64-bit object if we didn't find anything.
8247
 
if test -z "$aix_libpath"; then
8248
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8249
 
fi
 
8903
  lt_aix_libpath_sed='
 
8904
      /Import File Strings/,/^$/ {
 
8905
          /^0/ {
 
8906
              s/^0  *\([^ ]*\) *$/\1/
 
8907
              p
 
8908
          }
 
8909
      }'
 
8910
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8911
  # Check for a 64-bit object if we didn't find anything.
 
8912
  if test -z "$lt_cv_aix_libpath_"; then
 
8913
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8914
  fi
8250
8915
fi
8251
8916
rm -f core conftest.err conftest.$ac_objext \
8252
8917
    conftest$ac_exeext conftest.$ac_ext
8253
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
8918
  if test -z "$lt_cv_aix_libpath_"; then
 
8919
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
8920
  fi
 
8921
 
 
8922
fi
 
8923
 
 
8924
  aix_libpath=$lt_cv_aix_libpath_
 
8925
fi
8254
8926
 
8255
8927
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8256
 
        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"
 
8928
        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"
8257
8929
      else
8258
8930
        if test "$host_cpu" = ia64; then
8259
8931
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8262
8934
        else
8263
8935
         # Determine the default libpath from the value encoded in an
8264
8936
         # empty executable.
8265
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8937
         if test "${lt_cv_aix_libpath+set}" = set; then
 
8938
  aix_libpath=$lt_cv_aix_libpath
 
8939
else
 
8940
  if ${lt_cv_aix_libpath_+:} false; then :
 
8941
  $as_echo_n "(cached) " >&6
 
8942
else
 
8943
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8266
8944
/* end confdefs.h.  */
8267
8945
 
8268
8946
int
8275
8953
_ACEOF
8276
8954
if ac_fn_c_try_link "$LINENO"; then :
8277
8955
 
8278
 
lt_aix_libpath_sed='
8279
 
    /Import File Strings/,/^$/ {
8280
 
        /^0/ {
8281
 
            s/^0  *\(.*\)$/\1/
8282
 
            p
8283
 
        }
8284
 
    }'
8285
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8286
 
# Check for a 64-bit object if we didn't find anything.
8287
 
if test -z "$aix_libpath"; then
8288
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8289
 
fi
 
8956
  lt_aix_libpath_sed='
 
8957
      /Import File Strings/,/^$/ {
 
8958
          /^0/ {
 
8959
              s/^0  *\([^ ]*\) *$/\1/
 
8960
              p
 
8961
          }
 
8962
      }'
 
8963
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8964
  # Check for a 64-bit object if we didn't find anything.
 
8965
  if test -z "$lt_cv_aix_libpath_"; then
 
8966
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8967
  fi
8290
8968
fi
8291
8969
rm -f core conftest.err conftest.$ac_objext \
8292
8970
    conftest$ac_exeext conftest.$ac_ext
8293
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
8971
  if test -z "$lt_cv_aix_libpath_"; then
 
8972
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
8973
  fi
 
8974
 
 
8975
fi
 
8976
 
 
8977
  aix_libpath=$lt_cv_aix_libpath_
 
8978
fi
8294
8979
 
8295
8980
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8296
8981
          # Warning - without using the other run time loading flags,
8297
8982
          # -berok will link without error, but may produce a broken library.
8298
8983
          no_undefined_flag=' ${wl}-bernotok'
8299
8984
          allow_undefined_flag=' ${wl}-berok'
8300
 
          # Exported symbols can be pulled into shared objects from archives
8301
 
          whole_archive_flag_spec='$convenience'
 
8985
          if test "$with_gnu_ld" = yes; then
 
8986
            # We only use this code for GNU lds that support --whole-archive.
 
8987
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
8988
          else
 
8989
            # Exported symbols can be pulled into shared objects from archives
 
8990
            whole_archive_flag_spec='$convenience'
 
8991
          fi
8302
8992
          archive_cmds_need_lc=yes
8303
8993
          # This is similar to how AIX traditionally builds its shared libraries.
8304
8994
          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'
8330
9020
      # Microsoft Visual C++.
8331
9021
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8332
9022
      # no search path for DLLs.
8333
 
      hardcode_libdir_flag_spec=' '
8334
 
      allow_undefined_flag=unsupported
8335
 
      # Tell ltmain to make .lib files, not .a files.
8336
 
      libext=lib
8337
 
      # Tell ltmain to make .dll files, not .so files.
8338
 
      shrext_cmds=".dll"
8339
 
      # FIXME: Setting linknames here is a bad hack.
8340
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8341
 
      # The linker will automatically build a .lib file if we build a DLL.
8342
 
      old_archive_from_new_cmds='true'
8343
 
      # FIXME: Should let the user specify the lib program.
8344
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8345
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8346
 
      enable_shared_with_static_runtimes=yes
 
9023
      case $cc_basename in
 
9024
      cl*)
 
9025
        # Native MSVC
 
9026
        hardcode_libdir_flag_spec=' '
 
9027
        allow_undefined_flag=unsupported
 
9028
        always_export_symbols=yes
 
9029
        file_list_spec='@'
 
9030
        # Tell ltmain to make .lib files, not .a files.
 
9031
        libext=lib
 
9032
        # Tell ltmain to make .dll files, not .so files.
 
9033
        shrext_cmds=".dll"
 
9034
        # FIXME: Setting linknames here is a bad hack.
 
9035
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9036
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9037
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9038
          else
 
9039
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9040
          fi~
 
9041
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9042
          linknames='
 
9043
        # The linker will not automatically build a static lib if we build a DLL.
 
9044
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9045
        enable_shared_with_static_runtimes=yes
 
9046
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
9047
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9048
        # Don't use ranlib
 
9049
        old_postinstall_cmds='chmod 644 $oldlib'
 
9050
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9051
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9052
          case $lt_outputfile in
 
9053
            *.exe|*.EXE) ;;
 
9054
            *)
 
9055
              lt_outputfile="$lt_outputfile.exe"
 
9056
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9057
              ;;
 
9058
          esac~
 
9059
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9060
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9061
            $RM "$lt_outputfile.manifest";
 
9062
          fi'
 
9063
        ;;
 
9064
      *)
 
9065
        # Assume MSVC wrapper
 
9066
        hardcode_libdir_flag_spec=' '
 
9067
        allow_undefined_flag=unsupported
 
9068
        # Tell ltmain to make .lib files, not .a files.
 
9069
        libext=lib
 
9070
        # Tell ltmain to make .dll files, not .so files.
 
9071
        shrext_cmds=".dll"
 
9072
        # FIXME: Setting linknames here is a bad hack.
 
9073
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9074
        # The linker will automatically build a .lib file if we build a DLL.
 
9075
        old_archive_from_new_cmds='true'
 
9076
        # FIXME: Should let the user specify the lib program.
 
9077
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9078
        enable_shared_with_static_runtimes=yes
 
9079
        ;;
 
9080
      esac
8347
9081
      ;;
8348
9082
 
8349
9083
    darwin* | rhapsody*)
8353
9087
  hardcode_direct=no
8354
9088
  hardcode_automatic=yes
8355
9089
  hardcode_shlibpath_var=unsupported
8356
 
  whole_archive_flag_spec=''
 
9090
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9091
    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\"`'
 
9092
 
 
9093
  else
 
9094
    whole_archive_flag_spec=''
 
9095
  fi
8357
9096
  link_all_deplibs=yes
8358
9097
  allow_undefined_flag="$_lt_dar_allow_undefined"
8359
9098
  case $cc_basename in
8361
9100
     *) _lt_dar_can_shared=$GCC ;;
8362
9101
  esac
8363
9102
  if test "$_lt_dar_can_shared" = "yes"; then
8364
 
    output_verbose_link_cmd=echo
 
9103
    output_verbose_link_cmd=func_echo_all
8365
9104
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8366
9105
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8367
9106
    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}"
8379
9118
      hardcode_shlibpath_var=no
8380
9119
      ;;
8381
9120
 
8382
 
    freebsd1*)
8383
 
      ld_shlibs=no
8384
 
      ;;
8385
 
 
8386
9121
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8387
9122
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8388
9123
    # does not break anything, and helps significantly (at the cost of a little
8395
9130
      ;;
8396
9131
 
8397
9132
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8398
 
    freebsd2*)
 
9133
    freebsd2.*)
8399
9134
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8400
9135
      hardcode_direct=yes
8401
9136
      hardcode_minus_L=yes
8404
9139
 
8405
9140
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8406
9141
    freebsd* | dragonfly*)
8407
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9142
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8408
9143
      hardcode_libdir_flag_spec='-R$libdir'
8409
9144
      hardcode_direct=yes
8410
9145
      hardcode_shlibpath_var=no
8412
9147
 
8413
9148
    hpux9*)
8414
9149
      if test "$GCC" = yes; then
8415
 
        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'
 
9150
        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'
8416
9151
      else
8417
9152
        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'
8418
9153
      fi
8427
9162
      ;;
8428
9163
 
8429
9164
    hpux10*)
8430
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8431
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9165
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9166
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8432
9167
      else
8433
9168
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8434
9169
      fi
8435
9170
      if test "$with_gnu_ld" = no; then
8436
9171
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8437
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
8438
9172
        hardcode_libdir_separator=:
8439
9173
        hardcode_direct=yes
8440
9174
        hardcode_direct_absolute=yes
8446
9180
      ;;
8447
9181
 
8448
9182
    hpux11*)
8449
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9183
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8450
9184
        case $host_cpu in
8451
9185
        hppa*64*)
8452
9186
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8453
9187
          ;;
8454
9188
        ia64*)
8455
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9189
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8456
9190
          ;;
8457
9191
        *)
8458
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9192
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8459
9193
          ;;
8460
9194
        esac
8461
9195
      else
8467
9201
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8468
9202
          ;;
8469
9203
        *)
8470
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9204
 
 
9205
          # Older versions of the 11.00 compiler do not understand -b yet
 
9206
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9207
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9208
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9209
if ${lt_cv_prog_compiler__b+:} false; then :
 
9210
  $as_echo_n "(cached) " >&6
 
9211
else
 
9212
  lt_cv_prog_compiler__b=no
 
9213
   save_LDFLAGS="$LDFLAGS"
 
9214
   LDFLAGS="$LDFLAGS -b"
 
9215
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9216
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9217
     # The linker can only warn and ignore the option if not recognized
 
9218
     # So say no if there are warnings
 
9219
     if test -s conftest.err; then
 
9220
       # Append any errors to the config.log.
 
9221
       cat conftest.err 1>&5
 
9222
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9223
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9224
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9225
         lt_cv_prog_compiler__b=yes
 
9226
       fi
 
9227
     else
 
9228
       lt_cv_prog_compiler__b=yes
 
9229
     fi
 
9230
   fi
 
9231
   $RM -r conftest*
 
9232
   LDFLAGS="$save_LDFLAGS"
 
9233
 
 
9234
fi
 
9235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9236
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9237
 
 
9238
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9239
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9240
else
 
9241
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9242
fi
 
9243
 
8471
9244
          ;;
8472
9245
        esac
8473
9246
      fi
8495
9268
 
8496
9269
    irix5* | irix6* | nonstopux*)
8497
9270
      if test "$GCC" = yes; then
8498
 
        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'
 
9271
        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'
8499
9272
        # Try to use the -exported_symbol ld option, if it does not
8500
9273
        # work, assume that -exports_file does not work either and
8501
9274
        # implicitly export all symbols.
8502
 
        save_LDFLAGS="$LDFLAGS"
8503
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8504
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9275
        # This should be the same for all languages, so no per-tag cache variable.
 
9276
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9277
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9278
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9279
  $as_echo_n "(cached) " >&6
 
9280
else
 
9281
  save_LDFLAGS="$LDFLAGS"
 
9282
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9283
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505
9284
/* end confdefs.h.  */
8506
 
int foo(void) {}
 
9285
int foo (void) { return 0; }
8507
9286
_ACEOF
8508
9287
if ac_fn_c_try_link "$LINENO"; then :
8509
 
  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'
8510
 
 
 
9288
  lt_cv_irix_exported_symbol=yes
 
9289
else
 
9290
  lt_cv_irix_exported_symbol=no
8511
9291
fi
8512
9292
rm -f core conftest.err conftest.$ac_objext \
8513
9293
    conftest$ac_exeext conftest.$ac_ext
8514
 
        LDFLAGS="$save_LDFLAGS"
 
9294
           LDFLAGS="$save_LDFLAGS"
 
9295
fi
 
9296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9297
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9298
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9299
          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'
 
9300
        fi
8515
9301
      else
8516
 
        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'
8517
 
        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'
 
9302
        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'
 
9303
        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'
8518
9304
      fi
8519
9305
      archive_cmds_need_lc='no'
8520
9306
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8523
9309
      link_all_deplibs=yes
8524
9310
      ;;
8525
9311
 
8526
 
    netbsd*)
 
9312
    netbsd* | netbsdelf*-gnu)
8527
9313
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8528
9314
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8529
9315
      else
8576
9362
      hardcode_libdir_flag_spec='-L$libdir'
8577
9363
      hardcode_minus_L=yes
8578
9364
      allow_undefined_flag=unsupported
8579
 
      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'
 
9365
      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'
8580
9366
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8581
9367
      ;;
8582
9368
 
8583
9369
    osf3*)
8584
9370
      if test "$GCC" = yes; then
8585
9371
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8586
 
        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'
 
9372
        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'
8587
9373
      else
8588
9374
        allow_undefined_flag=' -expect_unresolved \*'
8589
 
        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'
 
9375
        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'
8590
9376
      fi
8591
9377
      archive_cmds_need_lc='no'
8592
9378
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8596
9382
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8597
9383
      if test "$GCC" = yes; then
8598
9384
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8599
 
        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'
 
9385
        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'
8600
9386
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8601
9387
      else
8602
9388
        allow_undefined_flag=' -expect_unresolved \*'
8603
 
        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'
 
9389
        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'
8604
9390
        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~
8605
 
        $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'
 
9391
        $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'
8606
9392
 
8607
9393
        # Both c and cxx compiler support -rpath directly
8608
9394
        hardcode_libdir_flag_spec='-rpath $libdir'
8615
9401
      no_undefined_flag=' -z defs'
8616
9402
      if test "$GCC" = yes; then
8617
9403
        wlarc='${wl}'
8618
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9404
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8619
9405
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8620
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9406
          $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'
8621
9407
      else
8622
9408
        case `$CC -V 2>&1` in
8623
9409
        *"Compilers 5.0"*)
8805
9591
      # to ld, don't add -lc before -lgcc.
8806
9592
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8807
9593
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8808
 
      $RM conftest*
8809
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9594
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
9595
  $as_echo_n "(cached) " >&6
 
9596
else
 
9597
  $RM conftest*
 
9598
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8810
9599
 
8811
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9600
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8812
9601
  (eval $ac_compile) 2>&5
8813
9602
  ac_status=$?
8814
9603
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8815
9604
  test $ac_status = 0; } 2>conftest.err; then
8816
 
        soname=conftest
8817
 
        lib=conftest
8818
 
        libobjs=conftest.$ac_objext
8819
 
        deplibs=
8820
 
        wl=$lt_prog_compiler_wl
8821
 
        pic_flag=$lt_prog_compiler_pic
8822
 
        compiler_flags=-v
8823
 
        linker_flags=-v
8824
 
        verstring=
8825
 
        output_objdir=.
8826
 
        libname=conftest
8827
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
8828
 
        allow_undefined_flag=
8829
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9605
          soname=conftest
 
9606
          lib=conftest
 
9607
          libobjs=conftest.$ac_objext
 
9608
          deplibs=
 
9609
          wl=$lt_prog_compiler_wl
 
9610
          pic_flag=$lt_prog_compiler_pic
 
9611
          compiler_flags=-v
 
9612
          linker_flags=-v
 
9613
          verstring=
 
9614
          output_objdir=.
 
9615
          libname=conftest
 
9616
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9617
          allow_undefined_flag=
 
9618
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8830
9619
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8831
9620
  ac_status=$?
8832
9621
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8833
9622
  test $ac_status = 0; }
8834
 
        then
8835
 
          archive_cmds_need_lc=no
8836
 
        else
8837
 
          archive_cmds_need_lc=yes
8838
 
        fi
8839
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
8840
 
      else
8841
 
        cat conftest.err 1>&5
8842
 
      fi
8843
 
      $RM conftest*
8844
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8845
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
9623
          then
 
9624
            lt_cv_archive_cmds_need_lc=no
 
9625
          else
 
9626
            lt_cv_archive_cmds_need_lc=yes
 
9627
          fi
 
9628
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9629
        else
 
9630
          cat conftest.err 1>&5
 
9631
        fi
 
9632
        $RM conftest*
 
9633
 
 
9634
fi
 
9635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9636
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9637
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
8846
9638
      ;;
8847
9639
    esac
8848
9640
  fi
9000
9792
 
9001
9793
 
9002
9794
 
9003
 
 
9004
 
 
9005
 
 
9006
 
 
9007
 
 
9008
9795
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9009
9796
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9010
9797
 
9013
9800
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9014
9801
    *) lt_awk_arg="/^libraries:/" ;;
9015
9802
  esac
9016
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9017
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
9803
  case $host_os in
 
9804
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
9805
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
9806
  esac
 
9807
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
9808
  case $lt_search_path_spec in
 
9809
  *\;*)
9018
9810
    # if the path contains ";" then we assume it to be the separator
9019
9811
    # otherwise default to the standard path separator (i.e. ":") - it is
9020
9812
    # assumed that no part of a normal pathname contains ";" but that should
9021
9813
    # okay in the real world where ";" in dirpaths is itself problematic.
9022
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9023
 
  else
9024
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9025
 
  fi
 
9814
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
9815
    ;;
 
9816
  *)
 
9817
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
9818
    ;;
 
9819
  esac
9026
9820
  # Ok, now we have the path, separated by spaces, we can step through it
9027
9821
  # and add multilib dir if necessary.
9028
9822
  lt_tmp_lt_search_path_spec=
9035
9829
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9036
9830
    fi
9037
9831
  done
9038
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
9832
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9039
9833
BEGIN {RS=" "; FS="/|\n";} {
9040
9834
  lt_foo="";
9041
9835
  lt_count=0;
9055
9849
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9056
9850
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9057
9851
}'`
9058
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
9852
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
9853
  # for these hosts.
 
9854
  case $host_os in
 
9855
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
9856
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
9857
  esac
 
9858
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9059
9859
else
9060
9860
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9061
9861
fi
9081
9881
 
9082
9882
case $host_os in
9083
9883
aix3*)
9084
 
  version_type=linux
 
9884
  version_type=linux # correct to gnu/linux during the next big refactor
9085
9885
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9086
9886
  shlibpath_var=LIBPATH
9087
9887
 
9090
9890
  ;;
9091
9891
 
9092
9892
aix[4-9]*)
9093
 
  version_type=linux
 
9893
  version_type=linux # correct to gnu/linux during the next big refactor
9094
9894
  need_lib_prefix=no
9095
9895
  need_version=no
9096
9896
  hardcode_into_libs=yes
9143
9943
  m68k)
9144
9944
    library_names_spec='$libname.ixlibrary $libname.a'
9145
9945
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9146
 
    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'
 
9946
    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'
9147
9947
    ;;
9148
9948
  esac
9149
9949
  ;;
9155
9955
  ;;
9156
9956
 
9157
9957
bsdi[45]*)
9158
 
  version_type=linux
 
9958
  version_type=linux # correct to gnu/linux during the next big refactor
9159
9959
  need_version=no
9160
9960
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9161
9961
  soname_spec='${libname}${release}${shared_ext}$major'
9174
9974
  need_version=no
9175
9975
  need_lib_prefix=no
9176
9976
 
9177
 
  case $GCC,$host_os in
9178
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
9977
  case $GCC,$cc_basename in
 
9978
  yes,*)
 
9979
    # gcc
9179
9980
    library_names_spec='$libname.dll.a'
9180
9981
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9181
9982
    postinstall_cmds='base_file=`basename \${file}`~
9196
9997
    cygwin*)
9197
9998
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9198
9999
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9199
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10000
 
 
10001
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9200
10002
      ;;
9201
10003
    mingw* | cegcc*)
9202
10004
      # MinGW DLLs use traditional 'lib' prefix
9203
10005
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9204
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9205
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9206
 
        # It is most probably a Windows format PATH printed by
9207
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9208
 
        # path with ; separators, and with drive letters. We can handle the
9209
 
        # drive letters (cygwin fileutils understands them), so leave them,
9210
 
        # especially as we might pass files found there to a mingw objdump,
9211
 
        # which wouldn't understand a cygwinified path. Ahh.
9212
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9213
 
      else
9214
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9215
 
      fi
9216
10006
      ;;
9217
10007
    pw32*)
9218
10008
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9219
10009
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9220
10010
      ;;
9221
10011
    esac
 
10012
    dynamic_linker='Win32 ld.exe'
 
10013
    ;;
 
10014
 
 
10015
  *,cl*)
 
10016
    # Native MSVC
 
10017
    libname_spec='$name'
 
10018
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10019
    library_names_spec='${libname}.dll.lib'
 
10020
 
 
10021
    case $build_os in
 
10022
    mingw*)
 
10023
      sys_lib_search_path_spec=
 
10024
      lt_save_ifs=$IFS
 
10025
      IFS=';'
 
10026
      for lt_path in $LIB
 
10027
      do
 
10028
        IFS=$lt_save_ifs
 
10029
        # Let DOS variable expansion print the short 8.3 style file name.
 
10030
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10031
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10032
      done
 
10033
      IFS=$lt_save_ifs
 
10034
      # Convert to MSYS style.
 
10035
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10036
      ;;
 
10037
    cygwin*)
 
10038
      # Convert to unix form, then to dos form, then back to unix form
 
10039
      # but this time dos style (no spaces!) so that the unix form looks
 
10040
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10041
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10042
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10043
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10044
      ;;
 
10045
    *)
 
10046
      sys_lib_search_path_spec="$LIB"
 
10047
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10048
        # It is most probably a Windows format PATH.
 
10049
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10050
      else
 
10051
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10052
      fi
 
10053
      # FIXME: find the short name or the path components, as spaces are
 
10054
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10055
      ;;
 
10056
    esac
 
10057
 
 
10058
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10059
    postinstall_cmds='base_file=`basename \${file}`~
 
10060
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10061
      dldir=$destdir/`dirname \$dlpath`~
 
10062
      test -d \$dldir || mkdir -p \$dldir~
 
10063
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10064
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10065
      dlpath=$dir/\$dldll~
 
10066
       $RM \$dlpath'
 
10067
    shlibpath_overrides_runpath=yes
 
10068
    dynamic_linker='Win32 link.exe'
9222
10069
    ;;
9223
10070
 
9224
10071
  *)
 
10072
    # Assume MSVC wrapper
9225
10073
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10074
    dynamic_linker='Win32 ld.exe'
9226
10075
    ;;
9227
10076
  esac
9228
 
  dynamic_linker='Win32 ld.exe'
9229
10077
  # FIXME: first we should search . and the directory the executable is in
9230
10078
  shlibpath_var=PATH
9231
10079
  ;;
9246
10094
  ;;
9247
10095
 
9248
10096
dgux*)
9249
 
  version_type=linux
 
10097
  version_type=linux # correct to gnu/linux during the next big refactor
9250
10098
  need_lib_prefix=no
9251
10099
  need_version=no
9252
10100
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9254
10102
  shlibpath_var=LD_LIBRARY_PATH
9255
10103
  ;;
9256
10104
 
9257
 
freebsd1*)
9258
 
  dynamic_linker=no
9259
 
  ;;
9260
 
 
9261
10105
freebsd* | dragonfly*)
9262
10106
  # DragonFly does not have aout.  When/if they implement a new
9263
10107
  # versioning mechanism, adjust this.
9265
10109
    objformat=`/usr/bin/objformat`
9266
10110
  else
9267
10111
    case $host_os in
9268
 
    freebsd[123]*) objformat=aout ;;
 
10112
    freebsd[23].*) objformat=aout ;;
9269
10113
    *) objformat=elf ;;
9270
10114
    esac
9271
10115
  fi
9283
10127
  esac
9284
10128
  shlibpath_var=LD_LIBRARY_PATH
9285
10129
  case $host_os in
9286
 
  freebsd2*)
 
10130
  freebsd2.*)
9287
10131
    shlibpath_overrides_runpath=yes
9288
10132
    ;;
9289
10133
  freebsd3.[01]* | freebsdelf3.[01]*)
9303
10147
  ;;
9304
10148
 
9305
10149
gnu*)
9306
 
  version_type=linux
 
10150
  version_type=linux # correct to gnu/linux during the next big refactor
9307
10151
  need_lib_prefix=no
9308
10152
  need_version=no
9309
10153
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9310
10154
  soname_spec='${libname}${release}${shared_ext}$major'
9311
10155
  shlibpath_var=LD_LIBRARY_PATH
 
10156
  shlibpath_overrides_runpath=no
 
10157
  hardcode_into_libs=yes
 
10158
  ;;
 
10159
 
 
10160
haiku*)
 
10161
  version_type=linux # correct to gnu/linux during the next big refactor
 
10162
  need_lib_prefix=no
 
10163
  need_version=no
 
10164
  dynamic_linker="$host_os runtime_loader"
 
10165
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10166
  soname_spec='${libname}${release}${shared_ext}$major'
 
10167
  shlibpath_var=LIBRARY_PATH
 
10168
  shlibpath_overrides_runpath=yes
 
10169
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9312
10170
  hardcode_into_libs=yes
9313
10171
  ;;
9314
10172
 
9354
10212
    soname_spec='${libname}${release}${shared_ext}$major'
9355
10213
    ;;
9356
10214
  esac
9357
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10215
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9358
10216
  postinstall_cmds='chmod 555 $lib'
 
10217
  # or fails outright, so override atomically:
 
10218
  install_override_mode=555
9359
10219
  ;;
9360
10220
 
9361
10221
interix[3-9]*)
9362
 
  version_type=linux
 
10222
  version_type=linux # correct to gnu/linux during the next big refactor
9363
10223
  need_lib_prefix=no
9364
10224
  need_version=no
9365
10225
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9375
10235
    nonstopux*) version_type=nonstopux ;;
9376
10236
    *)
9377
10237
        if test "$lt_cv_prog_gnu_ld" = yes; then
9378
 
                version_type=linux
 
10238
                version_type=linux # correct to gnu/linux during the next big refactor
9379
10239
        else
9380
10240
                version_type=irix
9381
10241
        fi ;;
9412
10272
  dynamic_linker=no
9413
10273
  ;;
9414
10274
 
9415
 
# This must be Linux ELF.
9416
 
linux* | k*bsd*-gnu)
9417
 
  version_type=linux
 
10275
# This must be glibc/ELF.
 
10276
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
10277
  version_type=linux # correct to gnu/linux during the next big refactor
9418
10278
  need_lib_prefix=no
9419
10279
  need_version=no
9420
10280
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9422
10282
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9423
10283
  shlibpath_var=LD_LIBRARY_PATH
9424
10284
  shlibpath_overrides_runpath=no
 
10285
 
9425
10286
  # Some binutils ld are patched to set DT_RUNPATH
9426
 
  save_LDFLAGS=$LDFLAGS
9427
 
  save_libdir=$libdir
9428
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9429
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9430
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10287
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10288
  $as_echo_n "(cached) " >&6
 
10289
else
 
10290
  lt_cv_shlibpath_overrides_runpath=no
 
10291
    save_LDFLAGS=$LDFLAGS
 
10292
    save_libdir=$libdir
 
10293
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10294
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10295
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9431
10296
/* end confdefs.h.  */
9432
10297
 
9433
10298
int
9440
10305
_ACEOF
9441
10306
if ac_fn_c_try_link "$LINENO"; then :
9442
10307
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9443
 
  shlibpath_overrides_runpath=yes
 
10308
  lt_cv_shlibpath_overrides_runpath=yes
9444
10309
fi
9445
10310
fi
9446
10311
rm -f core conftest.err conftest.$ac_objext \
9447
10312
    conftest$ac_exeext conftest.$ac_ext
9448
 
  LDFLAGS=$save_LDFLAGS
9449
 
  libdir=$save_libdir
 
10313
    LDFLAGS=$save_LDFLAGS
 
10314
    libdir=$save_libdir
 
10315
 
 
10316
fi
 
10317
 
 
10318
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9450
10319
 
9451
10320
  # This implies no fast_install, which is unacceptable.
9452
10321
  # Some rework will be needed to allow for fast_install
9455
10324
 
9456
10325
  # Append ld.so.conf contents to the search path
9457
10326
  if test -f /etc/ld.so.conf; then
9458
 
    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' ' '`
 
10327
    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' ' '`
9459
10328
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9460
10329
  fi
9461
10330
 
9468
10337
  dynamic_linker='GNU/Linux ld.so'
9469
10338
  ;;
9470
10339
 
 
10340
netbsdelf*-gnu)
 
10341
  version_type=linux
 
10342
  need_lib_prefix=no
 
10343
  need_version=no
 
10344
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10345
  soname_spec='${libname}${release}${shared_ext}$major'
 
10346
  shlibpath_var=LD_LIBRARY_PATH
 
10347
  shlibpath_overrides_runpath=no
 
10348
  hardcode_into_libs=yes
 
10349
  dynamic_linker='NetBSD ld.elf_so'
 
10350
  ;;
 
10351
 
9471
10352
netbsd*)
9472
10353
  version_type=sunos
9473
10354
  need_lib_prefix=no
9487
10368
  ;;
9488
10369
 
9489
10370
newsos6)
9490
 
  version_type=linux
 
10371
  version_type=linux # correct to gnu/linux during the next big refactor
9491
10372
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9492
10373
  shlibpath_var=LD_LIBRARY_PATH
9493
10374
  shlibpath_overrides_runpath=yes
9556
10437
  ;;
9557
10438
 
9558
10439
solaris*)
9559
 
  version_type=linux
 
10440
  version_type=linux # correct to gnu/linux during the next big refactor
9560
10441
  need_lib_prefix=no
9561
10442
  need_version=no
9562
10443
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9581
10462
  ;;
9582
10463
 
9583
10464
sysv4 | sysv4.3*)
9584
 
  version_type=linux
 
10465
  version_type=linux # correct to gnu/linux during the next big refactor
9585
10466
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9586
10467
  soname_spec='${libname}${release}${shared_ext}$major'
9587
10468
  shlibpath_var=LD_LIBRARY_PATH
9605
10486
 
9606
10487
sysv4*MP*)
9607
10488
  if test -d /usr/nec ;then
9608
 
    version_type=linux
 
10489
    version_type=linux # correct to gnu/linux during the next big refactor
9609
10490
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9610
10491
    soname_spec='$libname${shared_ext}.$major'
9611
10492
    shlibpath_var=LD_LIBRARY_PATH
9636
10517
 
9637
10518
tpf*)
9638
10519
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9639
 
  version_type=linux
 
10520
  version_type=linux # correct to gnu/linux during the next big refactor
9640
10521
  need_lib_prefix=no
9641
10522
  need_version=no
9642
10523
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9646
10527
  ;;
9647
10528
 
9648
10529
uts4*)
9649
 
  version_type=linux
 
10530
  version_type=linux # correct to gnu/linux during the next big refactor
9650
10531
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9651
10532
  soname_spec='${libname}${release}${shared_ext}$major'
9652
10533
  shlibpath_var=LD_LIBRARY_PATH
9758
10639
 
9759
10640
 
9760
10641
 
 
10642
 
 
10643
 
 
10644
 
 
10645
 
 
10646
 
9761
10647
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9762
10648
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9763
10649
hardcode_action=
9830
10716
  # if libdl is installed we need to link against it
9831
10717
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9832
10718
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9833
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10719
if ${ac_cv_lib_dl_dlopen+:} false; then :
9834
10720
  $as_echo_n "(cached) " >&6
9835
10721
else
9836
10722
  ac_check_lib_save_LIBS=$LIBS
9864
10750
fi
9865
10751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9866
10752
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9867
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10753
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
9868
10754
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9869
10755
else
9870
10756
 
9878
10764
 
9879
10765
  *)
9880
10766
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
9881
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
10767
if test "x$ac_cv_func_shl_load" = xyes; then :
9882
10768
  lt_cv_dlopen="shl_load"
9883
10769
else
9884
10770
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9885
10771
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9886
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
10772
if ${ac_cv_lib_dld_shl_load+:} false; then :
9887
10773
  $as_echo_n "(cached) " >&6
9888
10774
else
9889
10775
  ac_check_lib_save_LIBS=$LIBS
9917
10803
fi
9918
10804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9919
10805
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9920
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
10806
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
9921
10807
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9922
10808
else
9923
10809
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
9924
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
10810
if test "x$ac_cv_func_dlopen" = xyes; then :
9925
10811
  lt_cv_dlopen="dlopen"
9926
10812
else
9927
10813
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9928
10814
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9929
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10815
if ${ac_cv_lib_dl_dlopen+:} false; then :
9930
10816
  $as_echo_n "(cached) " >&6
9931
10817
else
9932
10818
  ac_check_lib_save_LIBS=$LIBS
9960
10846
fi
9961
10847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9962
10848
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9963
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10849
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
9964
10850
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9965
10851
else
9966
10852
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9967
10853
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
9968
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
10854
if ${ac_cv_lib_svld_dlopen+:} false; then :
9969
10855
  $as_echo_n "(cached) " >&6
9970
10856
else
9971
10857
  ac_check_lib_save_LIBS=$LIBS
9999
10885
fi
10000
10886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10001
10887
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10002
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
10888
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10003
10889
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10004
10890
else
10005
10891
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10006
10892
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10007
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
10893
if ${ac_cv_lib_dld_dld_link+:} false; then :
10008
10894
  $as_echo_n "(cached) " >&6
10009
10895
else
10010
10896
  ac_check_lib_save_LIBS=$LIBS
10038
10924
fi
10039
10925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10040
10926
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10041
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
10927
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10042
10928
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10043
10929
fi
10044
10930
 
10079
10965
 
10080
10966
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10081
10967
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10082
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
10968
if ${lt_cv_dlopen_self+:} false; then :
10083
10969
  $as_echo_n "(cached) " >&6
10084
10970
else
10085
10971
          if test "$cross_compiling" = yes; then :
10088
10974
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10089
10975
  lt_status=$lt_dlunknown
10090
10976
  cat > conftest.$ac_ext <<_LT_EOF
10091
 
#line 10091 "configure"
 
10977
#line $LINENO "configure"
10092
10978
#include "confdefs.h"
10093
10979
 
10094
10980
#if HAVE_DLFCN_H
10129
11015
#  endif
10130
11016
#endif
10131
11017
 
10132
 
void fnord() { int i=42;}
 
11018
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11019
   correspondingly for the symbols needed.  */
 
11020
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11021
int fnord () __attribute__((visibility("default")));
 
11022
#endif
 
11023
 
 
11024
int fnord () { return 42; }
10133
11025
int main ()
10134
11026
{
10135
11027
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10138
11030
  if (self)
10139
11031
    {
10140
11032
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10141
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11033
      else
 
11034
        {
 
11035
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11036
          else puts (dlerror ());
 
11037
        }
10142
11038
      /* dlclose (self); */
10143
11039
    }
10144
11040
  else
10175
11071
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10176
11072
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10177
11073
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10178
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11074
if ${lt_cv_dlopen_self_static+:} false; then :
10179
11075
  $as_echo_n "(cached) " >&6
10180
11076
else
10181
11077
          if test "$cross_compiling" = yes; then :
10184
11080
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10185
11081
  lt_status=$lt_dlunknown
10186
11082
  cat > conftest.$ac_ext <<_LT_EOF
10187
 
#line 10187 "configure"
 
11083
#line $LINENO "configure"
10188
11084
#include "confdefs.h"
10189
11085
 
10190
11086
#if HAVE_DLFCN_H
10225
11121
#  endif
10226
11122
#endif
10227
11123
 
10228
 
void fnord() { int i=42;}
 
11124
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11125
   correspondingly for the symbols needed.  */
 
11126
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11127
int fnord () __attribute__((visibility("default")));
 
11128
#endif
 
11129
 
 
11130
int fnord () { return 42; }
10229
11131
int main ()
10230
11132
{
10231
11133
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10234
11136
  if (self)
10235
11137
    {
10236
11138
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10237
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11139
      else
 
11140
        {
 
11141
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11142
          else puts (dlerror ());
 
11143
        }
10238
11144
      /* dlclose (self); */
10239
11145
    }
10240
11146
  else
10403
11309
 
10404
11310
 
10405
11311
 
 
11312
 
 
11313
 
10406
11314
        ac_config_commands="$ac_config_commands libtool"
10407
11315
 
10408
11316
 
10421
11329
set dummy ${ac_tool_prefix}gcc; ac_word=$2
10422
11330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10423
11331
$as_echo_n "checking for $ac_word... " >&6; }
10424
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
11332
if ${ac_cv_prog_CC+:} false; then :
10425
11333
  $as_echo_n "(cached) " >&6
10426
11334
else
10427
11335
  if test -n "$CC"; then
10461
11369
set dummy gcc; ac_word=$2
10462
11370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10463
11371
$as_echo_n "checking for $ac_word... " >&6; }
10464
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
11372
if ${ac_cv_prog_ac_ct_CC+:} false; then :
10465
11373
  $as_echo_n "(cached) " >&6
10466
11374
else
10467
11375
  if test -n "$ac_ct_CC"; then
10514
11422
set dummy ${ac_tool_prefix}cc; ac_word=$2
10515
11423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10516
11424
$as_echo_n "checking for $ac_word... " >&6; }
10517
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
11425
if ${ac_cv_prog_CC+:} false; then :
10518
11426
  $as_echo_n "(cached) " >&6
10519
11427
else
10520
11428
  if test -n "$CC"; then
10554
11462
set dummy cc; ac_word=$2
10555
11463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10556
11464
$as_echo_n "checking for $ac_word... " >&6; }
10557
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
11465
if ${ac_cv_prog_CC+:} false; then :
10558
11466
  $as_echo_n "(cached) " >&6
10559
11467
else
10560
11468
  if test -n "$CC"; then
10613
11521
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10614
11522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10615
11523
$as_echo_n "checking for $ac_word... " >&6; }
10616
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
11524
if ${ac_cv_prog_CC+:} false; then :
10617
11525
  $as_echo_n "(cached) " >&6
10618
11526
else
10619
11527
  if test -n "$CC"; then
10657
11565
set dummy $ac_prog; ac_word=$2
10658
11566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10659
11567
$as_echo_n "checking for $ac_word... " >&6; }
10660
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
11568
if ${ac_cv_prog_ac_ct_CC+:} false; then :
10661
11569
  $as_echo_n "(cached) " >&6
10662
11570
else
10663
11571
  if test -n "$ac_ct_CC"; then
10711
11619
 
10712
11620
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10713
11621
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10714
 
as_fn_error "no acceptable C compiler found in \$PATH
10715
 
See \`config.log' for more details." "$LINENO" 5; }
 
11622
as_fn_error $? "no acceptable C compiler found in \$PATH
 
11623
See \`config.log' for more details" "$LINENO" 5; }
10716
11624
 
10717
11625
# Provide some information about the compiler.
10718
11626
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
10741
11649
 
10742
11650
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
10743
11651
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10744
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
11652
if ${ac_cv_c_compiler_gnu+:} false; then :
10745
11653
  $as_echo_n "(cached) " >&6
10746
11654
else
10747
11655
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10778
11686
ac_save_CFLAGS=$CFLAGS
10779
11687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
10780
11688
$as_echo_n "checking whether $CC accepts -g... " >&6; }
10781
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
11689
if ${ac_cv_prog_cc_g+:} false; then :
10782
11690
  $as_echo_n "(cached) " >&6
10783
11691
else
10784
11692
  ac_save_c_werror_flag=$ac_c_werror_flag
10856
11764
fi
10857
11765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
10858
11766
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
10859
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
11767
if ${ac_cv_prog_cc_c89+:} false; then :
10860
11768
  $as_echo_n "(cached) " >&6
10861
11769
else
10862
11770
  ac_cv_prog_cc_c89=no
10955
11863
 
10956
11864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
10957
11865
$as_echo_n "checking dependency style of $depcc... " >&6; }
10958
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
11866
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
10959
11867
  $as_echo_n "(cached) " >&6
10960
11868
else
10961
11869
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10964
11872
  # instance it was reported that on HP-UX the gcc test will end up
10965
11873
  # making a dummy file named `D' -- because `-MD' means `put the output
10966
11874
  # in D'.
 
11875
  rm -rf conftest.dir
10967
11876
  mkdir conftest.dir
10968
11877
  # Copy depcomp to subdir because otherwise we won't find it if we're
10969
11878
  # using a relative directory.
11023
11932
        break
11024
11933
      fi
11025
11934
      ;;
11026
 
    msvisualcpp | msvcmsys)
 
11935
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
11027
11936
      # This compiler won't grok `-c -o', but also, the minuso test has
11028
11937
      # not run yet.  These depmodes are late enough in the game, and
11029
11938
      # so weak that their functioning should not be impacted.
11078
11987
fi
11079
11988
 
11080
11989
 
11081
 
 
11082
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
11083
 
$as_echo_n "checking for strerror in -lcposix... " >&6; }
11084
 
if test "${ac_cv_lib_cposix_strerror+set}" = set; then :
 
11990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
 
11991
$as_echo_n "checking for library containing strerror... " >&6; }
 
11992
if ${ac_cv_search_strerror+:} false; then :
11085
11993
  $as_echo_n "(cached) " >&6
11086
11994
else
11087
 
  ac_check_lib_save_LIBS=$LIBS
11088
 
LIBS="-lcposix  $LIBS"
 
11995
  ac_func_search_save_LIBS=$LIBS
11089
11996
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090
11997
/* end confdefs.h.  */
11091
11998
 
11104
12011
  return 0;
11105
12012
}
11106
12013
_ACEOF
11107
 
if ac_fn_c_try_link "$LINENO"; then :
11108
 
  ac_cv_lib_cposix_strerror=yes
 
12014
for ac_lib in '' cposix; do
 
12015
  if test -z "$ac_lib"; then
 
12016
    ac_res="none required"
 
12017
  else
 
12018
    ac_res=-l$ac_lib
 
12019
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
12020
  fi
 
12021
  if ac_fn_c_try_link "$LINENO"; then :
 
12022
  ac_cv_search_strerror=$ac_res
 
12023
fi
 
12024
rm -f core conftest.err conftest.$ac_objext \
 
12025
    conftest$ac_exeext
 
12026
  if ${ac_cv_search_strerror+:} false; then :
 
12027
  break
 
12028
fi
 
12029
done
 
12030
if ${ac_cv_search_strerror+:} false; then :
 
12031
 
11109
12032
else
11110
 
  ac_cv_lib_cposix_strerror=no
11111
 
fi
11112
 
rm -f core conftest.err conftest.$ac_objext \
11113
 
    conftest$ac_exeext conftest.$ac_ext
11114
 
LIBS=$ac_check_lib_save_LIBS
11115
 
fi
11116
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
11117
 
$as_echo "$ac_cv_lib_cposix_strerror" >&6; }
11118
 
if test "x$ac_cv_lib_cposix_strerror" = x""yes; then :
11119
 
  LIBS="$LIBS -lcposix"
11120
 
fi
11121
 
 
11122
 
 
 
12033
  ac_cv_search_strerror=no
 
12034
fi
 
12035
rm conftest.$ac_ext
 
12036
LIBS=$ac_func_search_save_LIBS
 
12037
fi
 
12038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
 
12039
$as_echo "$ac_cv_search_strerror" >&6; }
 
12040
ac_res=$ac_cv_search_strerror
 
12041
if test "$ac_res" != no; then :
 
12042
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
12043
 
 
12044
fi
11123
12045
 
11124
12046
   case $ac_cv_prog_cc_stdc in #(
11125
12047
  no) :
11127
12049
  *) :
11128
12050
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
11129
12051
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
11130
 
if test "${ac_cv_prog_cc_c99+set}" = set; then :
 
12052
if ${ac_cv_prog_cc_c99+:} false; then :
11131
12053
  $as_echo_n "(cached) " >&6
11132
12054
else
11133
12055
  ac_cv_prog_cc_c99=no
11302
12224
else
11303
12225
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11304
12226
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11305
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
12227
if ${ac_cv_prog_cc_c89+:} false; then :
11306
12228
  $as_echo_n "(cached) " >&6
11307
12229
else
11308
12230
  ac_cv_prog_cc_c89=no
11398
12320
esac
11399
12321
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
11400
12322
$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
11401
 
  if test "${ac_cv_prog_cc_stdc+set}" = set; then :
 
12323
  if ${ac_cv_prog_cc_stdc+:} false; then :
11402
12324
  $as_echo_n "(cached) " >&6
11403
12325
fi
11404
12326
 
11416
12338
 
11417
12339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11418
12340
$as_echo_n "checking for ANSI C header files... " >&6; }
11419
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
12341
if ${ac_cv_header_stdc+:} false; then :
11420
12342
  $as_echo_n "(cached) " >&6
11421
12343
else
11422
12344
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11528
12450
 
11529
12451
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
11530
12452
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
11531
 
if test "${ac_cv_c_bigendian+set}" = set; then :
 
12453
if ${ac_cv_c_bigendian+:} false; then :
11532
12454
  $as_echo_n "(cached) " >&6
11533
12455
else
11534
12456
  ac_cv_c_bigendian=unknown
11746
12668
 
11747
12669
     ;; #(
11748
12670
   *)
11749
 
     as_fn_error "unknown endianness
 
12671
     as_fn_error $? "unknown endianness
11750
12672
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
11751
12673
 esac
11752
12674
 
11753
12675
 
11754
12676
ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
11755
 
if test "x$ac_cv_func_vasprintf" = x""yes; then :
 
12677
if test "x$ac_cv_func_vasprintf" = xyes; then :
11756
12678
 
11757
12679
$as_echo "#define HAVE_VASPRINTF 1" >>confdefs.h
11758
12680
 
11760
12682
 
11761
12683
 
11762
12684
ac_fn_c_check_func "$LINENO" "_vscprintf" "ac_cv_func__vscprintf"
11763
 
if test "x$ac_cv_func__vscprintf" = x""yes; then :
 
12685
if test "x$ac_cv_func__vscprintf" = xyes; then :
11764
12686
 
11765
12687
$as_echo "#define HAVE__VSCPRINTF 1" >>confdefs.h
11766
12688
 
11771
12693
 
11772
12694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsapi_new_instance in -lgs" >&5
11773
12695
$as_echo_n "checking for gsapi_new_instance in -lgs... " >&6; }
11774
 
if test "${ac_cv_lib_gs_gsapi_new_instance+set}" = set; then :
 
12696
if ${ac_cv_lib_gs_gsapi_new_instance+:} false; then :
11775
12697
  $as_echo_n "(cached) " >&6
11776
12698
else
11777
12699
  ac_check_lib_save_LIBS=$LIBS
11805
12727
fi
11806
12728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gs_gsapi_new_instance" >&5
11807
12729
$as_echo "$ac_cv_lib_gs_gsapi_new_instance" >&6; }
11808
 
if test "x$ac_cv_lib_gs_gsapi_new_instance" = x""yes; then :
 
12730
if test "x$ac_cv_lib_gs_gsapi_new_instance" = xyes; then :
11809
12731
  have_libgs=yes
11810
12732
else
11811
12733
  have_libgs=no
11866
12788
 
11867
12789
    LIBS=$save_LIBS
11868
12790
    if test "x$have_libgs" = "xno"; then
11869
 
        as_fn_error "You need libgs >= $LIBGS_REQUIRED in order to compile libspectre" "$LINENO" 5
 
12791
        as_fn_error $? "You need libgs >= $LIBGS_REQUIRED in order to compile libspectre" "$LINENO" 5
11870
12792
    fi
11871
12793
else
11872
 
    as_fn_error "You need libgs in order to compile libspectre" "$LINENO" 5
 
12794
    as_fn_error $? "You need libgs in order to compile libspectre" "$LINENO" 5
11873
12795
fi
11874
12796
 
11875
12797
 
11912
12834
if test "x$enable_test" = "xyes"; then
11913
12835
 
11914
12836
 
 
12837
 
 
12838
 
 
12839
 
 
12840
 
 
12841
 
11915
12842
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11916
12843
        if test -n "$ac_tool_prefix"; then
11917
12844
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11918
12845
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11919
12846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11920
12847
$as_echo_n "checking for $ac_word... " >&6; }
11921
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
12848
if ${ac_cv_path_PKG_CONFIG+:} false; then :
11922
12849
  $as_echo_n "(cached) " >&6
11923
12850
else
11924
12851
  case $PKG_CONFIG in
11961
12888
set dummy pkg-config; ac_word=$2
11962
12889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11963
12890
$as_echo_n "checking for $ac_word... " >&6; }
11964
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
12891
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11965
12892
  $as_echo_n "(cached) " >&6
11966
12893
else
11967
12894
  case $ac_pt_PKG_CONFIG in
12024
12951
$as_echo "no" >&6; }
12025
12952
                PKG_CONFIG=""
12026
12953
        fi
12027
 
 
12028
12954
fi
12029
12955
 
12030
12956
pkg_failed=no
12041
12967
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12042
12968
  test $ac_status = 0; }; then
12043
12969
  pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo cairo-png" 2>/dev/null`
 
12970
                      test "x$?" != "x0" && pkg_failed=yes
12044
12971
else
12045
12972
  pkg_failed=yes
12046
12973
fi
12057
12984
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12058
12985
  test $ac_status = 0; }; then
12059
12986
  pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo cairo-png" 2>/dev/null`
 
12987
                      test "x$?" != "x0" && pkg_failed=yes
12060
12988
else
12061
12989
  pkg_failed=yes
12062
12990
fi
12067
12995
 
12068
12996
 
12069
12997
if test $pkg_failed = yes; then
 
12998
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12999
$as_echo "no" >&6; }
12070
13000
 
12071
13001
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12072
13002
        _pkg_short_errors_supported=yes
12074
13004
        _pkg_short_errors_supported=no
12075
13005
fi
12076
13006
        if test $_pkg_short_errors_supported = yes; then
12077
 
                CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "cairo cairo-png" 2>&1`
 
13007
                CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo cairo-png" 2>&1`
12078
13008
        else
12079
 
                CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "cairo cairo-png" 2>&1`
 
13009
                CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo cairo-png" 2>&1`
12080
13010
        fi
12081
13011
        # Put the nasty error message in config.log where it belongs
12082
13012
        echo "$CAIRO_PKG_ERRORS" >&5
12083
13013
 
12084
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12085
 
$as_echo "no" >&6; }
12086
 
                enable_test=no
 
13014
        enable_test=no
12087
13015
elif test $pkg_failed = untried; then
 
13016
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13017
$as_echo "no" >&6; }
12088
13018
        enable_test=no
12089
13019
else
12090
13020
        CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
12142
13072
fi
12143
13073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported warning flags" >&5
12144
13074
$as_echo_n "checking for supported warning flags... " >&6; }
12145
 
if test "${spectre_cv_warn_cflags+set}" = set; then :
 
13075
if ${spectre_cv_warn_cflags+:} false; then :
12146
13076
  $as_echo_n "(cached) " >&6
12147
13077
else
12148
13078
 
12205
13135
 
12206
13136
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of va_copy()" >&5
12207
13137
$as_echo_n "checking for an implementation of va_copy()... " >&6; }
12208
 
if test "${spectre_cv_va_copy+set}" = set; then :
 
13138
if ${spectre_cv_va_copy+:} false; then :
12209
13139
  $as_echo_n "(cached) " >&6
12210
13140
else
12211
13141
 
12239
13169
$as_echo "$spectre_cv_va_copy" >&6; }
12240
13170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of __va_copy()" >&5
12241
13171
$as_echo_n "checking for an implementation of __va_copy()... " >&6; }
12242
 
if test "${spectre_cv___va_copy+set}" = set; then :
 
13172
if ${spectre_cv___va_copy+:} false; then :
12243
13173
  $as_echo_n "(cached) " >&6
12244
13174
else
12245
13175
 
12295
13225
 
12296
13226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_lists can be copied by value" >&5
12297
13227
$as_echo_n "checking whether va_lists can be copied by value... " >&6; }
12298
 
if test "${spectre_cv_va_val_copy+set}" = set; then :
 
13228
if ${spectre_cv_va_val_copy+:} false; then :
12299
13229
  $as_echo_n "(cached) " >&6
12300
13230
else
12301
13231
  if test "$cross_compiling" = yes; then :
12420
13350
     :end' >>confcache
12421
13351
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12422
13352
  if test -w "$cache_file"; then
12423
 
    test "x$cache_file" != "x/dev/null" &&
 
13353
    if test "x$cache_file" != "x/dev/null"; then
12424
13354
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12425
13355
$as_echo "$as_me: updating cache $cache_file" >&6;}
12426
 
    cat confcache >$cache_file
 
13356
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
13357
        cat confcache >"$cache_file"
 
13358
      else
 
13359
        case $cache_file in #(
 
13360
        */* | ?:*)
 
13361
          mv -f confcache "$cache_file"$$ &&
 
13362
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
13363
        *)
 
13364
          mv -f confcache "$cache_file" ;;
 
13365
        esac
 
13366
      fi
 
13367
    fi
12427
13368
  else
12428
13369
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12429
13370
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12439
13380
 
12440
13381
ac_libobjs=
12441
13382
ac_ltlibobjs=
 
13383
U=
12442
13384
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12443
13385
  # 1. Remove the extension, and $U if already installed.
12444
13386
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12462
13404
fi
12463
13405
 
12464
13406
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12465
 
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
13407
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12466
13408
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12467
13409
fi
12468
13410
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12469
 
  as_fn_error "conditional \"AMDEP\" was never defined.
12470
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12471
 
fi
12472
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12473
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
12474
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12475
 
fi
12476
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12477
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
13411
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
13412
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13413
fi
 
13414
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
13415
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
13416
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13417
fi
 
13418
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
13419
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12478
13420
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12479
13421
fi
12480
13422
 
12481
13423
if test -z "${ENABLE_TEST_TRUE}" && test -z "${ENABLE_TEST_FALSE}"; then
12482
 
  as_fn_error "conditional \"ENABLE_TEST\" was never defined.
 
13424
  as_fn_error $? "conditional \"ENABLE_TEST\" was never defined.
12483
13425
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12484
13426
fi
12485
13427
 
12486
 
: ${CONFIG_STATUS=./config.status}
 
13428
: "${CONFIG_STATUS=./config.status}"
12487
13429
ac_write_fail=0
12488
13430
ac_clean_files_save=$ac_clean_files
12489
13431
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12584
13526
IFS=" ""        $as_nl"
12585
13527
 
12586
13528
# Find who we are.  Look in the path if we contain no directory separator.
 
13529
as_myself=
12587
13530
case $0 in #((
12588
13531
  *[\\/]* ) as_myself=$0 ;;
12589
13532
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12629
13572
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12630
13573
 
12631
13574
 
12632
 
# as_fn_error ERROR [LINENO LOG_FD]
12633
 
# ---------------------------------
 
13575
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
13576
# ----------------------------------------
12634
13577
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12635
13578
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12636
 
# script with status $?, using 1 if that was 0.
 
13579
# script with STATUS, using 1 if that was 0.
12637
13580
as_fn_error ()
12638
13581
{
12639
 
  as_status=$?; test $as_status -eq 0 && as_status=1
12640
 
  if test "$3"; then
12641
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12642
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
13582
  as_status=$1; test $as_status -eq 0 && as_status=1
 
13583
  if test "$4"; then
 
13584
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
13585
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12643
13586
  fi
12644
 
  $as_echo "$as_me: error: $1" >&2
 
13587
  $as_echo "$as_me: error: $2" >&2
12645
13588
  as_fn_exit $as_status
12646
13589
} # as_fn_error
12647
13590
 
12837
13780
      test -d "$as_dir" && break
12838
13781
    done
12839
13782
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12840
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
13783
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12841
13784
 
12842
13785
 
12843
13786
} # as_fn_mkdir_p
12890
13833
# report actual input values of CONFIG_FILES etc. instead of their
12891
13834
# values after options handling.
12892
13835
ac_log="
12893
 
This file was extended by libspectre $as_me 0.2.6, which was
12894
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
13836
This file was extended by libspectre $as_me 0.2.7, which was
 
13837
generated by GNU Autoconf 2.68.  Invocation command line was
12895
13838
 
12896
13839
  CONFIG_FILES    = $CONFIG_FILES
12897
13840
  CONFIG_HEADERS  = $CONFIG_HEADERS
12956
13899
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12957
13900
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12958
13901
ac_cs_version="\\
12959
 
libspectre config.status 0.2.6
12960
 
configured by $0, generated by GNU Autoconf 2.65,
 
13902
libspectre config.status 0.2.7
 
13903
configured by $0, generated by GNU Autoconf 2.68,
12961
13904
  with options \\"\$ac_cs_config\\"
12962
13905
 
12963
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
13906
Copyright (C) 2010 Free Software Foundation, Inc.
12964
13907
This config.status script is free software; the Free Software Foundation
12965
13908
gives unlimited permission to copy, distribute and modify it."
12966
13909
 
12978
13921
while test $# != 0
12979
13922
do
12980
13923
  case $1 in
12981
 
  --*=*)
 
13924
  --*=?*)
12982
13925
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12983
13926
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12984
13927
    ac_shift=:
12985
13928
    ;;
 
13929
  --*=)
 
13930
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
13931
    ac_optarg=
 
13932
    ac_shift=:
 
13933
    ;;
12986
13934
  *)
12987
13935
    ac_option=$1
12988
13936
    ac_optarg=$2
13004
13952
    $ac_shift
13005
13953
    case $ac_optarg in
13006
13954
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
13955
    '') as_fn_error $? "missing file argument" ;;
13007
13956
    esac
13008
13957
    as_fn_append CONFIG_FILES " '$ac_optarg'"
13009
13958
    ac_need_defaults=false;;
13016
13965
    ac_need_defaults=false;;
13017
13966
  --he | --h)
13018
13967
    # Conflict between --help and --header
13019
 
    as_fn_error "ambiguous option: \`$1'
 
13968
    as_fn_error $? "ambiguous option: \`$1'
13020
13969
Try \`$0 --help' for more information.";;
13021
13970
  --help | --hel | -h )
13022
13971
    $as_echo "$ac_cs_usage"; exit ;;
13025
13974
    ac_cs_silent=: ;;
13026
13975
 
13027
13976
  # This is an error.
13028
 
  -*) as_fn_error "unrecognized option: \`$1'
 
13977
  -*) as_fn_error $? "unrecognized option: \`$1'
13029
13978
Try \`$0 --help' for more information." ;;
13030
13979
 
13031
13980
  *) as_fn_append ac_config_targets " $1"
13079
14028
sed_quote_subst='$sed_quote_subst'
13080
14029
double_quote_subst='$double_quote_subst'
13081
14030
delay_variable_subst='$delay_variable_subst'
13082
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13083
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13084
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13085
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13086
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13087
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13088
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13089
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13090
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13091
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13092
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13093
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13094
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13095
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13096
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13097
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13098
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13099
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13100
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13101
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13102
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13103
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13104
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13105
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13106
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13107
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13108
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13109
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13110
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13111
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13112
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13113
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13114
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13115
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13116
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13117
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13118
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13119
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13120
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13121
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13122
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13123
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13124
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13125
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13126
 
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"`'
13127
 
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"`'
13128
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13129
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13130
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13131
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13132
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13133
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13134
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13135
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13136
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13137
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13138
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13139
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13140
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13141
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13142
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13143
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13144
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13145
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13146
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13147
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13148
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13149
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13150
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13151
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13152
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13153
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13154
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13155
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13156
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13157
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13158
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13159
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13160
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13161
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13162
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13163
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13164
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13165
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13166
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13167
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13168
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13169
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13170
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13171
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13172
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13173
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13174
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13175
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13176
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13177
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13178
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13179
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13180
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13181
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13182
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13183
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13184
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13185
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13186
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13187
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13188
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13189
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13190
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13191
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13192
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13193
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13194
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13195
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13196
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13197
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13198
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13199
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
14031
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
14032
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
14033
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
14034
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
14035
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
14036
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
14037
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
14038
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
14039
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
14040
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
14041
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
14042
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
14043
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
14044
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
14045
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
14046
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
14047
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
14048
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
14049
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
14050
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
14051
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
14052
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
14053
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
14054
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
14055
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
14056
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
14057
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
14058
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
14059
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
14060
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
14061
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
14062
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
14063
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
14064
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
14065
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
14066
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
14067
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
14068
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
14069
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
14070
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
14071
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
14072
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
14073
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
14074
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
14075
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
14076
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14077
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14078
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14079
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
14080
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
14081
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
14082
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
14083
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
14084
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
14085
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
14086
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
14087
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"`'
 
14088
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14089
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
14090
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
14091
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
14092
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
14093
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
14094
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
14095
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
14096
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
14097
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
14098
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
14099
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
14100
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
14101
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
14102
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
14103
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
14104
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
14105
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
14106
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14107
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
14108
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
14109
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14110
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14111
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
14112
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
14113
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14114
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14115
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14116
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
14117
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14118
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
14119
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14120
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14121
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14122
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
14123
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
14124
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
14125
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
14126
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14127
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
14128
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
14129
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
14130
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
14131
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
14132
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
14133
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
14134
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
14135
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
14136
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14137
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
14138
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
14139
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
14140
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
14141
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
14142
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14143
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
14144
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
14145
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
14146
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
14147
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
14148
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14149
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14150
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
14151
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
14152
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
14153
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
14154
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
14155
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
14156
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
14157
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
14158
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
14159
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
14160
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13200
14161
 
13201
14162
LTCC='$LTCC'
13202
14163
LTCFLAGS='$LTCFLAGS'
13203
14164
compiler='$compiler_DEFAULT'
13204
14165
 
 
14166
# A function that is used when there is no print builtin or printf.
 
14167
func_fallback_echo ()
 
14168
{
 
14169
  eval 'cat <<_LTECHO_EOF
 
14170
\$1
 
14171
_LTECHO_EOF'
 
14172
}
 
14173
 
13205
14174
# Quote evaled strings.
13206
 
for var in SED \
 
14175
for var in SHELL \
 
14176
ECHO \
 
14177
PATH_SEPARATOR \
 
14178
SED \
13207
14179
GREP \
13208
14180
EGREP \
13209
14181
FGREP \
13216
14188
OBJDUMP \
13217
14189
deplibs_check_method \
13218
14190
file_magic_cmd \
 
14191
file_magic_glob \
 
14192
want_nocaseglob \
 
14193
DLLTOOL \
 
14194
sharedlib_from_linklib_cmd \
13219
14195
AR \
13220
14196
AR_FLAGS \
 
14197
archiver_list_spec \
13221
14198
STRIP \
13222
14199
RANLIB \
13223
14200
CC \
13227
14204
lt_cv_sys_global_symbol_to_cdecl \
13228
14205
lt_cv_sys_global_symbol_to_c_name_address \
13229
14206
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13230
 
SHELL \
13231
 
ECHO \
 
14207
nm_file_list_spec \
13232
14208
lt_prog_compiler_no_builtin_flag \
 
14209
lt_prog_compiler_pic \
13233
14210
lt_prog_compiler_wl \
13234
 
lt_prog_compiler_pic \
13235
14211
lt_prog_compiler_static \
13236
14212
lt_cv_prog_compiler_c_o \
13237
14213
need_locks \
 
14214
MANIFEST_TOOL \
13238
14215
DSYMUTIL \
13239
14216
NMEDIT \
13240
14217
LIPO \
13248
14225
allow_undefined_flag \
13249
14226
no_undefined_flag \
13250
14227
hardcode_libdir_flag_spec \
13251
 
hardcode_libdir_flag_spec_ld \
13252
14228
hardcode_libdir_separator \
13253
 
fix_srcfile_path \
13254
14229
exclude_expsyms \
13255
14230
include_expsyms \
13256
14231
file_list_spec \
13258
14233
libname_spec \
13259
14234
library_names_spec \
13260
14235
soname_spec \
 
14236
install_override_mode \
13261
14237
finish_eval \
13262
14238
old_striplib \
13263
14239
striplib; do
13264
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
14240
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13265
14241
    *[\\\\\\\`\\"\\\$]*)
13266
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
14242
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13267
14243
      ;;
13268
14244
    *)
13269
14245
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13285
14261
module_expsym_cmds \
13286
14262
export_symbols_cmds \
13287
14263
prelink_cmds \
 
14264
postlink_cmds \
13288
14265
postinstall_cmds \
13289
14266
postuninstall_cmds \
13290
14267
finish_cmds \
13291
14268
sys_lib_search_path_spec \
13292
14269
sys_lib_dlsearch_path_spec; do
13293
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
14270
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13294
14271
    *[\\\\\\\`\\"\\\$]*)
13295
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
14272
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13296
14273
      ;;
13297
14274
    *)
13298
14275
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13300
14277
    esac
13301
14278
done
13302
14279
 
13303
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
13304
 
case \$lt_ECHO in
13305
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13306
 
  ;;
13307
 
esac
13308
 
 
13309
14280
ac_aux_dir='$ac_aux_dir'
13310
14281
xsi_shell='$xsi_shell'
13311
14282
lt_shell_append='$lt_shell_append'
13344
14315
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
13345
14316
    "libspectre.pc") CONFIG_FILES="$CONFIG_FILES libspectre.pc" ;;
13346
14317
 
13347
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
14318
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13348
14319
  esac
13349
14320
done
13350
14321
 
13367
14338
# after its creation but before its name has been assigned to `$tmp'.
13368
14339
$debug ||
13369
14340
{
13370
 
  tmp=
 
14341
  tmp= ac_tmp=
13371
14342
  trap 'exit_status=$?
13372
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
14343
  : "${ac_tmp:=$tmp}"
 
14344
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13373
14345
' 0
13374
14346
  trap 'as_fn_exit 1' 1 2 13 15
13375
14347
}
13377
14349
 
13378
14350
{
13379
14351
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13380
 
  test -n "$tmp" && test -d "$tmp"
 
14352
  test -d "$tmp"
13381
14353
}  ||
13382
14354
{
13383
14355
  tmp=./conf$$-$RANDOM
13384
14356
  (umask 077 && mkdir "$tmp")
13385
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
14357
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
14358
ac_tmp=$tmp
13386
14359
 
13387
14360
# Set up the scripts for CONFIG_FILES section.
13388
14361
# No need to generate them if there are no CONFIG_FILES.
13399
14372
fi
13400
14373
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13401
14374
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13402
 
  ac_cs_awk_cr='\r'
 
14375
  ac_cs_awk_cr='\\r'
13403
14376
else
13404
14377
  ac_cs_awk_cr=$ac_cr
13405
14378
fi
13406
14379
 
13407
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
14380
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13408
14381
_ACEOF
13409
14382
 
13410
14383
 
13413
14386
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13414
14387
  echo "_ACEOF"
13415
14388
} >conf$$subs.sh ||
13416
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13417
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
14389
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
14390
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13418
14391
ac_delim='%!_!# '
13419
14392
for ac_last_try in false false false false false :; do
13420
14393
  . ./conf$$subs.sh ||
13421
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
14394
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13422
14395
 
13423
14396
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13424
14397
  if test $ac_delim_n = $ac_delim_num; then
13425
14398
    break
13426
14399
  elif $ac_last_try; then
13427
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
14400
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13428
14401
  else
13429
14402
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13430
14403
  fi
13432
14405
rm -f conf$$subs.sh
13433
14406
 
13434
14407
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13435
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
14408
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13436
14409
_ACEOF
13437
14410
sed -n '
13438
14411
h
13480
14453
rm -f conf$$subs.awk
13481
14454
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13482
14455
_ACAWK
13483
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
14456
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13484
14457
  for (key in S) S_is_set[key] = 1
13485
14458
  FS = ""
13486
14459
 
13512
14485
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13513
14486
else
13514
14487
  cat
13515
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13516
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
14488
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
14489
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13517
14490
_ACEOF
13518
14491
 
13519
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
13520
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
14492
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
14493
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13521
14494
# trailing colons and then remove the whole line if VPATH becomes empty
13522
14495
# (actually we leave an empty line to preserve line numbers).
13523
14496
if test "x$srcdir" = x.; then
13524
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
13525
 
s/:*\$(srcdir):*/:/
13526
 
s/:*\${srcdir}:*/:/
13527
 
s/:*@srcdir@:*/:/
13528
 
s/^\([^=]*=[     ]*\):*/\1/
 
14497
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
14498
h
 
14499
s///
 
14500
s/^/:/
 
14501
s/[      ]*$/:/
 
14502
s/:\$(srcdir):/:/g
 
14503
s/:\${srcdir}:/:/g
 
14504
s/:@srcdir@:/:/g
 
14505
s/^:*//
13529
14506
s/:*$//
 
14507
x
 
14508
s/\(=[   ]*\).*/\1/
 
14509
G
 
14510
s/\n//
13530
14511
s/^[^=]*=[       ]*$//
13531
14512
}'
13532
14513
fi
13538
14519
# No need to generate them if there are no CONFIG_HEADERS.
13539
14520
# This happens for instance with `./config.status Makefile'.
13540
14521
if test -n "$CONFIG_HEADERS"; then
13541
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
14522
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13542
14523
BEGIN {
13543
14524
_ACEOF
13544
14525
 
13550
14531
# handling of long lines.
13551
14532
ac_delim='%!_!# '
13552
14533
for ac_last_try in false false :; do
13553
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13554
 
  if test -z "$ac_t"; then
 
14534
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
14535
  if test -z "$ac_tt"; then
13555
14536
    break
13556
14537
  elif $ac_last_try; then
13557
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
14538
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13558
14539
  else
13559
14540
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13560
14541
  fi
13639
14620
_ACAWK
13640
14621
_ACEOF
13641
14622
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13642
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
14623
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13643
14624
fi # test -n "$CONFIG_HEADERS"
13644
14625
 
13645
14626
 
13652
14633
  esac
13653
14634
  case $ac_mode$ac_tag in
13654
14635
  :[FHL]*:*);;
13655
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
14636
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13656
14637
  :[FH]-) ac_tag=-:-;;
13657
14638
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13658
14639
  esac
13671
14652
    for ac_f
13672
14653
    do
13673
14654
      case $ac_f in
13674
 
      -) ac_f="$tmp/stdin";;
 
14655
      -) ac_f="$ac_tmp/stdin";;
13675
14656
      *) # Look for the file first in the build tree, then in the source tree
13676
14657
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
13677
14658
         # because $ac_f cannot contain `:'.
13680
14661
           [\\/$]*) false;;
13681
14662
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13682
14663
           esac ||
13683
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
14664
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13684
14665
      esac
13685
14666
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13686
14667
      as_fn_append ac_file_inputs " '$ac_f'"
13706
14687
    esac
13707
14688
 
13708
14689
    case $ac_tag in
13709
 
    *:-:* | *:-) cat >"$tmp/stdin" \
13710
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
14690
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
14691
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13711
14692
    esac
13712
14693
    ;;
13713
14694
  esac
13843
14824
s&@MKDIR_P@&$ac_MKDIR_P&;t t
13844
14825
$ac_datarootdir_hack
13845
14826
"
13846
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13847
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
14827
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
14828
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13848
14829
 
13849
14830
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13850
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13851
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
14831
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
14832
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
14833
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
13852
14834
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13853
 
which seems to be undefined.  Please make sure it is defined." >&5
 
14835
which seems to be undefined.  Please make sure it is defined" >&5
13854
14836
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13855
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
14837
which seems to be undefined.  Please make sure it is defined" >&2;}
13856
14838
 
13857
 
  rm -f "$tmp/stdin"
 
14839
  rm -f "$ac_tmp/stdin"
13858
14840
  case $ac_file in
13859
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
13860
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
14841
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
14842
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13861
14843
  esac \
13862
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
14844
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13863
14845
 ;;
13864
14846
  :H)
13865
14847
  #
13868
14850
  if test x"$ac_file" != x-; then
13869
14851
    {
13870
14852
      $as_echo "/* $configure_input  */" \
13871
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13872
 
    } >"$tmp/config.h" \
13873
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
13874
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
14853
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
14854
    } >"$ac_tmp/config.h" \
 
14855
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
14856
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13875
14857
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13876
14858
$as_echo "$as_me: $ac_file is unchanged" >&6;}
13877
14859
    else
13878
14860
      rm -f "$ac_file"
13879
 
      mv "$tmp/config.h" "$ac_file" \
13880
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
14861
      mv "$ac_tmp/config.h" "$ac_file" \
 
14862
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13881
14863
    fi
13882
14864
  else
13883
14865
    $as_echo "/* $configure_input  */" \
13884
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13885
 
      || as_fn_error "could not create -" "$LINENO" 5
 
14866
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
14867
      || as_fn_error $? "could not create -" "$LINENO" 5
13886
14868
  fi
13887
14869
# Compute "$ac_file"'s index in $config_headers.
13888
14870
_am_arg="$ac_file"
14043
15025
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14044
15026
#
14045
15027
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14046
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
15028
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
15029
#                 Foundation, Inc.
14047
15030
#   Written by Gordon Matzigkeit, 1996
14048
15031
#
14049
15032
#   This file is part of GNU Libtool.
14091
15074
# Whether or not to optimize for fast installation.
14092
15075
fast_install=$enable_fast_install
14093
15076
 
 
15077
# Shell to use when invoking shell scripts.
 
15078
SHELL=$lt_SHELL
 
15079
 
 
15080
# An echo program that protects backslashes.
 
15081
ECHO=$lt_ECHO
 
15082
 
 
15083
# The PATH separator for the build system.
 
15084
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
15085
 
14094
15086
# The host system.
14095
15087
host_alias=$host_alias
14096
15088
host=$host
14140
15132
# turn newlines into spaces.
14141
15133
NL2SP=$lt_lt_NL2SP
14142
15134
 
14143
 
# How to create reloadable object files.
14144
 
reload_flag=$lt_reload_flag
14145
 
reload_cmds=$lt_reload_cmds
 
15135
# convert \$build file names to \$host format.
 
15136
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
15137
 
 
15138
# convert \$build files to toolchain format.
 
15139
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14146
15140
 
14147
15141
# An object symbol dumper.
14148
15142
OBJDUMP=$lt_OBJDUMP
14150
15144
# Method to check whether dependent libraries are shared objects.
14151
15145
deplibs_check_method=$lt_deplibs_check_method
14152
15146
 
14153
 
# Command to use when deplibs_check_method == "file_magic".
 
15147
# Command to use when deplibs_check_method = "file_magic".
14154
15148
file_magic_cmd=$lt_file_magic_cmd
14155
15149
 
 
15150
# How to find potential files when deplibs_check_method = "file_magic".
 
15151
file_magic_glob=$lt_file_magic_glob
 
15152
 
 
15153
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
15154
want_nocaseglob=$lt_want_nocaseglob
 
15155
 
 
15156
# DLL creation program.
 
15157
DLLTOOL=$lt_DLLTOOL
 
15158
 
 
15159
# Command to associate shared and link libraries.
 
15160
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
15161
 
14156
15162
# The archiver.
14157
15163
AR=$lt_AR
 
15164
 
 
15165
# Flags to create an archive.
14158
15166
AR_FLAGS=$lt_AR_FLAGS
14159
15167
 
 
15168
# How to feed a file listing to the archiver.
 
15169
archiver_list_spec=$lt_archiver_list_spec
 
15170
 
14160
15171
# A symbol stripping program.
14161
15172
STRIP=$lt_STRIP
14162
15173
 
14165
15176
old_postinstall_cmds=$lt_old_postinstall_cmds
14166
15177
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14167
15178
 
 
15179
# Whether to use a lock for old archive extraction.
 
15180
lock_old_archive_extraction=$lock_old_archive_extraction
 
15181
 
14168
15182
# A C compiler.
14169
15183
LTCC=$lt_CC
14170
15184
 
14183
15197
# Transform the output of nm in a C name address pair when lib prefix is needed.
14184
15198
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14185
15199
 
 
15200
# Specify filename containing input files for \$NM.
 
15201
nm_file_list_spec=$lt_nm_file_list_spec
 
15202
 
 
15203
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
15204
lt_sysroot=$lt_sysroot
 
15205
 
14186
15206
# The name of the directory that contains temporary libtool files.
14187
15207
objdir=$objdir
14188
15208
 
14189
 
# Shell to use when invoking shell scripts.
14190
 
SHELL=$lt_SHELL
14191
 
 
14192
 
# An echo program that does not interpret backslashes.
14193
 
ECHO=$lt_ECHO
14194
 
 
14195
15209
# Used to examine libraries when file_magic_cmd begins with "file".
14196
15210
MAGIC_CMD=$MAGIC_CMD
14197
15211
 
14198
15212
# Must we lock files when doing compilation?
14199
15213
need_locks=$lt_need_locks
14200
15214
 
 
15215
# Manifest tool.
 
15216
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
15217
 
14201
15218
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14202
15219
DSYMUTIL=$lt_DSYMUTIL
14203
15220
 
14254
15271
# The coded name of the library, if different from the real name.
14255
15272
soname_spec=$lt_soname_spec
14256
15273
 
 
15274
# Permission mode override for installation of shared libraries.
 
15275
install_override_mode=$lt_install_override_mode
 
15276
 
14257
15277
# Command to use after installation of a shared archive.
14258
15278
postinstall_cmds=$lt_postinstall_cmds
14259
15279
 
14293
15313
# The linker used to build libraries.
14294
15314
LD=$lt_LD
14295
15315
 
 
15316
# How to create reloadable object files.
 
15317
reload_flag=$lt_reload_flag
 
15318
reload_cmds=$lt_reload_cmds
 
15319
 
14296
15320
# Commands used to build an old-style archive.
14297
15321
old_archive_cmds=$lt_old_archive_cmds
14298
15322
 
14305
15329
# Compiler flag to turn off builtin functions.
14306
15330
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14307
15331
 
 
15332
# Additional compiler flags for building library objects.
 
15333
pic_flag=$lt_lt_prog_compiler_pic
 
15334
 
14308
15335
# How to pass a linker flag through the compiler.
14309
15336
wl=$lt_lt_prog_compiler_wl
14310
15337
 
14311
 
# Additional compiler flags for building library objects.
14312
 
pic_flag=$lt_lt_prog_compiler_pic
14313
 
 
14314
15338
# Compiler flag to prevent dynamic linking.
14315
15339
link_static_flag=$lt_lt_prog_compiler_static
14316
15340
 
14360
15384
# This must work even if \$libdir does not exist
14361
15385
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14362
15386
 
14363
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
14364
 
# during linking.  This must work even if \$libdir does not exist.
14365
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14366
 
 
14367
15387
# Whether we need a single "-rpath" flag with a separated argument.
14368
15388
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14369
15389
 
14397
15417
# Whether libtool must link a program against all its dependency libraries.
14398
15418
link_all_deplibs=$link_all_deplibs
14399
15419
 
14400
 
# Fix the shell variable \$srcfile for the compiler.
14401
 
fix_srcfile_path=$lt_fix_srcfile_path
14402
 
 
14403
15420
# Set to "yes" if exported symbols are required.
14404
15421
always_export_symbols=$always_export_symbols
14405
15422
 
14415
15432
# Commands necessary for linking programs (against libraries) with templates.
14416
15433
prelink_cmds=$lt_prelink_cmds
14417
15434
 
 
15435
# Commands necessary for finishing linking programs.
 
15436
postlink_cmds=$lt_postlink_cmds
 
15437
 
14418
15438
# Specify filename containing input files.
14419
15439
file_list_spec=$lt_file_list_spec
14420
15440
 
14447
15467
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14448
15468
  # text mode, it properly converts lines to CR/LF.  This bash problem
14449
15469
  # is reportedly fixed, but why not run on old versions too?
14450
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14451
 
    || (rm -f "$cfgfile"; exit 1)
14452
 
 
14453
 
  case $xsi_shell in
14454
 
  yes)
14455
 
    cat << \_LT_EOF >> "$cfgfile"
14456
 
 
14457
 
# func_dirname file append nondir_replacement
14458
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14459
 
# otherwise set result to NONDIR_REPLACEMENT.
14460
 
func_dirname ()
14461
 
{
14462
 
  case ${1} in
14463
 
    */*) func_dirname_result="${1%/*}${2}" ;;
14464
 
    *  ) func_dirname_result="${3}" ;;
14465
 
  esac
14466
 
}
14467
 
 
14468
 
# func_basename file
14469
 
func_basename ()
14470
 
{
14471
 
  func_basename_result="${1##*/}"
14472
 
}
14473
 
 
14474
 
# func_dirname_and_basename file append nondir_replacement
14475
 
# perform func_basename and func_dirname in a single function
14476
 
# call:
14477
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
14478
 
#             add APPEND to the result, otherwise set result
14479
 
#             to NONDIR_REPLACEMENT.
14480
 
#             value returned in "$func_dirname_result"
14481
 
#   basename: Compute filename of FILE.
14482
 
#             value retuned in "$func_basename_result"
14483
 
# Implementation must be kept synchronized with func_dirname
14484
 
# and func_basename. For efficiency, we do not delegate to
14485
 
# those functions but instead duplicate the functionality here.
14486
 
func_dirname_and_basename ()
14487
 
{
14488
 
  case ${1} in
14489
 
    */*) func_dirname_result="${1%/*}${2}" ;;
14490
 
    *  ) func_dirname_result="${3}" ;;
14491
 
  esac
14492
 
  func_basename_result="${1##*/}"
14493
 
}
14494
 
 
14495
 
# func_stripname prefix suffix name
14496
 
# strip PREFIX and SUFFIX off of NAME.
14497
 
# PREFIX and SUFFIX must not contain globbing or regex special
14498
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
14499
 
# dot (in which case that matches only a dot).
14500
 
func_stripname ()
14501
 
{
14502
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14503
 
  # positional parameters, so assign one to ordinary parameter first.
14504
 
  func_stripname_result=${3}
14505
 
  func_stripname_result=${func_stripname_result#"${1}"}
14506
 
  func_stripname_result=${func_stripname_result%"${2}"}
14507
 
}
14508
 
 
14509
 
# func_opt_split
14510
 
func_opt_split ()
14511
 
{
14512
 
  func_opt_split_opt=${1%%=*}
14513
 
  func_opt_split_arg=${1#*=}
14514
 
}
14515
 
 
14516
 
# func_lo2o object
14517
 
func_lo2o ()
14518
 
{
14519
 
  case ${1} in
14520
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14521
 
    *)    func_lo2o_result=${1} ;;
14522
 
  esac
14523
 
}
14524
 
 
14525
 
# func_xform libobj-or-source
14526
 
func_xform ()
14527
 
{
14528
 
  func_xform_result=${1%.*}.lo
14529
 
}
14530
 
 
14531
 
# func_arith arithmetic-term...
14532
 
func_arith ()
14533
 
{
14534
 
  func_arith_result=$(( $* ))
14535
 
}
14536
 
 
14537
 
# func_len string
14538
 
# STRING may not start with a hyphen.
14539
 
func_len ()
14540
 
{
14541
 
  func_len_result=${#1}
14542
 
}
14543
 
 
14544
 
_LT_EOF
14545
 
    ;;
14546
 
  *) # Bourne compatible functions.
14547
 
    cat << \_LT_EOF >> "$cfgfile"
14548
 
 
14549
 
# func_dirname file append nondir_replacement
14550
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14551
 
# otherwise set result to NONDIR_REPLACEMENT.
14552
 
func_dirname ()
14553
 
{
14554
 
  # Extract subdirectory from the argument.
14555
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14556
 
  if test "X$func_dirname_result" = "X${1}"; then
14557
 
    func_dirname_result="${3}"
14558
 
  else
14559
 
    func_dirname_result="$func_dirname_result${2}"
14560
 
  fi
14561
 
}
14562
 
 
14563
 
# func_basename file
14564
 
func_basename ()
14565
 
{
14566
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14567
 
}
14568
 
 
14569
 
 
14570
 
# func_stripname prefix suffix name
14571
 
# strip PREFIX and SUFFIX off of NAME.
14572
 
# PREFIX and SUFFIX must not contain globbing or regex special
14573
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
14574
 
# dot (in which case that matches only a dot).
14575
 
# func_strip_suffix prefix name
14576
 
func_stripname ()
14577
 
{
14578
 
  case ${2} in
14579
 
    .*) func_stripname_result=`$ECHO "X${3}" \
14580
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14581
 
    *)  func_stripname_result=`$ECHO "X${3}" \
14582
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14583
 
  esac
14584
 
}
14585
 
 
14586
 
# sed scripts:
14587
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14588
 
my_sed_long_arg='1s/^-[^=]*=//'
14589
 
 
14590
 
# func_opt_split
14591
 
func_opt_split ()
14592
 
{
14593
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14594
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14595
 
}
14596
 
 
14597
 
# func_lo2o object
14598
 
func_lo2o ()
14599
 
{
14600
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14601
 
}
14602
 
 
14603
 
# func_xform libobj-or-source
14604
 
func_xform ()
14605
 
{
14606
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14607
 
}
14608
 
 
14609
 
# func_arith arithmetic-term...
14610
 
func_arith ()
14611
 
{
14612
 
  func_arith_result=`expr "$@"`
14613
 
}
14614
 
 
14615
 
# func_len string
14616
 
# STRING may not start with a hyphen.
14617
 
func_len ()
14618
 
{
14619
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14620
 
}
14621
 
 
14622
 
_LT_EOF
14623
 
esac
14624
 
 
14625
 
case $lt_shell_append in
14626
 
  yes)
14627
 
    cat << \_LT_EOF >> "$cfgfile"
14628
 
 
14629
 
# func_append var value
14630
 
# Append VALUE to the end of shell variable VAR.
14631
 
func_append ()
14632
 
{
14633
 
  eval "$1+=\$2"
14634
 
}
14635
 
_LT_EOF
14636
 
    ;;
14637
 
  *)
14638
 
    cat << \_LT_EOF >> "$cfgfile"
14639
 
 
14640
 
# func_append var value
14641
 
# Append VALUE to the end of shell variable VAR.
14642
 
func_append ()
14643
 
{
14644
 
  eval "$1=\$$1\$2"
14645
 
}
14646
 
 
14647
 
_LT_EOF
14648
 
    ;;
14649
 
  esac
14650
 
 
14651
 
 
14652
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14653
 
    || (rm -f "$cfgfile"; exit 1)
14654
 
 
14655
 
  mv -f "$cfgfile" "$ofile" ||
 
15470
  sed '$q' "$ltmain" >> "$cfgfile" \
 
15471
     || (rm -f "$cfgfile"; exit 1)
 
15472
 
 
15473
  if test x"$xsi_shell" = xyes; then
 
15474
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
15475
func_dirname ()\
 
15476
{\
 
15477
\    case ${1} in\
 
15478
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15479
\      *  ) func_dirname_result="${3}" ;;\
 
15480
\    esac\
 
15481
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
15482
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15483
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15484
test 0 -eq $? || _lt_function_replace_fail=:
 
15485
 
 
15486
 
 
15487
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
15488
func_basename ()\
 
15489
{\
 
15490
\    func_basename_result="${1##*/}"\
 
15491
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15492
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15493
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15494
test 0 -eq $? || _lt_function_replace_fail=:
 
15495
 
 
15496
 
 
15497
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
15498
func_dirname_and_basename ()\
 
15499
{\
 
15500
\    case ${1} in\
 
15501
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15502
\      *  ) func_dirname_result="${3}" ;;\
 
15503
\    esac\
 
15504
\    func_basename_result="${1##*/}"\
 
15505
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15506
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15507
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15508
test 0 -eq $? || _lt_function_replace_fail=:
 
15509
 
 
15510
 
 
15511
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
15512
func_stripname ()\
 
15513
{\
 
15514
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
15515
\    # positional parameters, so assign one to ordinary parameter first.\
 
15516
\    func_stripname_result=${3}\
 
15517
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
15518
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
15519
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
15520
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15521
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15522
test 0 -eq $? || _lt_function_replace_fail=:
 
15523
 
 
15524
 
 
15525
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
15526
func_split_long_opt ()\
 
15527
{\
 
15528
\    func_split_long_opt_name=${1%%=*}\
 
15529
\    func_split_long_opt_arg=${1#*=}\
 
15530
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15531
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15532
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15533
test 0 -eq $? || _lt_function_replace_fail=:
 
15534
 
 
15535
 
 
15536
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
15537
func_split_short_opt ()\
 
15538
{\
 
15539
\    func_split_short_opt_arg=${1#??}\
 
15540
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
15541
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15542
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15543
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15544
test 0 -eq $? || _lt_function_replace_fail=:
 
15545
 
 
15546
 
 
15547
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
15548
func_lo2o ()\
 
15549
{\
 
15550
\    case ${1} in\
 
15551
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
15552
\      *)    func_lo2o_result=${1} ;;\
 
15553
\    esac\
 
15554
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
15555
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15556
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15557
test 0 -eq $? || _lt_function_replace_fail=:
 
15558
 
 
15559
 
 
15560
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
15561
func_xform ()\
 
15562
{\
 
15563
    func_xform_result=${1%.*}.lo\
 
15564
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
15565
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15566
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15567
test 0 -eq $? || _lt_function_replace_fail=:
 
15568
 
 
15569
 
 
15570
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
15571
func_arith ()\
 
15572
{\
 
15573
    func_arith_result=$(( $* ))\
 
15574
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
15575
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15576
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15577
test 0 -eq $? || _lt_function_replace_fail=:
 
15578
 
 
15579
 
 
15580
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
15581
func_len ()\
 
15582
{\
 
15583
    func_len_result=${#1}\
 
15584
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
15585
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15586
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15587
test 0 -eq $? || _lt_function_replace_fail=:
 
15588
 
 
15589
fi
 
15590
 
 
15591
if test x"$lt_shell_append" = xyes; then
 
15592
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
15593
func_append ()\
 
15594
{\
 
15595
    eval "${1}+=\\${2}"\
 
15596
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
15597
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15598
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15599
test 0 -eq $? || _lt_function_replace_fail=:
 
15600
 
 
15601
 
 
15602
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
15603
func_append_quoted ()\
 
15604
{\
 
15605
\    func_quote_for_eval "${2}"\
 
15606
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
15607
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
15608
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15609
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15610
test 0 -eq $? || _lt_function_replace_fail=:
 
15611
 
 
15612
 
 
15613
  # Save a `func_append' function call where possible by direct use of '+='
 
15614
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
15615
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15616
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15617
  test 0 -eq $? || _lt_function_replace_fail=:
 
15618
else
 
15619
  # Save a `func_append' function call even when '+=' is not available
 
15620
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
15621
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15622
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15623
  test 0 -eq $? || _lt_function_replace_fail=:
 
15624
fi
 
15625
 
 
15626
if test x"$_lt_function_replace_fail" = x":"; then
 
15627
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
15628
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
15629
fi
 
15630
 
 
15631
 
 
15632
   mv -f "$cfgfile" "$ofile" ||
14656
15633
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14657
15634
  chmod +x "$ofile"
14658
15635
 
14667
15644
ac_clean_files=$ac_clean_files_save
14668
15645
 
14669
15646
test $ac_write_fail = 0 ||
14670
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
15647
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14671
15648
 
14672
15649
 
14673
15650
# configure is writing to config.log, and then calls config.status.
14688
15665
  exec 5>>config.log
14689
15666
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14690
15667
  # would make configure fail if this is the last instruction.
14691
 
  $ac_cs_success || as_fn_exit $?
 
15668
  $ac_cs_success || as_fn_exit 1
14692
15669
fi
14693
15670
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14694
15671
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5