~ubuntu-branches/ubuntu/natty/upower/natty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-07-12 14:43:12 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20100712144312-mk9w8zlsw2cztdb7
Tags: 0.9.5-1
* New upstream release:
  - Dynamic testing for enough hibernate swap. (LP: #599352)
  - Port UPower to libusb1 to avoid unfixable crashes. (LP: #522827)
* debian/rules: Build a PO template during package build, for translation
  systems. (LP: #538321)
* debian/control: Switch libusb-dev build dependency to libusb-1.0-0-dev,
  and add libimobiledevice-dev to support the new backend.
* debian/control: Bump Standards-Version to 3.9.0; no changes necessary.
* Drop transitional devicekit-power-doc package. It's been in testing long
  enough, and we do not want to carry it into the squeeze release.

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 upower 0.9.4.
 
3
# Generated by GNU Autoconf 2.66 for upower 0.9.5.
4
4
#
5
5
# Report bugs to <richard@hughsie.com>.
6
6
#
7
7
#
8
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10
 
# Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
11
11
#
12
12
#
13
13
# This configure script is free software; the Free Software Foundation
173
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
 
test \$(( 1 + 1 )) = 2 || exit 1"
 
176
test \$(( 1 + 1 )) = 2 || exit 1
 
177
 
 
178
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
179
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    PATH=/empty FPATH=/empty; export PATH FPATH
 
183
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
184
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
177
185
  if (eval "$as_required") 2>/dev/null; then :
178
186
  as_have_required=yes
179
187
else
319
327
      test -d "$as_dir" && break
320
328
    done
321
329
    test -z "$as_dirs" || eval "mkdir $as_dirs"
322
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
330
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
331
 
324
332
 
325
333
} # as_fn_mkdir_p
359
367
fi # as_fn_arith
360
368
 
361
369
 
362
 
# as_fn_error ERROR [LINENO LOG_FD]
363
 
# ---------------------------------
 
370
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
371
# ----------------------------------------
364
372
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
373
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
 
# script with status $?, using 1 if that was 0.
 
374
# script with STATUS, using 1 if that was 0.
367
375
as_fn_error ()
368
376
{
369
 
  as_status=$?; test $as_status -eq 0 && as_status=1
370
 
  if test "$3"; then
371
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
377
  as_status=$1; test $as_status -eq 0 && as_status=1
 
378
  if test "$4"; then
 
379
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
380
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373
381
  fi
374
 
  $as_echo "$as_me: error: $1" >&2
 
382
  $as_echo "$as_me: error: $2" >&2
375
383
  as_fn_exit $as_status
376
384
} # as_fn_error
377
385
 
528
536
# Sed expression to map a string onto a valid variable name.
529
537
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
538
 
531
 
 
532
 
 
533
 
# Check that we are running under the correct shell.
534
539
SHELL=${CONFIG_SHELL-/bin/sh}
535
540
 
536
 
case X$lt_ECHO in
537
 
X*--fallback-echo)
538
 
  # Remove one level of quotation (which was required for Make).
539
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540
 
  ;;
541
 
esac
542
 
 
543
 
ECHO=${lt_ECHO-echo}
544
 
if test "X$1" = X--no-reexec; then
545
 
  # Discard the --no-reexec flag, and continue.
546
 
  shift
547
 
elif test "X$1" = X--fallback-echo; then
548
 
  # Avoid inline document here, it may be left over
549
 
  :
550
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
 
  # Yippee, $ECHO works!
552
 
  :
553
 
else
554
 
  # Restart under the correct shell.
555
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
556
 
fi
557
 
 
558
 
if test "X$1" = X--fallback-echo; then
559
 
  # used as fallback echo
560
 
  shift
561
 
  cat <<_LT_EOF
562
 
$*
563
 
_LT_EOF
564
 
  exit 0
565
 
fi
566
 
 
567
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
568
 
# if CDPATH is set.
569
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
 
 
571
 
if test -z "$lt_ECHO"; then
572
 
  if test "X${echo_test_string+set}" != Xset; then
573
 
    # find a string as large as possible, as long as the shell can cope with it
574
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578
 
      then
579
 
        break
580
 
      fi
581
 
    done
582
 
  fi
583
 
 
584
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
587
 
    :
588
 
  else
589
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
590
 
    # backslashes.  This makes it impossible to quote backslashes using
591
 
    #   echo "$something" | sed 's/\\/\\\\/g'
592
 
    #
593
 
    # So, first we look for a working echo in the user's PATH.
594
 
 
595
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
 
    for dir in $PATH /usr/ucb; do
597
 
      IFS="$lt_save_ifs"
598
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
602
 
        ECHO="$dir/echo"
603
 
        break
604
 
      fi
605
 
    done
606
 
    IFS="$lt_save_ifs"
607
 
 
608
 
    if test "X$ECHO" = Xecho; then
609
 
      # We didn't find a better echo, so look for alternatives.
610
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
613
 
        # This shell has a builtin print -r that does the trick.
614
 
        ECHO='print -r'
615
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
617
 
        # If we have ksh, try running configure again with it.
618
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
 
        export ORIGINAL_CONFIG_SHELL
620
 
        CONFIG_SHELL=/bin/ksh
621
 
        export CONFIG_SHELL
622
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623
 
      else
624
 
        # Try using printf.
625
 
        ECHO='printf %s\n'
626
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
629
 
          # Cool, printf works
630
 
          :
631
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
 
             test "X$echo_testing_string" = 'X\t' &&
633
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
635
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636
 
          export CONFIG_SHELL
637
 
          SHELL="$CONFIG_SHELL"
638
 
          export SHELL
639
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
 
             test "X$echo_testing_string" = 'X\t' &&
642
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
644
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
645
 
        else
646
 
          # maybe with a smaller string...
647
 
          prev=:
648
 
 
649
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651
 
            then
652
 
              break
653
 
            fi
654
 
            prev="$cmd"
655
 
          done
656
 
 
657
 
          if test "$prev" != 'sed 50q "$0"'; then
658
 
            echo_test_string=`eval $prev`
659
 
            export echo_test_string
660
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661
 
          else
662
 
            # Oops.  We lost completely, so just stick with echo.
663
 
            ECHO=echo
664
 
          fi
665
 
        fi
666
 
      fi
667
 
    fi
668
 
  fi
669
 
fi
670
 
 
671
 
# Copy echo and quote the copy suitably for passing to libtool from
672
 
# the Makefile, instead of quoting the original, which is used later.
673
 
lt_ECHO=$ECHO
674
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676
 
fi
677
 
 
678
 
 
679
 
 
680
541
 
681
542
test -n "$DJDIR" || exec 7<&0 </dev/null
682
543
exec 6>&1
683
544
 
684
545
# Name of the host.
685
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
546
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686
547
# so uname gets run too.
687
548
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
549
 
701
562
# Identity of this package.
702
563
PACKAGE_NAME='upower'
703
564
PACKAGE_TARNAME='upower'
704
 
PACKAGE_VERSION='0.9.4'
705
 
PACKAGE_STRING='upower 0.9.4'
 
565
PACKAGE_VERSION='0.9.5'
 
566
PACKAGE_STRING='upower 0.9.5'
706
567
PACKAGE_BUGREPORT='richard@hughsie.com'
707
568
PACKAGE_URL=''
708
569
 
789
650
INTLTOOL_MERGE
790
651
INTLTOOL_UPDATE
791
652
USE_NLS
792
 
EGG_BUILD_TESTS_FALSE
793
 
EGG_BUILD_TESTS_TRUE
 
653
UP_BUILD_TESTS_FALSE
 
654
UP_BUILD_TESTS_TRUE
794
655
BACKEND_TYPE_FREEBSD_FALSE
795
656
BACKEND_TYPE_FREEBSD_TRUE
796
657
BACKEND_TYPE_LINUX_FALSE
797
658
BACKEND_TYPE_LINUX_TRUE
798
659
BACKEND_TYPE_DUMMY_FALSE
799
660
BACKEND_TYPE_DUMMY_TRUE
 
661
HAVE_IDEVICE_FALSE
 
662
HAVE_IDEVICE_TRUE
 
663
IDEVICE_LIBS
 
664
IDEVICE_CFLAGS
 
665
USB_LIBS
 
666
USB_CFLAGS
800
667
GUDEV_LIBS
801
668
GUDEV_CFLAGS
802
669
BACKEND
834
701
LIPO
835
702
NMEDIT
836
703
DSYMUTIL
837
 
lt_ECHO
838
704
RANLIB
839
705
AR
840
706
OBJDUMP
891
757
INTROSPECTION_GENERATE
892
758
INTROSPECTION_COMPILER
893
759
INTROSPECTION_SCANNER
 
760
PKG_CONFIG_LIBDIR
 
761
PKG_CONFIG_PATH
894
762
PKG_CONFIG
895
763
am__untar
896
764
am__tar
982
850
host_alias
983
851
target_alias
984
852
PKG_CONFIG
 
853
PKG_CONFIG_PATH
 
854
PKG_CONFIG_LIBDIR
985
855
CC
986
856
CFLAGS
987
857
LDFLAGS
999
869
GIO_CFLAGS
1000
870
GIO_LIBS
1001
871
GUDEV_CFLAGS
1002
 
GUDEV_LIBS'
 
872
GUDEV_LIBS
 
873
USB_CFLAGS
 
874
USB_LIBS
 
875
IDEVICE_CFLAGS
 
876
IDEVICE_LIBS'
1003
877
 
1004
878
 
1005
879
# Initialize some variables set by options.
1108
982
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1109
983
    # Reject names that are not valid shell variable names.
1110
984
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1111
 
      as_fn_error "invalid feature name: $ac_useropt"
 
985
      as_fn_error $? "invalid feature name: $ac_useropt"
1112
986
    ac_useropt_orig=$ac_useropt
1113
987
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1114
988
    case $ac_user_opts in
1134
1008
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1135
1009
    # Reject names that are not valid shell variable names.
1136
1010
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1011
      as_fn_error $? "invalid feature name: $ac_useropt"
1138
1012
    ac_useropt_orig=$ac_useropt
1139
1013
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140
1014
    case $ac_user_opts in
1338
1212
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1339
1213
    # Reject names that are not valid shell variable names.
1340
1214
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1341
 
      as_fn_error "invalid package name: $ac_useropt"
 
1215
      as_fn_error $? "invalid package name: $ac_useropt"
1342
1216
    ac_useropt_orig=$ac_useropt
1343
1217
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1344
1218
    case $ac_user_opts in
1354
1228
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1355
1229
    # Reject names that are not valid shell variable names.
1356
1230
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1357
 
      as_fn_error "invalid package name: $ac_useropt"
 
1231
      as_fn_error $? "invalid package name: $ac_useropt"
1358
1232
    ac_useropt_orig=$ac_useropt
1359
1233
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1360
1234
    case $ac_user_opts in
1384
1258
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1385
1259
    x_libraries=$ac_optarg ;;
1386
1260
 
1387
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1388
 
Try \`$0 --help' for more information."
 
1261
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1262
Try \`$0 --help' for more information"
1389
1263
    ;;
1390
1264
 
1391
1265
  *=*)
1393
1267
    # Reject names that are not valid shell variable names.
1394
1268
    case $ac_envvar in #(
1395
1269
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1396
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1270
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1397
1271
    esac
1398
1272
    eval $ac_envvar=\$ac_optarg
1399
1273
    export $ac_envvar ;;
1411
1285
 
1412
1286
if test -n "$ac_prev"; then
1413
1287
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1414
 
  as_fn_error "missing argument to $ac_option"
 
1288
  as_fn_error $? "missing argument to $ac_option"
1415
1289
fi
1416
1290
 
1417
1291
if test -n "$ac_unrecognized_opts"; then
1418
1292
  case $enable_option_checking in
1419
1293
    no) ;;
1420
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1294
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1421
1295
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1422
1296
  esac
1423
1297
fi
1440
1314
    [\\/$]* | ?:[\\/]* )  continue;;
1441
1315
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1442
1316
  esac
1443
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1317
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1444
1318
done
1445
1319
 
1446
1320
# There might be people who depend on the old broken behavior: `$host'
1454
1328
if test "x$host_alias" != x; then
1455
1329
  if test "x$build_alias" = x; then
1456
1330
    cross_compiling=maybe
1457
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1458
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1331
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1332
    If a cross compiler is detected then cross compile mode will be used" >&2
1459
1333
  elif test "x$build_alias" != "x$host_alias"; then
1460
1334
    cross_compiling=yes
1461
1335
  fi
1470
1344
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1471
1345
ac_ls_di=`ls -di .` &&
1472
1346
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1473
 
  as_fn_error "working directory cannot be determined"
 
1347
  as_fn_error $? "working directory cannot be determined"
1474
1348
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1475
 
  as_fn_error "pwd does not report name of working directory"
 
1349
  as_fn_error $? "pwd does not report name of working directory"
1476
1350
 
1477
1351
 
1478
1352
# Find the source files, if location was not specified.
1511
1385
fi
1512
1386
if test ! -r "$srcdir/$ac_unique_file"; then
1513
1387
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1514
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1388
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1515
1389
fi
1516
1390
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1517
1391
ac_abs_confdir=`(
1518
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1392
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1519
1393
        pwd)`
1520
1394
# When building in place, set srcdir=.
1521
1395
if test "$ac_abs_confdir" = "$ac_pwd"; then
1541
1415
  # Omit some internal or obsolete options to make the list less imposing.
1542
1416
  # This message is too long to be a string in the A/UX 3.1 sh.
1543
1417
  cat <<_ACEOF
1544
 
\`configure' configures upower 0.9.4 to adapt to many kinds of systems.
 
1418
\`configure' configures upower 0.9.5 to adapt to many kinds of systems.
1545
1419
 
1546
1420
Usage: $0 [OPTION]... [VAR=VALUE]...
1547
1421
 
1555
1429
      --help=short        display options specific to this package
1556
1430
      --help=recursive    display the short help of all the included packages
1557
1431
  -V, --version           display version information and exit
1558
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1432
  -q, --quiet, --silent   do not print \`checking ...' messages
1559
1433
      --cache-file=FILE   cache test results in FILE [disabled]
1560
1434
  -C, --config-cache      alias for \`--cache-file=config.cache'
1561
1435
  -n, --no-create         do not create output files
1611
1485
 
1612
1486
if test -n "$ac_init_help"; then
1613
1487
  case $ac_init_help in
1614
 
     short | recursive ) echo "Configuration of upower 0.9.4:";;
 
1488
     short | recursive ) echo "Configuration of upower 0.9.5:";;
1615
1489
   esac
1616
1490
  cat <<\_ACEOF
1617
1491
 
1652
1526
 
1653
1527
Some influential environment variables:
1654
1528
  PKG_CONFIG  path to pkg-config utility
 
1529
  PKG_CONFIG_PATH
 
1530
              directories to add to pkg-config's search path
 
1531
  PKG_CONFIG_LIBDIR
 
1532
              path overriding pkg-config's built-in search path
1655
1533
  CC          C compiler command
1656
1534
  CFLAGS      C compiler flags
1657
1535
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1676
1554
  GUDEV_CFLAGS
1677
1555
              C compiler flags for GUDEV, overriding pkg-config
1678
1556
  GUDEV_LIBS  linker flags for GUDEV, overriding pkg-config
 
1557
  USB_CFLAGS  C compiler flags for USB, overriding pkg-config
 
1558
  USB_LIBS    linker flags for USB, overriding pkg-config
 
1559
  IDEVICE_CFLAGS
 
1560
              C compiler flags for IDEVICE, overriding pkg-config
 
1561
  IDEVICE_LIBS
 
1562
              linker flags for IDEVICE, overriding pkg-config
1679
1563
 
1680
1564
Use these variables to override the choices made by `configure' or to help
1681
1565
it to find libraries and programs with nonstandard names/locations.
1743
1627
test -n "$ac_init_help" && exit $ac_status
1744
1628
if $ac_init_version; then
1745
1629
  cat <<\_ACEOF
1746
 
upower configure 0.9.4
1747
 
generated by GNU Autoconf 2.65
 
1630
upower configure 0.9.5
 
1631
generated by GNU Autoconf 2.66
1748
1632
 
1749
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1633
Copyright (C) 2010 Free Software Foundation, Inc.
1750
1634
This configure script is free software; the Free Software Foundation
1751
1635
gives unlimited permission to copy, distribute and modify it.
1752
1636
_ACEOF
1929
1813
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930
1814
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1931
1815
$as_echo_n "checking for $2... " >&6; }
1932
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1816
if eval "test \"\${$3+set}\"" = set; then :
1933
1817
  $as_echo_n "(cached) " >&6
