~ubuntu-branches/debian/stretch/libnice/stretch

« back to all changes in this revision

Viewing changes to configure

Tags: 0.1.0-2
Add a Breaks: libgstfarsight0.10-0 (<< 0.22) for the gstreamer plugin as
farsight uses one libnice ABI and the gstreamer element uses another
libnice ABI things tend to go horribly wrong.

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 libnice 0.0.12.
 
3
# Generated by GNU Autoconf 2.66 for libnice 0.1.0.
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
171
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
 
test \$(( 1 + 1 )) = 2 || exit 1"
 
174
test \$(( 1 + 1 )) = 2 || 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"
175
183
  if (eval "$as_required") 2>/dev/null; then :
176
184
  as_have_required=yes
177
185
else
316
324
      test -d "$as_dir" && break
317
325
    done
318
326
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
327
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
328
 
321
329
 
322
330
} # as_fn_mkdir_p
356
364
fi # as_fn_arith
357
365
 
358
366
 
359
 
# as_fn_error ERROR [LINENO LOG_FD]
360
 
# ---------------------------------
 
367
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
368
# ----------------------------------------
361
369
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
370
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
 
# script with status $?, using 1 if that was 0.
 
371
# script with STATUS, using 1 if that was 0.
364
372
as_fn_error ()
365
373
{
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
 
374
  as_status=$1; test $as_status -eq 0 && as_status=1
 
375
  if test "$4"; then
 
376
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
377
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370
378
  fi
371
 
  $as_echo "$as_me: error: $1" >&2
 
379
  $as_echo "$as_me: error: $2" >&2
372
380
  as_fn_exit $as_status
373
381
} # as_fn_error
374
382
 
525
533
# Sed expression to map a string onto a valid variable name.
526
534
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
535
 
528
 
 
529
 
 
530
 
# Check that we are running under the correct shell.
531
536
SHELL=${CONFIG_SHELL-/bin/sh}
532
537
 
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
538
 
678
539
test -n "$DJDIR" || exec 7<&0 </dev/null
679
540
exec 6>&1
680
541
 
681
542
# Name of the host.
682
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
543
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683
544
# so uname gets run too.
684
545
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
546
 
698
559
# Identity of this package.
699
560
PACKAGE_NAME='libnice'
700
561
PACKAGE_TARNAME='libnice'
701
 
PACKAGE_VERSION='0.0.12'
702
 
PACKAGE_STRING='libnice 0.0.12'
 
562
PACKAGE_VERSION='0.1.0'
 
563
PACKAGE_STRING='libnice 0.1.0'
703
564
PACKAGE_BUGREPORT=''
704
565
PACKAGE_URL=''
705
566
 
769
630
GST_CFLAGS
770
631
GLIB_LIBS
771
632
GLIB_CFLAGS
 
633
PKG_CONFIG_LIBDIR
 
634
PKG_CONFIG_PATH
772
635
PKG_CONFIG
773
636
LIBRT
774
637
LIBNICE_CFLAGS
777
640
LIPO
778
641
NMEDIT
779
642
DSYMUTIL
780
 
lt_ECHO
781
643
RANLIB
782
644
AR
783
645
OBJDUMP
816
678
LDFLAGS
817
679
CFLAGS
818
680
CC
 
681
AM_BACKSLASH
 
682
AM_DEFAULT_VERBOSITY
819
683
LIBNICE_LT_LDFLAGS
820
684
am__untar
821
685
am__tar
881
745
ac_subst_files=''
882
746
ac_user_opts='
883
747
enable_option_checking
 
748
enable_silent_rules
884
749
enable_dependency_tracking
885
750
enable_shared
886
751
enable_static
907
772
CPPFLAGS
908
773
CPP
909
774
PKG_CONFIG
 
775
PKG_CONFIG_PATH
 
776
PKG_CONFIG_LIBDIR
910
777
GLIB_CFLAGS
911
778
GLIB_LIBS
912
779
GST_CFLAGS
1021
888
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1022
889
    # Reject names that are not valid shell variable names.
1023
890
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024
 
      as_fn_error "invalid feature name: $ac_useropt"
 
891
      as_fn_error $? "invalid feature name: $ac_useropt"
1025
892
    ac_useropt_orig=$ac_useropt
1026
893
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027
894
    case $ac_user_opts in
1047
914
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1048
915
    # Reject names that are not valid shell variable names.
1049
916
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1050
 
      as_fn_error "invalid feature name: $ac_useropt"
 
917
      as_fn_error $? "invalid feature name: $ac_useropt"
1051
918
    ac_useropt_orig=$ac_useropt
1052
919
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1053
920
    case $ac_user_opts in
1251
1118
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1252
1119
    # Reject names that are not valid shell variable names.
1253
1120
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1254
 
      as_fn_error "invalid package name: $ac_useropt"
 
1121
      as_fn_error $? "invalid package name: $ac_useropt"
1255
1122
    ac_useropt_orig=$ac_useropt
1256
1123
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1257
1124
    case $ac_user_opts in
1267
1134
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1268
1135
    # Reject names that are not valid shell variable names.
1269
1136
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1270
 
      as_fn_error "invalid package name: $ac_useropt"
 
1137
      as_fn_error $? "invalid package name: $ac_useropt"
1271
1138
    ac_useropt_orig=$ac_useropt
1272
1139
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1273
1140
    case $ac_user_opts in
1297
1164
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1298
1165
    x_libraries=$ac_optarg ;;
1299
1166
 
1300
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1301
 
Try \`$0 --help' for more information."
 
1167
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1168
Try \`$0 --help' for more information"
1302
1169
    ;;
1303
1170
 
1304
1171
  *=*)
1306
1173
    # Reject names that are not valid shell variable names.
1307
1174
    case $ac_envvar in #(
1308
1175
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1309
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1176
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1310
1177
    esac
1311
1178
    eval $ac_envvar=\$ac_optarg
1312
1179
    export $ac_envvar ;;
1324
1191
 
1325
1192
if test -n "$ac_prev"; then
1326
1193
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1327
 
  as_fn_error "missing argument to $ac_option"
 
1194
  as_fn_error $? "missing argument to $ac_option"
1328
1195
fi
1329
1196
 
1330
1197
if test -n "$ac_unrecognized_opts"; then
1331
1198
  case $enable_option_checking in
1332
1199
    no) ;;
1333
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1200
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1334
1201
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1335
1202
  esac
1336
1203
fi
1353
1220
    [\\/$]* | ?:[\\/]* )  continue;;
1354
1221
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1355
1222
  esac
1356
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1223
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1357
1224
done
1358
1225
 
1359
1226
# There might be people who depend on the old broken behavior: `$host'
1367
1234
if test "x$host_alias" != x; then
1368
1235
  if test "x$build_alias" = x; then
1369
1236
    cross_compiling=maybe
1370
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1371
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1237
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1238
    If a cross compiler is detected then cross compile mode will be used" >&2
1372
1239
  elif test "x$build_alias" != "x$host_alias"; then
1373
1240
    cross_compiling=yes
1374
1241
  fi
1383
1250
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1384
1251
ac_ls_di=`ls -di .` &&
1385
1252
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1386
 
  as_fn_error "working directory cannot be determined"
 
1253
  as_fn_error $? "working directory cannot be determined"
1387
1254
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1388
 
  as_fn_error "pwd does not report name of working directory"
 
1255
  as_fn_error $? "pwd does not report name of working directory"
1389
1256
 
1390
1257
 
1391
1258
# Find the source files, if location was not specified.
1424
1291
fi
1425
1292
if test ! -r "$srcdir/$ac_unique_file"; then
1426
1293
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1427
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1294
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1428
1295
fi
1429
1296
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1430
1297
ac_abs_confdir=`(
1431
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1298
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1432
1299
        pwd)`
1433
1300
# When building in place, set srcdir=.
1434
1301
if test "$ac_abs_confdir" = "$ac_pwd"; then
1454
1321
  # Omit some internal or obsolete options to make the list less imposing.
1455
1322
  # This message is too long to be a string in the A/UX 3.1 sh.
1456
1323
  cat <<_ACEOF
1457
 
\`configure' configures libnice 0.0.12 to adapt to many kinds of systems.
 
1324
\`configure' configures libnice 0.1.0 to adapt to many kinds of systems.
1458
1325
 
1459
1326
Usage: $0 [OPTION]... [VAR=VALUE]...
1460
1327
 
1468
1335
      --help=short        display options specific to this package
1469
1336
      --help=recursive    display the short help of all the included packages
1470
1337
  -V, --version           display version information and exit
1471
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1338
  -q, --quiet, --silent   do not print \`checking ...' messages
1472
1339
      --cache-file=FILE   cache test results in FILE [disabled]
1473
1340
  -C, --config-cache      alias for \`--cache-file=config.cache'
1474
1341
  -n, --no-create         do not create output files
1524
1391
 
1525
1392
if test -n "$ac_init_help"; then
1526
1393
  case $ac_init_help in
1527
 
     short | recursive ) echo "Configuration of libnice 0.0.12:";;
 
1394
     short | recursive ) echo "Configuration of libnice 0.1.0:";;
1528
1395
   esac
1529
1396
  cat <<\_ACEOF
1530
1397
 
1532
1399
  --disable-option-checking  ignore unrecognized --enable/--with options
1533
1400
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1534
1401
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1402
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1403
  --disable-silent-rules         verbose build output (undo: `make V=0')
1535
1404
  --disable-dependency-tracking  speeds up one-time build
1536
1405
  --enable-dependency-tracking   do not reject slow dependency extractors
1537
1406
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1565
1434
              you have headers in a nonstandard directory <include dir>
1566
1435
  CPP         C preprocessor
1567
1436
  PKG_CONFIG  path to pkg-config utility
 
1437
  PKG_CONFIG_PATH
 
1438
              directories to add to pkg-config's search path
 
1439
  PKG_CONFIG_LIBDIR
 
1440
              path overriding pkg-config's built-in search path
1568
1441
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1569
1442
  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1570
1443
  GST_CFLAGS  C compiler flags for GST, overriding pkg-config
1639
1512
test -n "$ac_init_help" && exit $ac_status
1640
1513
if $ac_init_version; then
1641
1514
  cat <<\_ACEOF
1642
 
libnice configure 0.0.12
1643
 
generated by GNU Autoconf 2.65
 
1515
libnice configure 0.1.0
 
1516
generated by GNU Autoconf 2.66
1644
1517
 
1645
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1518
Copyright (C) 2010 Free Software Foundation, Inc.
1646
1519
This configure script is free software; the Free Software Foundation
1647
1520
gives unlimited permission to copy, distribute and modify it.
1648
1521
_ACEOF
1736
1609
ac_fn_c_check_header_mongrel ()
1737
1610
{
1738
1611
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1612
  if eval "test \"\${$3+set}\"" = set; then :
1740
1613
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741
1614
$as_echo_n "checking for $2... " >&6; }
1742
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1615
if eval "test \"\${$3+set}\"" = set; then :
1743
1616
  $as_echo_n "(cached) " >&6
1744
1617
fi
1745
1618
eval ac_res=\$$3
1802
1675
esac
1803
1676
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804
1677
$as_echo_n "checking for $2... " >&6; }
1805
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1678
if eval "test \"\${$3+set}\"" = set; then :
1806
1679
  $as_echo_n "(cached) " >&6
1807
1680
else
1808
1681
  eval "$3=\$ac_header_compiler"
1866
1739
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867
1740
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1868
1741
$as_echo_n "checking for $2... " >&6; }
1869
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1742
if eval "test \"\${$3+set}\"" = set; then :
1870
1743
  $as_echo_n "(cached) " >&6
1871
1744
else
1872
1745
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942
1815
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943
1816
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944
1817
$as_echo_n "checking for $2... " >&6; }
1945
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1818
if eval "test \"\${$3+set}\"" = set; then :
1946
1819
  $as_echo_n "(cached) " >&6
1947
1820
else
1948
1821
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010
1883
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011
1884
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2012
1885
$as_echo_n "checking for $2... " >&6; }
2013
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1886
if eval "test \"\${$3+set}\"" = set; then :
2014
1887
  $as_echo_n "(cached) " >&6
2015
1888
else
2016
1889
  eval "$3=no"
2058
1931
This file contains any messages produced by compilers while
2059
1932
running configure, to aid debugging if configure makes a mistake.
2060
1933
 
2061
 
It was created by libnice $as_me 0.0.12, which was
2062
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
1934
It was created by libnice $as_me 0.1.0, which was
 
1935
generated by GNU Autoconf 2.66.  Invocation command line was
2063
1936
 
2064
1937
  $ $0 $@
2065
1938
 