1934
1818
else
1935
1819
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959
1843
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960
1844
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1961
1845
$as_echo_n "checking for $2... " >&6; }
1962
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1846
if eval "test \"\${$3+set}\"" = set; then :
1963
1847
  $as_echo_n "(cached) " >&6
1964
1848
else
1965
1849
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2026
1910
ac_fn_c_check_header_mongrel ()
2027
1911
{
2028
1912
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1913
  if eval "test \"\${$3+set}\"" = set; then :
2030
1914
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2031
1915
$as_echo_n "checking for $2... " >&6; }
2032
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1916
if eval "test \"\${$3+set}\"" = set; then :
2033
1917
  $as_echo_n "(cached) " >&6
2034
1918
fi
2035
1919
eval ac_res=\$$3
2088
1972
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2089
1973
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2090
1974
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2091
 
( cat <<\_ASBOX
2092
 
## ---------------------------------- ##
 
1975
( $as_echo "## ---------------------------------- ##
2093
1976
## Report this to richard@hughsie.com ##
2094
 
## ---------------------------------- ##
2095
 
_ASBOX
 
1977
## ---------------------------------- ##"
2096
1978
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2097
1979
    ;;
2098
1980
esac
2099
1981
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2100
1982
$as_echo_n "checking for $2... " >&6; }
2101
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1983
if eval "test \"\${$3+set}\"" = set; then :
2102
1984
  $as_echo_n "(cached) " >&6
2103
1985
else
2104
1986
  eval "$3=\$ac_header_compiler"
2114
1996
This file contains any messages produced by compilers while
2115
1997
running configure, to aid debugging if configure makes a mistake.
2116
1998
 
2117
 
It was created by upower $as_me 0.9.4, which was
2118
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
1999
It was created by upower $as_me 0.9.5, which was
 
2000
generated by GNU Autoconf 2.66.  Invocation command line was
2119
2001
 
2120
2002
  $ $0 $@
2121
2003
 
2225
2107
  {
2226
2108
    echo
2227
2109
 
2228
 
    cat <<\_ASBOX
2229
 
## ---------------- ##
 
2110
    $as_echo "## ---------------- ##
2230
2111
## Cache variables. ##
2231
 
## ---------------- ##
2232
 
_ASBOX
 
2112
## ---------------- ##"
2233
2113
    echo
2234
2114
    # The following way of writing the cache mishandles newlines in values,
2235
2115
(
2263
2143
)
2264
2144
    echo
2265
2145
 
2266
 
    cat <<\_ASBOX
2267
 
## ----------------- ##
 
2146
    $as_echo "## ----------------- ##
2268
2147
## Output variables. ##
2269
 
## ----------------- ##
2270
 
_ASBOX
 
2148
## ----------------- ##"
2271
2149
    echo
2272
2150
    for ac_var in $ac_subst_vars
2273
2151
    do
2280
2158
    echo
2281
2159
 
2282
2160
    if test -n "$ac_subst_files"; then
2283
 
      cat <<\_ASBOX
2284
 
## ------------------- ##
 
2161
      $as_echo "## ------------------- ##
2285
2162
## File substitutions. ##
2286
 
## ------------------- ##
2287
 
_ASBOX
 
2163
## ------------------- ##"
2288
2164
      echo
2289
2165
      for ac_var in $ac_subst_files
2290
2166
      do
2298
2174
    fi
2299
2175
 
2300
2176
    if test -s confdefs.h; then
2301
 
      cat <<\_ASBOX
2302
 
## ----------- ##
 
2177
      $as_echo "## ----------- ##
2303
2178
## confdefs.h. ##
2304
 
## ----------- ##
2305
 
_ASBOX
 
2179
## ----------- ##"
2306
2180
      echo
2307
2181
      cat confdefs.h
2308
2182
      echo
2357
2231
ac_site_file1=NONE
2358
2232
ac_site_file2=NONE
2359
2233
if test -n "$CONFIG_SITE"; then
2360
 
  ac_site_file1=$CONFIG_SITE
 
2234
  # We do not want a PATH search for config.site.
 
2235
  case $CONFIG_SITE in #((
 
2236
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2237
    */*) ac_site_file1=$CONFIG_SITE;;
 
2238
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2239
  esac
2361
2240
elif test "x$prefix" != xNONE; then
2362
2241
  ac_site_file1=$prefix/share/config.site
2363
2242
  ac_site_file2=$prefix/etc/config.site
2372
2251
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2373
2252
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2374
2253
    sed 's/^/| /' "$ac_site_file" >&5
2375
 
    . "$ac_site_file"
 
2254
    . "$ac_site_file" \
 
2255
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2256
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2257
as_fn_error $? "failed to load site script $ac_site_file
 
2258
See \`config.log' for more details" "$LINENO" 5; }
2376
2259
  fi
2377
2260
done
2378
2261
 
2448
2331
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2449
2332
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2450
2333
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2451
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2334
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2452
2335
fi
2453
2336
## -------------------- ##
2454
2337
## Main body of script. ##
2466
2349
 
2467
2350
ac_aux_dir=
2468
2351
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2469
 
  for ac_t in install-sh install.sh shtool; do
2470
 
    if test -f "$ac_dir/$ac_t"; then
2471
 
      ac_aux_dir=$ac_dir
2472
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2473
 
      break 2
2474
 
    fi
2475
 
  done
 
2352
  if test -f "$ac_dir/install-sh"; then
 
2353
    ac_aux_dir=$ac_dir
 
2354
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2355
    break
 
2356
  elif test -f "$ac_dir/install.sh"; then
 
2357
    ac_aux_dir=$ac_dir
 
2358
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2359
    break
 
2360
  elif test -f "$ac_dir/shtool"; then
 
2361
    ac_aux_dir=$ac_dir
 
2362
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2363
    break
 
2364
  fi
2476
2365
done
2477
2366
if test -z "$ac_aux_dir"; then
2478
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2367
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2479
2368
fi
2480
2369
 
2481
2370
# These three variables are undocumented and unsupported,
2591
2480
'
2592
2481
case `pwd` in
2593
2482
  *[\\\"\#\$\&\'\`$am_lf]*)
2594
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2483
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2595
2484
esac
2596
2485
case $srcdir in
2597
2486
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2598
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2487
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2599
2488
esac
2600
2489
 
2601
2490
# Do `set' in a subshell so we don't clobber the current shell's
2617
2506
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2618
2507
      # broken ls alias from the environment.  This has actually
2619
2508
      # happened.  Such a system could not be considered "sane".
2620
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2509
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2621
2510
alias in your environment" "$LINENO" 5
2622
2511
   fi
2623
2512
 
2627
2516
   # Ok.
2628
2517
   :
2629
2518
else
2630
 
   as_fn_error "newly created file is older than distributed files!
 
2519
   as_fn_error $? "newly created file is older than distributed files!
2631
2520
Check your system clock" "$LINENO" 5
2632
2521
fi
2633
2522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2865
2754
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2866
2755
set x ${MAKE-make}
2867
2756
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2868
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2757
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2869
2758
  $as_echo_n "(cached) " >&6
2870
2759
else
2871
2760
  cat >conftest.make <<\_ACEOF
2873
2762
all:
2874
2763
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2875
2764
_ACEOF
2876
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2765
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2877
2766
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2878
2767
  *@@@%%%=?*=@@@%%%*)
2879
2768
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2907
2796
  am__isrc=' -I$(srcdir)'
2908
2797
  # test to see if srcdir already configured
2909
2798
  if test -f $srcdir/config.status; then
2910
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2799
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2911
2800
  fi
2912
2801
fi
2913
2802
 
2923
2812
 
2924
2813
# Define the identity of the package.
2925
2814
 PACKAGE='upower'
2926
 
 VERSION='0.9.4'
 
2815
 VERSION='0.9.5'
2927
2816
 
2928
2817
 
2929
2818
cat >>confdefs.h <<_ACEOF
3050
2939
 
3051
2940
 
3052
2941
 
 
2942
 
 
2943
 
 
2944
 
 
2945
 
3053
2946
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3054
2947
        if test -n "$ac_tool_prefix"; then
3055
2948
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3162
3055
$as_echo "no" >&6; }
3163
3056
                PKG_CONFIG=""
3164
3057
        fi
3165
 
 
3166
3058
fi
3167
3059
 
3168
3060
 
3169
3061
 
 
3062
 
3170
3063
                # Check whether --enable-introspection was given.
3171
3064
if test "${enable_introspection+set}" = set; then :
3172
3065
  enableval=$enable_introspection;
3183
3076
            found_introspection="no (disabled, use --enable-introspection to enable)"
3184
3077
     ;; #(
3185
3078
      yes) :
3186
 
            if test -n "$PKG_CONFIG" && \
 
3079
 
 
3080
if test -n "$PKG_CONFIG" && \
3187
3081
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
3188
3082
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
3189
3083
  ac_status=$?
3191
3085
  test $ac_status = 0; }; then
3192
3086
  :
3193
3087
else
3194
 
  as_fn_error "gobject-introspection-1.0 is not installed" "$LINENO" 5
 
3088
  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
 
3089
 
3195
3090
fi
3196
 
        if test -n "$PKG_CONFIG" && \
 
3091
 
 
3092
if test -n "$PKG_CONFIG" && \
3197
3093
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
3198
3094
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
3199
3095
  ac_status=$?
3201
3097
  test $ac_status = 0; }; then
3202
3098
  found_introspection=yes
3203
3099
else
3204
 
  as_fn_error "You need to have gobject-introspection >= 0.6.7 installed to build upower" "$LINENO" 5
 
3100
  as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed to build upower" "$LINENO" 5
 
3101
 
3205
3102
fi
3206
3103
     ;; #(
3207
3104
      auto) :
3208
 
            if test -n "$PKG_CONFIG" && \
 
3105
 
 
3106
if test -n "$PKG_CONFIG" && \
3209
3107
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
3210
3108
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
3211
3109
  ac_status=$?
3214
3112
  found_introspection=yes
3215
3113
else
3216
3114
  found_introspection=no
 
3115
 
3217
3116
fi
3218
3117
     ;; #(
3219
3118
  *) :
3220
 
                as_fn_error "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
 
3119
                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
3221
3120
     ;;
3222
3121
esac
3223
3122
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
3275
3174
# use this in up-version.h
3276
3175
UP_MAJOR_VERSION=0
3277
3176
UP_MINOR_VERSION=9
3278
 
UP_MICRO_VERSION=4
 
3177
UP_MICRO_VERSION=5
3279
3178
 
3280
3179
 
3281
3180
 
3658
3557
 
3659
3558
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3660
3559
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3661
 
as_fn_error "no acceptable C compiler found in \$PATH
3662
 
See \`config.log' for more details." "$LINENO" 5; }
 
3560
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3561
See \`config.log' for more details" "$LINENO" 5; }
3663
3562
 
3664
3563
# Provide some information about the compiler.
3665
3564
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3773
3672
 
3774
3673
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3775
3674
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3776
 
{ as_fn_set_status 77
3777
 
as_fn_error "C compiler cannot create executables
3778
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3675
as_fn_error 77 "C compiler cannot create executables
 
3676
See \`config.log' for more details" "$LINENO" 5; }
3779
3677
else
3780
3678
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3781
3679
$as_echo "yes" >&6; }
3817
3715
else
3818
3716
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3819
3717
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3820
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3821
 
See \`config.log' for more details." "$LINENO" 5; }
 
3718
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3719
See \`config.log' for more details" "$LINENO" 5; }
3822
3720
fi
3823
3721
rm -f conftest conftest$ac_cv_exeext
3824
3722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3875
3773
    else
3876
3774
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3877
3775
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3878
 
as_fn_error "cannot run C compiled programs.
 
3776
as_fn_error $? "cannot run C compiled programs.
3879
3777
If you meant to cross compile, use \`--host'.
3880
 
See \`config.log' for more details." "$LINENO" 5; }
 
3778
See \`config.log' for more details" "$LINENO" 5; }
3881
3779
    fi
3882
3780
  fi
3883
3781
fi
3928
3826
 
3929
3827
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3930
3828
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3931
 
as_fn_error "cannot compute suffix of object files: cannot compile
3932
 
See \`config.log' for more details." "$LINENO" 5; }
 
3829
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3830
See \`config.log' for more details" "$LINENO" 5; }
3933
3831
fi
3934
3832
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3935
3833
fi
4633
4531
 
4634
4532
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4635
4533
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4636
 
as_fn_error "no acceptable C compiler found in \$PATH
4637
 
See \`config.log' for more details." "$LINENO" 5; }
 
4534
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4535
See \`config.log' for more details" "$LINENO" 5; }
4638
4536
 
4639
4537
# Provide some information about the compiler.
4640
4538
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5128
5026
else
5129
5027
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5130
5028
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5131
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
5132
 
See \`config.log' for more details." "$LINENO" 5; }
 
5029
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
5030
See \`config.log' for more details" "$LINENO" 5; }
5133
5031
fi
5134
5032
 
5135
5033
ac_ext=c
5190
5088
  done
5191
5089
IFS=$as_save_IFS
5192
5090
  if test -z "$ac_cv_path_GREP"; then
5193
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5091
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5194
5092
  fi
5195
5093
else
5196
5094
  ac_cv_path_GREP=$GREP
5256
5154
  done
5257
5155
IFS=$as_save_IFS
5258
5156
  if test -z "$ac_cv_path_EGREP"; then
5259
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5157
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5260
5158
  fi
5261
5159
else
5262
5160
  ac_cv_path_EGREP=$EGREP
5389
5287
 
5390
5288
 
5391
5289
 
5392
 
macro_version='2.2.6b'
5393
 
macro_revision='1.3017'
 
5290
macro_version='2.2.10'
 
5291
macro_revision='1.3175'
5394
5292
 
5395
5293
 
5396
5294
 
5408
5306
 
5409
5307
# Make sure we can run config.sub.
5410
5308
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5411
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
5309
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5412
5310
 
5413
5311
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5414
5312
$as_echo_n "checking build system type... " >&6; }
5419
5317
test "x$ac_build_alias" = x &&
5420
5318
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5421
5319
test "x$ac_build_alias" = x &&
5422
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
5320
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5423
5321
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5424
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
5322
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5425
5323
 
5426
5324
fi
5427
5325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5428
5326
$as_echo "$ac_cv_build" >&6; }
5429
5327
case $ac_cv_build in
5430
5328
*-*-*) ;;
5431
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
5329
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5432
5330
esac
5433
5331
build=$ac_cv_build
5434
5332
ac_save_IFS=$IFS; IFS='-'
5453
5351
  ac_cv_host=$ac_cv_build
5454
5352
else
5455
5353
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5456
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
5354
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5457
5355
fi
5458
5356
 
5459
5357
fi
5461
5359
$as_echo "$ac_cv_host" >&6; }
5462
5360
case $ac_cv_host in
5463
5361
*-*-*) ;;
5464
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
5362
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5465
5363
esac
5466
5364
host=$ac_cv_host
5467
5365
ac_save_IFS=$IFS; IFS='-'
5477
5375
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5478
5376
 
5479
5377
 
 
5378
# Backslashify metacharacters that are still active within
 
5379
# double-quoted strings.
 
5380
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
5381
 
 
5382
# Same as above, but do not quote variable references.
 
5383
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
5384
 
 
5385
# Sed substitution to delay expansion of an escaped shell variable in a
 
5386
# double_quote_subst'ed string.
 
5387
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
5388
 
 
5389
# Sed substitution to delay expansion of an escaped single quote.
 
5390
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
5391
 
 
5392
# Sed substitution to avoid accidental globbing in evaled expressions
 
5393
no_glob_subst='s/\*/\\\*/g'
 
5394
 
 
5395
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5396
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
5397
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
5398
 
 
5399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
5400
$as_echo_n "checking how to print strings... " >&6; }
 
5401
# Test print first, because it will be a builtin if present.
 
5402
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
5403
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5404
  ECHO='print -r --'
 
5405
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5406
  ECHO='printf %s\n'
 
5407
else
 
5408
  # Use this function as a fallback that always works.
 
5409
  func_fallback_echo ()
 
5410
  {
 
5411
    eval 'cat <<_LTECHO_EOF
 
5412
$1
 
5413
_LTECHO_EOF'
 
5414
  }
 
5415
  ECHO='func_fallback_echo'
 
5416
fi
 
5417
 
 
5418
# func_echo_all arg...
 
5419
# Invoke $ECHO with all args, space-separated.
 
5420
func_echo_all ()
 
5421
{
 
5422
    $ECHO ""
 
5423
}
 
5424
 
 
5425
case "$ECHO" in
 
5426
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
5427
$as_echo "printf" >&6; } ;;
 
5428
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
5429
$as_echo "print -r" >&6; } ;;
 
5430
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
5431
$as_echo "cat" >&6; } ;;
 
5432
esac
 
5433
 
 
5434
 
 
5435
 
 
5436
 
 
5437
 
 
5438
 
 
5439
 
 
5440
 
 
5441
 
 
5442
 
 
5443
 
 
5444
 
 
5445
 
 
5446
 
5480
5447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5481
5448
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5482
5449
if test "${ac_cv_path_SED+set}" = set; then :
5534
5501
  done
5535
5502
IFS=$as_save_IFS
5536
5503
  if test -z "$ac_cv_path_SED"; then
5537
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
5504
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5538
5505
  fi
5539
5506
else
5540
5507
  ac_cv_path_SED=$SED
5613
5580
  done
5614
5581
IFS=$as_save_IFS
5615
5582
  if test -z "$ac_cv_path_FGREP"; then
5616
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5583
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5617
5584
  fi
5618
5585
else
5619
5586
  ac_cv_path_FGREP=$FGREP
5729
5696
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5730
5697
$as_echo "no" >&6; }
5731
5698
fi
5732
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5699
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5733
5700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5734
5701
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5735
5702
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5812
5779
  NM="$lt_cv_path_NM"
5813
5780
else
5814
5781
  # Didn't find any BSD compatible name lister, look for dumpbin.
5815
 
  if test -n "$ac_tool_prefix"; then
5816
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5782
  if test -n "$DUMPBIN"; then :
 
5783
    # Let the user override the test.
 
5784
  else
 
5785
    if test -n "$ac_tool_prefix"; then
 
5786
  for ac_prog in dumpbin "link -dump"
5817
5787
  do
5818
5788
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5819
5789
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5857
5827
fi
5858
5828
if test -z "$DUMPBIN"; then
5859
5829
  ac_ct_DUMPBIN=$DUMPBIN
5860
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5830
  for ac_prog in dumpbin "link -dump"
5861
5831
do
5862
5832
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5863
5833
set dummy $ac_prog; ac_word=$2
5912
5882
  fi
5913
5883
fi
5914
5884
 
 
5885
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5886
    *COFF*)
 
5887
      DUMPBIN="$DUMPBIN -symbols"
 
5888
      ;;
 
5889
    *)
 
5890
      DUMPBIN=:
 
5891
      ;;
 
5892
    esac
 
5893
  fi
5915
5894
 
5916
5895
  if test "$DUMPBIN" != ":"; then
5917
5896
    NM="$DUMPBIN"
5931
5910
else
5932
5911
  lt_cv_nm_interface="BSD nm"
5933
5912
  echo "int some_variable = 0;" > conftest.$ac_ext
5934
 
  (eval echo "\"\$as_me:5934: $ac_compile\"" >&5)
 
5913
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5935
5914
  (eval "$ac_compile" 2>conftest.err)
5936
5915
  cat conftest.err >&5
5937
 
  (eval echo "\"\$as_me:5937: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5916
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5938
5917
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5939
5918
  cat conftest.err >&5
5940
 
  (eval echo "\"\$as_me:5940: output\"" >&5)
 
5919
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5941
5920
  cat conftest.out >&5
5942
5921
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5943
5922
    lt_cv_nm_interface="MS dumpbin"
5994
5973
    lt_cv_sys_max_cmd_len=8192;
5995
5974
    ;;
5996
5975
 
 
5976
  mint*)
 
5977
    # On MiNT this can take a long time and run out of memory.
 
5978
    lt_cv_sys_max_cmd_len=8192;
 
5979
    ;;
 
5980
 
5997
5981
  amigaos*)
5998
5982
    # On AmigaOS with pdksh, this test takes hours, literally.
5999
5983
    # So we just punt and use a minimum line length of 8192.
6058
6042
      # If test is not a shell built-in, we'll probably end up computing a
6059
6043
      # maximum length that is only half of the actual maximum length, but
6060
6044
      # we can't tell.
6061
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6062
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6045
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
6046
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6063
6047
              test $i != 17 # 1/2 MB should be enough
6064
6048
      do
6065
6049
        i=`expr $i + 1`
6330
6314
  # Base MSYS/MinGW do not provide the 'file' command needed by
6331
6315
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6332
6316
  # unless we find 'file', for example because we are cross-compiling.
6333
 
  if ( file / ) >/dev/null 2>&1; then
 
6317
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
6318
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6334
6319
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6335
6320
    lt_cv_file_magic_cmd='func_win32_libid'
6336
6321
  else
6337
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6322
    # Keep this pattern in sync with the one in func_win32_libid.
 
6323
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6338
6324
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6339
6325
  fi
6340
6326
  ;;
6341
6327
 
6342
 
cegcc)
 
6328
cegcc*)
6343
6329
  # use the weaker test based on 'objdump'. See mingw*.
6344
6330
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6345
6331
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6369
6355
  lt_cv_deplibs_check_method=pass_all
6370
6356
  ;;
6371
6357
 
 
6358
haiku*)
 
6359
  lt_cv_deplibs_check_method=pass_all
 
6360
  ;;
 
6361
 
6372
6362
hpux10.20* | hpux11*)
6373
6363
  lt_cv_file_magic_cmd=/usr/bin/file
6374
6364
  case $host_cpu in
6377
6367
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6378
6368
    ;;
6379
6369
  hppa*64*)
6380
 
    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]'
 
6370
    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]'
6381
6371
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6382
6372
    ;;
6383
6373
  *)
6384
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
6374
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6385
6375
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6386
6376
    ;;
6387
6377
  esac
6403
6393
  ;;
6404
6394
 
6405
6395
# This must be Linux ELF.
6406
 
linux* | k*bsd*-gnu)
 
6396
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6407
6397
  lt_cv_deplibs_check_method=pass_all
6408
6398
  ;;
6409
6399
 
6819
6809
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6820
6810
fi
6821
6811
 
 
6812
case $host_os in
 
6813
  darwin*)
 
6814
    lock_old_archive_extraction=yes ;;
 
6815
  *)
 
6816
    lock_old_archive_extraction=no ;;
 
6817
esac
 
6818
 
 
6819
 
 
6820
 
 
6821
 
 
6822
 
 
6823
 
6822
6824
 
6823
6825
 
6824
6826
 
6988
6990
  test $ac_status = 0; }; then
6989
6991
    # Now try to grab the symbols.
6990
6992
    nlist=conftest.nm
6991
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6992
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6993
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6994
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6993
6995
  ac_status=$?
6994
6996
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6995
6997
  test $ac_status = 0; } && test -s "$nlist"; then
7142
7144
  ;;
7143
7145
*-*-irix6*)
7144
7146
  # Find out which ABI we are using.
7145
 
  echo '#line 7145 "configure"' > conftest.$ac_ext
 
7147
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7146
7148
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7147
7149
  (eval $ac_compile) 2>&5
7148
7150
  ac_status=$?
7854
7856
fi
7855
7857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7856
7858
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7859
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7860
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7861
if test "${lt_cv_ld_force_load+set}" = set; then :
 
7862
  $as_echo_n "(cached) " >&6
 
7863
else
 
7864
  lt_cv_ld_force_load=no
 
7865
      cat > conftest.c << _LT_EOF
 
7866
int forced_loaded() { return 2;}
 
7867
_LT_EOF
 
7868
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7869
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7870
      echo "$AR cru libconftest.a conftest.o" >&5
 
7871
      $AR cru libconftest.a conftest.o 2>&5
 
7872
      echo "$RANLIB libconftest.a" >&5
 
7873
      $RANLIB libconftest.a 2>&5
 
7874
      cat > conftest.c << _LT_EOF
 
7875
int main() { return 0;}
 
7876
_LT_EOF
 
7877
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7878
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7879
      _lt_result=$?
 
7880
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
7881
        lt_cv_ld_force_load=yes
 
7882
      else
 
7883
        cat conftest.err >&5
 
7884
      fi
 
7885
        rm -f conftest.err libconftest.a conftest conftest.c
 
7886
        rm -rf conftest.dSYM
 
7887
 
 
7888
fi
 
7889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7890
$as_echo "$lt_cv_ld_force_load" >&6; }
7857
7891
    case $host_os in
7858
7892
    rhapsody* | darwin1.[012])
7859
7893
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7881
7915
    else
7882
7916
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7883
7917
    fi
7884
 
    if test "$DSYMUTIL" != ":"; then
 
7918
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7885
7919
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7886
7920
    else
7887
7921
      _lt_dsymutil=
7896
7930
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7897
7931
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7898
7932
"
7899
 
eval as_val=\$$as_ac_Header
7900
 
   if test "x$as_val" = x""yes; then :
 
7933
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7901
7934
  cat >>confdefs.h <<_ACEOF
7902
7935
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7903
7936
_ACEOF
7922
7955
 
7923
7956
 
7924
7957
 
 
7958
 
 
7959
 
7925
7960
# Set options
7926
7961
 
7927
7962
 
8074
8109
 
8075
8110
 
8076
8111
 
 
8112
 
8077
8113
test -z "$LN_S" && LN_S="ln -s"
8078
8114
 
8079
8115
 
8123
8159
 
8124
8160
 
8125
8161
 
8126
 
 
8127
 
 
8128
 
 
8129
 
 
8130
 
 
8131
 
 
8132
 
 
8133
 
 
8134
 
 
8135
 
 
8136
 
 
8137
 
 
8138
 
 
8139
8162
case $host_os in
8140
8163
aix3*)
8141
8164
  # AIX sometimes has problems with the GCC collect2 program.  For some
8148
8171
  ;;
8149
8172
esac
8150
8173
 
8151
 
# Sed substitution that helps us do robust quoting.  It backslashifies
8152
 
# metacharacters that are still active within double-quoted strings.
8153
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8154
 
 
8155
 
# Same as above, but do not quote variable references.
8156
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8157
 
 
8158
 
# Sed substitution to delay expansion of an escaped shell variable in a
8159
 
# double_quote_subst'ed string.
8160
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8161
 
 
8162
 
# Sed substitution to delay expansion of an escaped single quote.
8163
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8164
 
 
8165
 
# Sed substitution to avoid accidental globbing in evaled expressions
8166
 
no_glob_subst='s/\*/\\\*/g'
8167
 
 
8168
8174
# Global variables:
8169
8175
ofile=libtool
8170
8176
can_build_shared=yes
8193
8199
    *) break;;
8194
8200
  esac
8195
8201
done
8196
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8202
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8197
8203
 
8198
8204
 
8199
8205
# Only perform the check for file, if the check method requires it
8402
8408
lt_prog_compiler_no_builtin_flag=
8403
8409
 
8404
8410
if test "$GCC" = yes; then
8405
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8411
  case $cc_basename in
 
8412
  nvcc*)
 
8413
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8414
  *)
 
8415
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8416
  esac
8406
8417
 
8407
8418
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8408
8419
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8422
8433
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8423
8434
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8424
8435
   -e 's:$: $lt_compiler_flag:'`
8425
 
   (eval echo "\"\$as_me:8425: $lt_compile\"" >&5)
 
8436
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8426
8437
   (eval "$lt_compile" 2>conftest.err)
8427
8438
   ac_status=$?
8428
8439
   cat conftest.err >&5
8429
 
   echo "$as_me:8429: \$? = $ac_status" >&5
 
8440
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430
8441
   if (exit $ac_status) && test -s "$ac_outfile"; then
8431
8442
     # The compiler can only warn and ignore the option if not recognized
8432
8443
     # So say no if there are warnings other than the usual output.
8433
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8444
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8434
8445
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8435
8446
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8436
8447
       lt_cv_prog_compiler_rtti_exceptions=yes
8508
8519
      lt_prog_compiler_pic='-fno-common'
8509
8520
      ;;
8510
8521
 
 
8522
    haiku*)
 
8523
      # PIC is the default for Haiku.
 
8524
      # The "-static" flag exists, but is broken.
 
8525
      lt_prog_compiler_static=
 
8526
      ;;
 
8527
 
8511
8528
    hpux*)
8512
8529
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8513
8530
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8550
8567
      lt_prog_compiler_pic='-fPIC'
8551
8568
      ;;
8552
8569
    esac
 
8570
 
 
8571
    case $cc_basename in
 
8572
    nvcc*) # Cuda Compiler Driver 2.2
 
8573
      lt_prog_compiler_wl='-Xlinker '
 
8574
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
8575
      ;;
 
8576
    esac
8553
8577
  else
8554
8578
    # PORTME Check for flag to pass linker flags through the system compiler.
8555
8579
    case $host_os in
8591
8615
      lt_prog_compiler_static='-non_shared'
8592
8616
      ;;
8593
8617
 
8594
 
    linux* | k*bsd*-gnu)
 
8618
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8595
8619
      case $cc_basename in
8596
8620
      # old Intel for x86_64 which still supported -KPIC.
8597
8621
      ecc*)
8612
8636
        lt_prog_compiler_pic='--shared'
8613
8637
        lt_prog_compiler_static='--static'
8614
8638
        ;;
8615
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8639
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8616
8640
        # Portland Group compilers (*not* the Pentium gcc compiler,
8617
8641
        # which looks to be a dead project)
8618
8642
        lt_prog_compiler_wl='-Wl,'
8624
8648
        # All Alpha code is PIC.
8625
8649
        lt_prog_compiler_static='-non_shared'
8626
8650
        ;;
8627
 
      xl*)
8628
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8651
      xl* | bgxl* | bgf* | mpixl*)
 
8652
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8629
8653
        lt_prog_compiler_wl='-Wl,'
8630
8654
        lt_prog_compiler_pic='-qpic'
8631
8655
        lt_prog_compiler_static='-qstaticlink'
8632
8656
        ;;
8633
8657
      *)
8634
8658
        case `$CC -V 2>&1 | sed 5q` in
 
8659
        *Sun\ F* | *Sun*Fortran*)
 
8660
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8661
          lt_prog_compiler_pic='-KPIC'
 
8662
          lt_prog_compiler_static='-Bstatic'
 
8663
          lt_prog_compiler_wl=''
 
8664
          ;;
8635
8665
        *Sun\ C*)
8636
8666
          # Sun C 5.9
8637
8667
          lt_prog_compiler_pic='-KPIC'
8638
8668
          lt_prog_compiler_static='-Bstatic'
8639
8669
          lt_prog_compiler_wl='-Wl,'
8640
8670
          ;;
8641
 
        *Sun\ F*)
8642
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8643
 
          lt_prog_compiler_pic='-KPIC'
8644
 
          lt_prog_compiler_static='-Bstatic'
8645
 
          lt_prog_compiler_wl=''
8646
 
          ;;
8647
8671
        esac
8648
8672
        ;;
8649
8673
      esac
8674
8698
      lt_prog_compiler_pic='-KPIC'
8675
8699
      lt_prog_compiler_static='-Bstatic'
8676
8700
      case $cc_basename in
8677
 
      f77* | f90* | f95*)
 
8701
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8678
8702
        lt_prog_compiler_wl='-Qoption ld ';;
8679
8703
      *)
8680
8704
        lt_prog_compiler_wl='-Wl,';;
8761
8785
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8762
8786
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8763
8787
   -e 's:$: $lt_compiler_flag:'`
8764
 
   (eval echo "\"\$as_me:8764: $lt_compile\"" >&5)
 
8788
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8765
8789
   (eval "$lt_compile" 2>conftest.err)
8766
8790
   ac_status=$?
8767
8791
   cat conftest.err >&5
8768
 
   echo "$as_me:8768: \$? = $ac_status" >&5
 
8792
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769
8793
   if (exit $ac_status) && test -s "$ac_outfile"; then
8770
8794
     # The compiler can only warn and ignore the option if not recognized
8771
8795
     # So say no if there are warnings other than the usual output.
8772
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8796
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8773
8797
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8774
8798
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8775
8799
       lt_cv_prog_compiler_pic_works=yes
8817
8841
     if test -s conftest.err; then
8818
8842
       # Append any errors to the config.log.
8819
8843
       cat conftest.err 1>&5
8820
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8844
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8821
8845
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8822
8846
       if diff conftest.exp conftest.er2 >/dev/null; then
8823
8847
         lt_cv_prog_compiler_static_works=yes
8866
8890
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8867
8891
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8868
8892
   -e 's:$: $lt_compiler_flag:'`
8869
 
   (eval echo "\"\$as_me:8869: $lt_compile\"" >&5)
 
8893
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8870
8894
   (eval "$lt_compile" 2>out/conftest.err)
8871
8895
   ac_status=$?
8872
8896
   cat out/conftest.err >&5
8873
 
   echo "$as_me:8873: \$? = $ac_status" >&5
 
8897
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874
8898
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8875
8899
   then
8876
8900
     # The compiler can only warn and ignore the option if not recognized
8877
8901
     # So say no if there are warnings
8878
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8902
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8879
8903
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8880
8904
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8881
8905
       lt_cv_prog_compiler_c_o=yes
8921
8945
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8922
8946
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8923
8947
   -e 's:$: $lt_compiler_flag:'`