2169
2042
  {
2170
2043
    echo
2171
2044
 
2172
 
    cat <<\_ASBOX
2173
 
## ---------------- ##
 
2045
    $as_echo "## ---------------- ##
2174
2046
## Cache variables. ##
2175
 
## ---------------- ##
2176
 
_ASBOX
 
2047
## ---------------- ##"
2177
2048
    echo
2178
2049
    # The following way of writing the cache mishandles newlines in values,
2179
2050
(
2207
2078
)
2208
2079
    echo
2209
2080
 
2210
 
    cat <<\_ASBOX
2211
 
## ----------------- ##
 
2081
    $as_echo "## ----------------- ##
2212
2082
## Output variables. ##
2213
 
## ----------------- ##
2214
 
_ASBOX
 
2083
## ----------------- ##"
2215
2084
    echo
2216
2085
    for ac_var in $ac_subst_vars
2217
2086
    do
2224
2093
    echo
2225
2094
 
2226
2095
    if test -n "$ac_subst_files"; then
2227
 
      cat <<\_ASBOX
2228
 
## ------------------- ##
 
2096
      $as_echo "## ------------------- ##
2229
2097
## File substitutions. ##
2230
 
## ------------------- ##
2231
 
_ASBOX
 
2098
## ------------------- ##"
2232
2099
      echo
2233
2100
      for ac_var in $ac_subst_files
2234
2101
      do
2242
2109
    fi
2243
2110
 
2244
2111
    if test -s confdefs.h; then
2245
 
      cat <<\_ASBOX
2246
 
## ----------- ##
 
2112
      $as_echo "## ----------- ##
2247
2113
## confdefs.h. ##
2248
 
## ----------- ##
2249
 
_ASBOX
 
2114
## ----------- ##"
2250
2115
      echo
2251
2116
      cat confdefs.h
2252
2117
      echo
2301
2166
ac_site_file1=NONE
2302
2167
ac_site_file2=NONE
2303
2168
if test -n "$CONFIG_SITE"; then
2304
 
  ac_site_file1=$CONFIG_SITE
 
2169
  # We do not want a PATH search for config.site.
 
2170
  case $CONFIG_SITE in #((
 
2171
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2172
    */*) ac_site_file1=$CONFIG_SITE;;
 
2173
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2174
  esac
2305
2175
elif test "x$prefix" != xNONE; then
2306
2176
  ac_site_file1=$prefix/share/config.site
2307
2177
  ac_site_file2=$prefix/etc/config.site
2316
2186
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2317
2187
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2318
2188
    sed 's/^/| /' "$ac_site_file" >&5
2319
 
    . "$ac_site_file"
 
2189
    . "$ac_site_file" \
 
2190
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2191
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2192
as_fn_error $? "failed to load site script $ac_site_file
 
2193
See \`config.log' for more details" "$LINENO" 5; }
2320
2194
  fi
2321
2195
done
2322
2196
 
2392
2266
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2393
2267
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2394
2268
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2395
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2269
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2396
2270
fi
2397
2271
## -------------------- ##
2398
2272
## Main body of script. ##
2414
2288
 
2415
2289
ac_aux_dir=
2416
2290
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2417
 
  for ac_t in install-sh install.sh shtool; do
2418
 
    if test -f "$ac_dir/$ac_t"; then
2419
 
      ac_aux_dir=$ac_dir
2420
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2421
 
      break 2
2422
 
    fi
2423
 
  done
 
2291
  if test -f "$ac_dir/install-sh"; then
 
2292
    ac_aux_dir=$ac_dir
 
2293
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2294
    break
 
2295
  elif test -f "$ac_dir/install.sh"; then
 
2296
    ac_aux_dir=$ac_dir
 
2297
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2298
    break
 
2299
  elif test -f "$ac_dir/shtool"; then
 
2300
    ac_aux_dir=$ac_dir
 
2301
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2302
    break
 
2303
  fi
2424
2304
done
2425
2305
if test -z "$ac_aux_dir"; then
2426
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2306
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2427
2307
fi
2428
2308
 
2429
2309
# These three variables are undocumented and unsupported,
2539
2419
'
2540
2420
case `pwd` in
2541
2421
  *[\\\"\#\$\&\'\`$am_lf]*)
2542
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2422
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2543
2423
esac
2544
2424
case $srcdir in
2545
2425
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2546
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2426
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2547
2427
esac
2548
2428
 
2549
2429
# Do `set' in a subshell so we don't clobber the current shell's
2565
2445
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2566
2446
      # broken ls alias from the environment.  This has actually
2567
2447
      # happened.  Such a system could not be considered "sane".
2568
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2448
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2569
2449
alias in your environment" "$LINENO" 5
2570
2450
   fi
2571
2451
 
2575
2455
   # Ok.
2576
2456
   :
2577
2457
else
2578
 
   as_fn_error "newly created file is older than distributed files!
 
2458
   as_fn_error $? "newly created file is older than distributed files!
2579
2459
Check your system clock" "$LINENO" 5
2580
2460
fi
2581
2461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2813
2693
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2814
2694
set x ${MAKE-make}
2815
2695
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2816
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2696
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2817
2697
  $as_echo_n "(cached) " >&6
2818
2698
else
2819
2699
  cat >conftest.make <<\_ACEOF
2821
2701
all:
2822
2702
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2823
2703
_ACEOF
2824
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2704
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2825
2705
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2826
2706
  *@@@%%%=?*=@@@%%%*)
2827
2707
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2855
2735
  am__isrc=' -I$(srcdir)'
2856
2736
  # test to see if srcdir already configured
2857
2737
  if test -f $srcdir/config.status; then
2858
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2738
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2859
2739
  fi
2860
2740
fi
2861
2741
 
2871
2751
 
2872
2752
# Define the identity of the package.
2873
2753
 PACKAGE='libnice'
2874
 
 VERSION='0.0.12'
 
2754
 VERSION='0.1.0'
2875
2755
 
2876
2756
 
2877
2757
cat >>confdefs.h <<_ACEOF
2921
2801
#      Increment CURRENT and AGE. Set REVISION to 0
2922
2802
#    If there was an incompatible interface change:
2923
2803
#      Increment CURRENT. Set AGE and REVISION to 0
2924
 
LIBNICE_CURRENT=8
 
2804
LIBNICE_CURRENT=10
2925
2805
LIBNICE_REVISION=0
2926
 
LIBNICE_AGE=8
 
2806
LIBNICE_AGE=0
2927
2807
LIBNICE_LIBVERSION=${LIBNICE_CURRENT}:${LIBNICE_REVISION}:${LIBNICE_AGE}
2928
2808
LIBNICE_LT_LDFLAGS="-version-info ${LIBNICE_LIBVERSION}"
2929
2809
 
2930
2810
 
2931
2811
 
 
2812
# Check whether --enable-silent-rules was given.
 
2813
if test "${enable_silent_rules+set}" = set; then :
 
2814
  enableval=$enable_silent_rules;
 
2815
fi
 
2816
 
 
2817
case $enable_silent_rules in
 
2818
yes) AM_DEFAULT_VERBOSITY=0;;
 
2819
no)  AM_DEFAULT_VERBOSITY=1;;
 
2820
*)   AM_DEFAULT_VERBOSITY=0;;
 
2821
esac
 
2822
AM_BACKSLASH='\'
 
2823
 
 
2824
 
 
2825
 
2932
2826
# Checks for programs.
2933
2827
 
2934
2828
ac_ext=c
3231
3125
 
3232
3126
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3233
3127
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3234
 
as_fn_error "no acceptable C compiler found in \$PATH
3235
 
See \`config.log' for more details." "$LINENO" 5; }
 
3128
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3129
See \`config.log' for more details" "$LINENO" 5; }
3236
3130
 
3237
3131
# Provide some information about the compiler.
3238
3132
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3346
3240
 
3347
3241
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3348
3242
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349
 
{ as_fn_set_status 77
3350
 
as_fn_error "C compiler cannot create executables
3351
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3243
as_fn_error 77 "C compiler cannot create executables
 
3244
See \`config.log' for more details" "$LINENO" 5; }
3352
3245
else
3353
3246
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3354
3247
$as_echo "yes" >&6; }
3390
3283
else
3391
3284
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3392
3285
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3393
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3394
 
See \`config.log' for more details." "$LINENO" 5; }
 
3286
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3287
See \`config.log' for more details" "$LINENO" 5; }
3395
3288
fi
3396
3289
rm -f conftest conftest$ac_cv_exeext
3397
3290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3448
3341
    else
3449
3342
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3450
3343
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3451
 
as_fn_error "cannot run C compiled programs.
 
3344
as_fn_error $? "cannot run C compiled programs.
3452
3345
If you meant to cross compile, use \`--host'.
3453
 
See \`config.log' for more details." "$LINENO" 5; }
 
3346
See \`config.log' for more details" "$LINENO" 5; }
3454
3347
    fi
3455
3348
  fi
3456
3349
fi
3501
3394
 
3502
3395
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3503
3396
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3504
 
as_fn_error "cannot compute suffix of object files: cannot compile
3505
 
See \`config.log' for more details." "$LINENO" 5; }
 
3397
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3398
See \`config.log' for more details" "$LINENO" 5; }
3506
3399
fi
3507
3400
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3508
3401
fi
4039
3932
else
4040
3933
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041
3934
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
4043
 
See \`config.log' for more details." "$LINENO" 5; }
 
3935
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
3936
See \`config.log' for more details" "$LINENO" 5; }
4044
3937
fi
4045
3938
 
4046
3939
ac_ext=c
4101
3994
  done
4102
3995
IFS=$as_save_IFS
4103
3996
  if test -z "$ac_cv_path_GREP"; then
4104
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
3997
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4105
3998
  fi
4106
3999
else
4107
4000
  ac_cv_path_GREP=$GREP
4167
4060
  done
4168
4061
IFS=$as_save_IFS
4169
4062
  if test -z "$ac_cv_path_EGREP"; then
4170
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4063
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4171
4064
  fi
4172
4065
else
4173
4066
  ac_cv_path_EGREP=$EGREP
4299
4192
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4300
4193
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4301
4194
"
4302
 
eval as_val=\$$as_ac_Header
4303
 
   if test "x$as_val" = x""yes; then :
 
4195
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4304
4196
  cat >>confdefs.h <<_ACEOF
4305
4197
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4306
4198
_ACEOF
4379
4271
 
4380
4272
 
4381
4273
 
4382
 
macro_version='2.2.6b'
4383
 
macro_revision='1.3017'
 
4274
macro_version='2.2.10'
 
4275
macro_revision='1.3175'
4384
4276
 
4385
4277
 
4386
4278
 
4398
4290
 
4399
4291
# Make sure we can run config.sub.
4400
4292
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4401
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
4293
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4402
4294
 
4403
4295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4404
4296
$as_echo_n "checking build system type... " >&6; }
4409
4301
test "x$ac_build_alias" = x &&
4410
4302
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4411
4303
test "x$ac_build_alias" = x &&
4412
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
4304
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4413
4305
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4414
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4306
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4415
4307
 
4416
4308
fi
4417
4309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4418
4310
$as_echo "$ac_cv_build" >&6; }
4419
4311
case $ac_cv_build in
4420
4312
*-*-*) ;;
4421
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
4313
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4422
4314
esac
4423
4315
build=$ac_cv_build
4424
4316
ac_save_IFS=$IFS; IFS='-'
4443
4335
  ac_cv_host=$ac_cv_build
4444
4336
else
4445
4337
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4446
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
4338
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4447
4339
fi
4448
4340
 
4449
4341
fi
4451
4343
$as_echo "$ac_cv_host" >&6; }
4452
4344
case $ac_cv_host in
4453
4345
*-*-*) ;;
4454
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
4346
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4455
4347
esac
4456
4348
host=$ac_cv_host
4457
4349
ac_save_IFS=$IFS; IFS='-'
4467
4359
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4468
4360
 
4469
4361
 
 
4362
# Backslashify metacharacters that are still active within
 
4363
# double-quoted strings.
 
4364
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
4365
 
 
4366
# Same as above, but do not quote variable references.
 
4367
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
4368
 
 
4369
# Sed substitution to delay expansion of an escaped shell variable in a
 
4370
# double_quote_subst'ed string.
 
4371
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
4372
 
 
4373
# Sed substitution to delay expansion of an escaped single quote.
 
4374
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
4375
 
 
4376
# Sed substitution to avoid accidental globbing in evaled expressions
 
4377
no_glob_subst='s/\*/\\\*/g'
 
4378
 
 
4379
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4380
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
4381
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
4382
 
 
4383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
4384
$as_echo_n "checking how to print strings... " >&6; }
 
4385
# Test print first, because it will be a builtin if present.
 
4386
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
4387
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4388
  ECHO='print -r --'
 
4389
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4390
  ECHO='printf %s\n'
 
4391
else
 
4392
  # Use this function as a fallback that always works.
 