8924
 
   (eval echo "\"\$as_me:8924: $lt_compile\"" >&5)
 
8948
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8925
8949
   (eval "$lt_compile" 2>out/conftest.err)
8926
8950
   ac_status=$?
8927
8951
   cat out/conftest.err >&5
8928
 
   echo "$as_me:8928: \$? = $ac_status" >&5
 
8952
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929
8953
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8930
8954
   then
8931
8955
     # The compiler can only warn and ignore the option if not recognized
8932
8956
     # So say no if there are warnings
8933
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8957
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8934
8958
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8935
8959
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8936
8960
       lt_cv_prog_compiler_c_o=yes
9043
9067
  esac
9044
9068
 
9045
9069
  ld_shlibs=yes
 
9070
 
 
9071
  # On some targets, GNU ld is compatible enough with the native linker
 
9072
  # that we're better off using the native interface for both.
 
9073
  lt_use_gnu_ld_interface=no
9046
9074
  if test "$with_gnu_ld" = yes; then
 
9075
    case $host_os in
 
9076
      aix*)
 
9077
        # The AIX port of GNU ld has always aspired to compatibility
 
9078
        # with the native linker.  However, as the warning in the GNU ld
 
9079
        # block says, versions before 2.19.5* couldn't really create working
 
9080
        # shared libraries, regardless of the interface used.
 
9081
        case `$LD -v 2>&1` in
 
9082
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
9083
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
9084
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
9085
          *)
 
9086
            lt_use_gnu_ld_interface=yes
 
9087
            ;;
 
9088
        esac
 
9089
        ;;
 
9090
      *)
 
9091
        lt_use_gnu_ld_interface=yes
 
9092
        ;;
 
9093
    esac
 
9094
  fi
 
9095
 
 
9096
  if test "$lt_use_gnu_ld_interface" = yes; then
9047
9097
    # If archive_cmds runs LD, not CC, wlarc should be empty
9048
9098
    wlarc='${wl}'
9049
9099
 
9061
9111
    fi
9062
9112
    supports_anon_versioning=no
9063
9113
    case `$LD -v 2>&1` in
 
9114
      *GNU\ gold*) supports_anon_versioning=yes ;;
9064
9115
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9065
9116
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9066
9117
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9076
9127
        ld_shlibs=no
9077
9128
        cat <<_LT_EOF 1>&2
9078
9129
 
9079
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
9130
*** Warning: the GNU linker, at least up to release 2.19, is reported
9080
9131
*** to be unable to reliably create shared libraries on AIX.
9081
9132
*** Therefore, libtool is disabling shared libraries support.  If you
9082
 
*** really care for shared libraries, you may want to modify your PATH
9083
 
*** so that a non-GNU linker is found, and then restart.
 
9133
*** really care for shared libraries, you may want to install binutils
 
9134
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9135
*** You will then need to restart the configuration process.
9084
9136
 
9085
9137
_LT_EOF
9086
9138
      fi
9116
9168
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9117
9169
      # as there is no search path for DLLs.
9118
9170
      hardcode_libdir_flag_spec='-L$libdir'
 
9171
      export_dynamic_flag_spec='${wl}--export-all-symbols'
9119
9172
      allow_undefined_flag=unsupported
9120
9173
      always_export_symbols=no
9121
9174
      enable_shared_with_static_runtimes=yes
9137
9190
      fi
9138
9191
      ;;
9139
9192
 
 
9193
    haiku*)
 
9194
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9195
      link_all_deplibs=yes
 
9196
      ;;
 
9197
 
9140
9198
    interix[3-9]*)
9141
9199
      hardcode_direct=no
9142
9200
      hardcode_shlibpath_var=no
9152
9210
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9153
9211
      ;;
9154
9212
 
9155
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9213
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9156
9214
      tmp_diet=no
9157
9215
      if test "$host_os" = linux-dietlibc; then
9158
9216
        case $cc_basename in
9166
9224
        tmp_sharedflag='-shared'
9167
9225
        case $cc_basename,$host_cpu in
9168
9226
        pgcc*)                          # Portland Group C compiler
9169
 
          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'
 
9227
          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'
9170
9228
          tmp_addflag=' $pic_flag'
9171
9229
          ;;
9172
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9173
 
          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'
 
9230
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9231
                                        # Portland Group f77 and f90 compilers
 
9232
          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'
9174
9233
          tmp_addflag=' $pic_flag -Mnomain' ;;
9175
9234
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9176
9235
          tmp_addflag=' -i_dynamic' ;;
9181
9240
        lf95*)                          # Lahey Fortran 8.1
9182
9241
          whole_archive_flag_spec=
9183
9242
          tmp_sharedflag='--shared' ;;
9184
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9243
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9185
9244
          tmp_sharedflag='-qmkshrobj'
9186
9245
          tmp_addflag= ;;
 
9246
        nvcc*)  # Cuda Compiler Driver 2.2
 
9247
          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'
 
9248
          compiler_needs_object=yes
 
9249
          ;;
9187
9250
        esac
9188
9251
        case `$CC -V 2>&1 | sed 5q` in
9189
9252
        *Sun\ C*)                       # Sun C 5.9
9190
 
          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'
 
9253
          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'
9191
9254
          compiler_needs_object=yes
9192
9255
          tmp_sharedflag='-G' ;;
9193
9256
        *Sun\ F*)                       # Sun Fortran 8.3
9203
9266
        fi
9204
9267
 
9205
9268
        case $cc_basename in
9206
 
        xlf*)
 
9269
        xlf* | bgf* | bgxlf* | mpixlf*)
9207
9270
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9208
9271
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9209
9272
          hardcode_libdir_flag_spec=
9210
9273
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9211
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9274
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9212
9275
          if test "x$supports_anon_versioning" = xyes; then
9213
9276
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9214
9277
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9215
9278
              echo "local: *; };" >> $output_objdir/$libname.ver~
9216
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9279
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9217
9280
          fi
9218
9281
          ;;
9219
9282
        esac
9334
9397
      else
9335
9398
        # If we're using GNU nm, then we don't want the "-C" option.
9336
9399
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9400
        # Also, AIX nm treats weak defined symbols like other global
 
9401
        # defined symbols, whereas GNU nm marks them as "W".
9337
9402
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9338
 
          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'
 
9403
          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'
9339
9404
        else
9340
9405
          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'
9341
9406
        fi
9453
9518
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9454
9519
 
9455
9520
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9456
 
        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"
 
9521
        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"
9457
9522
      else
9458
9523
        if test "$host_cpu" = ia64; then
9459
9524
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9497
9562
          # -berok will link without error, but may produce a broken library.
9498
9563
          no_undefined_flag=' ${wl}-bernotok'
9499
9564
          allow_undefined_flag=' ${wl}-berok'
9500
 
          # Exported symbols can be pulled into shared objects from archives
9501
 
          whole_archive_flag_spec='$convenience'
 
9565
          if test "$with_gnu_ld" = yes; then
 
9566
            # We only use this code for GNU lds that support --whole-archive.
 
9567
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9568
          else
 
9569
            # Exported symbols can be pulled into shared objects from archives
 
9570
            whole_archive_flag_spec='$convenience'
 
9571
          fi
9502
9572
          archive_cmds_need_lc=yes
9503
9573
          # This is similar to how AIX traditionally builds its shared libraries.
9504
9574
          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'
9537
9607
      # Tell ltmain to make .dll files, not .so files.
9538
9608
      shrext_cmds=".dll"
9539
9609
      # FIXME: Setting linknames here is a bad hack.
9540
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
9610
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9541
9611
      # The linker will automatically build a .lib file if we build a DLL.
9542
9612
      old_archive_from_new_cmds='true'
9543
9613
      # FIXME: Should let the user specify the lib program.
9553
9623
  hardcode_direct=no
9554
9624
  hardcode_automatic=yes
9555
9625
  hardcode_shlibpath_var=unsupported
9556
 
  whole_archive_flag_spec=''
 
9626
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9627
    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\"`'
 
9628
  else
 
9629
    whole_archive_flag_spec=''
 
9630
  fi
9557
9631
  link_all_deplibs=yes
9558
9632
  allow_undefined_flag="$_lt_dar_allow_undefined"
9559
9633
  case $cc_basename in
9561
9635
     *) _lt_dar_can_shared=$GCC ;;
9562
9636
  esac
9563
9637
  if test "$_lt_dar_can_shared" = "yes"; then
9564
 
    output_verbose_link_cmd=echo
 
9638
    output_verbose_link_cmd=func_echo_all
9565
9639
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9566
9640
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9567
9641
    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}"
9627
9701
      ;;
9628
9702
 
9629
9703
    hpux10*)
9630
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9704
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9631
9705
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9632
9706
      else
9633
9707
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9646
9720
      ;;
9647
9721
 
9648
9722
    hpux11*)
9649
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9723
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9650
9724
        case $host_cpu in
9651
9725
        hppa*64*)
9652
9726
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9667
9741
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9668
9742
          ;;
9669
9743
        *)
9670
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9744
 
 
9745
          # Older versions of the 11.00 compiler do not understand -b yet
 
9746
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9747
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9748
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9749
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
9750
  $as_echo_n "(cached) " >&6
 
9751
else
 
9752
  lt_cv_prog_compiler__b=no
 
9753
   save_LDFLAGS="$LDFLAGS"
 
9754
   LDFLAGS="$LDFLAGS -b"
 
9755
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9756
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9757
     # The linker can only warn and ignore the option if not recognized
 
9758
     # So say no if there are warnings
 
9759
     if test -s conftest.err; then
 
9760
       # Append any errors to the config.log.
 
9761
       cat conftest.err 1>&5
 
9762
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9763
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9764
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9765
         lt_cv_prog_compiler__b=yes
 
9766
       fi
 
9767
     else
 
9768
       lt_cv_prog_compiler__b=yes
 
9769
     fi
 
9770
   fi
 
9771
   $RM -r conftest*
 
9772
   LDFLAGS="$save_LDFLAGS"
 
9773
 
 
9774
fi
 
9775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9776
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9777
 
 
9778
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9779
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9780
else
 
9781
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9782
fi
 
9783
 
9671
9784
          ;;
9672
9785
        esac
9673
9786
      fi
9695
9808
 
9696
9809
    irix5* | irix6* | nonstopux*)
9697
9810
      if test "$GCC" = yes; then
9698
 
        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'
 
9811
        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'
9699
9812
        # Try to use the -exported_symbol ld option, if it does not
9700
9813
        # work, assume that -exports_file does not work either and
9701
9814
        # implicitly export all symbols.
9706
9819
int foo(void) {}
9707
9820
_ACEOF
9708
9821
if ac_fn_c_try_link "$LINENO"; then :
9709
 
  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'
 
9822
  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'
9710
9823
 
9711
9824
fi
9712
9825
rm -f core conftest.err conftest.$ac_objext \
9713
9826
    conftest$ac_exeext conftest.$ac_ext
9714
9827
        LDFLAGS="$save_LDFLAGS"
9715
9828
      else
9716
 
        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'
9717
 
        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'
 
9829
        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'
 
9830
        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'
9718
9831
      fi
9719
9832
      archive_cmds_need_lc='no'
9720
9833
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9776
9889
      hardcode_libdir_flag_spec='-L$libdir'
9777
9890
      hardcode_minus_L=yes
9778
9891
      allow_undefined_flag=unsupported
9779
 
      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'
 
9892
      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'
9780
9893
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9781
9894
      ;;
9782
9895
 
9783
9896
    osf3*)
9784
9897
      if test "$GCC" = yes; then
9785
9898
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9786
 
        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'
 
9899
        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'
9787
9900
      else
9788
9901
        allow_undefined_flag=' -expect_unresolved \*'
9789
 
        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'
 
9902
        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'
9790
9903
      fi
9791
9904
      archive_cmds_need_lc='no'
9792
9905
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9796
9909
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9797
9910
      if test "$GCC" = yes; then
9798
9911
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9799
 
        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'
 
9912
        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'
9800
9913
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9801
9914
      else
9802
9915
        allow_undefined_flag=' -expect_unresolved \*'
9803
 
        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'
 
9916
        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'
9804
9917
        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~
9805
 
        $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'
 
9918
        $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'
9806
9919
 
9807
9920
        # Both c and cxx compiler support -rpath directly
9808
9921
        hardcode_libdir_flag_spec='-rpath $libdir'
10005
10118
      # to ld, don't add -lc before -lgcc.
10006
10119
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10007
10120
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10008
 
      $RM conftest*
10009
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10121
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
 
10122
  $as_echo_n "(cached) " >&6
 
10123
else
 
10124
  $RM conftest*
 
10125
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10010
10126
 
10011
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10127
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10012
10128
  (eval $ac_compile) 2>&5
10013
10129
  ac_status=$?
10014
10130
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10015
10131
  test $ac_status = 0; } 2>conftest.err; then
10016
 
        soname=conftest
10017
 
        lib=conftest
10018
 
        libobjs=conftest.$ac_objext
10019
 
        deplibs=
10020
 
        wl=$lt_prog_compiler_wl
10021
 
        pic_flag=$lt_prog_compiler_pic
10022
 
        compiler_flags=-v
10023
 
        linker_flags=-v
10024
 
        verstring=
10025
 
        output_objdir=.
10026
 
        libname=conftest
10027
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
10028
 
        allow_undefined_flag=
10029
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10132
          soname=conftest
 
10133
          lib=conftest
 
10134
          libobjs=conftest.$ac_objext
 
10135
          deplibs=
 
10136
          wl=$lt_prog_compiler_wl
 
10137
          pic_flag=$lt_prog_compiler_pic
 
10138
          compiler_flags=-v
 
10139
          linker_flags=-v
 
10140
          verstring=
 
10141
          output_objdir=.
 
10142
          libname=conftest
 
10143
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10144
          allow_undefined_flag=
 
10145
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10030
10146
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10031
10147
  ac_status=$?
10032
10148
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10033
10149
  test $ac_status = 0; }
10034
 
        then
10035
 
          archive_cmds_need_lc=no
10036
 
        else
10037
 
          archive_cmds_need_lc=yes
10038
 
        fi
10039
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
10040
 
      else
10041
 
        cat conftest.err 1>&5
10042
 
      fi
10043
 
      $RM conftest*
10044
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10045
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
10150
          then
 
10151
            lt_cv_archive_cmds_need_lc=no
 
10152
          else
 
10153
            lt_cv_archive_cmds_need_lc=yes
 
10154
          fi
 
10155
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10156
        else
 
10157
          cat conftest.err 1>&5
 
10158
        fi
 
10159
        $RM conftest*
 
10160
 
 
10161
fi
 
10162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10163
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10164
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10046
10165
      ;;
10047
10166
    esac
10048
10167
  fi
10213
10332
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10214
10333
    *) lt_awk_arg="/^libraries:/" ;;
10215
10334
  esac
10216
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10217
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10335
  case $host_os in
 
10336
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10337
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10338
  esac
 
10339
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10340
  case $lt_search_path_spec in
 
10341
  *\;*)
10218
10342
    # if the path contains ";" then we assume it to be the separator
10219
10343
    # otherwise default to the standard path separator (i.e. ":") - it is
10220
10344
    # assumed that no part of a normal pathname contains ";" but that should
10221
10345
    # okay in the real world where ";" in dirpaths is itself problematic.
10222
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10223
 
  else
10224
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10225
 
  fi
 
10346
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10347
    ;;
 
10348
  *)
 
10349
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10350
    ;;
 
10351
  esac
10226
10352
  # Ok, now we have the path, separated by spaces, we can step through it
10227
10353
  # and add multilib dir if necessary.
10228
10354
  lt_tmp_lt_search_path_spec=
10235
10361
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10236
10362
    fi
10237
10363
  done
10238
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10364
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10239
10365
BEGIN {RS=" "; FS="/|\n";} {
10240
10366
  lt_foo="";
10241
10367
  lt_count=0;
10255
10381
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10256
10382
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10257
10383
}'`
10258
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10384
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10385
  # for these hosts.
 
10386
  case $host_os in
 
10387
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10388
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10389
  esac
 
10390
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10259
10391
else
10260
10392
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10261
10393
fi
10343
10475
  m68k)
10344
10476
    library_names_spec='$libname.ixlibrary $libname.a'
10345
10477
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10346
 
    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'
 
10478
    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'
10347
10479
    ;;
10348
10480
  esac
10349
10481
  ;;
10396
10528
    cygwin*)
10397
10529
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10398
10530
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10399
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10531
 
 
10532
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10400
10533
      ;;
10401
10534
    mingw* | cegcc*)
10402
10535
      # MinGW DLLs use traditional 'lib' prefix
10403
10536
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10404
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10405
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10406
 
        # It is most probably a Windows format PATH printed by