4393
  func_fallback_echo ()
 
4394
  {
 
4395
    eval 'cat <<_LTECHO_EOF
 
4396
$1
 
4397
_LTECHO_EOF'
 
4398
  }
 
4399
  ECHO='func_fallback_echo'
 
4400
fi
 
4401
 
 
4402
# func_echo_all arg...
 
4403
# Invoke $ECHO with all args, space-separated.
 
4404
func_echo_all ()
 
4405
{
 
4406
    $ECHO ""
 
4407
}
 
4408
 
 
4409
case "$ECHO" in
 
4410
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
4411
$as_echo "printf" >&6; } ;;
 
4412
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
4413
$as_echo "print -r" >&6; } ;;
 
4414
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
4415
$as_echo "cat" >&6; } ;;
 
4416
esac
 
4417
 
 
4418
 
 
4419
 
 
4420
 
 
4421
 
 
4422
 
 
4423
 
 
4424
 
 
4425
 
 
4426
 
 
4427
 
 
4428
 
 
4429
 
 
4430
 
4470
4431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4471
4432
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4472
4433
if test "${ac_cv_path_SED+set}" = set; then :
4524
4485
  done
4525
4486
IFS=$as_save_IFS
4526
4487
  if test -z "$ac_cv_path_SED"; then
4527
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4488
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4528
4489
  fi
4529
4490
else
4530
4491
  ac_cv_path_SED=$SED
4603
4564
  done
4604
4565
IFS=$as_save_IFS
4605
4566
  if test -z "$ac_cv_path_FGREP"; then
4606
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4567
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4607
4568
  fi
4608
4569
else
4609
4570
  ac_cv_path_FGREP=$FGREP
4719
4680
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4720
4681
$as_echo "no" >&6; }
4721
4682
fi
4722
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4683
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4723
4684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4724
4685
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4725
4686
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4802
4763
  NM="$lt_cv_path_NM"
4803
4764
else
4804
4765
  # Didn't find any BSD compatible name lister, look for dumpbin.
4805
 
  if test -n "$ac_tool_prefix"; then
4806
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4766
  if test -n "$DUMPBIN"; then :
 
4767
    # Let the user override the test.
 
4768
  else
 
4769
    if test -n "$ac_tool_prefix"; then
 
4770
  for ac_prog in dumpbin "link -dump"
4807
4771
  do
4808
4772
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4809
4773
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4847
4811
fi
4848
4812
if test -z "$DUMPBIN"; then
4849
4813
  ac_ct_DUMPBIN=$DUMPBIN
4850
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4814
  for ac_prog in dumpbin "link -dump"
4851
4815
do
4852
4816
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4853
4817
set dummy $ac_prog; ac_word=$2
4902
4866
  fi
4903
4867
fi
4904
4868
 
 
4869
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4870
    *COFF*)
 
4871
      DUMPBIN="$DUMPBIN -symbols"
 
4872
      ;;
 
4873
    *)
 
4874
      DUMPBIN=:
 
4875
      ;;
 
4876
    esac
 
4877
  fi
4905
4878
 
4906
4879
  if test "$DUMPBIN" != ":"; then
4907
4880
    NM="$DUMPBIN"
4921
4894
else
4922
4895
  lt_cv_nm_interface="BSD nm"
4923
4896
  echo "int some_variable = 0;" > conftest.$ac_ext
4924
 
  (eval echo "\"\$as_me:4924: $ac_compile\"" >&5)
 
4897
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4925
4898
  (eval "$ac_compile" 2>conftest.err)
4926
4899
  cat conftest.err >&5
4927
 
  (eval echo "\"\$as_me:4927: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4900
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4928
4901
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4929
4902
  cat conftest.err >&5
4930
 
  (eval echo "\"\$as_me:4930: output\"" >&5)
 
4903
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4931
4904
  cat conftest.out >&5
4932
4905
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4933
4906
    lt_cv_nm_interface="MS dumpbin"
4984
4957
    lt_cv_sys_max_cmd_len=8192;
4985
4958
    ;;
4986
4959
 
 
4960
  mint*)
 
4961
    # On MiNT this can take a long time and run out of memory.
 
4962
    lt_cv_sys_max_cmd_len=8192;
 
4963
    ;;
 
4964
 
4987
4965
  amigaos*)
4988
4966
    # On AmigaOS with pdksh, this test takes hours, literally.
4989
4967
    # So we just punt and use a minimum line length of 8192.
5048
5026
      # If test is not a shell built-in, we'll probably end up computing a
5049
5027
      # maximum length that is only half of the actual maximum length, but
5050
5028
      # we can't tell.
5051
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5052
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5029
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
5030
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5053
5031
              test $i != 17 # 1/2 MB should be enough
5054
5032
      do
5055
5033
        i=`expr $i + 1`
5320
5298
  # Base MSYS/MinGW do not provide the 'file' command needed by
5321
5299
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5322
5300
  # unless we find 'file', for example because we are cross-compiling.
5323
 
  if ( file / ) >/dev/null 2>&1; then
 
5301
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5302
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5324
5303
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5325
5304
    lt_cv_file_magic_cmd='func_win32_libid'
5326
5305
  else
5327
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5306
    # Keep this pattern in sync with the one in func_win32_libid.
 
5307
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5328
5308
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5329
5309
  fi
5330
5310
  ;;
5331
5311
 
5332
 
cegcc)
 
5312
cegcc*)
5333
5313
  # use the weaker test based on 'objdump'. See mingw*.
5334
5314
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5335
5315
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5359
5339
  lt_cv_deplibs_check_method=pass_all
5360
5340
  ;;
5361
5341
 
 
5342
haiku*)
 
5343
  lt_cv_deplibs_check_method=pass_all
 
5344
  ;;
 
5345
 
5362
5346
hpux10.20* | hpux11*)
5363
5347
  lt_cv_file_magic_cmd=/usr/bin/file
5364
5348
  case $host_cpu in
5367
5351
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5368
5352
    ;;
5369
5353
  hppa*64*)
5370
 
    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]'
 
5354
    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]'
5371
5355
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5372
5356
    ;;
5373
5357
  *)
5374
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5358
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5375
5359
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5376
5360
    ;;
5377
5361
  esac
5397
5381
  lt_cv_deplibs_check_method=pass_all
5398
5382
  ;;
5399
5383
 
5400
 
netbsd* | netbsdelf*-gnu)
 
5384
netbsd*)
5401
5385
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5402
5386
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5403
5387
  else
5809
5793
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5810
5794
fi
5811
5795
 
 
5796
case $host_os in
 
5797
  darwin*)
 
5798
    lock_old_archive_extraction=yes ;;
 
5799
  *)
 
5800
    lock_old_archive_extraction=no ;;
 
5801
esac
 
5802
 
 
5803
 
 
5804
 
 
5805
 
 
5806
 
 
5807
 
5812
5808
 
5813
5809
 
5814
5810
 
5978
5974
  test $ac_status = 0; }; then
5979
5975
    # Now try to grab the symbols.
5980
5976
    nlist=conftest.nm
5981
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5982
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
5977
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
5978
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5983
5979
  ac_status=$?
5984
5980
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5985
5981
  test $ac_status = 0; } && test -s "$nlist"; then
6132
6128
  ;;
6133
6129
*-*-irix6*)
6134
6130
  # Find out which ABI we are using.
6135
 
  echo '#line 6135 "configure"' > conftest.$ac_ext
 
6131
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6136
6132
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6137
6133
  (eval $ac_compile) 2>&5
6138
6134
  ac_status=$?
6844
6840
fi
6845
6841
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6846
6842
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
6843
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
6844
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
6845
if test "${lt_cv_ld_force_load+set}" = set; then :
 
6846
  $as_echo_n "(cached) " >&6
 
6847
else
 
6848
  lt_cv_ld_force_load=no
 
6849
      cat > conftest.c << _LT_EOF
 
6850
int forced_loaded() { return 2;}
 
6851
_LT_EOF
 
6852
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
6853
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
6854
      echo "$AR cru libconftest.a conftest.o" >&5
 
6855
      $AR cru libconftest.a conftest.o 2>&5
 
6856
      echo "$RANLIB libconftest.a" >&5
 
6857
      $RANLIB libconftest.a 2>&5
 
6858
      cat > conftest.c << _LT_EOF
 
6859
int main() { return 0;}
 
6860
_LT_EOF
 
6861
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
6862
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
6863
      _lt_result=$?
 
6864
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
6865
        lt_cv_ld_force_load=yes
 
6866
      else
 
6867
        cat conftest.err >&5
 
6868
      fi
 
6869
        rm -f conftest.err libconftest.a conftest conftest.c
 
6870
        rm -rf conftest.dSYM
 
6871
 
 
6872
fi
 
6873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
6874
$as_echo "$lt_cv_ld_force_load" >&6; }
6847
6875
    case $host_os in
6848
6876
    rhapsody* | darwin1.[012])
6849
6877
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6871
6899
    else
6872
6900
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6873
6901
    fi
6874
 
    if test "$DSYMUTIL" != ":"; then
 
6902
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6875
6903
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6876
6904
    else
6877
6905
      _lt_dsymutil=
6894
6922
 
6895
6923
 
6896
6924
 
 
6925
 
 
6926
 
6897
6927
# Set options
6898
6928
 
6899
6929
 
7046
7076
 
7047
7077
 
7048
7078
 
 
7079
 
7049
7080
test -z "$LN_S" && LN_S="ln -s"
7050
7081
 
7051
7082
 
7095
7126
 
7096
7127
 
7097
7128
 
7098
 
 
7099
 
 
7100
 
 
7101
 
 
7102
 
 
7103
 
 
7104
 
 
7105
 
 
7106
 
 
7107
 
 
7108
 
 
7109
 
 
7110
 
 
7111
7129
case $host_os in
7112
7130
aix3*)
7113
7131
  # AIX sometimes has problems with the GCC collect2 program.  For some
7120
7138
  ;;
7121
7139
esac
7122
7140
 
7123
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7124
 
# metacharacters that are still active within double-quoted strings.
7125
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7126
 
 
7127
 
# Same as above, but do not quote variable references.
7128
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7129
 
 
7130
 
# Sed substitution to delay expansion of an escaped shell variable in a
7131
 
# double_quote_subst'ed string.
7132
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7133
 
 
7134
 
# Sed substitution to delay expansion of an escaped single quote.
7135
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7136
 
 
7137
 
# Sed substitution to avoid accidental globbing in evaled expressions
7138
 
no_glob_subst='s/\*/\\\*/g'
7139
 
 
7140
7141
# Global variables:
7141
7142
ofile=libtool
7142
7143
can_build_shared=yes
7165
7166
    *) break;;
7166
7167
  esac
7167
7168
done
7168
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7169
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7169
7170
 
7170
7171
 
7171
7172
# Only perform the check for file, if the check method requires it
7370
7371
lt_prog_compiler_no_builtin_flag=
7371
7372
 
7372
7373
if test "$GCC" = yes; then
7373
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
7374
  case $cc_basename in
 
7375
  nvcc*)
 
7376
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
7377
  *)
 
7378
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
7379
  esac
7374
7380
 
7375
7381
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7376
7382
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7390
7396
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7391
7397
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7392
7398
   -e 's:$: $lt_compiler_flag:'`
7393
 
   (eval echo "\"\$as_me:7393: $lt_compile\"" >&5)
 
7399
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7394
7400
   (eval "$lt_compile" 2>conftest.err)
7395
7401
   ac_status=$?
7396
7402
   cat conftest.err >&5
7397
 
   echo "$as_me:7397: \$? = $ac_status" >&5
 
7403
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398
7404
   if (exit $ac_status) && test -s "$ac_outfile"; then
7399
7405
     # The compiler can only warn and ignore the option if not recognized
7400
7406
     # So say no if there are warnings other than the usual output.
7401
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7407
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7402
7408
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7403
7409
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7404
7410
       lt_cv_prog_compiler_rtti_exceptions=yes
7476
7482
      lt_prog_compiler_pic='-fno-common'
7477
7483
      ;;
7478
7484
 
 
7485
    haiku*)
 
7486
      # PIC is the default for Haiku.
 
7487
      # The "-static" flag exists, but is broken.
 
7488
      lt_prog_compiler_static=
 
7489
      ;;
 
7490
 
7479
7491
    hpux*)
7480
7492
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7481
7493
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7518
7530
      lt_prog_compiler_pic='-fPIC'
7519
7531
      ;;
7520
7532
    esac
 
7533
 
 
7534
    case $cc_basename in
 
7535
    nvcc*) # Cuda Compiler Driver 2.2
 
7536
      lt_prog_compiler_wl='-Xlinker '
 
7537
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
7538
      ;;
 
7539
    esac
7521
7540
  else
7522
7541
    # PORTME Check for flag to pass linker flags through the system compiler.
7523
7542
    case $host_os in
7580
7599
        lt_prog_compiler_pic='--shared'
7581
7600
        lt_prog_compiler_static='--static'
7582
7601
        ;;
7583
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
7602
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7584
7603
        # Portland Group compilers (*not* the Pentium gcc compiler,
7585
7604
        # which looks to be a dead project)
7586
7605
        lt_prog_compiler_wl='-Wl,'
7592
7611
        # All Alpha code is PIC.
7593
7612
        lt_prog_compiler_static='-non_shared'
7594
7613
        ;;
7595
 
      xl*)
7596
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
7614
      xl* | bgxl* | bgf* | mpixl*)
 
7615
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7597
7616
        lt_prog_compiler_wl='-Wl,'
7598
7617
        lt_prog_compiler_pic='-qpic'
7599
7618
        lt_prog_compiler_static='-qstaticlink'
7600
7619
        ;;
7601
7620
      *)
7602
7621
        case `$CC -V 2>&1 | sed 5q` in
 
7622
        *Sun\ F* | *Sun*Fortran*)
 
7623
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7624
          lt_prog_compiler_pic='-KPIC'
 
7625
          lt_prog_compiler_static='-Bstatic'
 
7626
          lt_prog_compiler_wl=''
 
7627
          ;;
7603
7628
        *Sun\ C*)
7604
7629
          # Sun C 5.9
7605
7630
          lt_prog_compiler_pic='-KPIC'
7606
7631
          lt_prog_compiler_static='-Bstatic'
7607
7632
          lt_prog_compiler_wl='-Wl,'
7608
7633
          ;;
7609
 
        *Sun\ F*)
7610
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7611
 
          lt_prog_compiler_pic='-KPIC'
7612
 
          lt_prog_compiler_static='-Bstatic'
7613
 
          lt_prog_compiler_wl=''
7614
 
          ;;
7615
7634
        esac
7616
7635
        ;;
7617
7636
      esac
7642
7661
      lt_prog_compiler_pic='-KPIC'
7643
7662
      lt_prog_compiler_static='-Bstatic'
7644
7663
      case $cc_basename in
7645
 
      f77* | f90* | f95*)
 
7664
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7646
7665
        lt_prog_compiler_wl='-Qoption ld ';;
7647
7666
      *)
7648
7667
        lt_prog_compiler_wl='-Wl,';;
7729
7748
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7730
7749
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7731
7750
   -e 's:$: $lt_compiler_flag:'`
7732
 
   (eval echo "\"\$as_me:7732: $lt_compile\"" >&5)
 
7751
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7733
7752
   (eval "$lt_compile" 2>conftest.err)
7734
7753
   ac_status=$?
7735
7754
   cat conftest.err >&5
7736
 
   echo "$as_me:7736: \$? = $ac_status" >&5
 
7755
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7737
7756
   if (exit $ac_status) && test -s "$ac_outfile"; then
7738
7757
     # The compiler can only warn and ignore the option if not recognized
7739
7758
     # So say no if there are warnings other than the usual output.
7740
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7759
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7741
7760
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7742
7761
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7743
7762
       lt_cv_prog_compiler_pic_works=yes
7785
7804
     if test -s conftest.err; then
7786
7805
       # Append any errors to the config.log.
7787
7806
       cat conftest.err 1>&5
7788
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
7807
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7789
7808
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7790
7809
       if diff conftest.exp conftest.er2 >/dev/null; then
7791
7810
         lt_cv_prog_compiler_static_works=yes
7834
7853
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7835
7854
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7836
7855
   -e 's:$: $lt_compiler_flag:'`
7837
 
   (eval echo "\"\$as_me:7837: $lt_compile\"" >&5)
 
7856
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7838
7857
   (eval "$lt_compile" 2>out/conftest.err)
7839
7858
   ac_status=$?
7840
7859
   cat out/conftest.err >&5
7841
 
   echo "$as_me:7841: \$? = $ac_status" >&5
 
7860
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842
7861
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7843
7862
   then
7844
7863
     # The compiler can only warn and ignore the option if not recognized
7845
7864
     # So say no if there are warnings
7846
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7865
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7847
7866
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7848
7867
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7849
7868
       lt_cv_prog_compiler_c_o=yes
7889
7908
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7890
7909
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7891
7910
   -e 's:$: $lt_compiler_flag:'`
7892
 
   (eval echo "\"\$as_me:7892: $lt_compile\"" >&5)
 
7911
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7893
7912
   (eval "$lt_compile" 2>out/conftest.err)
7894
7913
   ac_status=$?
7895
7914
   cat out/conftest.err >&5
7896
 
   echo "$as_me:7896: \$? = $ac_status" >&5
 
7915
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897
7916
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7898
7917
   then
7899
7918
     # The compiler can only warn and ignore the option if not recognized
7900
7919
     # So say no if there are warnings
7901
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
7920
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7902
7921
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7903
7922
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7904
7923
       lt_cv_prog_compiler_c_o=yes
8008
8027
  openbsd*)
8009
8028
    with_gnu_ld=no
8010
8029
    ;;
8011
 
  linux* | k*bsd*-gnu)
8012
 
    link_all_deplibs=no
8013
 
    ;;
8014
8030
  esac
8015
8031
 
8016
8032
  ld_shlibs=yes
 
8033
 
 
8034
  # On some targets, GNU ld is compatible enough with the native linker
 
8035
  # that we're better off using the native interface for both.
 
8036
  lt_use_gnu_ld_interface=no
8017
8037
  if test "$with_gnu_ld" = yes; then
 
8038
    case $host_os in
 
8039
      aix*)
 
8040
        # The AIX port of GNU ld has always aspired to compatibility
 
8041
        # with the native linker.  However, as the warning in the GNU ld
 
8042
        # block says, versions before 2.19.5* couldn't really create working
 
8043
        # shared libraries, regardless of the interface used.
 
8044
        case `$LD -v 2>&1` in
 
8045
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8046
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8047
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8048
          *)
 
8049
            lt_use_gnu_ld_interface=yes
 
8050
            ;;
 
8051
        esac
 
8052
        ;;
 
8053
      *)
 
8054
        lt_use_gnu_ld_interface=yes
 
8055
        ;;
 
8056
    esac
 
8057
  fi
 
8058
 
 
8059
  if test "$lt_use_gnu_ld_interface" = yes; then
8018
8060
    # If archive_cmds runs LD, not CC, wlarc should be empty
8019
8061
    wlarc='${wl}'
8020
8062
 
8048
8090
        ld_shlibs=no
8049
8091
        cat <<_LT_EOF 1>&2
8050
8092
 
8051
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8093
*** Warning: the GNU linker, at least up to release 2.19, is reported
8052
8094
*** to be unable to reliably create shared libraries on AIX.
8053
8095
*** Therefore, libtool is disabling shared libraries support.  If you
8054
 
*** really care for shared libraries, you may want to modify your PATH
8055
 
*** so that a non-GNU linker is found, and then restart.
 
8096
*** really care for shared libraries, you may want to install binutils
 
8097
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8098
*** You will then need to restart the configuration process.
8056
8099
 
8057
8100
_LT_EOF
8058
8101
      fi
8088
8131
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8089
8132
      # as there is no search path for DLLs.
8090
8133
      hardcode_libdir_flag_spec='-L$libdir'
 
8134
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8091
8135
      allow_undefined_flag=unsupported
8092
8136
      always_export_symbols=no
8093
8137
      enable_shared_with_static_runtimes=yes
8109
8153
      fi
8110
8154
      ;;
8111
8155
 
 
8156
    haiku*)
 
8157
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8158
      link_all_deplibs=yes
 
8159
      ;;
 
8160
 
8112
8161
    interix[3-9]*)
8113
8162
      hardcode_direct=no
8114
8163
      hardcode_shlibpath_var=no
8138
8187
        tmp_sharedflag='-shared'
8139
8188
        case $cc_basename,$host_cpu in
8140
8189
        pgcc*)                          # Portland Group C compiler
8141
 
          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'
 
8190
          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'
8142
8191
          tmp_addflag=' $pic_flag'
8143
8192
          ;;
8144
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8145
 
          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'
 
8193
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8194
                                        # Portland Group f77 and f90 compilers
 
8195
          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'
8146
8196
          tmp_addflag=' $pic_flag -Mnomain' ;;
8147
8197
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8148
8198
          tmp_addflag=' -i_dynamic' ;;
8153
8203
        lf95*)                          # Lahey Fortran 8.1
8154
8204
          whole_archive_flag_spec=
8155
8205
          tmp_sharedflag='--shared' ;;
8156
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8206
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8157
8207
          tmp_sharedflag='-qmkshrobj'
8158
8208
          tmp_addflag= ;;
 
8209
        nvcc*)  # Cuda Compiler Driver 2.2
 
8210
          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'
 
8211
          compiler_needs_object=yes
 
8212
          ;;
8159
8213
        esac
8160
8214
        case `$CC -V 2>&1 | sed 5q` in
8161
8215
        *Sun\ C*)                       # Sun C 5.9
8162
 
          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'
 
8216
          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'
8163
8217
          compiler_needs_object=yes
8164
8218
          tmp_sharedflag='-G' ;;
8165
8219
        *Sun\ F*)                       # Sun Fortran 8.3
8175
8229
        fi
8176
8230
 
8177
8231
        case $cc_basename in
8178
 
        xlf*)
 
8232
        xlf* | bgf* | bgxlf* | mpixlf*)
8179
8233
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8180
8234
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8181
8235
          hardcode_libdir_flag_spec=
8182
8236
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8183
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8237
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8184
8238
          if test "x$supports_anon_versioning" = xyes; then
8185
8239
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8186
8240
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8187
8241
              echo "local: *; };" >> $output_objdir/$libname.ver~
8188
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8242
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8189
8243
          fi
8190
8244
          ;;
8191
8245
        esac
8194
8248
      fi
8195
8249
      ;;
8196
8250
 
8197
 
    netbsd* | netbsdelf*-gnu)
 
8251
    netbsd*)
8198
8252
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8199
8253
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8200
8254
        wlarc=
8306
8360
      else
8307
8361
        # If we're using GNU nm, then we don't want the "-C" option.
8308
8362
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
8363
        # Also, AIX nm treats weak defined symbols like other global
 
8364
        # defined symbols, whereas GNU nm marks them as "W".
8309
8365
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8310
 
          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'
 
8366
          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'
8311
8367
        else
8312
8368
          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'
8313
8369
        fi
8369
8425
        if test "$aix_use_runtimelinking" = yes; then
8370
8426
          shared_flag="$shared_flag "'${wl}-G'
8371
8427
        fi
8372
 
        link_all_deplibs=no
8373
8428
      else
8374
8429
        # not using gcc
8375
8430
        if test "$host_cpu" = ia64; then
8426
8481
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8427
8482
 
8428
8483
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8429
 
        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"
 
8484
        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"
8430
8485
      else
8431
8486
        if test "$host_cpu" = ia64; then
8432
8487
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8470
8525
          # -berok will link without error, but may produce a broken library.
8471
8526
          no_undefined_flag=' ${wl}-bernotok'
8472
8527
          allow_undefined_flag=' ${wl}-berok'
8473
 
          # Exported symbols can be pulled into shared objects from archives
8474
 
          whole_archive_flag_spec='$convenience'
 
8528
          if test "$with_gnu_ld" = yes; then
 
8529
            # We only use this code for GNU lds that support --whole-archive.
 
8530
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
8531
          else
 
8532
            # Exported symbols can be pulled into shared objects from archives
 
8533
            whole_archive_flag_spec='$convenience'
 
8534
          fi
8475
8535
          archive_cmds_need_lc=yes
8476
8536
          # This is similar to how AIX traditionally builds its shared libraries.
8477
8537
          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'
8510
8570
      # Tell ltmain to make .dll files, not .so files.
8511
8571
      shrext_cmds=".dll"
8512
8572
      # FIXME: Setting linknames here is a bad hack.
8513
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
8573
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8514
8574
      # The linker will automatically build a .lib file if we build a DLL.
8515
8575
      old_archive_from_new_cmds='true'
8516
8576
      # FIXME: Should let the user specify the lib program.
8526
8586
  hardcode_direct=no
8527
8587
  hardcode_automatic=yes
8528
8588
  hardcode_shlibpath_var=unsupported
8529
 
  whole_archive_flag_spec=''
 
8589
  if test "$lt_cv_ld_force_load" = "yes"; then
 
8590
    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\"`'
 
8591
  else
 
8592
    whole_archive_flag_spec=''
 
8593
  fi
8530
8594
  link_all_deplibs=yes
8531
8595
  allow_undefined_flag="$_lt_dar_allow_undefined"
8532
8596
  case $cc_basename in
8534
8598
     *) _lt_dar_can_shared=$GCC ;;