10407
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10408
 
        # path with ; separators, and with drive letters. We can handle the
10409
 
        # drive letters (cygwin fileutils understands them), so leave them,
10410
 
        # especially as we might pass files found there to a mingw objdump,
10411
 
        # which wouldn't understand a cygwinified path. Ahh.
10412
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10413
 
      else
10414
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10415
 
      fi
10416
10537
      ;;
10417
10538
    pw32*)
10418
10539
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10512
10633
  hardcode_into_libs=yes
10513
10634
  ;;
10514
10635
 
 
10636
haiku*)
 
10637
  version_type=linux
 
10638
  need_lib_prefix=no
 
10639
  need_version=no
 
10640
  dynamic_linker="$host_os runtime_loader"
 
10641
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10642
  soname_spec='${libname}${release}${shared_ext}$major'
 
10643
  shlibpath_var=LIBRARY_PATH
 
10644
  shlibpath_overrides_runpath=yes
 
10645
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
10646
  hardcode_into_libs=yes
 
10647
  ;;
 
10648
 
10515
10649
hpux9* | hpux10* | hpux11*)
10516
10650
  # Give a soname corresponding to the major version so that dld.sl refuses to
10517
10651
  # link against other versions.
10554
10688
    soname_spec='${libname}${release}${shared_ext}$major'
10555
10689
    ;;
10556
10690
  esac
10557
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10691
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10558
10692
  postinstall_cmds='chmod 555 $lib'
 
10693
  # or fails outright, so override atomically:
 
10694
  install_override_mode=555
10559
10695
  ;;
10560
10696
 
10561
10697
interix[3-9]*)
10613
10749
  ;;
10614
10750
 
10615
10751
# This must be Linux ELF.
10616
 
linux* | k*bsd*-gnu)
 
10752
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10617
10753
  version_type=linux
10618
10754
  need_lib_prefix=no
10619
10755
  need_version=no
10622
10758
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10623
10759
  shlibpath_var=LD_LIBRARY_PATH
10624
10760
  shlibpath_overrides_runpath=no
 
10761
 
10625
10762
  # Some binutils ld are patched to set DT_RUNPATH
10626
 
  save_LDFLAGS=$LDFLAGS
10627
 
  save_libdir=$libdir
10628
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10629
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10630
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10763
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
10764
  $as_echo_n "(cached) " >&6
 
10765
else
 
10766
  lt_cv_shlibpath_overrides_runpath=no
 
10767
    save_LDFLAGS=$LDFLAGS
 
10768
    save_libdir=$libdir
 
10769
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10770
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10771
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10631
10772
/* end confdefs.h.  */
10632
10773
 
10633
10774
int
10640
10781
_ACEOF
10641
10782
if ac_fn_c_try_link "$LINENO"; then :
10642
10783
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10643
 
  shlibpath_overrides_runpath=yes
 
10784
  lt_cv_shlibpath_overrides_runpath=yes
10644
10785
fi
10645
10786
fi
10646
10787
rm -f core conftest.err conftest.$ac_objext \
10647
10788
    conftest$ac_exeext conftest.$ac_ext
10648
 
  LDFLAGS=$save_LDFLAGS
10649
 
  libdir=$save_libdir
 
10789
    LDFLAGS=$save_LDFLAGS
 
10790
    libdir=$save_libdir
 
10791
 
 
10792
fi
 
10793
 
 
10794
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10650
10795
 
10651
10796
  # This implies no fast_install, which is unacceptable.
10652
10797
  # Some rework will be needed to allow for fast_install
10658
10803
 
10659
10804
  # Append ld.so.conf contents to the search path
10660
10805
  if test -f /etc/ld.so.conf; then
10661
 
    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' ' '`
 
10806
    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' ' '`
10662
10807
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
10808
 
10663
10809
  fi
10664
10810
 
10665
10811
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10961
11107
 
10962
11108
 
10963
11109
 
 
11110
 
 
11111
 
 
11112
 
 
11113
 
 
11114
 
10964
11115
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10965
11116
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10966
11117
hardcode_action=
11291
11442
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11292
11443
  lt_status=$lt_dlunknown
11293
11444
  cat > conftest.$ac_ext <<_LT_EOF
11294
 
#line 11294 "configure"
 
11445
#line $LINENO "configure"
11295
11446
#include "confdefs.h"
11296
11447
 
11297
11448
#if HAVE_DLFCN_H
11332
11483
#  endif
11333
11484
#endif
11334
11485
 
11335
 
void fnord() { int i=42;}
 
11486
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11487
   correspondingly for the symbols needed.  */
 
11488
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11489
void fnord () __attribute__((visibility("default")));
 
11490
#endif
 
11491
 
 
11492
void fnord () { int i=42; }
11336
11493
int main ()
11337
11494
{
11338
11495
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11341
11498
  if (self)
11342
11499
    {
11343
11500
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11344
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11501
      else
 
11502
        {
 
11503
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11504
          else puts (dlerror ());
 
11505
        }
11345
11506
      /* dlclose (self); */
11346
11507
    }
11347
11508
  else
11387
11548
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11388
11549
  lt_status=$lt_dlunknown
11389
11550
  cat > conftest.$ac_ext <<_LT_EOF
11390
 
#line 11390 "configure"
 
11551
#line $LINENO "configure"
11391
11552
#include "confdefs.h"
11392
11553
 
11393
11554
#if HAVE_DLFCN_H
11428
11589
#  endif
11429
11590
#endif
11430
11591
 
11431
 
void fnord() { int i=42;}
 
11592
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11593
   correspondingly for the symbols needed.  */
 
11594
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11595
void fnord () __attribute__((visibility("default")));
 
11596
#endif
 
11597
 
 
11598
void fnord () { int i=42; }
11432
11599
int main ()
11433
11600
{
11434
11601
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11437
11604
  if (self)
11438
11605
    {
11439
11606
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11440
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11607
      else
 
11608
        {
 
11609
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11610
          else puts (dlerror ());
 
11611
        }
11441
11612
      /* dlclose (self); */
11442
11613
    }
11443
11614
  else
11618
11789
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
11619
11790
set x ${MAKE-make}
11620
11791
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
11621
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
11792
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
11622
11793
  $as_echo_n "(cached) " >&6
11623
11794
else
11624
11795
  cat >conftest.make <<\_ACEOF
11626
11797
all:
11627
11798
        @echo '@@@%%%=$(MAKE)=@@@%%%'
11628
11799
_ACEOF
11629
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
11800
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11630
11801
case `${MAKE-make} -f conftest.make 2>/dev/null` in
11631
11802
  *@@@%%%=?*=@@@%%%*)
11632
11803
    eval ac_cv_prog_make_${ac_make}_set=yes;;
11863
12034
fi
11864
12035
set dummy $CC; ac_cc=`$as_echo "$2" |
11865
12036
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11866
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
 
12037
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
11867
12038
  $as_echo_n "(cached) " >&6
11868
12039
else
11869
12040
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12207
12378
 
12208
12379
 
12209
12380
  if test x$enable_gtk_doc = xyes; then
12210
 
    if test -n "$PKG_CONFIG" && \
 
12381
 
 
12382
if test -n "$PKG_CONFIG" && \
12211
12383
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.9\""; } >&5
12212
12384
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.9") 2>&5
12213
12385
  ac_status=$?
12215
12387
  test $ac_status = 0; }; then
12216
12388
  :
12217
12389
else
12218
 
  as_fn_error "You need to have gtk-doc >= 1.9 installed to build $PACKAGE_NAME" "$LINENO" 5
 
12390
  as_fn_error $? "You need to have gtk-doc >= 1.9 installed to build $PACKAGE_NAME" "$LINENO" 5
 
12391
 
12219
12392
fi
12220
12393
  fi
12221
12394
 
12353
12526
 
12354
12527
 
12355
12528
 
 
12529
 
 
12530
 
 
12531
 
12356
12532
pkg_failed=no
12357
12533
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12358
12534
$as_echo_n "checking for GLIB... " >&6; }
12360
12536
if test -n "$GLIB_CFLAGS"; then
12361
12537
    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12362
12538
 elif test -n "$PKG_CONFIG"; then
12363
 
    if test -n "$PKG_CONFIG" && \
 
12539
 
 
12540
if test -n "$PKG_CONFIG" && \
12364
12541
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.21.5\""; } >&5
12365
12542
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.21.5") 2>&5
12366
12543
  ac_status=$?
12369
12546
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.21.5" 2>/dev/null`
12370
12547
else
12371
12548
  pkg_failed=yes
 
12549
 
12372
12550
fi
12373
12551
 else
12374
12552
    pkg_failed=untried
12375
12553
fi
 
12554
 
12376
12555
if test -n "$GLIB_LIBS"; then
12377
12556
    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12378
12557
 elif test -n "$PKG_CONFIG"; then
12379
 
    if test -n "$PKG_CONFIG" && \
 
12558
 
 
12559
if test -n "$PKG_CONFIG" && \
12380
12560
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.21.5\""; } >&5
12381
12561
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.21.5") 2>&5
12382
12562
  ac_status=$?
12385
12565
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.21.5" 2>/dev/null`
12386
12566
else
12387
12567
  pkg_failed=yes
 
12568
 
12388
12569
fi
12389
12570
 else
12390
12571
    pkg_failed=untried
12392
12573
 
12393
12574
 
12394
12575
 
 
12576
 
12395
12577
if test $pkg_failed = yes; then
 
12578
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12579
$as_echo "no" >&6; }
12396
12580
 
12397
12581
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12398
12582
        _pkg_short_errors_supported=yes
12399
12583
else
12400
12584
        _pkg_short_errors_supported=no
12401
12585
fi
 
12586
 
12402
12587
        if test $_pkg_short_errors_supported = yes; then
12403
12588
                GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.21.5" 2>&1`
12404
12589
        else
12407
12592
        # Put the nasty error message in config.log where it belongs
12408
12593
        echo "$GLIB_PKG_ERRORS" >&5
12409
12594
 
12410
 
        as_fn_error "Package requirements (glib-2.0 >= 2.21.5) were not met:
 
12595
        as_fn_error $? "Package requirements (glib-2.0 >= 2.21.5) were not met:
12411
12596
 
12412
12597
$GLIB_PKG_ERRORS
12413
12598
 
12416
12601
 
12417
12602
Alternatively, you may set the environment variables GLIB_CFLAGS
12418
12603
and GLIB_LIBS to avoid the need to call pkg-config.
12419
 
See the pkg-config man page for more details.
12420
 
" "$LINENO" 5
 
12604
See the pkg-config man page for more details." "$LINENO" 5
 
12605
 
12421
12606
elif test $pkg_failed = untried; then
 
12607
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12608
$as_echo "no" >&6; }
12422
12609
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12423
12610
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12424
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
12611
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12425
12612
is in your PATH or set the PKG_CONFIG environment variable to the full
12426
12613
path to pkg-config.
12427
12614
 
12430
12617
See the pkg-config man page for more details.
12431
12618
 
12432
12619
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12433
 
See \`config.log' for more details." "$LINENO" 5; }
 
12620
See \`config.log' for more details" "$LINENO" 5; }
 
12621
 
12434
12622
else
12435
12623
        GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12436
12624
        GLIB_LIBS=$pkg_cv_GLIB_LIBS
12437
12625
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12438
12626
$as_echo "yes" >&6; }
12439
 
        :
 
12627
 
12440
12628
fi
12441
12629
 
12442
12630
 
12443
12631
 
12444
12632
 
 
12633
 
 
12634
 
 
12635
 
 
12636
 
12445
12637
pkg_failed=no
12446
12638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
12447
12639
$as_echo_n "checking for DBUS... " >&6; }
12449
12641
if test -n "$DBUS_CFLAGS"; then
12450
12642
    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
12451
12643
 elif test -n "$PKG_CONFIG"; then
12452
 
    if test -n "$PKG_CONFIG" && \
 
12644
 
 
12645
if test -n "$PKG_CONFIG" && \
12453
12646
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
12454
12647
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
12455
12648
  ac_status=$?
12458
12651
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0" 2>/dev/null`
12459
12652
else
12460
12653
  pkg_failed=yes
 
12654
 
12461
12655
fi
12462
12656
 else
12463
12657
    pkg_failed=untried
12464
12658
fi
 
12659
 
12465
12660
if test -n "$DBUS_LIBS"; then
12466
12661
    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
12467
12662
 elif test -n "$PKG_CONFIG"; then
12468
 
    if test -n "$PKG_CONFIG" && \
 
12663
 
 
12664
if test -n "$PKG_CONFIG" && \
12469
12665
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
12470
12666
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
12471
12667
  ac_status=$?
12474
12670
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0" 2>/dev/null`
12475
12671
else
12476
12672
  pkg_failed=yes
 
12673
 
12477
12674
fi
12478
12675
 else
12479
12676
    pkg_failed=untried
12481
12678
 
12482
12679
 
12483
12680
 
 
12681
 
12484
12682
if test $pkg_failed = yes; then
 
12683
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12684
$as_echo "no" >&6; }
12485
12685
 
12486
12686
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12487
12687
        _pkg_short_errors_supported=yes
12488
12688
else
12489
12689
        _pkg_short_errors_supported=no
12490
12690
fi
 
12691
 
12491
12692
        if test $_pkg_short_errors_supported = yes; then
12492
12693
                DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 1.0" 2>&1`
12493
12694
        else
12496
12697
        # Put the nasty error message in config.log where it belongs
12497
12698
        echo "$DBUS_PKG_ERRORS" >&5
12498
12699
 
12499
 
        as_fn_error "Package requirements (dbus-1 >= 1.0) were not met:
 
12700
        as_fn_error $? "Package requirements (dbus-1 >= 1.0) were not met:
12500
12701
 
12501
12702
$DBUS_PKG_ERRORS
12502
12703
 
12505
12706
 
12506
12707
Alternatively, you may set the environment variables DBUS_CFLAGS
12507
12708
and DBUS_LIBS to avoid the need to call pkg-config.
12508
 
See the pkg-config man page for more details.
12509
 
" "$LINENO" 5
 
12709
See the pkg-config man page for more details." "$LINENO" 5
 
12710
 
12510
12711
elif test $pkg_failed = untried; then
 
12712
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12713
$as_echo "no" >&6; }
12511
12714
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12512
12715
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12513
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
12716
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12514
12717
is in your PATH or set the PKG_CONFIG environment variable to the full
12515
12718
path to pkg-config.
12516
12719
 
12519
12722
See the pkg-config man page for more details.
12520
12723
 
12521
12724
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12522
 
See \`config.log' for more details." "$LINENO" 5; }
 
12725
See \`config.log' for more details" "$LINENO" 5; }
 
12726
 
12523
12727
else
12524
12728
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
12525
12729
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
12526
12730
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12527
12731
$as_echo "yes" >&6; }
12528
 
        :
 
12732
 
12529
12733
fi
12530
12734
 
12531
12735
 
12532
12736
 
12533
12737
 
 
12738
 
 
12739
 
 
12740
 
 
12741
 
12534
12742
pkg_failed=no
12535
12743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_GLIB" >&5
12536
12744
$as_echo_n "checking for DBUS_GLIB... " >&6; }
12538
12746
if test -n "$DBUS_GLIB_CFLAGS"; then
12539
12747
    pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS"
12540
12748
 elif test -n "$PKG_CONFIG"; then
12541
 
    if test -n "$PKG_CONFIG" && \
 
12749
 
 
12750
if test -n "$PKG_CONFIG" && \
12542
12751
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.76\""; } >&5
12543
12752
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.76") 2>&5
12544
12753
  ac_status=$?
12547
12756
  pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.76" 2>/dev/null`
12548
12757
else
12549
12758
  pkg_failed=yes
 
12759
 
12550
12760
fi
12551
12761
 else
12552
12762
    pkg_failed=untried
12553
12763
fi
 
12764
 
12554
12765
if test -n "$DBUS_GLIB_LIBS"; then
12555
12766
    pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS"
12556
12767
 elif test -n "$PKG_CONFIG"; then
12557
 
    if test -n "$PKG_CONFIG" && \
 
12768
 
 
12769
if test -n "$PKG_CONFIG" && \
12558
12770
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.76\""; } >&5
12559
12771
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.76") 2>&5
12560
12772
  ac_status=$?
12563
12775
  pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.76" 2>/dev/null`
12564
12776
else
12565
12777
  pkg_failed=yes
 
12778
 
12566
12779
fi
12567
12780
 else
12568
12781
    pkg_failed=untried
12570
12783
 
12571
12784
 
12572
12785
 
 
12786
 
12573
12787
if test $pkg_failed = yes; then
 
12788
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12789
$as_echo "no" >&6; }
12574
12790
 
12575
12791
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12576
12792
        _pkg_short_errors_supported=yes