8535
8599
  esac
8536
8600
  if test "$_lt_dar_can_shared" = "yes"; then
8537
 
    output_verbose_link_cmd=echo
 
8601
    output_verbose_link_cmd=func_echo_all
8538
8602
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8539
8603
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8540
8604
    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}"
8600
8664
      ;;
8601
8665
 
8602
8666
    hpux10*)
8603
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8667
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8604
8668
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8605
8669
      else
8606
8670
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8619
8683
      ;;
8620
8684
 
8621
8685
    hpux11*)
8622
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8686
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8623
8687
        case $host_cpu in
8624
8688
        hppa*64*)
8625
8689
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8640
8704
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8641
8705
          ;;
8642
8706
        *)
8643
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8707
 
 
8708
          # Older versions of the 11.00 compiler do not understand -b yet
 
8709
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
8710
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
8711
$as_echo_n "checking if $CC understands -b... " >&6; }
 
8712
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
8713
  $as_echo_n "(cached) " >&6
 
8714
else
 
8715
  lt_cv_prog_compiler__b=no
 
8716
   save_LDFLAGS="$LDFLAGS"
 
8717
   LDFLAGS="$LDFLAGS -b"
 
8718
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8719
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8720
     # The linker can only warn and ignore the option if not recognized
 
8721
     # So say no if there are warnings
 
8722
     if test -s conftest.err; then
 
8723
       # Append any errors to the config.log.
 
8724
       cat conftest.err 1>&5
 
8725
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
8726
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8727
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8728
         lt_cv_prog_compiler__b=yes
 
8729
       fi
 
8730
     else
 
8731
       lt_cv_prog_compiler__b=yes
 
8732
     fi
 
8733
   fi
 
8734
   $RM -r conftest*
 
8735
   LDFLAGS="$save_LDFLAGS"
 
8736
 
 
8737
fi
 
8738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
8739
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
8740
 
 
8741
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
8742
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8743
else
 
8744
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
8745
fi
 
8746
 
8644
8747
          ;;
8645
8748
        esac
8646
8749
      fi
8668
8771
 
8669
8772
    irix5* | irix6* | nonstopux*)
8670
8773
      if test "$GCC" = yes; then
8671
 
        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'
 
8774
        archive_cmds='$CC -shared $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'
8672
8775
        # Try to use the -exported_symbol ld option, if it does not
8673
8776
        # work, assume that -exports_file does not work either and
8674
8777
        # implicitly export all symbols.
8679
8782
int foo(void) {}
8680
8783
_ACEOF
8681
8784
if ac_fn_c_try_link "$LINENO"; then :
8682
 
  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'
 
8785
  archive_expsym_cmds='$CC -shared $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'
8683
8786
 
8684
8787
fi
8685
8788
rm -f core conftest.err conftest.$ac_objext \
8686
8789
    conftest$ac_exeext conftest.$ac_ext
8687
8790
        LDFLAGS="$save_LDFLAGS"
8688
8791
      else
8689
 
        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'
8690
 
        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'
 
8792
        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'
 
8793
        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'
8691
8794
      fi
8692
8795
      archive_cmds_need_lc='no'
8693
8796
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8696
8799
      link_all_deplibs=yes
8697
8800
      ;;
8698
8801
 
8699
 
    netbsd* | netbsdelf*-gnu)
 
8802
    netbsd*)
8700
8803
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8701
8804
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8702
8805
      else
8749
8852
      hardcode_libdir_flag_spec='-L$libdir'
8750
8853
      hardcode_minus_L=yes
8751
8854
      allow_undefined_flag=unsupported
8752
 
      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'
 
8855
      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'
8753
8856
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8754
8857
      ;;
8755
8858
 
8756
8859
    osf3*)
8757
8860
      if test "$GCC" = yes; then
8758
8861
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8759
 
        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'
 
8862
        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'
8760
8863
      else
8761
8864
        allow_undefined_flag=' -expect_unresolved \*'
8762
 
        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'
 
8865
        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'
8763
8866
      fi
8764
8867
      archive_cmds_need_lc='no'
8765
8868
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8769
8872
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8770
8873
      if test "$GCC" = yes; then
8771
8874
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8772
 
        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'
 
8875
        archive_cmds='$CC -shared${allow_undefined_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'
8773
8876
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8774
8877
      else
8775
8878
        allow_undefined_flag=' -expect_unresolved \*'
8776
 
        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'
 
8879
        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'
8777
8880
        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~
8778
 
        $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'
 
8881
        $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'
8779
8882
 
8780
8883
        # Both c and cxx compiler support -rpath directly
8781
8884
        hardcode_libdir_flag_spec='-rpath $libdir'
8978
9081
      # to ld, don't add -lc before -lgcc.
8979
9082
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8980
9083
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8981
 
      $RM conftest*
8982
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9084
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
 
9085
  $as_echo_n "(cached) " >&6
 
9086
else
 
9087
  $RM conftest*
 
9088
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8983
9089
 
8984
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9090
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8985
9091
  (eval $ac_compile) 2>&5
8986
9092
  ac_status=$?
8987
9093
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8988
9094
  test $ac_status = 0; } 2>conftest.err; then
8989
 
        soname=conftest
8990
 
        lib=conftest
8991
 
        libobjs=conftest.$ac_objext
8992
 
        deplibs=
8993
 
        wl=$lt_prog_compiler_wl
8994
 
        pic_flag=$lt_prog_compiler_pic
8995
 
        compiler_flags=-v
8996
 
        linker_flags=-v
8997
 
        verstring=
8998
 
        output_objdir=.
8999
 
        libname=conftest
9000
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9001
 
        allow_undefined_flag=
9002
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9095
          soname=conftest
 
9096
          lib=conftest
 
9097
          libobjs=conftest.$ac_objext
 
9098
          deplibs=
 
9099
          wl=$lt_prog_compiler_wl
 
9100
          pic_flag=$lt_prog_compiler_pic
 
9101
          compiler_flags=-v
 
9102
          linker_flags=-v
 
9103
          verstring=
 
9104
          output_objdir=.
 
9105
          libname=conftest
 
9106
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9107
          allow_undefined_flag=
 
9108
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9003
9109
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9004
9110
  ac_status=$?
9005
9111
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9006
9112
  test $ac_status = 0; }
9007
 
        then
9008
 
          archive_cmds_need_lc=no
9009
 
        else
9010
 
          archive_cmds_need_lc=yes
9011
 
        fi
9012
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9013
 
      else
9014
 
        cat conftest.err 1>&5
9015
 
      fi
9016
 
      $RM conftest*
9017
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9018
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
9113
          then
 
9114
            lt_cv_archive_cmds_need_lc=no
 
9115
          else
 
9116
            lt_cv_archive_cmds_need_lc=yes
 
9117
          fi
 
9118
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9119
        else
 
9120
          cat conftest.err 1>&5
 
9121
        fi
 
9122
        $RM conftest*
 
9123
 
 
9124
fi
 
9125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9126
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9127
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9019
9128
      ;;
9020
9129
    esac
9021
9130
  fi
9186
9295
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9187
9296
    *) lt_awk_arg="/^libraries:/" ;;
9188
9297
  esac
9189
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9190
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
9298
  case $host_os in
 
9299
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
9300
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
9301
  esac
 
9302
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
9303
  case $lt_search_path_spec in
 
9304
  *\;*)
9191
9305
    # if the path contains ";" then we assume it to be the separator
9192
9306
    # otherwise default to the standard path separator (i.e. ":") - it is
9193
9307
    # assumed that no part of a normal pathname contains ";" but that should
9194
9308
    # okay in the real world where ";" in dirpaths is itself problematic.
9195
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9196
 
  else
9197
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9198
 
  fi
 
9309
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
9310
    ;;
 
9311
  *)
 
9312
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
9313
    ;;
 
9314
  esac
9199
9315
  # Ok, now we have the path, separated by spaces, we can step through it
9200
9316
  # and add multilib dir if necessary.
9201
9317
  lt_tmp_lt_search_path_spec=
9208
9324
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9209
9325
    fi
9210
9326
  done
9211
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
9327
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9212
9328
BEGIN {RS=" "; FS="/|\n";} {
9213
9329
  lt_foo="";
9214
9330
  lt_count=0;
9228
9344
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9229
9345
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9230
9346
}'`
9231
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
9347
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
9348
  # for these hosts.
 
9349
  case $host_os in
 
9350
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
9351
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
9352
  esac
 
9353
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9232
9354
else
9233
9355
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9234
9356
fi
9316
9438
  m68k)
9317
9439
    library_names_spec='$libname.ixlibrary $libname.a'
9318
9440
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9319
 
    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'
 
9441
    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'
9320
9442
    ;;
9321
9443
  esac
9322
9444
  ;;
9369
9491
    cygwin*)
9370
9492
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9371
9493
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9372
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
9494
 
 
9495
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9373
9496
      ;;
9374
9497
    mingw* | cegcc*)
9375
9498
      # MinGW DLLs use traditional 'lib' prefix
9376
9499
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9377
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9378
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9379
 
        # It is most probably a Windows format PATH printed by
9380
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9381
 
        # path with ; separators, and with drive letters. We can handle the
9382
 
        # drive letters (cygwin fileutils understands them), so leave them,
9383
 
        # especially as we might pass files found there to a mingw objdump,
9384
 
        # which wouldn't understand a cygwinified path. Ahh.
9385
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9386
 
      else
9387
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9388
 
      fi
9389
9500
      ;;
9390
9501
    pw32*)
9391
9502
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9485
9596
  hardcode_into_libs=yes
9486
9597
  ;;
9487
9598
 
 
9599
haiku*)
 
9600
  version_type=linux
 
9601
  need_lib_prefix=no
 
9602
  need_version=no
 
9603
  dynamic_linker="$host_os runtime_loader"
 
9604
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
9605
  soname_spec='${libname}${release}${shared_ext}$major'
 
9606
  shlibpath_var=LIBRARY_PATH
 
9607
  shlibpath_overrides_runpath=yes
 
9608
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
9609
  hardcode_into_libs=yes
 
9610
  ;;
 
9611
 
9488
9612
hpux9* | hpux10* | hpux11*)
9489
9613
  # Give a soname corresponding to the major version so that dld.sl refuses to
9490
9614
  # link against other versions.
9527
9651
    soname_spec='${libname}${release}${shared_ext}$major'
9528
9652
    ;;
9529
9653
  esac
9530
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
9654
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9531
9655
  postinstall_cmds='chmod 555 $lib'
 
9656
  # or fails outright, so override atomically:
 
9657
  install_override_mode=555
9532
9658
  ;;
9533
9659
 
9534
9660
interix[3-9]*)
9595
9721
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9596
9722
  shlibpath_var=LD_LIBRARY_PATH
9597
9723
  shlibpath_overrides_runpath=no
 
9724
 
9598
9725
  # Some binutils ld are patched to set DT_RUNPATH
9599
 
  save_LDFLAGS=$LDFLAGS
9600
 
  save_libdir=$libdir
9601
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9602
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9603
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9726
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
9727
  $as_echo_n "(cached) " >&6
 
9728
else
 
9729
  lt_cv_shlibpath_overrides_runpath=no
 
9730
    save_LDFLAGS=$LDFLAGS
 
9731
    save_libdir=$libdir
 
9732
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
9733
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
9734
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9604
9735
/* end confdefs.h.  */
9605
9736
 
9606
9737
int
9613
9744
_ACEOF
9614
9745
if ac_fn_c_try_link "$LINENO"; then :
9615
9746
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9616
 
  shlibpath_overrides_runpath=yes
 
9747
  lt_cv_shlibpath_overrides_runpath=yes
9617
9748
fi
9618
9749
fi
9619
9750
rm -f core conftest.err conftest.$ac_objext \
9620
9751
    conftest$ac_exeext conftest.$ac_ext
9621
 
  LDFLAGS=$save_LDFLAGS
9622
 
  libdir=$save_libdir
 
9752
    LDFLAGS=$save_LDFLAGS
 
9753
    libdir=$save_libdir
 
9754
 
 
9755
fi
 
9756
 
 
9757
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9623
9758
 
9624
9759
  # This implies no fast_install, which is unacceptable.
9625
9760
  # Some rework will be needed to allow for fast_install
9626
9761
  # before this can be enabled.
9627
9762
  hardcode_into_libs=yes
9628
9763
 
 
9764
  # Add ABI-specific directories to the system library path.
 
9765
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
9766
 
9629
9767
  # Append ld.so.conf contents to the search path
9630
9768
  if test -f /etc/ld.so.conf; then
9631
 
    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' ' '`
9632
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
9769
    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' ' '`
 
9770
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
9771
 
9633
9772
  fi
9634
9773
 
9635
9774
  # We used to test for /lib/ld.so.1 and disable shared libraries on