12577
12793
else
12578
12794
        _pkg_short_errors_supported=no
12579
12795
fi
 
12796
 
12580
12797
        if test $_pkg_short_errors_supported = yes; then
12581
12798
                DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-glib-1 >= 0.76" 2>&1`
12582
12799
        else
12585
12802
        # Put the nasty error message in config.log where it belongs
12586
12803
        echo "$DBUS_GLIB_PKG_ERRORS" >&5
12587
12804
 
12588
 
        as_fn_error "Package requirements (dbus-glib-1 >= 0.76) were not met:
 
12805
        as_fn_error $? "Package requirements (dbus-glib-1 >= 0.76) were not met:
12589
12806
 
12590
12807
$DBUS_GLIB_PKG_ERRORS
12591
12808
 
12594
12811
 
12595
12812
Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS
12596
12813
and DBUS_GLIB_LIBS to avoid the need to call pkg-config.
12597
 
See the pkg-config man page for more details.
12598
 
" "$LINENO" 5
 
12814
See the pkg-config man page for more details." "$LINENO" 5
 
12815
 
12599
12816
elif test $pkg_failed = untried; then
 
12817
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12818
$as_echo "no" >&6; }
12600
12819
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12601
12820
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12602
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
12821
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12603
12822
is in your PATH or set the PKG_CONFIG environment variable to the full
12604
12823
path to pkg-config.
12605
12824
 
12608
12827
See the pkg-config man page for more details.
12609
12828
 
12610
12829
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12611
 
See \`config.log' for more details." "$LINENO" 5; }
 
12830
See \`config.log' for more details" "$LINENO" 5; }
 
12831
 
12612
12832
else
12613
12833
        DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS
12614
12834
        DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS
12615
12835
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12616
12836
$as_echo "yes" >&6; }
12617
 
        :
 
12837
 
12618
12838
fi
12619
12839
 
12620
12840
 
12621
12841
 
12622
12842
 
 
12843
 
 
12844
 
 
12845
 
 
12846
 
12623
12847
pkg_failed=no
12624
12848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POLKIT" >&5
12625
12849
$as_echo_n "checking for POLKIT... " >&6; }
12627
12851
if test -n "$POLKIT_CFLAGS"; then
12628
12852
    pkg_cv_POLKIT_CFLAGS="$POLKIT_CFLAGS"
12629
12853
 elif test -n "$PKG_CONFIG"; then
12630
 
    if test -n "$PKG_CONFIG" && \
 
12854
 
 
12855
if test -n "$PKG_CONFIG" && \
12631
12856
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-gobject-1 >= 0.91\""; } >&5
12632
12857
  ($PKG_CONFIG --exists --print-errors "polkit-gobject-1 >= 0.91") 2>&5
12633
12858
  ac_status=$?
12636
12861
  pkg_cv_POLKIT_CFLAGS=`$PKG_CONFIG --cflags "polkit-gobject-1 >= 0.91" 2>/dev/null`
12637
12862
else
12638
12863
  pkg_failed=yes
 
12864
 
12639
12865
fi
12640
12866
 else
12641
12867
    pkg_failed=untried
12642
12868
fi
 
12869
 
12643
12870
if test -n "$POLKIT_LIBS"; then
12644
12871
    pkg_cv_POLKIT_LIBS="$POLKIT_LIBS"
12645
12872
 elif test -n "$PKG_CONFIG"; then
12646
 
    if test -n "$PKG_CONFIG" && \
 
12873
 
 
12874
if test -n "$PKG_CONFIG" && \
12647
12875
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-gobject-1 >= 0.91\""; } >&5
12648
12876
  ($PKG_CONFIG --exists --print-errors "polkit-gobject-1 >= 0.91") 2>&5
12649
12877
  ac_status=$?
12652
12880
  pkg_cv_POLKIT_LIBS=`$PKG_CONFIG --libs "polkit-gobject-1 >= 0.91" 2>/dev/null`
12653
12881
else
12654
12882
  pkg_failed=yes
 
12883
 
12655
12884
fi
12656
12885
 else
12657
12886
    pkg_failed=untried
12659
12888
 
12660
12889
 
12661
12890
 
 
12891
 
12662
12892
if test $pkg_failed = yes; then
 
12893
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12894
$as_echo "no" >&6; }
12663
12895
 
12664
12896
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12665
12897
        _pkg_short_errors_supported=yes
12666
12898
else
12667
12899
        _pkg_short_errors_supported=no
12668
12900
fi
 
12901
 
12669
12902
        if test $_pkg_short_errors_supported = yes; then
12670
12903
                POLKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "polkit-gobject-1 >= 0.91" 2>&1`
12671
12904
        else
12674
12907
        # Put the nasty error message in config.log where it belongs
12675
12908
        echo "$POLKIT_PKG_ERRORS" >&5
12676
12909
 
12677
 
        as_fn_error "Package requirements (polkit-gobject-1 >= 0.91) were not met:
 
12910
        as_fn_error $? "Package requirements (polkit-gobject-1 >= 0.91) were not met:
12678
12911
 
12679
12912
$POLKIT_PKG_ERRORS
12680
12913
 
12683
12916
 
12684
12917
Alternatively, you may set the environment variables POLKIT_CFLAGS
12685
12918
and POLKIT_LIBS to avoid the need to call pkg-config.
12686
 
See the pkg-config man page for more details.
12687
 
" "$LINENO" 5
 
12919
See the pkg-config man page for more details." "$LINENO" 5
 
12920
 
12688
12921
elif test $pkg_failed = untried; then
 
12922
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12923
$as_echo "no" >&6; }
12689
12924
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12690
12925
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12691
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
12926
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12692
12927
is in your PATH or set the PKG_CONFIG environment variable to the full
12693
12928
path to pkg-config.
12694
12929
 
12697
12932
See the pkg-config man page for more details.
12698
12933
 
12699
12934
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12700
 
See \`config.log' for more details." "$LINENO" 5; }
 
12935
See \`config.log' for more details" "$LINENO" 5; }
 
12936
 
12701
12937
else
12702
12938
        POLKIT_CFLAGS=$pkg_cv_POLKIT_CFLAGS
12703
12939
        POLKIT_LIBS=$pkg_cv_POLKIT_LIBS
12704
12940
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12705
12941
$as_echo "yes" >&6; }
12706
 
        :
 
12942
 
12707
12943
fi
12708
12944
 
12709
12945
 
12710
12946
 
12711
12947
 
 
12948
 
 
12949
 
 
12950
 
 
12951
 
12712
12952
pkg_failed=no
12713
12953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12714
12954
$as_echo_n "checking for GIO... " >&6; }
12716
12956
if test -n "$GIO_CFLAGS"; then
12717
12957
    pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12718
12958
 elif test -n "$PKG_CONFIG"; then
12719
 
    if test -n "$PKG_CONFIG" && \
 
12959
 
 
12960
if test -n "$PKG_CONFIG" && \
12720
12961
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16.1\""; } >&5
12721
12962
  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16.1") 2>&5
12722
12963
  ac_status=$?
12725
12966
  pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.16.1" 2>/dev/null`
12726
12967
else
12727
12968
  pkg_failed=yes
 
12969
 
12728
12970
fi
12729
12971
 else
12730
12972
    pkg_failed=untried
12731
12973
fi
 
12974
 
12732
12975
if test -n "$GIO_LIBS"; then
12733
12976
    pkg_cv_GIO_LIBS="$GIO_LIBS"
12734
12977
 elif test -n "$PKG_CONFIG"; then
12735
 
    if test -n "$PKG_CONFIG" && \
 
12978
 
 
12979
if test -n "$PKG_CONFIG" && \
12736
12980
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16.1\""; } >&5
12737
12981
  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16.1") 2>&5
12738
12982
  ac_status=$?
12741
12985
  pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.16.1" 2>/dev/null`
12742
12986
else
12743
12987
  pkg_failed=yes
 
12988
 
12744
12989
fi
12745
12990
 else
12746
12991
    pkg_failed=untried
12748
12993
 
12749
12994
 
12750
12995
 
 
12996
 
12751
12997
if test $pkg_failed = yes; then
 
12998
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12999
$as_echo "no" >&6; }
12752
13000
 
12753
13001
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12754
13002
        _pkg_short_errors_supported=yes
12755
13003
else
12756
13004
        _pkg_short_errors_supported=no
12757
13005
fi
 
13006
 
12758
13007
        if test $_pkg_short_errors_supported = yes; then
12759
13008
                GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0 >= 2.16.1" 2>&1`
12760
13009
        else
12763
13012
        # Put the nasty error message in config.log where it belongs
12764
13013
        echo "$GIO_PKG_ERRORS" >&5
12765
13014
 
12766
 
        as_fn_error "Package requirements (gio-2.0 >= 2.16.1) were not met:
 
13015
        as_fn_error $? "Package requirements (gio-2.0 >= 2.16.1) were not met:
12767
13016
 
12768
13017
$GIO_PKG_ERRORS
12769
13018
 
12772
13021
 
12773
13022
Alternatively, you may set the environment variables GIO_CFLAGS
12774
13023
and GIO_LIBS to avoid the need to call pkg-config.
12775
 
See the pkg-config man page for more details.
12776
 
" "$LINENO" 5
 
13024
See the pkg-config man page for more details." "$LINENO" 5
 
13025
 
12777
13026
elif test $pkg_failed = untried; then
 
13027
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13028
$as_echo "no" >&6; }
12778
13029
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12779
13030
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12780
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
13031
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12781
13032
is in your PATH or set the PKG_CONFIG environment variable to the full
12782
13033
path to pkg-config.
12783
13034
 
12786
13037
See the pkg-config man page for more details.
12787
13038
 
12788
13039
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12789
 
See \`config.log' for more details." "$LINENO" 5; }
 
13040
See \`config.log' for more details" "$LINENO" 5; }
 
13041
 
12790
13042
else
12791
13043
        GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12792
13044
        GIO_LIBS=$pkg_cv_GIO_LIBS
12793
13045
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12794
13046
$as_echo "yes" >&6; }
12795
 
        :
 
13047
 
12796
13048
fi
12797
13049
 
12798
13050
 
12799
13051
 
12800
13052
 
 
13053
 
12801
13054
# Check whether --with-backend was given.
12802
13055
if test "${with_backend+set}" = set; then :
12803
13056
  withval=$with_backend;
12822
13075
 
12823
13076
 
12824
13077
# only need GUdev on linux
 
13078
with_idevice=no
12825
13079
if test x$with_backend = xlinux; then
12826
13080
 
 
13081
 
 
13082
 
 
13083
 
12827
13084
pkg_failed=no
12828
13085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUDEV" >&5
12829
13086
$as_echo_n "checking for GUDEV... " >&6; }
12831
13088
if test -n "$GUDEV_CFLAGS"; then
12832
13089
    pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS"
12833
13090
 elif test -n "$PKG_CONFIG"; then
12834
 
    if test -n "$PKG_CONFIG" && \
 
13091
 
 
13092
if test -n "$PKG_CONFIG" && \
12835
13093
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 >= 001\""; } >&5
12836
13094
  ($PKG_CONFIG --exists --print-errors "gudev-1.0 >= 001") 2>&5
12837
13095
  ac_status=$?
12840
13098
  pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0 >= 001" 2>/dev/null`
12841
13099
else
12842
13100
  pkg_failed=yes
 
13101
 
12843
13102
fi
12844
13103
 else
12845
13104
    pkg_failed=untried
12846
13105
fi
 
13106
 
12847
13107
if test -n "$GUDEV_LIBS"; then
12848
13108
    pkg_cv_GUDEV_LIBS="$GUDEV_LIBS"
12849
13109
 elif test -n "$PKG_CONFIG"; then
12850
 
    if test -n "$PKG_CONFIG" && \
 
13110
 
 
13111
if test -n "$PKG_CONFIG" && \
12851
13112
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 >= 001\""; } >&5
12852
13113
  ($PKG_CONFIG --exists --print-errors "gudev-1.0 >= 001") 2>&5
12853
13114
  ac_status=$?
12856
13117
  pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0 >= 001" 2>/dev/null`
12857
13118
else
12858
13119
  pkg_failed=yes
 
13120
 
12859
13121
fi
12860
13122
 else
12861
13123
    pkg_failed=untried
12863
13125
 
12864
13126
 
12865
13127
 
 
13128
 
12866
13129
if test $pkg_failed = yes; then
 
13130
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13131
$as_echo "no" >&6; }
12867
13132
 
12868
13133
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12869
13134
        _pkg_short_errors_supported=yes
12870
13135
else
12871
13136
        _pkg_short_errors_supported=no
12872
13137
fi
 
13138
 
12873
13139
        if test $_pkg_short_errors_supported = yes; then
12874
13140
                GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gudev-1.0 >= 001" 2>&1`
12875
13141
        else
12878
13144
        # Put the nasty error message in config.log where it belongs
12879
13145
        echo "$GUDEV_PKG_ERRORS" >&5
12880
13146
 
12881
 
        as_fn_error "Package requirements (gudev-1.0 >= 001) were not met:
 
13147
        as_fn_error $? "Package requirements (gudev-1.0 >= 001) were not met:
12882
13148
 
12883
13149
$GUDEV_PKG_ERRORS
12884
13150
 
12887
13153
 
12888
13154
Alternatively, you may set the environment variables GUDEV_CFLAGS
12889
13155
and GUDEV_LIBS to avoid the need to call pkg-config.
12890
 
See the pkg-config man page for more details.
12891
 
" "$LINENO" 5
 
13156
See the pkg-config man page for more details." "$LINENO" 5
 
13157
 
12892
13158
elif test $pkg_failed = untried; then
 
13159
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13160
$as_echo "no" >&6; }
12893
13161
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12894
13162
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12895
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
13163
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12896
13164
is in your PATH or set the PKG_CONFIG environment variable to the full
12897
13165
path to pkg-config.
12898
13166
 
12901
13169
See the pkg-config man page for more details.
12902
13170
 
12903
13171
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12904
 
See \`config.log' for more details." "$LINENO" 5; }
 
13172
See \`config.log' for more details" "$LINENO" 5; }
 
13173
 
12905
13174
else
12906
13175
        GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS
12907
13176
        GUDEV_LIBS=$pkg_cv_GUDEV_LIBS
12908
13177
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12909
13178
$as_echo "yes" >&6; }
12910
 
        :
12911
 
fi
12912
 
 
12913
 
 
12914
 
 
12915
 
                for ac_header in usb.h
12916
 
do :
12917
 
  ac_fn_c_check_header_mongrel "$LINENO" "usb.h" "ac_cv_header_usb_h" "$ac_includes_default"
12918
 
if test "x$ac_cv_header_usb_h" = x""yes; then :
12919
 
  cat >>confdefs.h <<_ACEOF
12920
 
#define HAVE_USB_H 1
12921
 
_ACEOF
12922
 
 
12923
 
else
12924
 
  as_fn_error "Can't find usb.h. Please install libusb." "$LINENO" 5
12925
 
fi
12926
 
 
12927
 
done
12928
 
 
12929
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usb_find_devices in -lusb" >&5
12930
 
$as_echo_n "checking for usb_find_devices in -lusb... " >&6; }
12931
 
if test "${ac_cv_lib_usb_usb_find_devices+set}" = set; then :
12932
 
  $as_echo_n "(cached) " >&6
12933
 
else
12934
 
  ac_check_lib_save_LIBS=$LIBS
12935
 
LIBS="-lusb  $LIBS"
12936
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12937
 
/* end confdefs.h.  */
12938
 
 
12939
 
/* Override any GCC internal prototype to avoid an error.
12940
 
   Use char because int might match the return type of a GCC
12941
 
   builtin and then its argument prototype would still apply.  */
12942
 
#ifdef __cplusplus
12943
 
extern "C"
12944
 
#endif
12945
 
char usb_find_devices ();
12946
 
int
12947
 
main ()
12948
 
{
12949
 
return usb_find_devices ();
12950
 
  ;
12951
 
  return 0;
12952
 
}
12953
 
_ACEOF
12954
 
if ac_fn_c_try_link "$LINENO"; then :
12955
 
  ac_cv_lib_usb_usb_find_devices=yes
12956
 
else
12957
 
  ac_cv_lib_usb_usb_find_devices=no
12958
 
fi
12959
 
rm -f core conftest.err conftest.$ac_objext \
12960
 
    conftest$ac_exeext conftest.$ac_ext
12961
 
LIBS=$ac_check_lib_save_LIBS
12962
 
fi
12963
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_usb_find_devices" >&5
12964
 
$as_echo "$ac_cv_lib_usb_usb_find_devices" >&6; }
12965
 
if test "x$ac_cv_lib_usb_usb_find_devices" = x""yes; then :
12966
 
  cat >>confdefs.h <<_ACEOF
12967
 
#define HAVE_LIBUSB 1
12968
 
_ACEOF
12969
 
 
12970
 
  LIBS="-lusb $LIBS"
12971
 
 
12972
 
else
12973
 
  as_fn_error "Can't use libusb." "$LINENO" 5
12974
 
fi
12975
 
 
12976
 
fi
 
13179
 
 
13180
fi
 
13181
 
 
13182
 
 
13183
 
 
13184
 
 
13185
 
 
13186
pkg_failed=no
 
13187
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for USB" >&5
 
13188
$as_echo_n "checking for USB... " >&6; }
 
13189
 
 
13190
if test -n "$USB_CFLAGS"; then
 
13191
    pkg_cv_USB_CFLAGS="$USB_CFLAGS"
 
13192
 elif test -n "$PKG_CONFIG"; then
 
13193
 
 
13194
if test -n "$PKG_CONFIG" && \
 
13195
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0 >= 1.0.0\""; } >&5
 
13196
  ($PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.0") 2>&5
 
13197
  ac_status=$?
 
13198
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13199
  test $ac_status = 0; }; then
 
13200
  pkg_cv_USB_CFLAGS=`$PKG_CONFIG --cflags "libusb-1.0 >= 1.0.0" 2>/dev/null`
 
13201
else
 
13202
  pkg_failed=yes
 
13203
 
 
13204
fi
 
13205
 else
 
13206
    pkg_failed=untried
 
13207
fi
 
13208
 
 
13209
if test -n "$USB_LIBS"; then
 
13210
    pkg_cv_USB_LIBS="$USB_LIBS"
 
13211
 elif test -n "$PKG_CONFIG"; then
 
13212
 
 
13213
if test -n "$PKG_CONFIG" && \
 
13214
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0 >= 1.0.0\""; } >&5
 
13215
  ($PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.0") 2>&5
 
13216
  ac_status=$?
 
13217
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13218
  test $ac_status = 0; }; then
 
13219
  pkg_cv_USB_LIBS=`$PKG_CONFIG --libs "libusb-1.0 >= 1.0.0" 2>/dev/null`
 
13220
else
 
13221
  pkg_failed=yes
 
13222
 
 
13223
fi
 
13224
 else
 
13225
    pkg_failed=untried
 
13226
fi
 
13227
 
 
13228
 
 
13229
 
 
13230
 
 
13231
if test $pkg_failed = yes; then
 
13232
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13233
$as_echo "no" >&6; }
 
13234
 
 
13235
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13236
        _pkg_short_errors_supported=yes
 
13237
else
 
13238
        _pkg_short_errors_supported=no
 
13239
fi
 
13240
 
 
13241
        if test $_pkg_short_errors_supported = yes; then
 
13242
                USB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libusb-1.0 >= 1.0.0" 2>&1`
 