9641
9780
  dynamic_linker='GNU/Linux ld.so'
9642
9781
  ;;
9643
9782
 
9644
 
netbsdelf*-gnu)
9645
 
  version_type=linux
9646
 
  need_lib_prefix=no
9647
 
  need_version=no
9648
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9649
 
  soname_spec='${libname}${release}${shared_ext}$major'
9650
 
  shlibpath_var=LD_LIBRARY_PATH
9651
 
  shlibpath_overrides_runpath=no
9652
 
  hardcode_into_libs=yes
9653
 
  dynamic_linker='NetBSD ld.elf_so'
9654
 
  ;;
9655
 
 
9656
9783
netbsd*)
9657
9784
  version_type=sunos
9658
9785
  need_lib_prefix=no
9943
10070
 
9944
10071
 
9945
10072
 
 
10073
 
 
10074
 
 
10075
 
 
10076
 
 
10077
 
9946
10078
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9947
10079
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9948
10080
hardcode_action=
10273
10405
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10274
10406
  lt_status=$lt_dlunknown
10275
10407
  cat > conftest.$ac_ext <<_LT_EOF
10276
 
#line 10276 "configure"
 
10408
#line $LINENO "configure"
10277
10409
#include "confdefs.h"
10278
10410
 
10279
10411
#if HAVE_DLFCN_H
10314
10446
#  endif
10315
10447
#endif
10316
10448
 
10317
 
void fnord() { int i=42;}
 
10449
/* When -fvisbility=hidden is used, assume the code has been annotated
 
10450
   correspondingly for the symbols needed.  */
 
10451
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
10452
void fnord () __attribute__((visibility("default")));
 
10453
#endif
 
10454
 
 
10455
void fnord () { int i=42; }
10318
10456
int main ()
10319
10457
{
10320
10458
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10323
10461
  if (self)
10324
10462
    {
10325
10463
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10326
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10464
      else
 
10465
        {
 
10466
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
10467
          else puts (dlerror ());
 
10468
        }
10327
10469
      /* dlclose (self); */
10328
10470
    }
10329
10471
  else
10369
10511
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10370
10512
  lt_status=$lt_dlunknown
10371
10513
  cat > conftest.$ac_ext <<_LT_EOF
10372
 
#line 10372 "configure"
 
10514
#line $LINENO "configure"
10373
10515
#include "confdefs.h"
10374
10516
 
10375
10517
#if HAVE_DLFCN_H
10410
10552
#  endif
10411
10553
#endif
10412
10554
 
10413
 
void fnord() { int i=42;}
 
10555
/* When -fvisbility=hidden is used, assume the code has been annotated
 
10556
   correspondingly for the symbols needed.  */
 
10557
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
10558
void fnord () __attribute__((visibility("default")));
 
10559
#endif
 
10560
 
 
10561
void fnord () { int i=42; }
10414
10562
int main ()
10415
10563
{
10416
10564
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10419
10567
  if (self)
10420
10568
    {
10421
10569
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10422
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10570
      else
 
10571
        {
 
10572
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
10573
          else puts (dlerror ());
 
10574
        }
10423
10575
      /* dlclose (self); */
10424
10576
    }
10425
10577
  else
10820
10972
do :
10821
10973
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10822
10974
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10823
 
eval as_val=\$$as_ac_Header
10824
 
   if test "x$as_val" = x""yes; then :
 
10975
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10825
10976
  cat >>confdefs.h <<_ACEOF
10826
10977
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10827
10978
_ACEOF
10901
11052
 
10902
11053
 
10903
11054
 
 
11055
 
 
11056
 
 
11057
 
 
11058
 
10904
11059
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10905
11060
        if test -n "$ac_tool_prefix"; then
10906
11061
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11013
11168
$as_echo "no" >&6; }
11014
11169
                PKG_CONFIG=""
11015
11170
        fi
11016
 
 
11017
11171
fi
11018
11172
 
11019
11173
pkg_failed=no
11020
11174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11021
11175
$as_echo_n "checking for GLIB... " >&6; }
11022
11176
 
11023
 
if test -n "$PKG_CONFIG"; then
11024
 
    if test -n "$GLIB_CFLAGS"; then
11025
 
        pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11026
 
    else
11027
 
        if test -n "$PKG_CONFIG" && \
 
11177
if test -n "$GLIB_CFLAGS"; then
 
11178
    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
 
11179
 elif test -n "$PKG_CONFIG"; then
 
11180
    if test -n "$PKG_CONFIG" && \
11028
11181
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"  glib-2.0 >= 2.10        gobject-2.0 >= 2.10     gthread-2.0 >= 2.10     \""; } >&5
11029
11182
  ($PKG_CONFIG --exists --print-errors "        glib-2.0 >= 2.10        gobject-2.0 >= 2.10     gthread-2.0 >= 2.10     ") 2>&5
11030
11183
  ac_status=$?
11034
11187
else
11035
11188
  pkg_failed=yes
11036
11189
fi
11037
 
    fi
11038
 
else
11039
 
        pkg_failed=untried
 
11190
 else
 
11191
    pkg_failed=untried
11040
11192
fi
11041
 
if test -n "$PKG_CONFIG"; then
11042
 
    if test -n "$GLIB_LIBS"; then
11043
 
        pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11044
 
    else
11045
 
        if test -n "$PKG_CONFIG" && \
 
11193
if test -n "$GLIB_LIBS"; then
 
11194
    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
 
11195
 elif test -n "$PKG_CONFIG"; then
 
11196
    if test -n "$PKG_CONFIG" && \
11046
11197
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"  glib-2.0 >= 2.10        gobject-2.0 >= 2.10     gthread-2.0 >= 2.10     \""; } >&5
11047
11198
  ($PKG_CONFIG --exists --print-errors "        glib-2.0 >= 2.10        gobject-2.0 >= 2.10     gthread-2.0 >= 2.10     ") 2>&5
11048
11199
  ac_status=$?
11052
11203
else
11053
11204
  pkg_failed=yes
11054
11205
fi
11055
 
    fi
11056
 
else
11057
 
        pkg_failed=untried
 
11206
 else
 
11207
    pkg_failed=untried
11058
11208
fi
11059
11209
 
11060
11210
 
11061
11211
 
11062
11212
if test $pkg_failed = yes; then
 
11213
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11214
$as_echo "no" >&6; }
11063
11215
 
11064
11216
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11065
11217
        _pkg_short_errors_supported=yes
11067
11219
        _pkg_short_errors_supported=no
11068
11220
fi
11069
11221
        if test $_pkg_short_errors_supported = yes; then
11070
 
                GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " glib-2.0 >= 2.10        gobject-2.0 >= 2.10     gthread-2.0 >= 2.10     "`
 
11222
                GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "    glib-2.0 >= 2.10        gobject-2.0 >= 2.10     gthread-2.0 >= 2.10     " 2>&1`
11071
11223
        else
11072
 
                GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "        glib-2.0 >= 2.10        gobject-2.0 >= 2.10     gthread-2.0 >= 2.10     "`
 
11224
                GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "   glib-2.0 >= 2.10        gobject-2.0 >= 2.10     gthread-2.0 >= 2.10     " 2>&1`
11073
11225
        fi
11074
11226
        # Put the nasty error message in config.log where it belongs
11075
11227
        echo "$GLIB_PKG_ERRORS" >&5
11076
11228
 
11077
 
        as_fn_error "Package requirements (     glib-2.0 >= 2.10        gobject-2.0 >= 2.10     gthread-2.0 >= 2.10     ) were not met:
 
11229
        as_fn_error $? "Package requirements (  glib-2.0 >= 2.10        gobject-2.0 >= 2.10     gthread-2.0 >= 2.10     ) were not met:
11078
11230
 
11079
11231
$GLIB_PKG_ERRORS
11080
11232
 
11083
11235
 
11084
11236
Alternatively, you may set the environment variables GLIB_CFLAGS
11085
11237
and GLIB_LIBS to avoid the need to call pkg-config.
11086
 
See the pkg-config man page for more details.
11087
 
" "$LINENO" 5
 
11238
See the pkg-config man page for more details." "$LINENO" 5
 
11239
 
11088
11240
elif test $pkg_failed = untried; then
 
11241
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11242
$as_echo "no" >&6; }
11089
11243
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11090
11244
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11091
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
11245
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11092
11246
is in your PATH or set the PKG_CONFIG environment variable to the full
11093
11247
path to pkg-config.
11094
11248
 
11097
11251
See the pkg-config man page for more details.
11098
11252
 
11099
11253
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11100
 
See \`config.log' for more details." "$LINENO" 5; }
 
11254
See \`config.log' for more details" "$LINENO" 5; }
 
11255
 
11101
11256
else
11102
11257
        GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11103
11258
        GLIB_LIBS=$pkg_cv_GLIB_LIBS
11104
11259
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11105
11260
$as_echo "yes" >&6; }
11106
 
        :
 
11261
 
11107
11262
fi
11108
11263
 
11109
11264
 
11123
11278
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
11124
11279
$as_echo_n "checking for GST... " >&6; }
11125
11280
 
11126
 
if test -n "$PKG_CONFIG"; then
11127
 
    if test -n "$GST_CFLAGS"; then
11128
 
        pkg_cv_GST_CFLAGS="$GST_CFLAGS"
11129
 
    else
11130
 
        if test -n "$PKG_CONFIG" && \
 
11281
if test -n "$GST_CFLAGS"; then
 
11282
    pkg_cv_GST_CFLAGS="$GST_CFLAGS"
 
11283
 elif test -n "$PKG_CONFIG"; then
 
11284
    if test -n "$PKG_CONFIG" && \
11131
11285
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
11132
11286
                gstreamer-0.10 >= 0.10.0
11133
11287
                gstreamer-base-0.10 >= 0.10.0
11146
11300
else
11147
11301
  pkg_failed=yes
11148
11302
fi
11149
 
    fi
11150
 
else
11151
 
        pkg_failed=untried
 
11303
 else
 
11304
    pkg_failed=untried
11152
11305
fi
11153
 
if test -n "$PKG_CONFIG"; then
11154
 
    if test -n "$GST_LIBS"; then
11155
 
        pkg_cv_GST_LIBS="$GST_LIBS"
11156
 
    else
11157
 
        if test -n "$PKG_CONFIG" && \
 
11306
if test -n "$GST_LIBS"; then
 
11307
    pkg_cv_GST_LIBS="$GST_LIBS"
 
11308
 elif test -n "$PKG_CONFIG"; then
 
11309
    if test -n "$PKG_CONFIG" && \
11158
11310
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
11159
11311
                gstreamer-0.10 >= 0.10.0
11160
11312
                gstreamer-base-0.10 >= 0.10.0
11173
11325
else
11174
11326
  pkg_failed=yes
11175
11327
fi
11176
 
    fi
11177
 
else
11178
 
        pkg_failed=untried
 
11328
 else
 
11329
    pkg_failed=untried
11179
11330
fi
11180
11331
 
11181
11332
 
11182
11333
 
11183
11334
if test $pkg_failed = yes; then
 
11335
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11336
$as_echo "no" >&6; }
11184
11337
 
11185
11338
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11186
11339
        _pkg_short_errors_supported=yes
11188
11341
        _pkg_short_errors_supported=no
11189
11342
fi
11190
11343
        if test $_pkg_short_errors_supported = yes; then
11191
 
                GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "
 
11344
                GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
11192
11345
                gstreamer-0.10 >= 0.10.0
11193
11346
                gstreamer-base-0.10 >= 0.10.0
11194
 
                "`
 
11347
                " 2>&1`
11195
11348
        else
11196
 
                GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
 
11349
                GST_PKG_ERRORS=`$PKG_CONFIG --print-errors "
11197
11350
                gstreamer-0.10 >= 0.10.0
11198
11351
                gstreamer-base-0.10 >= 0.10.0
11199
 
                "`
 
11352
                " 2>&1`
11200
11353
        fi
11201
11354
        # Put the nasty error message in config.log where it belongs
11202
11355
        echo "$GST_PKG_ERRORS" >&5
11203
11356
 
11204
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11357
 
 
11358
                if test "$with_gstreamer" = yes; then :
 
11359
 
 
11360
                        as_fn_error $? "GStreamer support was requested but GStreamer libraries are not available" "$LINENO" 5
 
11361
 
 
11362
fi
 
11363
 
 
11364
                with_gstreamer=no
 
11365
 
 
11366
elif test $pkg_failed = untried; then
 
11367
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11205
11368
$as_echo "no" >&6; }
11206
11369
 
11207
11370
                if test "$with_gstreamer" = yes; then :
11208
11371
 
11209
 
                        as_fn_error "GStreamer support was requested but GStreamer libraries are not available" "$LINENO" 5
11210
 
 
11211
 
fi
11212
 
 
11213
 
                with_gstreamer=no
11214
 
 
11215
 
elif test $pkg_failed = untried; then
11216
 
 
11217
 
                if test "$with_gstreamer" = yes; then :
11218
 
 
11219
 
                        as_fn_error "GStreamer support was requested but GStreamer libraries are not available" "$LINENO" 5
 
11372
                        as_fn_error $? "GStreamer support was requested but GStreamer libraries are not available" "$LINENO" 5
11220
11373
 
11221
11374
fi
11222
11375
 
11254
11407
  enableval=$enable_gupnp; case "${enableval}" in
11255
11408
            yes) WANT_GUPNP=yes ;;
11256
11409
            no)  WANT_GUPNP=no ;;
11257
 
            *) as_fn_error "bad value ${enableval} for --enable-gupnp" "$LINENO" 5 ;;
 
11410
            *) as_fn_error $? "bad value ${enableval} for --enable-gupnp" "$LINENO" 5 ;;
11258
11411
        esac
11259
11412
else
11260
11413
  WANT_GUPNP=test
11268
11421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNP" >&5
11269
11422
$as_echo_n "checking for GUPNP... " >&6; }
11270
11423
 
11271
 
if test -n "$PKG_CONFIG"; then
11272
 
    if test -n "$GUPNP_CFLAGS"; then
11273
 
        pkg_cv_GUPNP_CFLAGS="$GUPNP_CFLAGS"
11274
 
    else
11275
 
        if test -n "$PKG_CONFIG" && \
 
11424
if test -n "$GUPNP_CFLAGS"; then
 
11425
    pkg_cv_GUPNP_CFLAGS="$GUPNP_CFLAGS"
 
11426
 elif test -n "$PKG_CONFIG"; then
 
11427
    if test -n "$PKG_CONFIG" && \
11276
11428
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-igd-1.0 >= \$GUPNP_IGD_REQUIRED\""; } >&5
11277
11429
  ($PKG_CONFIG --exists --print-errors "gupnp-igd-1.0 >= $GUPNP_IGD_REQUIRED") 2>&5
11278
11430
  ac_status=$?
11282
11434
else
11283
11435
  pkg_failed=yes
11284
11436
fi
11285
 
    fi
11286
 
else
11287
 
        pkg_failed=untried
 
11437
 else
 
11438
    pkg_failed=untried
11288
11439
fi
11289
 
if test -n "$PKG_CONFIG"; then
11290
 
    if test -n "$GUPNP_LIBS"; then
11291
 
        pkg_cv_GUPNP_LIBS="$GUPNP_LIBS"
11292
 
    else
11293
 
        if test -n "$PKG_CONFIG" && \
 
11440
if test -n "$GUPNP_LIBS"; then
 
11441
    pkg_cv_GUPNP_LIBS="$GUPNP_LIBS"
 
11442
 elif test -n "$PKG_CONFIG"; then
 
11443
    if test -n "$PKG_CONFIG" && \
11294
11444
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-igd-1.0 >= \$GUPNP_IGD_REQUIRED\""; } >&5
11295
11445
  ($PKG_CONFIG --exists --print-errors "gupnp-igd-1.0 >= $GUPNP_IGD_REQUIRED") 2>&5
11296
11446
  ac_status=$?
11300
11450
else
11301
11451
  pkg_failed=yes
11302
11452
fi
11303
 
    fi
11304
 
else
11305
 
        pkg_failed=untried
 
11453
 else
 
11454
    pkg_failed=untried
11306
11455
fi
11307
11456
 
11308
11457
 
11309
11458
 
11310
11459
if test $pkg_failed = yes; then
 
11460
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11461
$as_echo "no" >&6; }
11311
11462
 
11312
11463
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11313
11464
        _pkg_short_errors_supported=yes
11315
11466
        _pkg_short_errors_supported=no
11316
11467
fi
11317
11468
        if test $_pkg_short_errors_supported = yes; then
11318
 
                GUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gupnp-igd-1.0 >= $GUPNP_IGD_REQUIRED"`
 
11469
                GUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gupnp-igd-1.0 >= $GUPNP_IGD_REQUIRED" 2>&1`
11319
11470
        else
11320
 
                GUPNP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gupnp-igd-1.0 >= $GUPNP_IGD_REQUIRED"`
 
11471
                GUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors "gupnp-igd-1.0 >= $GUPNP_IGD_REQUIRED" 2>&1`
11321
11472
        fi
11322
11473
        # Put the nasty error message in config.log where it belongs
11323
11474
        echo "$GUPNP_PKG_ERRORS" >&5
11324
11475
 
11325
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11476
         HAVE_GUPNP=no
 
11477
elif test $pkg_failed = untried; then
 
11478
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11326
11479
$as_echo "no" >&6; }
11327
 
                 HAVE_GUPNP=no
11328
 
elif test $pkg_failed = untried; then
11329
11480
         HAVE_GUPNP=no
11330
11481
else
11331
11482
        GUPNP_CFLAGS=$pkg_cv_GUPNP_CFLAGS
11336
11487
fi
11337
11488
fi
11338
11489
if test "x$WANT_GUPNP" = "xyes" && test "x$HAVE_GUPNP" = "xno"; then
11339
 
   as_fn_error "Requested GUPnP IGD, but it is not available" "$LINENO" 5
 
11490
   as_fn_error $? "Requested GUPnP IGD, but it is not available" "$LINENO" 5
11340
11491
fi
11341
11492
 
11342
11493
if test "x$HAVE_GUPNP" = "xyes"; then
11521
11672
  test $ac_status = 0; }; then
11522
11673
  :
11523
11674
else
11524
 
  as_fn_error "You need to have gtk-doc >= 1.9 installed to build $PACKAGE_NAME" "$LINENO" 5
 
11675
  as_fn_error $? "You need to have gtk-doc >= 1.9 installed to build $PACKAGE_NAME" "$LINENO" 5
11525
11676
fi
11526
11677
  fi
11527
11678
 
11676
11827
 
11677
11828
ac_libobjs=
11678
11829
ac_ltlibobjs=
 
11830
U=
11679
11831
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11680
11832
  # 1. Remove the extension, and $U if already installed.
11681
11833
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11699
11851
fi
11700
11852
 
11701
11853
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11702
 
  as_fn_error "conditional \"AMDEP\" was never defined.
 
11854
  as_fn_error $? "conditional \"AMDEP\" was never defined.
11703
11855
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11704
11856
fi
11705
11857
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11706
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
11858
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11707
11859
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11708
11860
fi
11709
11861
if test -z "${WITH_GSTREAMER_TRUE}" && test -z "${WITH_GSTREAMER_FALSE}"; then
11710
 
  as_fn_error "conditional \"WITH_GSTREAMER\" was never defined.
 
11862
  as_fn_error $? "conditional \"WITH_GSTREAMER\" was never defined.
11711
11863
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11712
11864
fi
11713
11865
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
11714
 
  as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined.
 
11866
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
11715
11867
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11716
11868
fi
11717
11869
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
11718
 
  as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
 
11870
  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
11719
11871
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11720
11872
fi
11721
11873
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
11722
 
  as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
 
11874
  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
11723
11875
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11724
11876
fi
11725
11877
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
11726
 
  as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
11878
  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
11727
11879
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11728
11880
fi
11729
11881
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
11730
 
  as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined.
 
11882
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
11731
11883
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11732
11884
fi
11733
11885
 
11877
12029
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11878
12030
 
11879
12031
 
11880
 
# as_fn_error ERROR [LINENO LOG_FD]
11881
 
# ---------------------------------
 
12032
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
12033
# ----------------------------------------
11882
12034
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11883
12035
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11884
 
# script with status $?, using 1 if that was 0.
 
12036
# script with STATUS, using 1 if that was 0.
11885
12037
as_fn_error ()
11886
12038
{
11887
 
  as_status=$?; test $as_status -eq 0 && as_status=1
11888
 
  if test "$3"; then
11889
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11890
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
12039
  as_status=$1; test $as_status -eq 0 && as_status=1
 
12040
  if test "$4"; then
 
12041
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
12042
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11891
12043
  fi
11892
 
  $as_echo "$as_me: error: $1" >&2
 
12044
  $as_echo "$as_me: error: $2" >&2
11893
12045
  as_fn_exit $as_status
11894
12046
} # as_fn_error
11895
12047
 
12085
12237
      test -d "$as_dir" && break
12086
12238
    done
12087
12239
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12088
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
12240
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12089
12241
 
12090
12242
 
12091
12243
} # as_fn_mkdir_p
12138
12290
# report actual input values of CONFIG_FILES etc. instead of their
12139
12291
# values after options handling.
12140
12292
ac_log="
12141
 
This file was extended by libnice $as_me 0.0.12, which was
12142
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
12293
This file was extended by libnice $as_me 0.1.0, which was
 
12294
generated by GNU Autoconf 2.66.  Invocation command line was
12143
12295
 
12144
12296
  CONFIG_FILES    = $CONFIG_FILES
12145
12297
  CONFIG_HEADERS  = $CONFIG_HEADERS
12204
12356
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12205
12357
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12206
12358
ac_cs_version="\\
12207
 
libnice config.status 0.0.12
12208
 
configured by $0, generated by GNU Autoconf 2.65,
 
12359
libnice config.status 0.1.0
 
12360
configured by $0, generated by GNU Autoconf 2.66,
12209
12361
  with options \\"\$ac_cs_config\\"
12210
12362
 
12211
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
12363
Copyright (C) 2010 Free Software Foundation, Inc.
12212
12364
This config.status script is free software; the Free Software Foundation
12213
12365
gives unlimited permission to copy, distribute and modify it."
12214
12366
 
12264
12416
    ac_need_defaults=false;;
12265
12417
  --he | --h)
12266
12418
    # Conflict between --help and --header
12267
 
    as_fn_error "ambiguous option: \`$1'
 
12419
    as_fn_error $? "ambiguous option: \`$1'
12268
12420
Try \`$0 --help' for more information.";;
12269
12421
  --help | --hel | -h )
12270
12422
    $as_echo "$ac_cs_usage"; exit ;;
12273
12425
    ac_cs_silent=: ;;
12274
12426
 
12275
12427
  # This is an error.
12276
 
  -*) as_fn_error "unrecognized option: \`$1'
 
12428
  -*) as_fn_error $? "unrecognized option: \`$1'
12277
12429
Try \`$0 --help' for more information." ;;
12278
12430
 
12279
12431
  *) as_fn_append ac_config_targets " $1"
12327
12479
sed_quote_subst='$sed_quote_subst'
12328
12480
double_quote_subst='$double_quote_subst'
12329
12481
delay_variable_subst='$delay_variable_subst'
12330
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12331
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12332
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12333
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12334
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12335
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12336
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12337
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12338
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12339
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12340
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12341
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12342
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12343
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12344
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12345
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12346
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12347
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12348
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12349
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12350
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12351
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12352
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12353
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12354
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12355
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12356
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12357
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12358
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12359
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12360
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12361
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12362
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12363
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12364
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12365
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12366
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12367
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12368
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12369
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12370
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12371
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12372
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12373
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12374
 
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"`'
12375
 
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"`'
12376
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12377
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12378
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12379
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12380
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12381
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12382
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12383
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12384
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12385
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12386
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12387
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12388
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12389
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12390
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12391
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12392
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12393
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12394
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12395
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12396
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12397
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12398
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12399
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12400
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12401
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12402
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12403
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12404
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12405
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12406
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12407
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12408
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12409
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12410
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12411
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12412
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12413
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12414
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12415
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12416
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12417
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12418
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12419
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12420
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12421
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12422
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12423
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12424
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12425
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12426
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12427
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12428
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12429
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12430
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12431
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12432
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12433
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12434
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12435
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12436
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12437
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12438
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12439
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12440
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12441
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12442
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12443
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12444
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12445
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12446
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12447
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
12482
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
12483
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
12484
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
12485
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
12486
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
12487
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
12488
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
12489
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
12490
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
12491
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
12492
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
12493
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
12494
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
12495
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
12496
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
12497
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
12498
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
12499
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
12500
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
12501
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
12502
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
12503
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
12504
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
12505
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
12506
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
12507
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
12508
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
12509
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
12510
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
12511
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
12512
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
12513
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
12514
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
12515
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
12516
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
12517
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
12518
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
12519
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
12520
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
12521
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
12522
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
12523
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
12524
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
12525
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
12526
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
12527
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
12528
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
12529
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
12530
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"`'
 
12531
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
12532
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
12533
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
12534
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
12535
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
12536
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
12537
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
12538
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
12539
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
12540
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
12541
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
12542
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
12543
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
12544
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
12545
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
12546
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
12547
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
12548
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
12549
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
12550
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
12551
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
12552
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
12553
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
12554
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
12555
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
12556
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
12557
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
12558
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
12559
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
12560
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
12561
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
12562
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
12563
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
12564
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
12565
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
12566
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
12567
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
12568
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
12569
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
12570
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
12571
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
 