13243
        else
 
13244
                USB_PKG_ERRORS=`$PKG_CONFIG --print-errors "libusb-1.0 >= 1.0.0" 2>&1`
 
13245
        fi
 
13246
        # Put the nasty error message in config.log where it belongs
 
13247
        echo "$USB_PKG_ERRORS" >&5
 
13248
 
 
13249
        as_fn_error $? "Package requirements (libusb-1.0 >= 1.0.0) were not met:
 
13250
 
 
13251
$USB_PKG_ERRORS
 
13252
 
 
13253
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13254
installed software in a non-standard prefix.
 
13255
 
 
13256
Alternatively, you may set the environment variables USB_CFLAGS
 
13257
and USB_LIBS to avoid the need to call pkg-config.
 
13258
See the pkg-config man page for more details." "$LINENO" 5
 
13259
 
 
13260
elif test $pkg_failed = untried; then
 
13261
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13262
$as_echo "no" >&6; }
 
13263
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13264
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13265
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13266
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13267
path to pkg-config.
 
13268
 
 
13269
Alternatively, you may set the environment variables USB_CFLAGS
 
13270
and USB_LIBS to avoid the need to call pkg-config.
 
13271
See the pkg-config man page for more details.
 
13272
 
 
13273
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13274
See \`config.log' for more details" "$LINENO" 5; }
 
13275
 
 
13276
else
 
13277
        USB_CFLAGS=$pkg_cv_USB_CFLAGS
 
13278
        USB_LIBS=$pkg_cv_USB_LIBS
 
13279
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13280
$as_echo "yes" >&6; }
 
13281
 
 
13282
fi
 
13283
 
 
13284
 
 
13285
 
 
13286
 
 
13287
 
 
13288
pkg_failed=no
 
13289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IDEVICE" >&5
 
13290
$as_echo_n "checking for IDEVICE... " >&6; }
 
13291
 
 
13292
if test -n "$IDEVICE_CFLAGS"; then
 
13293
    pkg_cv_IDEVICE_CFLAGS="$IDEVICE_CFLAGS"
 
13294
 elif test -n "$PKG_CONFIG"; then
 
13295
 
 
13296
if test -n "$PKG_CONFIG" && \
 
13297
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libimobiledevice-1.0 >= 0.9.7\""; } >&5
 
13298
  ($PKG_CONFIG --exists --print-errors "libimobiledevice-1.0 >= 0.9.7") 2>&5
 
13299
  ac_status=$?
 
13300
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13301
  test $ac_status = 0; }; then
 
13302
  pkg_cv_IDEVICE_CFLAGS=`$PKG_CONFIG --cflags "libimobiledevice-1.0 >= 0.9.7" 2>/dev/null`
 
13303
else
 
13304
  pkg_failed=yes
 
13305
 
 
13306
fi
 
13307
 else
 
13308
    pkg_failed=untried
 
13309
fi
 
13310
 
 
13311
if test -n "$IDEVICE_LIBS"; then
 
13312
    pkg_cv_IDEVICE_LIBS="$IDEVICE_LIBS"
 
13313
 elif test -n "$PKG_CONFIG"; then
 
13314
 
 
13315
if test -n "$PKG_CONFIG" && \
 
13316
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libimobiledevice-1.0 >= 0.9.7\""; } >&5
 
13317
  ($PKG_CONFIG --exists --print-errors "libimobiledevice-1.0 >= 0.9.7") 2>&5
 
13318
  ac_status=$?
 
13319
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13320
  test $ac_status = 0; }; then
 
13321
  pkg_cv_IDEVICE_LIBS=`$PKG_CONFIG --libs "libimobiledevice-1.0 >= 0.9.7" 2>/dev/null`
 
13322
else
 
13323
  pkg_failed=yes
 
13324
 
 
13325
fi
 
13326
 else
 
13327
    pkg_failed=untried
 
13328
fi
 
13329
 
 
13330
 
 
13331
 
 
13332
 
 
13333
if test $pkg_failed = yes; then
 
13334
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13335
$as_echo "no" >&6; }
 
13336
 
 
13337
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13338
        _pkg_short_errors_supported=yes
 
13339
else
 
13340
        _pkg_short_errors_supported=no
 
13341
fi
 
13342
 
 
13343
        if test $_pkg_short_errors_supported = yes; then
 
13344
                IDEVICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libimobiledevice-1.0 >= 0.9.7" 2>&1`
 
13345
        else
 
13346
                IDEVICE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libimobiledevice-1.0 >= 0.9.7" 2>&1`
 
13347
        fi
 
13348
        # Put the nasty error message in config.log where it belongs
 
13349
        echo "$IDEVICE_PKG_ERRORS" >&5
 
13350
 
 
13351
        with_idevice=no
 
13352
elif test $pkg_failed = untried; then
 
13353
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13354
$as_echo "no" >&6; }
 
13355
        with_idevice=no
 
13356
else
 
13357
        IDEVICE_CFLAGS=$pkg_cv_IDEVICE_CFLAGS
 
13358
        IDEVICE_LIBS=$pkg_cv_IDEVICE_LIBS
 
13359
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13360
$as_echo "yes" >&6; }
 
13361
        with_idevice=yes
 
13362
fi
 
13363
 
 
13364
        if test x$with_idevice = xyes; then
 
13365
 
 
13366
$as_echo "#define HAVE_IDEVICE 1" >>confdefs.h
 
13367
 
 
13368
        fi
 
13369
fi
 
13370
 
 
13371
 if test x$with_idevice = xyes; then
 
13372
  HAVE_IDEVICE_TRUE=
 
13373
  HAVE_IDEVICE_FALSE='#'
 
13374
else
 
13375
  HAVE_IDEVICE_TRUE='#'
 
13376
  HAVE_IDEVICE_FALSE=
 
13377
fi
 
13378
 
12977
13379
 
12978
13380
# export to Makefile.am
12979
13381
 if test x$with_backend = xdummy; then
13009
13411
fi
13010
13412
 
13011
13413
 if test x$enable_tests = xyes; then
13012
 
  EGG_BUILD_TESTS_TRUE=
13013
 
  EGG_BUILD_TESTS_FALSE='#'
 
13414
  UP_BUILD_TESTS_TRUE=
 
13415
  UP_BUILD_TESTS_FALSE='#'
13014
13416
else
13015
 
  EGG_BUILD_TESTS_TRUE='#'
13016
 
  EGG_BUILD_TESTS_FALSE=
13017
 
fi
13018
 
 
13019
 
if test x$enable_tests = xyes; then
13020
 
 
13021
 
$as_echo "#define EGG_BUILD_TESTS 1" >>confdefs.h
13022
 
 
13023
 
fi
 
13417
  UP_BUILD_TESTS_TRUE='#'
 
13418
  UP_BUILD_TESTS_FALSE=
 
13419
fi
 
13420
 
13024
13421
 
13025
13422
if test "x$GCC" = "xyes"; then
13026
13423
  LDFLAGS="-Wl,--as-needed $LDFLAGS"
13044
13441
 
13045
13442
case "$am__api_version" in
13046
13443
    1.01234)
13047
 
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
13444
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13048
13445
    ;;
13049
13446
    *)
13050
13447
    ;;
13061
13458
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13062
13459
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13063
13460
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13064
 
        as_fn_error "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
 
13461
        as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
13065
13462
fi
13066
13463
 
13067
13464
# Extract the first word of "intltool-update", so it can be a program name with args.
13185
13582
 
13186
13583
 
13187
13584
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13188
 
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
13585
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13189
13586
fi
13190
13587
 
13191
13588
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13467
13864
 
13468
13865
 
13469
13866
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13470
 
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
13867
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13471
13868
fi
13472
13869
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13473
13870
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13474
13871
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13475
13872
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13476
 
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
13873
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13477
13874
fi
13478
13875
 
13479
13876
# Extract the first word of "perl", so it can be a program name with args.
13517
13914
 
13518
13915
 
13519
13916
if test -z "$INTLTOOL_PERL"; then
13520
 
   as_fn_error "perl not found" "$LINENO" 5
 
13917
   as_fn_error $? "perl not found" "$LINENO" 5
13521
13918
fi
13522
13919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13523
13920
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
13524
13921
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13525
13922
if test $? -ne 0; then
13526
 
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
 
13923
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13527
13924
else
13528
13925
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
13529
13926
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13536
13933
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13537
13934
$as_echo "ok" >&6; }
13538
13935
   else
13539
 
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
 
13936
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13540
13937
   fi
13541
13938
fi
13542
13939
 
14381
14778
 
14382
14779
ac_libobjs=
14383
14780
ac_ltlibobjs=
 
14781
U=
14384
14782
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14385
14783
  # 1. Remove the extension, and $U if already installed.
14386
14784
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14404
14802
fi
14405
14803
 
14406
14804
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
14407
 
  as_fn_error "conditional \"HAVE_INTROSPECTION\" was never defined.
 
14805
  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
14408
14806
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14409
14807
fi
14410
14808
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14411
 
  as_fn_error "conditional \"AMDEP\" was never defined.
14412
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14413
 
fi
14414
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14415
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14416
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14417
 
fi
14418
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14419
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
14809
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
14810
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14811
fi
 
14812
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14813
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
14814
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14815
fi
 
14816
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14817
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14420
14818
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14421
14819
fi
14422
14820
if test -z "${MAN_PAGES_ENABLED_TRUE}" && test -z "${MAN_PAGES_ENABLED_FALSE}"; then
14423
 
  as_fn_error "conditional \"MAN_PAGES_ENABLED\" was never defined.
 
14821
  as_fn_error $? "conditional \"MAN_PAGES_ENABLED\" was never defined.
14424
14822
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14425
14823
fi
14426
14824
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14427
 
  as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined.
 
14825
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14428
14826
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14429
14827
fi
14430
14828
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14431
 
  as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
 
14829
  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14432
14830
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14433
14831
fi
14434
14832
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
14435
 
  as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
 
14833
  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14436
14834
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14437
14835
fi
14438
14836
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14439
 
  as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
14837
  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14440
14838
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14441
14839
fi
14442
14840
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
14443
 
  as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined.
 
14841
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
 
14842
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14843
fi
 
14844
if test -z "${HAVE_IDEVICE_TRUE}" && test -z "${HAVE_IDEVICE_FALSE}"; then
 
14845
  as_fn_error $? "conditional \"HAVE_IDEVICE\" was never defined.
14444
14846
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14445
14847
fi
14446
14848
if test -z "${BACKEND_TYPE_DUMMY_TRUE}" && test -z "${BACKEND_TYPE_DUMMY_FALSE}"; then
14447
 
  as_fn_error "conditional \"BACKEND_TYPE_DUMMY\" was never defined.
 
14849
  as_fn_error $? "conditional \"BACKEND_TYPE_DUMMY\" was never defined.
14448
14850
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14449
14851
fi
14450
14852
if test -z "${BACKEND_TYPE_LINUX_TRUE}" && test -z "${BACKEND_TYPE_LINUX_FALSE}"; then
14451
 
  as_fn_error "conditional \"BACKEND_TYPE_LINUX\" was never defined.
 
14853
  as_fn_error $? "conditional \"BACKEND_TYPE_LINUX\" was never defined.
14452
14854
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14453
14855
fi
14454
14856
if test -z "${BACKEND_TYPE_FREEBSD_TRUE}" && test -z "${BACKEND_TYPE_FREEBSD_FALSE}"; then
14455
 
  as_fn_error "conditional \"BACKEND_TYPE_FREEBSD\" was never defined.
 
14857
  as_fn_error $? "conditional \"BACKEND_TYPE_FREEBSD\" was never defined.
14456
14858
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14457
14859
fi
14458
 
if test -z "${EGG_BUILD_TESTS_TRUE}" && test -z "${EGG_BUILD_TESTS_FALSE}"; then
14459
 
  as_fn_error "conditional \"EGG_BUILD_TESTS\" was never defined.
 
14860
if test -z "${UP_BUILD_TESTS_TRUE}" && test -z "${UP_BUILD_TESTS_FALSE}"; then
 
14861
  as_fn_error $? "conditional \"UP_BUILD_TESTS\" was never defined.
14460
14862
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14461
14863
fi
14462
14864
 
14610
15012
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14611
15013
 
14612
15014
 
14613
 
# as_fn_error ERROR [LINENO LOG_FD]
14614
 
# ---------------------------------
 
15015
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
15016
# ----------------------------------------
14615
15017
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14616
15018
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14617
 
# script with status $?, using 1 if that was 0.
 
15019
# script with STATUS, using 1 if that was 0.
14618
15020
as_fn_error ()
14619
15021
{
14620
 
  as_status=$?; test $as_status -eq 0 && as_status=1
14621
 
  if test "$3"; then
14622
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14623
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
15022
  as_status=$1; test $as_status -eq 0 && as_status=1
 
15023
  if test "$4"; then
 
15024
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
15025
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14624
15026
  fi
14625
 
  $as_echo "$as_me: error: $1" >&2
 
15027
  $as_echo "$as_me: error: $2" >&2
14626
15028
  as_fn_exit $as_status
14627
15029
} # as_fn_error
14628
15030
 
14818
15220
      test -d "$as_dir" && break
14819
15221
    done
14820
15222
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14821
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
15223
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14822
15224
 
14823
15225
 
14824
15226
} # as_fn_mkdir_p
14871
15273
# report actual input values of CONFIG_FILES etc. instead of their
14872
15274
# values after options handling.
14873
15275
ac_log="
14874
 
This file was extended by upower $as_me 0.9.4, which was
14875
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
15276
This file was extended by upower $as_me 0.9.5, which was
 
15277
generated by GNU Autoconf 2.66.  Invocation command line was
14876
15278
 
14877
15279
  CONFIG_FILES    = $CONFIG_FILES
14878
15280
  CONFIG_HEADERS  = $CONFIG_HEADERS
14937
15339
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14938
15340
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14939
15341
ac_cs_version="\\
14940
 
upower config.status 0.9.4
14941
 
configured by $0, generated by GNU Autoconf 2.65,
 
15342
upower config.status 0.9.5
 