12572
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
12573
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
12574
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
12575
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
12576
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
12577
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
12578
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
12579
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
12580
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
12581
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
12582
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
12583
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
12584
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
12585
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
12586
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
12587
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
12588
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
12589
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
12590
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
12591
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
12592
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
12593
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
12594
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
12595
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
12596
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
12597
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
12598
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
12599
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
12600
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
12601
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12448
12602
 
12449
12603
LTCC='$LTCC'
12450
12604
LTCFLAGS='$LTCFLAGS'
12451
12605
compiler='$compiler_DEFAULT'
12452
12606
 
 
12607
# A function that is used when there is no print builtin or printf.
 
12608
func_fallback_echo ()
 
12609
{
 
12610
  eval 'cat <<_LTECHO_EOF
 
12611
\$1
 
12612
_LTECHO_EOF'
 
12613
}
 
12614
 
12453
12615
# Quote evaled strings.
12454
 
for var in SED \
 
12616
for var in SHELL \
 
12617
ECHO \
 
12618
SED \
12455
12619
GREP \
12456
12620
EGREP \
12457
12621
FGREP \
12475
12639
lt_cv_sys_global_symbol_to_cdecl \
12476
12640
lt_cv_sys_global_symbol_to_c_name_address \
12477
12641
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12478
 
SHELL \
12479
 
ECHO \
12480
12642
lt_prog_compiler_no_builtin_flag \
12481
12643
lt_prog_compiler_wl \
12482
12644
lt_prog_compiler_pic \
12506
12668
libname_spec \
12507
12669
library_names_spec \
12508
12670
soname_spec \
 
12671
install_override_mode \
12509
12672
finish_eval \
12510
12673
old_striplib \
12511
12674
striplib; do
12512
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
12675
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12513
12676
    *[\\\\\\\`\\"\\\$]*)
12514
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
12677
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12515
12678
      ;;
12516
12679
    *)
12517
12680
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12538
12701
finish_cmds \
12539
12702
sys_lib_search_path_spec \
12540
12703
sys_lib_dlsearch_path_spec; do
12541
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
12704
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12542
12705
    *[\\\\\\\`\\"\\\$]*)
12543
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
12706
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12544
12707
      ;;
12545
12708
    *)
12546
12709
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12548
12711
    esac
12549
12712
done
12550
12713
 
12551
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
12552
 
case \$lt_ECHO in
12553
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12554
 
  ;;
12555
 
esac
12556
 
 
12557
12714
ac_aux_dir='$ac_aux_dir'
12558
12715
xsi_shell='$xsi_shell'
12559
12716
lt_shell_append='$lt_shell_append'
12600
12757
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12601
12758
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12602
12759
 
12603
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
12760
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12604
12761
  esac
12605
12762
done
12606
12763
 
12638
12795
{
12639
12796
  tmp=./conf$$-$RANDOM
12640
12797
  (umask 077 && mkdir "$tmp")
12641
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
12798
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12642
12799
 
12643
12800
# Set up the scripts for CONFIG_FILES section.
12644
12801
# No need to generate them if there are no CONFIG_FILES.
12655
12812
fi
12656
12813
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12657
12814
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12658
 
  ac_cs_awk_cr='\r'
 
12815
  ac_cs_awk_cr='\\r'
12659
12816
else
12660
12817
  ac_cs_awk_cr=$ac_cr
12661
12818
fi
12669
12826
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12670
12827
  echo "_ACEOF"
12671
12828
} >conf$$subs.sh ||
12672
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
12673
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
12829
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
12830
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12674
12831
ac_delim='%!_!# '
12675
12832
for ac_last_try in false false false false false :; do
12676
12833
  . ./conf$$subs.sh ||
12677
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
12834
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12678
12835
 
12679
12836
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12680
12837
  if test $ac_delim_n = $ac_delim_num; then
12681
12838
    break
12682
12839
  elif $ac_last_try; then
12683
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
12840
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12684
12841
  else
12685
12842
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12686
12843
  fi
12769
12926
else
12770
12927
  cat
12771
12928
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12772
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
12929
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12773
12930
_ACEOF
12774
12931
 
12775
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
12776
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
12932
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
12933
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12777
12934
# trailing colons and then remove the whole line if VPATH becomes empty
12778
12935
# (actually we leave an empty line to preserve line numbers).
12779
12936
if test "x$srcdir" = x.; then
12780
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
12781
 
s/:*\$(srcdir):*/:/
12782
 
s/:*\${srcdir}:*/:/
12783
 
s/:*@srcdir@:*/:/
12784
 
s/^\([^=]*=[     ]*\):*/\1/
 
12937
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
12938
h
 
12939
s///
 
12940
s/^/:/
 
12941
s/[      ]*$/:/
 
12942
s/:\$(srcdir):/:/g
 
12943
s/:\${srcdir}:/:/g
 
12944
s/:@srcdir@:/:/g
 
12945
s/^:*//
12785
12946
s/:*$//
 
12947
x
 
12948
s/\(=[   ]*\).*/\1/
 
12949
G
 
12950
s/\n//
12786
12951
s/^[^=]*=[       ]*$//
12787
12952
}'
12788
12953
fi
12810
12975
  if test -z "$ac_t"; then
12811
12976
    break
12812
12977
  elif $ac_last_try; then
12813
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
12978
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
12814
12979
  else
12815
12980
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12816
12981
  fi
12895
13060
_ACAWK
12896
13061
_ACEOF
12897
13062
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12898
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
13063
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
12899
13064
fi # test -n "$CONFIG_HEADERS"
12900
13065
 
12901
13066
 
12908
13073
  esac
12909
13074
  case $ac_mode$ac_tag in
12910
13075
  :[FHL]*:*);;
12911
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
13076
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12912
13077
  :[FH]-) ac_tag=-:-;;
12913
13078
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12914
13079
  esac
12936
13101
           [\\/$]*) false;;
12937
13102
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12938
13103
           esac ||
12939
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
13104
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12940
13105
      esac
12941
13106
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12942
13107
      as_fn_append ac_file_inputs " '$ac_f'"
12963
13128
 
12964
13129
    case $ac_tag in
12965
13130
    *:-:* | *:-) cat >"$tmp/stdin" \
12966
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
13131
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12967
13132
    esac
12968
13133
    ;;
12969
13134
  esac
13100
13265
$ac_datarootdir_hack
13101
13266
"
13102
13267
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13103
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
13268
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13104
13269
 
13105
13270
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13106
13271
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13107
13272
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13108
13273
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13109
 
which seems to be undefined.  Please make sure it is defined." >&5
 
13274
which seems to be undefined.  Please make sure it is defined" >&5
13110
13275
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13111
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
13276
which seems to be undefined.  Please make sure it is defined" >&2;}
13112
13277
 
13113
13278
  rm -f "$tmp/stdin"
13114
13279
  case $ac_file in
13115
13280
  -) cat "$tmp/out" && rm -f "$tmp/out";;
13116
13281
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13117
13282
  esac \
13118
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
13283
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13119
13284
 ;;
13120
13285
  :H)
13121
13286
  #
13126
13291
      $as_echo "/* $configure_input  */" \
13127
13292
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13128
13293
    } >"$tmp/config.h" \
13129
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
13294
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13130
13295
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13131
13296
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13132
13297
$as_echo "$as_me: $ac_file is unchanged" >&6;}
13133
13298
    else
13134
13299
      rm -f "$ac_file"
13135
13300
      mv "$tmp/config.h" "$ac_file" \
13136
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
13301
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13137
13302
    fi
13138
13303
  else
13139
13304
    $as_echo "/* $configure_input  */" \
13140
13305
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13141
 
      || as_fn_error "could not create -" "$LINENO" 5
 
13306
      || as_fn_error $? "could not create -" "$LINENO" 5
13142
13307
  fi
13143
13308
# Compute "$ac_file"'s index in $config_headers.
13144
13309
_am_arg="$ac_file"
13299
13464
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
13300
13465
#
13301
13466
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13302
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
13467
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
13468
#                 Inc.
13303
13469
#   Written by Gordon Matzigkeit, 1996
13304
13470
#
13305
13471
#   This file is part of GNU Libtool.
13347
13513
# Whether or not to optimize for fast installation.
13348
13514
fast_install=$enable_fast_install
13349
13515
 
 
13516
# Shell to use when invoking shell scripts.
 
13517
SHELL=$lt_SHELL
 
13518
 
 
13519
# An echo program that protects backslashes.
 
13520
ECHO=$lt_ECHO
 
13521
 
13350
13522
# The host system.
13351
13523
host_alias=$host_alias
13352
13524
host=$host
13396
13568
# turn newlines into spaces.
13397
13569
NL2SP=$lt_lt_NL2SP
13398
13570
 
13399
 
# How to create reloadable object files.
13400
 
reload_flag=$lt_reload_flag
13401
 
reload_cmds=$lt_reload_cmds
13402
 
 
13403
13571
# An object symbol dumper.
13404
13572
OBJDUMP=$lt_OBJDUMP
13405
13573
 
13421
13589
old_postinstall_cmds=$lt_old_postinstall_cmds
13422
13590
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13423
13591
 
 
13592
# Whether to use a lock for old archive extraction.
 
13593
lock_old_archive_extraction=$lock_old_archive_extraction
 
13594
 
13424
13595
# A C compiler.
13425
13596
LTCC=$lt_CC
13426
13597
 
13442
13613
# The name of the directory that contains temporary libtool files.
13443
13614
objdir=$objdir
13444
13615
 
13445
 
# Shell to use when invoking shell scripts.
13446
 
SHELL=$lt_SHELL
13447
 
 
13448
 
# An echo program that does not interpret backslashes.
13449
 
ECHO=$lt_ECHO
13450
 
 
13451
13616
# Used to examine libraries when file_magic_cmd begins with "file".
13452
13617
MAGIC_CMD=$MAGIC_CMD
13453
13618
 
13510
13675
# The coded name of the library, if different from the real name.
13511
13676
soname_spec=$lt_soname_spec
13512
13677
 
 
13678
# Permission mode override for installation of shared libraries.
 
13679
install_override_mode=$lt_install_override_mode
 
13680
 
13513
13681
# Command to use after installation of a shared archive.
13514
13682
postinstall_cmds=$lt_postinstall_cmds
13515
13683
 
13549
13717
# The linker used to build libraries.
13550
13718
LD=$lt_LD
13551
13719
 
 
13720
# How to create reloadable object files.
 
13721
reload_flag=$lt_reload_flag
 
13722
reload_cmds=$lt_reload_cmds
 
13723
 
13552
13724
# Commands used to build an old-style archive.
13553
13725
old_archive_cmds=$lt_old_archive_cmds
13554
13726
 
13808
13980
func_dirname ()
13809
13981
{
13810
13982
  # Extract subdirectory from the argument.
13811
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
13983
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
13812
13984
  if test "X$func_dirname_result" = "X${1}"; then
13813
13985
    func_dirname_result="${3}"
13814
13986
  else
13819
13991
# func_basename file
13820
13992
func_basename ()
13821
13993
{
13822
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
13994
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
13823
13995
}
13824
13996
 
13825
13997
 
13832
14004
func_stripname ()
13833
14005
{
13834
14006
  case ${2} in
13835
 
    .*) func_stripname_result=`$ECHO "X${3}" \
13836
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13837
 
    *)  func_stripname_result=`$ECHO "X${3}" \
13838
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
14007
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
14008
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
13839
14009
  esac
13840
14010
}
13841
14011
 
13846
14016
# func_opt_split
13847
14017
func_opt_split ()
13848
14018
{
13849
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13850
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
14019
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
 
14020
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
13851
14021
}
13852
14022
 
13853
14023
# func_lo2o object
13854
14024
func_lo2o ()
13855
14025
{
13856
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
14026
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
13857
14027
}
13858
14028
 
13859
14029
# func_xform libobj-or-source
13860
14030
func_xform ()
13861
14031
{
13862
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
14032
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
13863
14033
}
13864
14034
 
13865
14035
# func_arith arithmetic-term...
13923
14093
ac_clean_files=$ac_clean_files_save
13924
14094
 
13925
14095
test $ac_write_fail = 0 ||
13926
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
14096
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13927
14097
 
13928
14098
 
13929
14099
# configure is writing to config.log, and then calls config.status.
13944
14114
  exec 5>>config.log
13945
14115
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13946
14116
  # would make configure fail if this is the last instruction.
13947
 
  $ac_cs_success || as_fn_exit $?
 
14117
  $ac_cs_success || as_fn_exit 1
13948
14118
fi
13949
14119
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13950
14120
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5