15343
configured by $0, generated by GNU Autoconf 2.66,
14942
15344
  with options \\"\$ac_cs_config\\"
14943
15345
 
14944
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
15346
Copyright (C) 2010 Free Software Foundation, Inc.
14945
15347
This config.status script is free software; the Free Software Foundation
14946
15348
gives unlimited permission to copy, distribute and modify it."
14947
15349
 
14997
15399
    ac_need_defaults=false;;
14998
15400
  --he | --h)
14999
15401
    # Conflict between --help and --header
15000
 
    as_fn_error "ambiguous option: \`$1'
 
15402
    as_fn_error $? "ambiguous option: \`$1'
15001
15403
Try \`$0 --help' for more information.";;
15002
15404
  --help | --hel | -h )
15003
15405
    $as_echo "$ac_cs_usage"; exit ;;
15006
15408
    ac_cs_silent=: ;;
15007
15409
 
15008
15410
  # This is an error.
15009
 
  -*) as_fn_error "unrecognized option: \`$1'
 
15411
  -*) as_fn_error $? "unrecognized option: \`$1'
15010
15412
Try \`$0 --help' for more information." ;;
15011
15413
 
15012
15414
  *) as_fn_append ac_config_targets " $1"
15060
15462
sed_quote_subst='$sed_quote_subst'
15061
15463
double_quote_subst='$double_quote_subst'
15062
15464
delay_variable_subst='$delay_variable_subst'
15063
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15064
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15065
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15066
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15067
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15068
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15069
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15070
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15071
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15072
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15073
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15074
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15075
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15076
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15077
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15078
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15079
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15080
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15081
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15082
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15083
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15084
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15085
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15086
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15087
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15088
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15089
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15090
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15091
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15092
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15093
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15094
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15095
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15096
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15097
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15098
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15099
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15100
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15101
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15102
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15103
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15104
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15105
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15106
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15107
 
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"`'
15108
 
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"`'
15109
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15110
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15111
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15112
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15113
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15114
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15115
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15116
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15117
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15118
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15119
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15120
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15121
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15122
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15123
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15124
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15125
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15126
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15127
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15128
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15129
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15130
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15131
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15132
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15133
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15134
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15135
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15136
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15137
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15138
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15139
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15140
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15141
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15142
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15143
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15144
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15145
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15146
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15147
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15148
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15149
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15150
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15151
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15152
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15153
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15154
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15155
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15156
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15157
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15158
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15159
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15160
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15161
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15162
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15163
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15164
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15165
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15166
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15167
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15168
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15169
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15170
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15171
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15172
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15173
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15174
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15175
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15176
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15177
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15178
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15179
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15180
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
15465
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
15466
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
15467
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
15468
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
15469
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
15470
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
15471
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
15472
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
15473
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
15474
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
15475
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
15476
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
15477
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
15478
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
15479
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
15480
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
15481
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
15482
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
15483
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
15484
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
15485
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
15486
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
15487
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
15488
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
15489
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
15490
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
15491
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
15492
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
15493
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
15494
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
15495
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
15496
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
15497
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
15498
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
15499
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
15500
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
15501
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
15502
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15503
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15504
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15505
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
15506
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
15507
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
15508
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
15509
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
15510
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
15511
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
15512
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
15513
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"`'
 
15514
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
15515
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
15516
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
15517
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
15518
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
15519
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
15520
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
15521
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
15522
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
15523
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
15524
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
15525
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
15526
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
15527
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
15528
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
15529
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15530
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
15531
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
15532
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15533
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15534
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
15535
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
15536
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15537
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15538
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15539
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
15540
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15541
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
15542
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15543
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15544
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15545
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
15546
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
15547
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
15548
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
15549
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
15550
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15551
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
15552
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
15553
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
15554
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
 
15555
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
15556
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
15557
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
15558
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
15559
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
15560
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15561
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
15562
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
15563
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
15564
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
15565
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
15566
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15567
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
15568
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
15569
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
15570
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
15571
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
15572
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15573
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15574
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
15575
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
15576
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
15577
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
15578
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
15579
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
15580
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
15581
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
15582
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
15583
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
15584
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15181
15585
 
15182
15586
LTCC='$LTCC'
15183
15587
LTCFLAGS='$LTCFLAGS'
15184
15588
compiler='$compiler_DEFAULT'
15185
15589
 
 
15590
# A function that is used when there is no print builtin or printf.
 
15591
func_fallback_echo ()
 
15592
{
 
15593
  eval 'cat <<_LTECHO_EOF
 
15594
\$1
 
15595
_LTECHO_EOF'
 
15596
}
 
15597
 
15186
15598
# Quote evaled strings.
15187
 
for var in SED \
 
15599
for var in SHELL \
 
15600
ECHO \
 
15601
SED \
15188
15602
GREP \
15189
15603
EGREP \
15190
15604
FGREP \
15208
15622
lt_cv_sys_global_symbol_to_cdecl \
15209
15623
lt_cv_sys_global_symbol_to_c_name_address \
15210
15624
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15211
 
SHELL \
15212
 
ECHO \
15213
15625
lt_prog_compiler_no_builtin_flag \
15214
15626
lt_prog_compiler_wl \
15215
15627
lt_prog_compiler_pic \
15239
15651
libname_spec \
15240
15652
library_names_spec \
15241
15653
soname_spec \
 
15654
install_override_mode \
15242
15655
finish_eval \
15243
15656
old_striplib \
15244
15657
striplib; do
15245
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15658
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15246
15659
    *[\\\\\\\`\\"\\\$]*)
15247
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
15660
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15248
15661
      ;;
15249
15662
    *)
15250
15663
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15271
15684
finish_cmds \
15272
15685
sys_lib_search_path_spec \
15273
15686
sys_lib_dlsearch_path_spec; do
15274
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15687
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15275
15688
    *[\\\\\\\`\\"\\\$]*)
15276
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
15689
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15277
15690
      ;;
15278
15691
    *)
15279
15692
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15281
15694
    esac
15282
15695
done
15283
15696
 
15284
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
15285
 
case \$lt_ECHO in
15286
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15287
 
  ;;
15288
 
esac
15289
 
 
15290
15697
ac_aux_dir='$ac_aux_dir'
15291
15698
xsi_shell='$xsi_shell'
15292
15699
lt_shell_append='$lt_shell_append'
15342
15749
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15343
15750
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15344
15751
 
15345
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
15752
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15346
15753
  esac
15347
15754
done
15348
15755
 
15380
15787
{
15381
15788
  tmp=./conf$$-$RANDOM
15382
15789
  (umask 077 && mkdir "$tmp")
15383
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
15790
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15384
15791
 
15385
15792
# Set up the scripts for CONFIG_FILES section.
15386
15793
# No need to generate them if there are no CONFIG_FILES.
15397
15804
fi
15398
15805
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15399
15806
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15400
 
  ac_cs_awk_cr='\r'
 
15807
  ac_cs_awk_cr='\\r'
15401
15808
else
15402
15809
  ac_cs_awk_cr=$ac_cr
15403
15810
fi
15411
15818
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15412
15819
  echo "_ACEOF"
15413
15820
} >conf$$subs.sh ||
15414
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15415
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
15821
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15822
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15416
15823
ac_delim='%!_!# '
15417
15824
for ac_last_try in false false false false false :; do
15418
15825
  . ./conf$$subs.sh ||
15419
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
15826
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15420
15827
 
15421
15828
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15422
15829
  if test $ac_delim_n = $ac_delim_num; then
15423
15830
    break
15424
15831
  elif $ac_last_try; then
15425
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
15832
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15426
15833
  else
15427
15834
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15428
15835
  fi
15511
15918
else
15512
15919
  cat
15513
15920
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15514
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
15921
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15515
15922
_ACEOF
15516
15923
 
15517
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
15518
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
15924
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
15925
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15519
15926
# trailing colons and then remove the whole line if VPATH becomes empty
15520
15927
# (actually we leave an empty line to preserve line numbers).
15521
15928
if test "x$srcdir" = x.; then
15522
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15523
 
s/:*\$(srcdir):*/:/
15524
 
s/:*\${srcdir}:*/:/
15525
 
s/:*@srcdir@:*/:/
15526
 
s/^\([^=]*=[     ]*\):*/\1/
 
15929
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
15930
h
 
15931
s///
 
15932
s/^/:/
 
15933
s/[      ]*$/:/
 
15934
s/:\$(srcdir):/:/g
 
15935
s/:\${srcdir}:/:/g
 
15936
s/:@srcdir@:/:/g
 
15937
s/^:*//
15527
15938
s/:*$//
 
15939
x
 
15940
s/\(=[   ]*\).*/\1/
 
15941
G
 
15942
s/\n//
15528
15943
s/^[^=]*=[       ]*$//
15529
15944
}'
15530
15945
fi
15552
15967
  if test -z "$ac_t"; then
15553
15968
    break
15554
15969
  elif $ac_last_try; then
15555
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
15970
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15556
15971
  else
15557
15972
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15558
15973
  fi
15637
16052
_ACAWK
15638
16053
_ACEOF
15639
16054
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15640
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
16055
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15641
16056
fi # test -n "$CONFIG_HEADERS"
15642
16057
 
15643
16058
 
15650
16065
  esac
15651
16066
  case $ac_mode$ac_tag in
15652
16067
  :[FHL]*:*);;
15653
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
16068
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15654
16069
  :[FH]-) ac_tag=-:-;;
15655
16070
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15656
16071
  esac
15678
16093
           [\\/$]*) false;;
15679
16094
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15680
16095
           esac ||
15681
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
16096
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15682
16097
      esac
15683
16098
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15684
16099
      as_fn_append ac_file_inputs " '$ac_f'"
15705
16120
 
15706
16121
    case $ac_tag in
15707
16122
    *:-:* | *:-) cat >"$tmp/stdin" \
15708
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
16123
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15709
16124
    esac
15710
16125
    ;;
15711
16126
  esac
15842
16257
$ac_datarootdir_hack
15843
16258
"
15844
16259
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15845
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
16260
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15846
16261
 
15847
16262
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15848
16263
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15849
16264
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15850
16265
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15851
 
which seems to be undefined.  Please make sure it is defined." >&5
 
16266
which seems to be undefined.  Please make sure it is defined" >&5
15852
16267
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15853
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
16268
which seems to be undefined.  Please make sure it is defined" >&2;}
15854
16269
 
15855
16270
  rm -f "$tmp/stdin"
15856
16271
  case $ac_file in
15857
16272
  -) cat "$tmp/out" && rm -f "$tmp/out";;
15858
16273
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15859
16274
  esac \
15860
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
16275
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15861
16276
 ;;
15862
16277
  :H)
15863
16278
  #
15868
16283
      $as_echo "/* $configure_input  */" \
15869
16284
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15870
16285
    } >"$tmp/config.h" \
15871
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
16286
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15872
16287
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15873
16288
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15874
16289
$as_echo "$as_me: $ac_file is unchanged" >&6;}
15875
16290
    else
15876
16291
      rm -f "$ac_file"
15877
16292
      mv "$tmp/config.h" "$ac_file" \
15878
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
16293
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15879
16294
    fi
15880
16295
  else
15881
16296
    $as_echo "/* $configure_input  */" \
15882
16297
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15883
 
      || as_fn_error "could not create -" "$LINENO" 5
 
16298
      || as_fn_error $? "could not create -" "$LINENO" 5
15884
16299
  fi
15885
16300
# Compute "$ac_file"'s index in $config_headers.
15886
16301
_am_arg="$ac_file"
16041
16456
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16042
16457
#
16043
16458
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16044
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
16459
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
16460
#                 Inc.
16045
16461
#   Written by Gordon Matzigkeit, 1996
16046
16462
#
16047
16463
#   This file is part of GNU Libtool.
16089
16505
# Whether or not to optimize for fast installation.
16090
16506
fast_install=$enable_fast_install
16091
16507
 
 
16508
# Shell to use when invoking shell scripts.
 
16509
SHELL=$lt_SHELL
 
16510
 
 
16511
# An echo program that protects backslashes.
 
16512
ECHO=$lt_ECHO
 
16513
 
16092
16514
# The host system.
16093
16515
host_alias=$host_alias
16094
16516
host=$host
16138
16560
# turn newlines into spaces.
16139
16561
NL2SP=$lt_lt_NL2SP
16140
16562
 
16141
 
# How to create reloadable object files.
16142
 
reload_flag=$lt_reload_flag
16143
 
reload_cmds=$lt_reload_cmds
16144
 
 
16145
16563
# An object symbol dumper.
16146
16564
OBJDUMP=$lt_OBJDUMP
16147
16565
 
16163
16581
old_postinstall_cmds=$lt_old_postinstall_cmds
16164
16582
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16165
16583
 
 
16584
# Whether to use a lock for old archive extraction.
 
16585
lock_old_archive_extraction=$lock_old_archive_extraction
 
16586
 
16166
16587
# A C compiler.
16167
16588
LTCC=$lt_CC
16168
16589
 
16184
16605
# The name of the directory that contains temporary libtool files.
16185
16606
objdir=$objdir
16186
16607
 
16187
 
# Shell to use when invoking shell scripts.
16188
 
SHELL=$lt_SHELL
16189
 
 
16190
 
# An echo program that does not interpret backslashes.
16191
 
ECHO=$lt_ECHO
16192
 
 
16193
16608
# Used to examine libraries when file_magic_cmd begins with "file".
16194
16609
MAGIC_CMD=$MAGIC_CMD
16195
16610
 
16252
16667
# The coded name of the library, if different from the real name.
16253
16668
soname_spec=$lt_soname_spec
16254
16669
 
 
16670
# Permission mode override for installation of shared libraries.
 
16671
install_override_mode=$lt_install_override_mode
 
16672
 
16255
16673
# Command to use after installation of a shared archive.
16256
16674
postinstall_cmds=$lt_postinstall_cmds
16257
16675
 
16291
16709
# The linker used to build libraries.
16292
16710
LD=$lt_LD
16293
16711
 
 
16712
# How to create reloadable object files.
 
16713
reload_flag=$lt_reload_flag
 
16714
reload_cmds=$lt_reload_cmds
 
16715
 
16294
16716
# Commands used to build an old-style archive.
16295
16717
old_archive_cmds=$lt_old_archive_cmds
16296
16718
 
16550
16972
func_dirname ()
16551
16973
{
16552
16974
  # Extract subdirectory from the argument.
16553
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
16975
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
16554
16976
  if test "X$func_dirname_result" = "X${1}"; then
16555
16977
    func_dirname_result="${3}"
16556
16978
  else
16561
16983
# func_basename file
16562
16984
func_basename ()
16563
16985
{
16564
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
16986
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
16565
16987
}
16566
16988
 
16567
16989
 
16574
16996
func_stripname ()
16575
16997
{
16576
16998
  case ${2} in
16577
 
    .*) func_stripname_result=`$ECHO "X${3}" \
16578
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16579
 
    *)  func_stripname_result=`$ECHO "X${3}" \
16580
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
16999
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
17000
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16581
17001
  esac
16582
17002
}
16583
17003
 
16588
17008
# func_opt_split
16589
17009
func_opt_split ()
16590
17010
{
16591
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16592
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
17011
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
 
17012
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16593
17013
}
16594
17014
 
16595
17015
# func_lo2o object
16596
17016
func_lo2o ()
16597
17017
{
16598
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
17018
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
16599
17019
}
16600
17020
 
16601
17021
# func_xform libobj-or-source
16602
17022
func_xform ()
16603
17023
{
16604
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
17024
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16605
17025
}
16606
17026
 
16607
17027
# func_arith arithmetic-term...
16660
17080
      esac ;;
16661
17081
    "po/stamp-it":C)
16662
17082
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16663
 
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
17083
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16664
17084
    fi
16665
17085
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16666
17086
    >"po/stamp-it.tmp"
16688
17108
ac_clean_files=$ac_clean_files_save
16689
17109
 
16690
17110
test $ac_write_fail = 0 ||
16691
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
17111
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16692
17112
 
16693
17113
 
16694
17114
# configure is writing to config.log, and then calls config.status.
16709
17129
  exec 5>>config.log
16710
17130
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16711
17131
  # would make configure fail if this is the last instruction.
16712
 
  $ac_cs_success || as_fn_exit $?
 
17132
  $ac_cs_success || as_fn_exit 1
16713
17133
fi
16714
17134
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16715
17135
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16737
17157
        xsltproc:                   ${XSLTPROC}
16738
17158
 
16739
17159
        Backend:                    ${with_backend}
 
17160
        libimobiledevice support:   ${with_idevice}
16740
17161
        Maintainer mode:            ${USE_MAINTAINER_MODE}
16741
17162
        Building api docs:          ${enable_gtk_doc}
16742
17163
        Building man pages:         ${enable_man_pages}