~ubuntu-branches/ubuntu/wily/blueman/wily-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2014-01-21 08:54:58 UTC
  • mfrom: (2.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20140121085458-riy3j6wk9vfd599j
Tags: 1.23-git201312311147-1ubuntu1
* Merge from debian unstable. Remaining changes:
  - debian/patches/01_dont_autostart_lxde.patch:
    + Don't autostart the applet in LXDE
  - debian/patches/02_dont_crash_on_non-bluetooth_card.patch:
    + Avoid crashing when receiving event for cards blueman shouldn't handle
  - debian/control: Don't depend on python-appindicator
  - debian/patches/03_filemanager_fix.patch:
    + Add support for more filemanagers 

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.67 for blueman 1.23.
4
 
#
5
 
#
6
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8
 
# Foundation, Inc.
 
3
# Generated by GNU Autoconf 2.69 for blueman 1.23.
 
4
#
 
5
#
 
6
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9
7
#
10
8
#
11
9
# This configure script is free software; the Free Software Foundation
89
87
IFS=" ""        $as_nl"
90
88
 
91
89
# Find who we are.  Look in the path if we contain no directory separator.
 
90
as_myself=
92
91
case $0 in #((
93
92
  *[\\/]* ) as_myself=$0 ;;
94
93
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
132
# CDPATH.
134
133
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
134
 
 
135
# Use a proper internal environment variable to ensure we don't fall
 
136
  # into an infinite loop, continuously re-executing ourselves.
 
137
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 
138
    _as_can_reexec=no; export _as_can_reexec;
 
139
    # We cannot yet assume a decent shell, so we have to provide a
 
140
# neutralization value for shells without unset; and this also
 
141
# works around shells that cannot unset nonexistent variables.
 
142
# Preserve -v and -x to the replacement shell.
 
143
BASH_ENV=/dev/null
 
144
ENV=/dev/null
 
145
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
146
case $- in # ((((
 
147
  *v*x* | *x*v* ) as_opts=-vx ;;
 
148
  *v* ) as_opts=-v ;;
 
149
  *x* ) as_opts=-x ;;
 
150
  * ) as_opts= ;;
 
151
esac
 
152
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
153
# Admittedly, this is quite paranoid, since all the known shells bail
 
154
# out after a failed `exec'.
 
155
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
156
as_fn_exit 255
 
157
  fi
 
158
  # We don't want this to propagate to other subprocesses.
 
159
          { _as_can_reexec=; unset _as_can_reexec;}
136
160
if test "x$CONFIG_SHELL" = x; then
137
161
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
162
  emulate sh
166
190
else
167
191
  exitcode=1; echo positional parameters were not saved.
168
192
fi
169
 
test x\$exitcode = x0 || exit 1"
 
193
test x\$exitcode = x0 || exit 1
 
194
test -x / || exit 1"
170
195
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
196
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
197
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
198
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
199
 
 
200
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
201
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
202
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
203
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
204
    PATH=/empty FPATH=/empty; export PATH FPATH
 
205
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
206
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
174
207
test \$(( 1 + 1 )) = 2 || exit 1"
175
208
  if (eval "$as_required") 2>/dev/null; then :
176
209
  as_have_required=yes
211
244
 
212
245
 
213
246
      if test "x$CONFIG_SHELL" != x; then :
214
 
  # We cannot yet assume a decent shell, so we have to provide a
215
 
        # neutralization value for shells without unset; and this also
216
 
        # works around shells that cannot unset nonexistent variables.
217
 
        BASH_ENV=/dev/null
218
 
        ENV=/dev/null
219
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
 
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
247
  export CONFIG_SHELL
 
248
             # We cannot yet assume a decent shell, so we have to provide a
 
249
# neutralization value for shells without unset; and this also
 
250
# works around shells that cannot unset nonexistent variables.
 
251
# Preserve -v and -x to the replacement shell.
 
252
BASH_ENV=/dev/null
 
253
ENV=/dev/null
 
254
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
255
case $- in # ((((
 
256
  *v*x* | *x*v* ) as_opts=-vx ;;
 
257
  *v* ) as_opts=-v ;;
 
258
  *x* ) as_opts=-x ;;
 
259
  * ) as_opts= ;;
 
260
esac
 
261
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
262
# Admittedly, this is quite paranoid, since all the known shells bail
 
263
# out after a failed `exec'.
 
264
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
265
exit 255
222
266
fi
223
267
 
224
268
    if test x$as_have_required = xno; then :
320
364
 
321
365
 
322
366
} # as_fn_mkdir_p
 
367
 
 
368
# as_fn_executable_p FILE
 
369
# -----------------------
 
370
# Test if FILE is an executable regular file.
 
371
as_fn_executable_p ()
 
372
{
 
373
  test -f "$1" && test -x "$1"
 
374
} # as_fn_executable_p
323
375
# as_fn_append VAR VALUE
324
376
# ----------------------
325
377
# Append the text in VALUE to the end of the definition contained in VAR. Take
441
493
  chmod +x "$as_me.lineno" ||
442
494
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
495
 
 
496
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
497
  # already done that, so ensure we don't try to do so again and fall
 
498
  # in an infinite loop.  This has already happened in practice.
 
499
  _as_can_reexec=no; export _as_can_reexec
444
500
  # Don't try to exec as it changes $[0], causing all sort of problems
445
501
  # (the dirname of $[0] is not the place where we might find the
446
502
  # original and so on.  Autoconf is especially sensitive to this).
475
531
    # ... but there are two gotchas:
476
532
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
533
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
 
    # In both cases, we have to default to `cp -p'.
 
534
    # In both cases, we have to default to `cp -pR'.
479
535
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480
 
      as_ln_s='cp -p'
 
536
      as_ln_s='cp -pR'
481
537
  elif ln conf$$.file conf$$ 2>/dev/null; then
482
538
    as_ln_s=ln
483
539
  else
484
 
    as_ln_s='cp -p'
 
540
    as_ln_s='cp -pR'
485
541
  fi
486
542
else
487
 
  as_ln_s='cp -p'
 
543
  as_ln_s='cp -pR'
488
544
fi
489
545
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
546
rmdir conf$$.dir 2>/dev/null
496
552
  as_mkdir_p=false
497
553
fi
498
554
 
499
 
if test -x / >/dev/null 2>&1; then
500
 
  as_test_x='test -x'
501
 
else
502
 
  if ls -dL / >/dev/null 2>&1; then
503
 
    as_ls_L_option=L
504
 
  else
505
 
    as_ls_L_option=
506
 
  fi
507
 
  as_test_x='
508
 
    eval sh -c '\''
509
 
      if test -d "$1"; then
510
 
        test -d "$1/.";
511
 
      else
512
 
        case $1 in #(
513
 
        -*)set "./$1";;
514
 
        esac;
515
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516
 
        ???[sx]*):;;*)false;;esac;fi
517
 
    '\'' sh
518
 
  '
519
 
fi
520
 
as_executable_p=$as_test_x
 
555
as_test_x='test -x'
 
556
as_executable_p=as_fn_executable_p
521
557
 
522
558
# Sed expression to map a string onto a valid CPP name.
523
559
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525
561
# Sed expression to map a string onto a valid variable name.
526
562
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
563
 
528
 
 
529
 
 
530
 
# Check that we are running under the correct shell.
531
564
SHELL=${CONFIG_SHELL-/bin/sh}
532
565
 
533
 
case X$lt_ECHO in
534
 
X*--fallback-echo)
535
 
  # Remove one level of quotation (which was required for Make).
536
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537
 
  ;;
538
 
esac
539
 
 
540
 
ECHO=${lt_ECHO-echo}
541
 
if test "X$1" = X--no-reexec; then
542
 
  # Discard the --no-reexec flag, and continue.
543
 
  shift
544
 
elif test "X$1" = X--fallback-echo; then
545
 
  # Avoid inline document here, it may be left over
546
 
  :
547
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
 
  # Yippee, $ECHO works!
549
 
  :
550
 
else
551
 
  # Restart under the correct shell.
552
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
553
 
fi
554
 
 
555
 
if test "X$1" = X--fallback-echo; then
556
 
  # used as fallback echo
557
 
  shift
558
 
  cat <<_LT_EOF
559
 
$*
560
 
_LT_EOF
561
 
  exit 0
562
 
fi
563
 
 
564
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
565
 
# if CDPATH is set.
566
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
 
 
568
 
if test -z "$lt_ECHO"; then
569
 
  if test "X${echo_test_string+set}" != Xset; then
570
 
    # find a string as large as possible, as long as the shell can cope with it
571
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575
 
      then
576
 
        break
577
 
      fi
578
 
    done
579
 
  fi
580
 
 
581
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
584
 
    :
585
 
  else
586
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
587
 
    # backslashes.  This makes it impossible to quote backslashes using
588
 
    #   echo "$something" | sed 's/\\/\\\\/g'
589
 
    #
590
 
    # So, first we look for a working echo in the user's PATH.
591
 
 
592
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
 
    for dir in $PATH /usr/ucb; do
594
 
      IFS="$lt_save_ifs"
595
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
599
 
        ECHO="$dir/echo"
600
 
        break
601
 
      fi
602
 
    done
603
 
    IFS="$lt_save_ifs"
604
 
 
605
 
    if test "X$ECHO" = Xecho; then
606
 
      # We didn't find a better echo, so look for alternatives.
607
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
        # This shell has a builtin print -r that does the trick.
611
 
        ECHO='print -r'
612
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
614
 
        # If we have ksh, try running configure again with it.
615
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
 
        export ORIGINAL_CONFIG_SHELL
617
 
        CONFIG_SHELL=/bin/ksh
618
 
        export CONFIG_SHELL
619
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620
 
      else
621
 
        # Try using printf.
622
 
        ECHO='printf %s\n'
623
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
626
 
          # Cool, printf works
627
 
          :
628
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
 
             test "X$echo_testing_string" = 'X\t' &&
630
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
632
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633
 
          export CONFIG_SHELL
634
 
          SHELL="$CONFIG_SHELL"
635
 
          export SHELL
636
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
 
             test "X$echo_testing_string" = 'X\t' &&
639
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
641
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
642
 
        else
643
 
          # maybe with a smaller string...
644
 
          prev=:
645
 
 
646
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648
 
            then
649
 
              break
650
 
            fi
651
 
            prev="$cmd"
652
 
          done
653
 
 
654
 
          if test "$prev" != 'sed 50q "$0"'; then
655
 
            echo_test_string=`eval $prev`
656
 
            export echo_test_string
657
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658
 
          else
659
 
            # Oops.  We lost completely, so just stick with echo.
660
 
            ECHO=echo
661
 
          fi
662
 
        fi
663
 
      fi
664
 
    fi
665
 
  fi
666
 
fi
667
 
 
668
 
# Copy echo and quote the copy suitably for passing to libtool from
669
 
# the Makefile, instead of quoting the original, which is used later.
670
 
lt_ECHO=$ECHO
671
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673
 
fi
674
 
 
675
 
 
676
 
 
677
566
 
678
567
test -n "$DJDIR" || exec 7<&0 </dev/null
679
568
exec 6>&1
798
687
INTLTOOL_KEYS_RULE
799
688
INTLTOOL_DIRECTORY_RULE
800
689
INTLTOOL_DESKTOP_RULE
 
690
intltool__v_merge_options_0
 
691
intltool__v_merge_options_
 
692
INTLTOOL_V_MERGE_OPTIONS
 
693
INTLTOOL__v_MERGE_0
 
694
INTLTOOL__v_MERGE_
 
695
INTLTOOL_V_MERGE
801
696
INTLTOOL_EXTRACT
802
697
INTLTOOL_MERGE
803
698
INTLTOOL_UPDATE
827
722
LIPO
828
723
NMEDIT
829
724
DSYMUTIL
830
 
lt_ECHO
 
725
MANIFEST_TOOL
831
726
RANLIB
 
727
ac_ct_AR
832
728
AR
 
729
DLLTOOL
833
730
OBJDUMP
834
731
LN_S
835
732
NM
852
749
am__fastdepCC_FALSE
853
750
am__fastdepCC_TRUE
854
751
CCDEPMODE
 
752
am__nodep
855
753
AMDEPBACKSLASH
856
754
AMDEP_FALSE
857
755
AMDEP_TRUE
868
766
MAINT
869
767
MAINTAINER_MODE_FALSE
870
768
MAINTAINER_MODE_TRUE
 
769
AM_BACKSLASH
 
770
AM_DEFAULT_VERBOSITY
 
771
AM_DEFAULT_V
 
772
AM_V
871
773
am__untar
872
774
am__tar
873
775
AMTAR
932
834
ac_subst_files=''
933
835
ac_user_opts='
934
836
enable_option_checking
 
837
enable_silent_rules
935
838
enable_maintainer_mode
936
839
enable_dependency_tracking
937
840
enable_shared
939
842
with_pic
940
843
enable_fast_install
941
844
with_gnu_ld
 
845
with_sysroot
942
846
enable_libtool_lock
943
847
enable_nls
944
848
with_dhcp_config
959
863
PKG_CONFIG
960
864
PKG_CONFIG_PATH
961
865
PKG_CONFIG_LIBDIR
 
866
PYTHON
962
867
PYREXC
963
868
PYGTK_CFLAGS
964
869
PYGTK_LIBS
1370
1275
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1371
1276
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1372
1277
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1373
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1278
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1374
1279
    ;;
1375
1280
 
1376
1281
  esac
1421
1326
if test "x$host_alias" != x; then
1422
1327
  if test "x$build_alias" = x; then
1423
1328
    cross_compiling=maybe
1424
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1425
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1426
1329
  elif test "x$build_alias" != "x$host_alias"; then
1427
1330
    cross_compiling=yes
1428
1331
  fi
1586
1489
  --disable-option-checking  ignore unrecognized --enable/--with options
1587
1490
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1588
1491
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1589
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
1590
 
                          (and sometimes confusing) to the casual installer
1591
 
  --disable-dependency-tracking  speeds up one-time build
1592
 
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1492
  --enable-silent-rules   less verbose build output (undo: "make V=1")
 
1493
  --disable-silent-rules  verbose build output (undo: "make V=0")
 
1494
  --enable-maintainer-mode
 
1495
                          enable make rules and dependencies not useful (and
 
1496
                          sometimes confusing) to the casual installer
 
1497
  --enable-dependency-tracking
 
1498
                          do not reject slow dependency extractors
 
1499
  --disable-dependency-tracking
 
1500
                          speeds up one-time build
1593
1501
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1594
1502
  --enable-static[=PKGS]  build static libraries [default=yes]
1595
1503
  --enable-fast-install[=PKGS]
1603
1511
Optional Packages:
1604
1512
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1605
1513
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1606
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1514
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1607
1515
                          both]
1608
1516
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1517
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1518
                        (or the compiler's sysroot if not specified).
1609
1519
  --with-dhcp-config=PATH           set dhcp3 server configuration path
1610
1520
  --with-no-runtime-deps-check disable runtime dependency check (for package maintainers)
1611
1521
 
1623
1533
              directories to add to pkg-config's search path
1624
1534
  PKG_CONFIG_LIBDIR
1625
1535
              path overriding pkg-config's built-in search path
 
1536
  PYTHON      the Python interpreter
1626
1537
  PYREXC      Pyrex compiler
1627
1538
  PYGTK_CFLAGS
1628
1539
              C compiler flags for PYGTK, overriding pkg-config
1702
1613
if $ac_init_version; then
1703
1614
  cat <<\_ACEOF
1704
1615
blueman configure 1.23
1705
 
generated by GNU Autoconf 2.67
 
1616
generated by GNU Autoconf 2.69
1706
1617
 
1707
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
1618
Copyright (C) 2012 Free Software Foundation, Inc.
1708
1619
This configure script is free software; the Free Software Foundation
1709
1620
gives unlimited permission to copy, distribute and modify it.
1710
1621
_ACEOF
1748
1659
 
1749
1660
        ac_retval=1
1750
1661
fi
1751
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1662
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752
1663
  as_fn_set_status $ac_retval
1753
1664
 
1754
1665
} # ac_fn_c_try_compile
1780
1691
         test ! -s conftest.err
1781
1692
       } && test -s conftest$ac_exeext && {
1782
1693
         test "$cross_compiling" = yes ||
1783
 
         $as_test_x conftest$ac_exeext
 
1694
         test -x conftest$ac_exeext
1784
1695
       }; then :
1785
1696
  ac_retval=0
1786
1697
else
1794
1705
  # interfere with the next link command; also delete a directory that is
1795
1706
  # left behind by Apple's compiler.  We do this before executing the actions.
1796
1707
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1797
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1708
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1798
1709
  as_fn_set_status $ac_retval
1799
1710
 
1800
1711
} # ac_fn_c_try_link
1808
1719
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809
1720
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1810
1721
$as_echo_n "checking for $2... " >&6; }
1811
 
if eval "test \"\${$3+set}\"" = set; then :
 
1722
if eval \${$3+:} false; then :
1812
1723
  $as_echo_n "(cached) " >&6
1813
1724
else
1814
1725
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1826
1737
eval ac_res=\$$3
1827
1738
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1828
1739
$as_echo "$ac_res" >&6; }
1829
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1740
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830
1741
 
1831
1742
} # ac_fn_c_check_header_compile
1832
1743
 
1862
1773
 
1863
1774
    ac_retval=1
1864
1775
fi
1865
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1776
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866
1777
  as_fn_set_status $ac_retval
1867
1778
 
1868
1779
} # ac_fn_c_try_cpp
1904
1815
       ac_retval=$ac_status
1905
1816
fi
1906
1817
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1907
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1818
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1908
1819
  as_fn_set_status $ac_retval
1909
1820
 
1910
1821
} # ac_fn_c_try_run
1917
1828
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1918
1829
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1919
1830
$as_echo_n "checking for $2... " >&6; }
1920
 
if eval "test \"\${$3+set}\"" = set; then :
 
1831
if eval \${$3+:} false; then :
1921
1832
  $as_echo_n "(cached) " >&6
1922
1833
else
1923
1834
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972
1883
eval ac_res=\$$3
1973
1884
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974
1885
$as_echo "$ac_res" >&6; }
1975
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1886
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1976
1887
 
1977
1888
} # ac_fn_c_check_func
1978
1889
 
1984
1895
ac_fn_c_check_header_mongrel ()
1985
1896
{
1986
1897
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1898
  if eval \${$3+:} false; then :
1988
1899
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1989
1900
$as_echo_n "checking for $2... " >&6; }
1990
 
if eval "test \"\${$3+set}\"" = set; then :
 
1901
if eval \${$3+:} false; then :
1991
1902
  $as_echo_n "(cached) " >&6
1992
1903
fi
1993
1904
eval ac_res=\$$3
2050
1961
esac
2051
1962
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2052
1963
$as_echo_n "checking for $2... " >&6; }
2053
 
if eval "test \"\${$3+set}\"" = set; then :
 
1964
if eval \${$3+:} false; then :
2054
1965
  $as_echo_n "(cached) " >&6
2055
1966
else
2056
1967
  eval "$3=\$ac_header_compiler"
2059
1970
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2060
1971
$as_echo "$ac_res" >&6; }
2061
1972
fi
2062
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1973
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2063
1974
 
2064
1975
} # ac_fn_c_check_header_mongrel
2065
1976
cat >config.log <<_ACEOF
2067
1978
running configure, to aid debugging if configure makes a mistake.
2068
1979
 
2069
1980
It was created by blueman $as_me 1.23, which was
2070
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
1981
generated by GNU Autoconf 2.69.  Invocation command line was
2071
1982
 
2072
1983
  $ $0 $@
2073
1984
 
2325
2236
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2326
2237
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2327
2238
as_fn_error $? "failed to load site script $ac_site_file
2328
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2239
See \`config.log' for more details" "$LINENO" 5; }
2329
2240
  fi
2330
2241
done
2331
2242
 
2416
2327
 
2417
2328
ac_config_headers="$ac_config_headers config.h"
2418
2329
 
2419
 
am__api_version='1.11'
 
2330
am__api_version='1.14'
2420
2331
 
2421
2332
ac_aux_dir=
2422
2333
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2464
2375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2465
2376
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2466
2377
if test -z "$INSTALL"; then
2467
 
if test "${ac_cv_path_install+set}" = set; then :
 
2378
if ${ac_cv_path_install+:} false; then :
2468
2379
  $as_echo_n "(cached) " >&6
2469
2380
else
2470
2381
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484
2395
    # by default.
2485
2396
    for ac_prog in ginstall scoinst install; do
2486
2397
      for ac_exec_ext in '' $ac_executable_extensions; do
2487
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2398
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2488
2399
          if test $ac_prog = install &&
2489
2400
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2490
2401
            # AIX install.  It has an incompatible calling convention.
2542
2453
 
2543
2454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2544
2455
$as_echo_n "checking whether build environment is sane... " >&6; }
2545
 
# Just in case
2546
 
sleep 1
2547
 
echo timestamp > conftest.file
2548
2456
# Reject unsafe characters in $srcdir or the absolute working directory
2549
2457
# name.  Accept space and tab only in the latter.
2550
2458
am_lf='
2551
2459
'
2552
2460
case `pwd` in
2553
2461
  *[\\\"\#\$\&\'\`$am_lf]*)
2554
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
2462
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2555
2463
esac
2556
2464
case $srcdir in
2557
2465
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2558
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
2466
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2559
2467
esac
2560
2468
 
2561
 
# Do `set' in a subshell so we don't clobber the current shell's
 
2469
# Do 'set' in a subshell so we don't clobber the current shell's
2562
2470
# arguments.  Must try -L first in case configure is actually a
2563
2471
# symlink; some systems play weird games with the mod time of symlinks
2564
2472
# (eg FreeBSD returns the mod time of the symlink's containing
2565
2473
# directory).
2566
2474
if (
2567
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2568
 
   if test "$*" = "X"; then
2569
 
      # -L didn't work.
2570
 
      set X `ls -t "$srcdir/configure" conftest.file`
2571
 
   fi
2572
 
   rm -f conftest.file
2573
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2574
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2575
 
 
2576
 
      # If neither matched, then we have a broken ls.  This can happen
2577
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2578
 
      # broken ls alias from the environment.  This has actually
2579
 
      # happened.  Such a system could not be considered "sane".
2580
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2581
 
alias in your environment" "$LINENO" 5
2582
 
   fi
2583
 
 
 
2475
   am_has_slept=no
 
2476
   for am_try in 1 2; do
 
2477
     echo "timestamp, slept: $am_has_slept" > conftest.file
 
2478
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2479
     if test "$*" = "X"; then
 
2480
        # -L didn't work.
 
2481
        set X `ls -t "$srcdir/configure" conftest.file`
 
2482
     fi
 
2483
     if test "$*" != "X $srcdir/configure conftest.file" \
 
2484
        && test "$*" != "X conftest.file $srcdir/configure"; then
 
2485
 
 
2486
        # If neither matched, then we have a broken ls.  This can happen
 
2487
        # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2488
        # broken ls alias from the environment.  This has actually
 
2489
        # happened.  Such a system could not be considered "sane".
 
2490
        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2491
  alias in your environment" "$LINENO" 5
 
2492
     fi
 
2493
     if test "$2" = conftest.file || test $am_try -eq 2; then
 
2494
       break
 
2495
     fi
 
2496
     # Just in case.
 
2497
     sleep 1
 
2498
     am_has_slept=yes
 
2499
   done
2584
2500
   test "$2" = conftest.file
2585
2501
   )
2586
2502
then
2592
2508
fi
2593
2509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2594
2510
$as_echo "yes" >&6; }
 
2511
# If we didn't sleep, we still need to ensure time stamps of config.status and
 
2512
# generated files are strictly newer.
 
2513
am_sleep_pid=
 
2514
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 
2515
  ( sleep 1 ) &
 
2516
  am_sleep_pid=$!
 
2517
fi
 
2518
 
 
2519
rm -f conftest.file
 
2520
 
2595
2521
test "$program_prefix" != NONE &&
2596
2522
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2597
2523
# Use a double $ so make ignores it.
2614
2540
  esac
2615
2541
fi
2616
2542
# Use eval to expand $SHELL
2617
 
if eval "$MISSING --run true"; then
2618
 
  am_missing_run="$MISSING --run "
 
2543
if eval "$MISSING --is-lightweight"; then
 
2544
  am_missing_run="$MISSING "
2619
2545
else
2620
2546
  am_missing_run=
2621
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2622
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2547
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 
2548
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2623
2549
fi
2624
2550
 
2625
2551
if test x"${install_sh}" != xset; then
2631
2557
  esac
2632
2558
fi
2633
2559
 
2634
 
# Installed binaries are usually stripped using `strip' when the user
2635
 
# run `make install-strip'.  However `strip' might not be the right
 
2560
# Installed binaries are usually stripped using 'strip' when the user
 
2561
# run "make install-strip".  However 'strip' might not be the right
2636
2562
# tool to use in cross-compilation environments, therefore Automake
2637
 
# will honor the `STRIP' environment variable to overrule this program.
 
2563
# will honor the 'STRIP' environment variable to overrule this program.
2638
2564
if test "$cross_compiling" != no; then
2639
2565
  if test -n "$ac_tool_prefix"; then
2640
2566
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2641
2567
set dummy ${ac_tool_prefix}strip; ac_word=$2
2642
2568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2643
2569
$as_echo_n "checking for $ac_word... " >&6; }
2644
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2570
if ${ac_cv_prog_STRIP+:} false; then :
2645
2571
  $as_echo_n "(cached) " >&6
2646
2572
else
2647
2573
  if test -n "$STRIP"; then
2653
2579
  IFS=$as_save_IFS
2654
2580
  test -z "$as_dir" && as_dir=.
2655
2581
    for ac_exec_ext in '' $ac_executable_extensions; do
2656
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2582
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2657
2583
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2658
2584
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2659
2585
    break 2
2681
2607
set dummy strip; ac_word=$2
2682
2608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2683
2609
$as_echo_n "checking for $ac_word... " >&6; }
2684
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2610
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2685
2611
  $as_echo_n "(cached) " >&6
2686
2612
else
2687
2613
  if test -n "$ac_ct_STRIP"; then
2693
2619
  IFS=$as_save_IFS
2694
2620
  test -z "$as_dir" && as_dir=.
2695
2621
    for ac_exec_ext in '' $ac_executable_extensions; do
2696
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2622
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2697
2623
    ac_cv_prog_ac_ct_STRIP="strip"
2698
2624
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2699
2625
    break 2
2734
2660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2735
2661
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2736
2662
if test -z "$MKDIR_P"; then
2737
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2663
  if ${ac_cv_path_mkdir+:} false; then :
2738
2664
  $as_echo_n "(cached) " >&6
2739
2665
else
2740
2666
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2744
2670
  test -z "$as_dir" && as_dir=.
2745
2671
    for ac_prog in mkdir gmkdir; do
2746
2672
         for ac_exec_ext in '' $ac_executable_extensions; do
2747
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2673
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2748
2674
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2749
2675
             'mkdir (GNU coreutils) '* | \
2750
2676
             'mkdir (coreutils) '* | \
2773
2699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2774
2700
$as_echo "$MKDIR_P" >&6; }
2775
2701
 
2776
 
mkdir_p="$MKDIR_P"
2777
 
case $mkdir_p in
2778
 
  [\\/$]* | ?:[\\/]*) ;;
2779
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2780
 
esac
2781
 
 
2782
2702
for ac_prog in gawk mawk nawk awk
2783
2703
do
2784
2704
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2785
2705
set dummy $ac_prog; ac_word=$2
2786
2706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2787
2707
$as_echo_n "checking for $ac_word... " >&6; }
2788
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2708
if ${ac_cv_prog_AWK+:} false; then :
2789
2709
  $as_echo_n "(cached) " >&6
2790
2710
else
2791
2711
  if test -n "$AWK"; then
2797
2717
  IFS=$as_save_IFS
2798
2718
  test -z "$as_dir" && as_dir=.
2799
2719
    for ac_exec_ext in '' $ac_executable_extensions; do
2800
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2720
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2801
2721
    ac_cv_prog_AWK="$ac_prog"
2802
2722
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2803
2723
    break 2
2825
2745
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2826
2746
set x ${MAKE-make}
2827
2747
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2828
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
2748
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2829
2749
  $as_echo_n "(cached) " >&6
2830
2750
else
2831
2751
  cat >conftest.make <<\_ACEOF
2861
2781
fi
2862
2782
rmdir .tst 2>/dev/null
2863
2783
 
 
2784
# Check whether --enable-silent-rules was given.
 
2785
if test "${enable_silent_rules+set}" = set; then :
 
2786
  enableval=$enable_silent_rules;
 
2787
fi
 
2788
 
 
2789
case $enable_silent_rules in # (((
 
2790
  yes) AM_DEFAULT_VERBOSITY=0;;
 
2791
   no) AM_DEFAULT_VERBOSITY=1;;
 
2792
    *) AM_DEFAULT_VERBOSITY=1;;
 
2793
esac
 
2794
am_make=${MAKE-make}
 
2795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
2796
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
2797
if ${am_cv_make_support_nested_variables+:} false; then :
 
2798
  $as_echo_n "(cached) " >&6
 
2799
else
 
2800
  if $as_echo 'TRUE=$(BAR$(V))
 
2801
BAR0=false
 
2802
BAR1=true
 
2803
V=1
 
2804
am__doit:
 
2805
        @$(TRUE)
 
2806
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
2807
  am_cv_make_support_nested_variables=yes
 
2808
else
 
2809
  am_cv_make_support_nested_variables=no
 
2810
fi
 
2811
fi
 
2812
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
2813
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
2814
if test $am_cv_make_support_nested_variables = yes; then
 
2815
    AM_V='$(V)'
 
2816
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
2817
else
 
2818
  AM_V=$AM_DEFAULT_VERBOSITY
 
2819
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
2820
fi
 
2821
AM_BACKSLASH='\'
 
2822
 
2864
2823
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2865
2824
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2866
2825
  # is not polluted with repeated "-I."
2882
2841
 
2883
2842
 
2884
2843
# Define the identity of the package.
2885
 
 PACKAGE=blueman
2886
 
 VERSION=1.23
 
2844
 PACKAGE='blueman'
 
2845
 VERSION='1.23'
2887
2846
 
2888
2847
 
2889
2848
cat >>confdefs.h <<_ACEOF
2911
2870
 
2912
2871
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2913
2872
 
 
2873
# For better backward compatibility.  To be removed once Automake 1.9.x
 
2874
# dies out for good.  For more background, see:
 
2875
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 
2876
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 
2877
mkdir_p='$(MKDIR_P)'
 
2878
 
2914
2879
# We need awk for the "check" target.  The system "awk" is bad on
2915
2880
# some platforms.
2916
 
# Always define AMTAR for backward compatibility.
2917
 
 
2918
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2919
 
 
2920
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2921
 
 
2922
 
 
2923
 
 
2924
 
 
2925
 
 
 
2881
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
2882
# in the wild :-(  We should find a proper way to deprecate it ...
 
2883
AMTAR='$${TAR-tar}'
 
2884
 
 
2885
 
 
2886
# We'll loop over all known methods to create a tar archive until one works.
 
2887
_am_tools='gnutar  pax cpio none'
 
2888
 
 
2889
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 
2890
 
 
2891
 
 
2892
 
 
2893
 
 
2894
 
 
2895
 
 
2896
# POSIX will say in a future version that running "rm -f" with no argument
 
2897
# is OK; and we want to be able to make that assumption in our Makefile
 
2898
# recipes.  So use an aggressive probe to check that the usage we want is
 
2899
# actually supported "in the wild" to an acceptable degree.
 
2900
# See automake bug#10828.
 
2901
# To make any issue more visible, cause the running configure to be aborted
 
2902
# by default if the 'rm' program in use doesn't match our expectations; the
 
2903
# user can still override this though.
 
2904
if rm -f && rm -fr && rm -rf; then : OK; else
 
2905
  cat >&2 <<'END'
 
2906
Oops!
 
2907
 
 
2908
Your 'rm' program seems unable to run without file operands specified
 
2909
on the command line, even when the '-f' option is present.  This is contrary
 
2910
to the behaviour of most rm programs out there, and not conforming with
 
2911
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 
2912
 
 
2913
Please tell bug-automake@gnu.org about your system, including the value
 
2914
of your $PATH and any error possibly output before this message.  This
 
2915
can help us improve future automake versions.
 
2916
 
 
2917
END
 
2918
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 
2919
    echo 'Configuration will proceed anyway, since you have set the' >&2
 
2920
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 
2921
    echo >&2
 
2922
  else
 
2923
    cat >&2 <<'END'
 
2924
Aborting the configuration process, to ensure you take notice of the issue.
 
2925
 
 
2926
You can download and install GNU coreutils to get an 'rm' implementation
 
2927
that behaves properly: <http://www.gnu.org/software/coreutils/>.
 
2928
 
 
2929
If you want to complete the configuration process using your problematic
 
2930
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 
2931
to "yes", and re-run configure.
 
2932
 
 
2933
END
 
2934
    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
 
2935
  fi
 
2936
fi
2926
2937
 
2927
2938
 
2928
2939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2957
2968
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2958
2969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2959
2970
$as_echo_n "checking for $ac_word... " >&6; }
2960
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2971
if ${ac_cv_prog_CC+:} false; then :
2961
2972
  $as_echo_n "(cached) " >&6
2962
2973
else
2963
2974
  if test -n "$CC"; then
2969
2980
  IFS=$as_save_IFS
2970
2981
  test -z "$as_dir" && as_dir=.
2971
2982
    for ac_exec_ext in '' $ac_executable_extensions; do
2972
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2983
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2973
2984
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2974
2985
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2975
2986
    break 2
2997
3008
set dummy gcc; ac_word=$2
2998
3009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2999
3010
$as_echo_n "checking for $ac_word... " >&6; }
3000
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3011
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3001
3012
  $as_echo_n "(cached) " >&6
3002
3013
else
3003
3014
  if test -n "$ac_ct_CC"; then
3009
3020
  IFS=$as_save_IFS
3010
3021
  test -z "$as_dir" && as_dir=.
3011
3022
    for ac_exec_ext in '' $ac_executable_extensions; do
3012
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3023
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3013
3024
    ac_cv_prog_ac_ct_CC="gcc"
3014
3025
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015
3026
    break 2
3050
3061
set dummy ${ac_tool_prefix}cc; ac_word=$2
3051
3062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3052
3063
$as_echo_n "checking for $ac_word... " >&6; }
3053
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3064
if ${ac_cv_prog_CC+:} false; then :
3054
3065
  $as_echo_n "(cached) " >&6
3055
3066
else
3056
3067
  if test -n "$CC"; then
3062
3073
  IFS=$as_save_IFS
3063
3074
  test -z "$as_dir" && as_dir=.
3064
3075
    for ac_exec_ext in '' $ac_executable_extensions; do
3065
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3076
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3066
3077
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3067
3078
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3068
3079
    break 2
3090
3101
set dummy cc; ac_word=$2
3091
3102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3092
3103
$as_echo_n "checking for $ac_word... " >&6; }
3093
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3104
if ${ac_cv_prog_CC+:} false; then :
3094
3105
  $as_echo_n "(cached) " >&6
3095
3106
else
3096
3107
  if test -n "$CC"; then
3103
3114
  IFS=$as_save_IFS
3104
3115
  test -z "$as_dir" && as_dir=.
3105
3116
    for ac_exec_ext in '' $ac_executable_extensions; do
3106
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3117
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3107
3118
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3108
3119
       ac_prog_rejected=yes
3109
3120
       continue
3149
3160
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3150
3161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151
3162
$as_echo_n "checking for $ac_word... " >&6; }
3152
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3163
if ${ac_cv_prog_CC+:} false; then :
3153
3164
  $as_echo_n "(cached) " >&6
3154
3165
else
3155
3166
  if test -n "$CC"; then
3161
3172
  IFS=$as_save_IFS
3162
3173
  test -z "$as_dir" && as_dir=.
3163
3174
    for ac_exec_ext in '' $ac_executable_extensions; do
3164
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3175
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3165
3176
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3166
3177
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3167
3178
    break 2
3193
3204
set dummy $ac_prog; ac_word=$2
3194
3205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195
3206
$as_echo_n "checking for $ac_word... " >&6; }
3196
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3207
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3197
3208
  $as_echo_n "(cached) " >&6
3198
3209
else
3199
3210
  if test -n "$ac_ct_CC"; then
3205
3216
  IFS=$as_save_IFS
3206
3217
  test -z "$as_dir" && as_dir=.
3207
3218
    for ac_exec_ext in '' $ac_executable_extensions; do
3208
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3219
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3209
3220
    ac_cv_prog_ac_ct_CC="$ac_prog"
3210
3221
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3211
3222
    break 2
3248
3259
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3249
3260
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3250
3261
as_fn_error $? "no acceptable C compiler found in \$PATH
3251
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3262
See \`config.log' for more details" "$LINENO" 5; }
3252
3263
 
3253
3264
# Provide some information about the compiler.
3254
3265
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3363
3374
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3364
3375
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3365
3376
as_fn_error 77 "C compiler cannot create executables
3366
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3377
See \`config.log' for more details" "$LINENO" 5; }
3367
3378
else
3368
3379
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3369
3380
$as_echo "yes" >&6; }
3406
3417
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3407
3418
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3408
3419
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3409
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3420
See \`config.log' for more details" "$LINENO" 5; }
3410
3421
fi
3411
3422
rm -f conftest conftest$ac_cv_exeext
3412
3423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3465
3476
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466
3477
as_fn_error $? "cannot run C compiled programs.
3467
3478
If you meant to cross compile, use \`--host'.
3468
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3479
See \`config.log' for more details" "$LINENO" 5; }
3469
3480
    fi
3470
3481
  fi
3471
3482
fi
3476
3487
ac_clean_files=$ac_clean_files_save
3477
3488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3478
3489
$as_echo_n "checking for suffix of object files... " >&6; }
3479
 
if test "${ac_cv_objext+set}" = set; then :
 
3490
if ${ac_cv_objext+:} false; then :
3480
3491
  $as_echo_n "(cached) " >&6
3481
3492
else
3482
3493
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517
3528
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3518
3529
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3519
3530
as_fn_error $? "cannot compute suffix of object files: cannot compile
3520
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3531
See \`config.log' for more details" "$LINENO" 5; }
3521
3532
fi
3522
3533
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3523
3534
fi
3527
3538
ac_objext=$OBJEXT
3528
3539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3529
3540
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3530
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3541
if ${ac_cv_c_compiler_gnu+:} false; then :
3531
3542
  $as_echo_n "(cached) " >&6
3532
3543
else
3533
3544
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564
3575
ac_save_CFLAGS=$CFLAGS
3565
3576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3566
3577
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3567
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3578
if ${ac_cv_prog_cc_g+:} false; then :
3568
3579
  $as_echo_n "(cached) " >&6
3569
3580
else
3570
3581
  ac_save_c_werror_flag=$ac_c_werror_flag
3642
3653
fi
3643
3654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3644
3655
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3645
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3656
if ${ac_cv_prog_cc_c89+:} false; then :
3646
3657
  $as_echo_n "(cached) " >&6
3647
3658
else
3648
3659
  ac_cv_prog_cc_c89=no
3651
3662
/* end confdefs.h.  */
3652
3663
#include <stdarg.h>
3653
3664
#include <stdio.h>
3654
 
#include <sys/types.h>
3655
 
#include <sys/stat.h>
 
3665
struct stat;
3656
3666
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3657
3667
struct buf { int x; };
3658
3668
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3736
3746
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3737
3747
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3738
3748
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3749
 
 
3750
ac_ext=c
 
3751
ac_cpp='$CPP $CPPFLAGS'
 
3752
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3753
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3754
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
 
3756
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
 
3757
if ${am_cv_prog_cc_c_o+:} false; then :
 
3758
  $as_echo_n "(cached) " >&6
 
3759
else
 
3760
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3761
/* end confdefs.h.  */
 
3762
 
 
3763
int
 
3764
main ()
 
3765
{
 
3766
 
 
3767
  ;
 
3768
  return 0;
 
3769
}
 
3770
_ACEOF
 
3771
  # Make sure it works both with $CC and with simple cc.
 
3772
  # Following AC_PROG_CC_C_O, we do the test twice because some
 
3773
  # compilers refuse to overwrite an existing .o file with -o,
 
3774
  # though they will create one.
 
3775
  am_cv_prog_cc_c_o=yes
 
3776
  for am_i in 1 2; do
 
3777
    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
 
3778
   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
 
3779
   ac_status=$?
 
3780
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3781
   (exit $ac_status); } \
 
3782
         && test -f conftest2.$ac_objext; then
 
3783
      : OK
 
3784
    else
 
3785
      am_cv_prog_cc_c_o=no
 
3786
      break
 
3787
    fi
 
3788
  done
 
3789
  rm -f core conftest*
 
3790
  unset am_i
 
3791
fi
 
3792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
 
3793
$as_echo "$am_cv_prog_cc_c_o" >&6; }
 
3794
if test "$am_cv_prog_cc_c_o" != yes; then
 
3795
   # Losing compiler, so override with the script.
 
3796
   # FIXME: It is wrong to rewrite CC.
 
3797
   # But if we don't then we get into trouble of one sort or another.
 
3798
   # A longer-term fix would be to have automake use am__CC in this case,
 
3799
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
3800
   CC="$am_aux_dir/compile $CC"
 
3801
fi
 
3802
ac_ext=c
 
3803
ac_cpp='$CPP $CPPFLAGS'
 
3804
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3805
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3806
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3807
 
3739
3808
DEPDIR="${am__leading_dot}deps"
3740
3809
 
3741
3810
ac_config_commands="$ac_config_commands depfiles"
3755
3824
_am_result=none
3756
3825
# First try GNU make style include.
3757
3826
echo "include confinc" > confmf
3758
 
# Ignore all kinds of additional output from `make'.
 
3827
# Ignore all kinds of additional output from 'make'.
3759
3828
case `$am_make -s -f confmf 2> /dev/null` in #(
3760
3829
*the\ am__doit\ target*)
3761
3830
  am__include=include
3788
3857
if test "x$enable_dependency_tracking" != xno; then
3789
3858
  am_depcomp="$ac_aux_dir/depcomp"
3790
3859
  AMDEPBACKSLASH='\'
 
3860
  am__nodep='_no'
3791
3861
fi
3792
3862
 if test "x$enable_dependency_tracking" != xno; then
3793
3863
  AMDEP_TRUE=
3803
3873
 
3804
3874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3805
3875
$as_echo_n "checking dependency style of $depcc... " >&6; }
3806
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3876
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3807
3877
  $as_echo_n "(cached) " >&6
3808
3878
else
3809
3879
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3810
3880
  # We make a subdir and do the tests there.  Otherwise we can end up
3811
3881
  # making bogus files that we don't know about and never remove.  For
3812
3882
  # instance it was reported that on HP-UX the gcc test will end up
3813
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3814
 
  # in D'.
 
3883
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
3884
  # in D".
 
3885
  rm -rf conftest.dir
3815
3886
  mkdir conftest.dir
3816
3887
  # Copy depcomp to subdir because otherwise we won't find it if we're
3817
3888
  # using a relative directory.
3845
3916
    : > sub/conftest.c
3846
3917
    for i in 1 2 3 4 5 6; do
3847
3918
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3848
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3849
 
      # Solaris 8's {/usr,}/bin/sh.
3850
 
      touch sub/conftst$i.h
 
3919
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
3920
      # Solaris 10 /bin/sh.
 
3921
      echo '/* dummy */' > sub/conftst$i.h
3851
3922
    done
3852
3923
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3853
3924
 
3854
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3925
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3855
3926
    # mode.  It turns out that the SunPro C++ compiler does not properly
3856
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3857
 
    # versions had trouble with output in subdirs
 
3927
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
3928
    # versions had trouble with output in subdirs.
3858
3929
    am__obj=sub/conftest.${OBJEXT-o}
3859
3930
    am__minus_obj="-o $am__obj"
3860
3931
    case $depmode in
3863
3934
      test "$am__universal" = false || continue
3864
3935
      ;;
3865
3936
    nosideeffect)
3866
 
      # after this tag, mechanisms are not by side-effect, so they'll
3867
 
      # only be used when explicitly requested
 
3937
      # After this tag, mechanisms are not by side-effect, so they'll
 
3938
      # only be used when explicitly requested.
3868
3939
      if test "x$enable_dependency_tracking" = xyes; then
3869
3940
        continue
3870
3941
      else
3871
3942
        break
3872
3943
      fi
3873
3944
      ;;
3874
 
    msvisualcpp | msvcmsys)
3875
 
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3945
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
3946
      # This compiler won't grok '-c -o', but also, the minuso test has
3876
3947
      # not run yet.  These depmodes are late enough in the game, and
3877
3948
      # so weak that their functioning should not be impacted.
3878
3949
      am__obj=conftest.${OBJEXT-o}
3934
4005
 
3935
4006
 
3936
4007
 
3937
 
macro_version='2.2.6b'
3938
 
macro_revision='1.3017'
 
4008
macro_version='2.4.2'
 
4009
macro_revision='1.3337'
3939
4010
 
3940
4011
 
3941
4012
 
3957
4028
 
3958
4029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3959
4030
$as_echo_n "checking build system type... " >&6; }
3960
 
if test "${ac_cv_build+set}" = set; then :
 
4031
if ${ac_cv_build+:} false; then :
3961
4032
  $as_echo_n "(cached) " >&6
3962
4033
else
3963
4034
  ac_build_alias=$build_alias
3973
4044
$as_echo "$ac_cv_build" >&6; }
3974
4045
case $ac_cv_build in
3975
4046
*-*-*) ;;
3976
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
4047
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3977
4048
esac
3978
4049
build=$ac_cv_build
3979
4050
ac_save_IFS=$IFS; IFS='-'
3991
4062
 
3992
4063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3993
4064
$as_echo_n "checking host system type... " >&6; }
3994
 
if test "${ac_cv_host+set}" = set; then :
 
4065
if ${ac_cv_host+:} false; then :
3995
4066
  $as_echo_n "(cached) " >&6
3996
4067
else
3997
4068
  if test "x$host_alias" = x; then
4006
4077
$as_echo "$ac_cv_host" >&6; }
4007
4078
case $ac_cv_host in
4008
4079
*-*-*) ;;
4009
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
4080
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4010
4081
esac
4011
4082
host=$ac_cv_host
4012
4083
ac_save_IFS=$IFS; IFS='-'
4022
4093
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4023
4094
 
4024
4095
 
 
4096
# Backslashify metacharacters that are still active within
 
4097
# double-quoted strings.
 
4098
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
4099
 
 
4100
# Same as above, but do not quote variable references.
 
4101
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
4102
 
 
4103
# Sed substitution to delay expansion of an escaped shell variable in a
 
4104
# double_quote_subst'ed string.
 
4105
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
4106
 
 
4107
# Sed substitution to delay expansion of an escaped single quote.
 
4108
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
4109
 
 
4110
# Sed substitution to avoid accidental globbing in evaled expressions
 
4111
no_glob_subst='s/\*/\\\*/g'
 
4112
 
 
4113
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4114
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
4115
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
4116
 
 
4117
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
4118
$as_echo_n "checking how to print strings... " >&6; }
 
4119
# Test print first, because it will be a builtin if present.
 
4120
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
4121
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4122
  ECHO='print -r --'
 
4123
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4124
  ECHO='printf %s\n'
 
4125
else
 
4126
  # Use this function as a fallback that always works.
 
4127
  func_fallback_echo ()
 
4128
  {
 
4129
    eval 'cat <<_LTECHO_EOF
 
4130
$1
 
4131
_LTECHO_EOF'
 
4132
  }
 
4133
  ECHO='func_fallback_echo'
 
4134
fi
 
4135
 
 
4136
# func_echo_all arg...
 
4137
# Invoke $ECHO with all args, space-separated.
 
4138
func_echo_all ()
 
4139
{
 
4140
    $ECHO ""
 
4141
}
 
4142
 
 
4143
case "$ECHO" in
 
4144
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
4145
$as_echo "printf" >&6; } ;;
 
4146
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
4147
$as_echo "print -r" >&6; } ;;
 
4148
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
4149
$as_echo "cat" >&6; } ;;
 
4150
esac
 
4151
 
 
4152
 
 
4153
 
 
4154
 
 
4155
 
 
4156
 
 
4157
 
 
4158
 
 
4159
 
 
4160
 
 
4161
 
 
4162
 
 
4163
 
 
4164
 
4025
4165
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4026
4166
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4027
 
if test "${ac_cv_path_SED+set}" = set; then :
 
4167
if ${ac_cv_path_SED+:} false; then :
4028
4168
  $as_echo_n "(cached) " >&6
4029
4169
else
4030
4170
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4044
4184
    for ac_prog in sed gsed; do
4045
4185
    for ac_exec_ext in '' $ac_executable_extensions; do
4046
4186
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4047
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4187
      as_fn_executable_p "$ac_path_SED" || continue
4048
4188
# Check for GNU ac_path_SED and select it if it is found.
4049
4189
  # Check for GNU $ac_path_SED
4050
4190
case `"$ac_path_SED" --version 2>&1` in
4106
4246
 
4107
4247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4108
4248
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4109
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4249
if ${ac_cv_path_GREP+:} false; then :
4110
4250
  $as_echo_n "(cached) " >&6
4111
4251
else
4112
4252
  if test -z "$GREP"; then
4120
4260
    for ac_prog in grep ggrep; do
4121
4261
    for ac_exec_ext in '' $ac_executable_extensions; do
4122
4262
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4123
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4263
      as_fn_executable_p "$ac_path_GREP" || continue
4124
4264
# Check for GNU ac_path_GREP and select it if it is found.
4125
4265
  # Check for GNU $ac_path_GREP
4126
4266
case `"$ac_path_GREP" --version 2>&1` in
4169
4309
 
4170
4310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4171
4311
$as_echo_n "checking for egrep... " >&6; }
4172
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4312
if ${ac_cv_path_EGREP+:} false; then :
4173
4313
  $as_echo_n "(cached) " >&6
4174
4314
else
4175
4315
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4186
4326
    for ac_prog in egrep; do
4187
4327
    for ac_exec_ext in '' $ac_executable_extensions; do
4188
4328
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4189
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4329
      as_fn_executable_p "$ac_path_EGREP" || continue
4190
4330
# Check for GNU ac_path_EGREP and select it if it is found.
4191
4331
  # Check for GNU $ac_path_EGREP
4192
4332
case `"$ac_path_EGREP" --version 2>&1` in
4236
4376
 
4237
4377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4238
4378
$as_echo_n "checking for fgrep... " >&6; }
4239
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4379
if ${ac_cv_path_FGREP+:} false; then :
4240
4380
  $as_echo_n "(cached) " >&6
4241
4381
else
4242
4382
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4253
4393
    for ac_prog in fgrep; do
4254
4394
    for ac_exec_ext in '' $ac_executable_extensions; do
4255
4395
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4256
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4396
      as_fn_executable_p "$ac_path_FGREP" || continue
4257
4397
# Check for GNU ac_path_FGREP and select it if it is found.
4258
4398
  # Check for GNU $ac_path_FGREP
4259
4399
case `"$ac_path_FGREP" --version 2>&1` in
4367
4507
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4368
4508
$as_echo_n "checking for non-GNU ld... " >&6; }
4369
4509
fi
4370
 
if test "${lt_cv_path_LD+set}" = set; then :
 
4510
if ${lt_cv_path_LD+:} false; then :
4371
4511
  $as_echo_n "(cached) " >&6
4372
4512
else
4373
4513
  if test -z "$LD"; then
4407
4547
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4408
4548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4409
4549
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4410
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4550
if ${lt_cv_prog_gnu_ld+:} false; then :
4411
4551
  $as_echo_n "(cached) " >&6
4412
4552
else
4413
4553
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4434
4574
 
4435
4575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4436
4576
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4437
 
if test "${lt_cv_path_NM+set}" = set; then :
 
4577
if ${lt_cv_path_NM+:} false; then :
4438
4578
  $as_echo_n "(cached) " >&6
4439
4579
else
4440
4580
  if test -n "$NM"; then
4487
4627
  NM="$lt_cv_path_NM"
4488
4628
else
4489
4629
  # Didn't find any BSD compatible name lister, look for dumpbin.
4490
 
  if test -n "$ac_tool_prefix"; then
4491
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4630
  if test -n "$DUMPBIN"; then :
 
4631
    # Let the user override the test.
 
4632
  else
 
4633
    if test -n "$ac_tool_prefix"; then
 
4634
  for ac_prog in dumpbin "link -dump"
4492
4635
  do
4493
4636
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4494
4637
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4495
4638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496
4639
$as_echo_n "checking for $ac_word... " >&6; }
4497
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4640
if ${ac_cv_prog_DUMPBIN+:} false; then :
4498
4641
  $as_echo_n "(cached) " >&6
4499
4642
else
4500
4643
  if test -n "$DUMPBIN"; then
4506
4649
  IFS=$as_save_IFS
4507
4650
  test -z "$as_dir" && as_dir=.
4508
4651
    for ac_exec_ext in '' $ac_executable_extensions; do
4509
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4652
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4510
4653
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4511
4654
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512
4655
    break 2
4532
4675
fi
4533
4676
if test -z "$DUMPBIN"; then
4534
4677
  ac_ct_DUMPBIN=$DUMPBIN
4535
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4678
  for ac_prog in dumpbin "link -dump"
4536
4679
do
4537
4680
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4538
4681
set dummy $ac_prog; ac_word=$2
4539
4682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4540
4683
$as_echo_n "checking for $ac_word... " >&6; }
4541
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4684
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4542
4685
  $as_echo_n "(cached) " >&6
4543
4686
else
4544
4687
  if test -n "$ac_ct_DUMPBIN"; then
4550
4693
  IFS=$as_save_IFS
4551
4694
  test -z "$as_dir" && as_dir=.
4552
4695
    for ac_exec_ext in '' $ac_executable_extensions; do
4553
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4696
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4554
4697
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4555
4698
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4556
4699
    break 2
4587
4730
  fi
4588
4731
fi
4589
4732
 
 
4733
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4734
    *COFF*)
 
4735
      DUMPBIN="$DUMPBIN -symbols"
 
4736
      ;;
 
4737
    *)
 
4738
      DUMPBIN=:
 
4739
      ;;
 
4740
    esac
 
4741
  fi
4590
4742
 
4591
4743
  if test "$DUMPBIN" != ":"; then
4592
4744
    NM="$DUMPBIN"
4601
4753
 
4602
4754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4603
4755
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4604
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
4756
if ${lt_cv_nm_interface+:} false; then :
4605
4757
  $as_echo_n "(cached) " >&6
4606
4758
else
4607
4759
  lt_cv_nm_interface="BSD nm"
4608
4760
  echo "int some_variable = 0;" > conftest.$ac_ext
4609
 
  (eval echo "\"\$as_me:4609: $ac_compile\"" >&5)
 
4761
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4610
4762
  (eval "$ac_compile" 2>conftest.err)
4611
4763
  cat conftest.err >&5
4612
 
  (eval echo "\"\$as_me:4612: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4764
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4613
4765
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4614
4766
  cat conftest.err >&5
4615
 
  (eval echo "\"\$as_me:4615: output\"" >&5)
 
4767
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4616
4768
  cat conftest.out >&5
4617
4769
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4618
4770
    lt_cv_nm_interface="MS dumpbin"
4636
4788
# find the maximum length of command line arguments
4637
4789
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4638
4790
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4639
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
4791
if ${lt_cv_sys_max_cmd_len+:} false; then :
4640
4792
  $as_echo_n "(cached) " >&6
4641
4793
else
4642
4794
    i=0
4669
4821
    lt_cv_sys_max_cmd_len=8192;
4670
4822
    ;;
4671
4823
 
 
4824
  mint*)
 
4825
    # On MiNT this can take a long time and run out of memory.
 
4826
    lt_cv_sys_max_cmd_len=8192;
 
4827
    ;;
 
4828
 
4672
4829
  amigaos*)
4673
4830
    # On AmigaOS with pdksh, this test takes hours, literally.
4674
4831
    # So we just punt and use a minimum line length of 8192.
4694
4851
    lt_cv_sys_max_cmd_len=196608
4695
4852
    ;;
4696
4853
 
 
4854
  os2*)
 
4855
    # The test takes a long time on OS/2.
 
4856
    lt_cv_sys_max_cmd_len=8192
 
4857
    ;;
 
4858
 
4697
4859
  osf*)
4698
4860
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4699
4861
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4720
4882
    ;;
4721
4883
  *)
4722
4884
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4723
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
4885
    if test -n "$lt_cv_sys_max_cmd_len" && \
 
4886
        test undefined != "$lt_cv_sys_max_cmd_len"; then
4724
4887
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4725
4888
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4726
4889
    else
4733
4896
      # If test is not a shell built-in, we'll probably end up computing a
4734
4897
      # maximum length that is only half of the actual maximum length, but
4735
4898
      # we can't tell.
4736
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4737
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4899
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
4900
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4738
4901
              test $i != 17 # 1/2 MB should be enough
4739
4902
      do
4740
4903
        i=`expr $i + 1`
4776
4939
# Try some XSI features
4777
4940
xsi_shell=no
4778
4941
( _lt_dummy="a/b/c"
4779
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4780
 
      = c,a/b,, \
 
4942
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
4943
      = c,a/b,b/c, \
4781
4944
    && eval 'test $(( 1 + 1 )) -eq 2 \
4782
4945
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4783
4946
  && xsi_shell=yes
4826
4989
 
4827
4990
 
4828
4991
 
 
4992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
4993
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
4994
if ${lt_cv_to_host_file_cmd+:} false; then :
 
4995
  $as_echo_n "(cached) " >&6
 
4996
else
 
4997
  case $host in
 
4998
  *-*-mingw* )
 
4999
    case $build in
 
5000
      *-*-mingw* ) # actually msys
 
5001
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5002
        ;;
 
5003
      *-*-cygwin* )
 
5004
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5005
        ;;
 
5006
      * ) # otherwise, assume *nix
 
5007
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5008
        ;;
 
5009
    esac
 
5010
    ;;
 
5011
  *-*-cygwin* )
 
5012
    case $build in
 
5013
      *-*-mingw* ) # actually msys
 
5014
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5015
        ;;
 
5016
      *-*-cygwin* )
 
5017
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5018
        ;;
 
5019
      * ) # otherwise, assume *nix
 
5020
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5021
        ;;
 
5022
    esac
 
5023
    ;;
 
5024
  * ) # unhandled hosts (and "normal" native builds)
 
5025
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5026
    ;;
 
5027
esac
 
5028
 
 
5029
fi
 
5030
 
 
5031
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5033
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5034
 
 
5035
 
 
5036
 
 
5037
 
 
5038
 
 
5039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5040
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5041
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5042
  $as_echo_n "(cached) " >&6
 
5043
else
 
5044
  #assume ordinary cross tools, or native build.
 
5045
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5046
case $host in
 
5047
  *-*-mingw* )
 
5048
    case $build in
 
5049
      *-*-mingw* ) # actually msys
 
5050
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5051
        ;;
 
5052
    esac
 
5053
    ;;
 
5054
esac
 
5055
 
 
5056
fi
 
5057
 
 
5058
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5060
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5061
 
 
5062
 
 
5063
 
 
5064
 
 
5065
 
4829
5066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4830
5067
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4831
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5068
if ${lt_cv_ld_reload_flag+:} false; then :
4832
5069
  $as_echo_n "(cached) " >&6
4833
5070
else
4834
5071
  lt_cv_ld_reload_flag='-r'
4842
5079
esac
4843
5080
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4844
5081
case $host_os in
 
5082
  cygwin* | mingw* | pw32* | cegcc*)
 
5083
    if test "$GCC" != yes; then
 
5084
      reload_cmds=false
 
5085
    fi
 
5086
    ;;
4845
5087
  darwin*)
4846
5088
    if test "$GCC" = yes; then
4847
5089
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4864
5106
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4865
5107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866
5108
$as_echo_n "checking for $ac_word... " >&6; }
4867
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5109
if ${ac_cv_prog_OBJDUMP+:} false; then :
4868
5110
  $as_echo_n "(cached) " >&6
4869
5111
else
4870
5112
  if test -n "$OBJDUMP"; then
4876
5118
  IFS=$as_save_IFS
4877
5119
  test -z "$as_dir" && as_dir=.
4878
5120
    for ac_exec_ext in '' $ac_executable_extensions; do
4879
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5121
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4880
5122
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4881
5123
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4882
5124
    break 2
4904
5146
set dummy objdump; ac_word=$2
4905
5147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906
5148
$as_echo_n "checking for $ac_word... " >&6; }
4907
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5149
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4908
5150
  $as_echo_n "(cached) " >&6
4909
5151
else
4910
5152
  if test -n "$ac_ct_OBJDUMP"; then
4916
5158
  IFS=$as_save_IFS
4917
5159
  test -z "$as_dir" && as_dir=.
4918
5160
    for ac_exec_ext in '' $ac_executable_extensions; do
4919
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5161
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4920
5162
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4921
5163
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922
5164
    break 2
4963
5205
 
4964
5206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4965
5207
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4966
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5208
if ${lt_cv_deplibs_check_method+:} false; then :
4967
5209
  $as_echo_n "(cached) " >&6
4968
5210
else
4969
5211
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5005
5247
  # Base MSYS/MinGW do not provide the 'file' command needed by
5006
5248
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5007
5249
  # unless we find 'file', for example because we are cross-compiling.
5008
 
  if ( file / ) >/dev/null 2>&1; then
 
5250
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5251
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5009
5252
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5010
5253
    lt_cv_file_magic_cmd='func_win32_libid'
5011
5254
  else
5012
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5255
    # Keep this pattern in sync with the one in func_win32_libid.
 
5256
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5013
5257
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5014
5258
  fi
5015
5259
  ;;
5016
5260
 
5017
 
cegcc)
 
5261
cegcc*)
5018
5262
  # use the weaker test based on 'objdump'. See mingw*.
5019
5263
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5020
5264
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5040
5284
  fi
5041
5285
  ;;
5042
5286
 
5043
 
gnu*)
 
5287
haiku*)
5044
5288
  lt_cv_deplibs_check_method=pass_all
5045
5289
  ;;
5046
5290
 
5052
5296
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5053
5297
    ;;
5054
5298
  hppa*64*)
5055
 
    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]'
 
5299
    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]'
5056
5300
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5057
5301
    ;;
5058
5302
  *)
5059
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5303
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5060
5304
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5061
5305
    ;;
5062
5306
  esac
5077
5321
  lt_cv_deplibs_check_method=pass_all
5078
5322
  ;;
5079
5323
 
5080
 
# This must be Linux ELF.
5081
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
5324
# This must be glibc/ELF.
 
5325
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5082
5326
  lt_cv_deplibs_check_method=pass_all
5083
5327
  ;;
5084
5328
 
5159
5403
fi
5160
5404
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5161
5405
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5406
 
 
5407
file_magic_glob=
 
5408
want_nocaseglob=no
 
5409
if test "$build" = "$host"; then
 
5410
  case $host_os in
 
5411
  mingw* | pw32*)
 
5412
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5413
      want_nocaseglob=yes
 
5414
    else
 
5415
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5416
    fi
 
5417
    ;;
 
5418
  esac
 
5419
fi
 
5420
 
5162
5421
file_magic_cmd=$lt_cv_file_magic_cmd
5163
5422
deplibs_check_method=$lt_cv_deplibs_check_method
5164
5423
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5174
5433
 
5175
5434
 
5176
5435
 
5177
 
if test -n "$ac_tool_prefix"; then
5178
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5179
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5180
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181
 
$as_echo_n "checking for $ac_word... " >&6; }
5182
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
5436
 
 
5437
 
 
5438
 
 
5439
 
 
5440
 
 
5441
 
 
5442
 
 
5443
 
 
5444
 
 
5445
 
 
5446
if test -n "$ac_tool_prefix"; then
 
5447
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5448
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5450
$as_echo_n "checking for $ac_word... " >&6; }
 
5451
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5452
  $as_echo_n "(cached) " >&6
 
5453
else
 
5454
  if test -n "$DLLTOOL"; then
 
5455
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5456
else
 
5457
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5458
for as_dir in $PATH
 
5459
do
 
5460
  IFS=$as_save_IFS
 
5461
  test -z "$as_dir" && as_dir=.
 
5462
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5463
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5464
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5465
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5466
    break 2
 
5467
  fi
 
5468
done
 
5469
  done
 
5470
IFS=$as_save_IFS
 
5471
 
 
5472
fi
 
5473
fi
 
5474
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5475
if test -n "$DLLTOOL"; then
 
5476
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5477
$as_echo "$DLLTOOL" >&6; }
 
5478
else
 
5479
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5480
$as_echo "no" >&6; }
 
5481
fi
 
5482
 
 
5483
 
 
5484
fi
 
5485
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5486
  ac_ct_DLLTOOL=$DLLTOOL
 
5487
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5488
set dummy dlltool; ac_word=$2
 
5489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5490
$as_echo_n "checking for $ac_word... " >&6; }
 
5491
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5492
  $as_echo_n "(cached) " >&6
 
5493
else
 
5494
  if test -n "$ac_ct_DLLTOOL"; then
 
5495
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5496
else
 
5497
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5498
for as_dir in $PATH
 
5499
do
 
5500
  IFS=$as_save_IFS
 
5501
  test -z "$as_dir" && as_dir=.
 
5502
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5503
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5504
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5505
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5506
    break 2
 
5507
  fi
 
5508
done
 
5509
  done
 
5510
IFS=$as_save_IFS
 
5511
 
 
5512
fi
 
5513
fi
 
5514
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5515
if test -n "$ac_ct_DLLTOOL"; then
 
5516
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5517
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5518
else
 
5519
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5520
$as_echo "no" >&6; }
 
5521
fi
 
5522
 
 
5523
  if test "x$ac_ct_DLLTOOL" = x; then
 
5524
    DLLTOOL="false"
 
5525
  else
 
5526
    case $cross_compiling:$ac_tool_warned in
 
5527
yes:)
 
5528
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5529
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5530
ac_tool_warned=yes ;;
 
5531
esac
 
5532
    DLLTOOL=$ac_ct_DLLTOOL
 
5533
  fi
 
5534
else
 
5535
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5536
fi
 
5537
 
 
5538
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5539
 
 
5540
 
 
5541
 
 
5542
 
 
5543
 
 
5544
 
 
5545
 
 
5546
 
 
5547
 
 
5548
 
 
5549
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5550
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5551
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5552
  $as_echo_n "(cached) " >&6
 
5553
else
 
5554
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5555
 
 
5556
case $host_os in
 
5557
cygwin* | mingw* | pw32* | cegcc*)
 
5558
  # two different shell functions defined in ltmain.sh
 
5559
  # decide which to use based on capabilities of $DLLTOOL
 
5560
  case `$DLLTOOL --help 2>&1` in
 
5561
  *--identify-strict*)
 
5562
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5563
    ;;
 
5564
  *)
 
5565
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5566
    ;;
 
5567
  esac
 
5568
  ;;
 
5569
*)
 
5570
  # fallback: assume linklib IS sharedlib
 
5571
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5572
  ;;
 
5573
esac
 
5574
 
 
5575
fi
 
5576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5577
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5578
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5579
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5580
 
 
5581
 
 
5582
 
 
5583
 
 
5584
 
 
5585
 
 
5586
 
 
5587
 
 
5588
if test -n "$ac_tool_prefix"; then
 
5589
  for ac_prog in ar
 
5590
  do
 
5591
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5592
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5594
$as_echo_n "checking for $ac_word... " >&6; }
 
5595
if ${ac_cv_prog_AR+:} false; then :
5183
5596
  $as_echo_n "(cached) " >&6
5184
5597
else
5185
5598
  if test -n "$AR"; then
5191
5604
  IFS=$as_save_IFS
5192
5605
  test -z "$as_dir" && as_dir=.
5193
5606
    for ac_exec_ext in '' $ac_executable_extensions; do
5194
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5195
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5607
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5608
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5196
5609
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197
5610
    break 2
5198
5611
  fi
5212
5625
fi
5213
5626
 
5214
5627
 
 
5628
    test -n "$AR" && break
 
5629
  done
5215
5630
fi
5216
 
if test -z "$ac_cv_prog_AR"; then
 
5631
if test -z "$AR"; then
5217
5632
  ac_ct_AR=$AR
5218
 
  # Extract the first word of "ar", so it can be a program name with args.
5219
 
set dummy ar; ac_word=$2
 
5633
  for ac_prog in ar
 
5634
do
 
5635
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5636
set dummy $ac_prog; ac_word=$2
5220
5637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221
5638
$as_echo_n "checking for $ac_word... " >&6; }
5222
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5639
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5223
5640
  $as_echo_n "(cached) " >&6
5224
5641
else
5225
5642
  if test -n "$ac_ct_AR"; then
5231
5648
  IFS=$as_save_IFS
5232
5649
  test -z "$as_dir" && as_dir=.
5233
5650
    for ac_exec_ext in '' $ac_executable_extensions; do
5234
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5235
 
    ac_cv_prog_ac_ct_AR="ar"
 
5651
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5652
    ac_cv_prog_ac_ct_AR="$ac_prog"
5236
5653
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237
5654
    break 2
5238
5655
  fi
5251
5668
$as_echo "no" >&6; }
5252
5669
fi
5253
5670
 
 
5671
 
 
5672
  test -n "$ac_ct_AR" && break
 
5673
done
 
5674
 
5254
5675
  if test "x$ac_ct_AR" = x; then
5255
5676
    AR="false"
5256
5677
  else
5262
5683
esac
5263
5684
    AR=$ac_ct_AR
5264
5685
  fi
5265
 
else
5266
 
  AR="$ac_cv_prog_AR"
5267
 
fi
5268
 
 
5269
 
test -z "$AR" && AR=ar
5270
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5271
 
 
5272
 
 
5273
 
 
5274
 
 
 
5686
fi
 
5687
 
 
5688
: ${AR=ar}
 
5689
: ${AR_FLAGS=cru}
 
5690
 
 
5691
 
 
5692
 
 
5693
 
 
5694
 
 
5695
 
 
5696
 
 
5697
 
 
5698
 
 
5699
 
 
5700
 
 
5701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5702
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5703
if ${lt_cv_ar_at_file+:} false; then :
 
5704
  $as_echo_n "(cached) " >&6
 
5705
else
 
5706
  lt_cv_ar_at_file=no
 
5707
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5708
/* end confdefs.h.  */
 
5709
 
 
5710
int
 
5711
main ()
 
5712
{
 
5713
 
 
5714
  ;
 
5715
  return 0;
 
5716
}
 
5717
_ACEOF
 
5718
if ac_fn_c_try_compile "$LINENO"; then :
 
5719
  echo conftest.$ac_objext > conftest.lst
 
5720
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
5721
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5722
  (eval $lt_ar_try) 2>&5
 
5723
  ac_status=$?
 
5724
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5725
  test $ac_status = 0; }
 
5726
      if test "$ac_status" -eq 0; then
 
5727
        # Ensure the archiver fails upon bogus file names.
 
5728
        rm -f conftest.$ac_objext libconftest.a
 
5729
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5730
  (eval $lt_ar_try) 2>&5
 
5731
  ac_status=$?
 
5732
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5733
  test $ac_status = 0; }
 
5734
        if test "$ac_status" -ne 0; then
 
5735
          lt_cv_ar_at_file=@
 
5736
        fi
 
5737
      fi
 
5738
      rm -f conftest.* libconftest.a
 
5739
 
 
5740
fi
 
5741
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5742
 
 
5743
fi
 
5744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
5745
$as_echo "$lt_cv_ar_at_file" >&6; }
 
5746
 
 
5747
if test "x$lt_cv_ar_at_file" = xno; then
 
5748
  archiver_list_spec=
 
5749
else
 
5750
  archiver_list_spec=$lt_cv_ar_at_file
 
5751
fi
5275
5752
 
5276
5753
 
5277
5754
 
5284
5761
set dummy ${ac_tool_prefix}strip; ac_word=$2
5285
5762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286
5763
$as_echo_n "checking for $ac_word... " >&6; }
5287
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5764
if ${ac_cv_prog_STRIP+:} false; then :
5288
5765
  $as_echo_n "(cached) " >&6
5289
5766
else
5290
5767
  if test -n "$STRIP"; then
5296
5773
  IFS=$as_save_IFS
5297
5774
  test -z "$as_dir" && as_dir=.
5298
5775
    for ac_exec_ext in '' $ac_executable_extensions; do
5299
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5776
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5300
5777
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5301
5778
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5302
5779
    break 2
5324
5801
set dummy strip; ac_word=$2
5325
5802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5326
5803
$as_echo_n "checking for $ac_word... " >&6; }
5327
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
5804
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5328
5805
  $as_echo_n "(cached) " >&6
5329
5806
else
5330
5807
  if test -n "$ac_ct_STRIP"; then
5336
5813
  IFS=$as_save_IFS
5337
5814
  test -z "$as_dir" && as_dir=.
5338
5815
    for ac_exec_ext in '' $ac_executable_extensions; do
5339
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5816
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5340
5817
    ac_cv_prog_ac_ct_STRIP="strip"
5341
5818
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5342
5819
    break 2
5383
5860
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5384
5861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5385
5862
$as_echo_n "checking for $ac_word... " >&6; }
5386
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5863
if ${ac_cv_prog_RANLIB+:} false; then :
5387
5864
  $as_echo_n "(cached) " >&6
5388
5865
else
5389
5866
  if test -n "$RANLIB"; then
5395
5872
  IFS=$as_save_IFS
5396
5873
  test -z "$as_dir" && as_dir=.
5397
5874
    for ac_exec_ext in '' $ac_executable_extensions; do
5398
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5875
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5399
5876
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5400
5877
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5401
5878
    break 2
5423
5900
set dummy ranlib; ac_word=$2
5424
5901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425
5902
$as_echo_n "checking for $ac_word... " >&6; }
5426
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
5903
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5427
5904
  $as_echo_n "(cached) " >&6
5428
5905
else
5429
5906
  if test -n "$ac_ct_RANLIB"; then
5435
5912
  IFS=$as_save_IFS
5436
5913
  test -z "$as_dir" && as_dir=.
5437
5914
    for ac_exec_ext in '' $ac_executable_extensions; do
5438
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5915
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5439
5916
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5440
5917
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5441
5918
    break 2
5485
5962
if test -n "$RANLIB"; then
5486
5963
  case $host_os in
5487
5964
  openbsd*)
5488
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5965
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5489
5966
    ;;
5490
5967
  *)
5491
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5968
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5492
5969
    ;;
5493
5970
  esac
5494
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5971
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5495
5972
fi
5496
5973
 
 
5974
case $host_os in
 
5975
  darwin*)
 
5976
    lock_old_archive_extraction=yes ;;
 
5977
  *)
 
5978
    lock_old_archive_extraction=no ;;
 
5979
esac
 
5980
 
 
5981
 
 
5982
 
 
5983
 
 
5984
 
 
5985
 
5497
5986
 
5498
5987
 
5499
5988
 
5540
6029
# Check for command to grab the raw symbol name followed by C symbol from nm.
5541
6030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5542
6031
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5543
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6032
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5544
6033
  $as_echo_n "(cached) " >&6
5545
6034
else
5546
6035
 
5601
6090
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5602
6091
 
5603
6092
# Transform an extracted symbol line into symbol name and symbol address
5604
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5605
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
6093
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6094
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
5606
6095
 
5607
6096
# Handle CRLF in mingw tool chain
5608
6097
opt_cr=
5626
6115
    # which start with @ or ?.
5627
6116
    lt_cv_sys_global_symbol_pipe="$AWK '"\
5628
6117
"     {last_section=section; section=\$ 3};"\
 
6118
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5629
6119
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5630
6120
"     \$ 0!~/External *\|/{next};"\
5631
6121
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5638
6128
  else
5639
6129
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5640
6130
  fi
 
6131
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5641
6132
 
5642
6133
  # Check to see that the pipe works correctly.
5643
6134
  pipe_works=no
5663
6154
  test $ac_status = 0; }; then
5664
6155
    # Now try to grab the symbols.
5665
6156
    nlist=conftest.nm
5666
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5667
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6157
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6158
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5668
6159
  ac_status=$?
5669
6160
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5670
6161
  test $ac_status = 0; } && test -s "$nlist"; then
5679
6170
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5680
6171
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5681
6172
          cat <<_LT_EOF > conftest.$ac_ext
 
6173
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6174
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6175
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6176
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6177
# define LT_DLSYM_CONST
 
6178
#elif defined(__osf__)
 
6179
/* This system does not cope well with relocations in const data.  */
 
6180
# define LT_DLSYM_CONST
 
6181
#else
 
6182
# define LT_DLSYM_CONST const
 
6183
#endif
 
6184
 
5682
6185
#ifdef __cplusplus
5683
6186
extern "C" {
5684
6187
#endif
5690
6193
          cat <<_LT_EOF >> conftest.$ac_ext
5691
6194
 
5692
6195
/* The mapping between symbol names and symbols.  */
5693
 
const struct {
 
6196
LT_DLSYM_CONST struct {
5694
6197
  const char *name;
5695
6198
  void       *address;
5696
6199
}
5716
6219
_LT_EOF
5717
6220
          # Now try linking the two files.
5718
6221
          mv conftest.$ac_objext conftstm.$ac_objext
5719
 
          lt_save_LIBS="$LIBS"
5720
 
          lt_save_CFLAGS="$CFLAGS"
 
6222
          lt_globsym_save_LIBS=$LIBS
 
6223
          lt_globsym_save_CFLAGS=$CFLAGS
5721
6224
          LIBS="conftstm.$ac_objext"
5722
6225
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5723
6226
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5727
6230
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5728
6231
            pipe_works=yes
5729
6232
          fi
5730
 
          LIBS="$lt_save_LIBS"
5731
 
          CFLAGS="$lt_save_CFLAGS"
 
6233
          LIBS=$lt_globsym_save_LIBS
 
6234
          CFLAGS=$lt_globsym_save_CFLAGS
5732
6235
        else
5733
6236
          echo "cannot find nm_test_func in $nlist" >&5
5734
6237
        fi
5765
6268
$as_echo "ok" >&6; }
5766
6269
fi
5767
6270
 
5768
 
 
5769
 
 
5770
 
 
5771
 
 
5772
 
 
5773
 
 
5774
 
 
5775
 
 
5776
 
 
5777
 
 
5778
 
 
5779
 
 
5780
 
 
5781
 
 
5782
 
 
5783
 
 
5784
 
 
 
6271
# Response file support.
 
6272
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6273
  nm_file_list_spec='@'
 
6274
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6275
  nm_file_list_spec='@'
 
6276
fi
 
6277
 
 
6278
 
 
6279
 
 
6280
 
 
6281
 
 
6282
 
 
6283
 
 
6284
 
 
6285
 
 
6286
 
 
6287
 
 
6288
 
 
6289
 
 
6290
 
 
6291
 
 
6292
 
 
6293
 
 
6294
 
 
6295
 
 
6296
 
 
6297
 
 
6298
 
 
6299
 
 
6300
 
 
6301
 
 
6302
 
 
6303
 
 
6304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6305
$as_echo_n "checking for sysroot... " >&6; }
 
6306
 
 
6307
# Check whether --with-sysroot was given.
 
6308
if test "${with_sysroot+set}" = set; then :
 
6309
  withval=$with_sysroot;
 
6310
else
 
6311
  with_sysroot=no
 
6312
fi
 
6313
 
 
6314
 
 
6315
lt_sysroot=
 
6316
case ${with_sysroot} in #(
 
6317
 yes)
 
6318
   if test "$GCC" = yes; then
 
6319
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6320
   fi
 
6321
   ;; #(
 
6322
 /*)
 
6323
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6324
   ;; #(
 
6325
 no|'')
 
6326
   ;; #(
 
6327
 *)
 
6328
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6329
$as_echo "${with_sysroot}" >&6; }
 
6330
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6331
   ;;
 
6332
esac
 
6333
 
 
6334
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6335
$as_echo "${lt_sysroot:-no}" >&6; }
5785
6336
 
5786
6337
 
5787
6338
 
5818
6369
  ;;
5819
6370
*-*-irix6*)
5820
6371
  # Find out which ABI we are using.
5821
 
  echo '#line 5821 "configure"' > conftest.$ac_ext
 
6372
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5822
6373
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5823
6374
  (eval $ac_compile) 2>&5
5824
6375
  ac_status=$?
5869
6420
            LD="${LD-ld} -m elf_i386_fbsd"
5870
6421
            ;;
5871
6422
          x86_64-*linux*)
5872
 
            LD="${LD-ld} -m elf_i386"
 
6423
            case `/usr/bin/file conftest.o` in
 
6424
              *x86-64*)
 
6425
                LD="${LD-ld} -m elf32_x86_64"
 
6426
                ;;
 
6427
              *)
 
6428
                LD="${LD-ld} -m elf_i386"
 
6429
                ;;
 
6430
            esac
5873
6431
            ;;
5874
6432
          ppc64-*linux*|powerpc64-*linux*)
5875
6433
            LD="${LD-ld} -m elf32ppclinux"
5912
6470
  CFLAGS="$CFLAGS -belf"
5913
6471
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5914
6472
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5915
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6473
if ${lt_cv_cc_needs_belf+:} false; then :
5916
6474
  $as_echo_n "(cached) " >&6
5917
6475
else
5918
6476
  ac_ext=c
5953
6511
    CFLAGS="$SAVE_CFLAGS"
5954
6512
  fi
5955
6513
  ;;
5956
 
sparc*-*solaris*)
 
6514
*-*solaris*)
5957
6515
  # Find out which ABI we are using.
5958
6516
  echo 'int i;' > conftest.$ac_ext
5959
6517
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5964
6522
    case `/usr/bin/file conftest.o` in
5965
6523
    *64-bit*)
5966
6524
      case $lt_cv_prog_gnu_ld in
5967
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6525
      yes*)
 
6526
        case $host in
 
6527
        i?86-*-solaris*)
 
6528
          LD="${LD-ld} -m elf_x86_64"
 
6529
          ;;
 
6530
        sparc*-*-solaris*)
 
6531
          LD="${LD-ld} -m elf64_sparc"
 
6532
          ;;
 
6533
        esac
 
6534
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
6535
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
6536
          LD="${LD-ld}_sol2"
 
6537
        fi
 
6538
        ;;
5968
6539
      *)
5969
6540
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5970
6541
          LD="${LD-ld} -64"
5980
6551
 
5981
6552
need_locks="$enable_libtool_lock"
5982
6553
 
 
6554
if test -n "$ac_tool_prefix"; then
 
6555
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6556
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6558
$as_echo_n "checking for $ac_word... " >&6; }
 
6559
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6560
  $as_echo_n "(cached) " >&6
 
6561
else
 
6562
  if test -n "$MANIFEST_TOOL"; then
 
6563
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6564
else
 
6565
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6566
for as_dir in $PATH
 
6567
do
 
6568
  IFS=$as_save_IFS
 
6569
  test -z "$as_dir" && as_dir=.
 
6570
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6571
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6572
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6573
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6574
    break 2
 
6575
  fi
 
6576
done
 
6577
  done
 
6578
IFS=$as_save_IFS
 
6579
 
 
6580
fi
 
6581
fi
 
6582
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6583
if test -n "$MANIFEST_TOOL"; then
 
6584
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6585
$as_echo "$MANIFEST_TOOL" >&6; }
 
6586
else
 
6587
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6588
$as_echo "no" >&6; }
 
6589
fi
 
6590
 
 
6591
 
 
6592
fi
 
6593
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6594
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6595
  # Extract the first word of "mt", so it can be a program name with args.
 
6596
set dummy mt; ac_word=$2
 
6597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6598
$as_echo_n "checking for $ac_word... " >&6; }
 
6599
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6600
  $as_echo_n "(cached) " >&6
 
6601
else
 
6602
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6603
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6604
else
 
6605
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6606
for as_dir in $PATH
 
6607
do
 
6608
  IFS=$as_save_IFS
 
6609
  test -z "$as_dir" && as_dir=.
 
6610
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6611
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6612
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6613
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6614
    break 2
 
6615
  fi
 
6616
done
 
6617
  done
 
6618
IFS=$as_save_IFS
 
6619
 
 
6620
fi
 
6621
fi
 
6622
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6623
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6624
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6625
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6626
else
 
6627
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6628
$as_echo "no" >&6; }
 
6629
fi
 
6630
 
 
6631
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6632
    MANIFEST_TOOL=":"
 
6633
  else
 
6634
    case $cross_compiling:$ac_tool_warned in
 
6635
yes:)
 
6636
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6637
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6638
ac_tool_warned=yes ;;
 
6639
esac
 
6640
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6641
  fi
 
6642
else
 
6643
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6644
fi
 
6645
 
 
6646
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6648
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6649
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6650
  $as_echo_n "(cached) " >&6
 
6651
else
 
6652
  lt_cv_path_mainfest_tool=no
 
6653
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6654
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6655
  cat conftest.err >&5
 
6656
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6657
    lt_cv_path_mainfest_tool=yes
 
6658
  fi
 
6659
  rm -f conftest*
 
6660
fi
 
6661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6662
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6663
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6664
  MANIFEST_TOOL=:
 
6665
fi
 
6666
 
 
6667
 
 
6668
 
 
6669
 
 
6670
 
5983
6671
 
5984
6672
  case $host_os in
5985
6673
    rhapsody* | darwin*)
5988
6676
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5989
6677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5990
6678
$as_echo_n "checking for $ac_word... " >&6; }
5991
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6679
if ${ac_cv_prog_DSYMUTIL+:} false; then :
5992
6680
  $as_echo_n "(cached) " >&6
5993
6681
else
5994
6682
  if test -n "$DSYMUTIL"; then
6000
6688
  IFS=$as_save_IFS
6001
6689
  test -z "$as_dir" && as_dir=.
6002
6690
    for ac_exec_ext in '' $ac_executable_extensions; do
6003
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6691
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6004
6692
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6005
6693
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6006
6694
    break 2
6028
6716
set dummy dsymutil; ac_word=$2
6029
6717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6030
6718
$as_echo_n "checking for $ac_word... " >&6; }
6031
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6719
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6032
6720
  $as_echo_n "(cached) " >&6
6033
6721
else
6034
6722
  if test -n "$ac_ct_DSYMUTIL"; then
6040
6728
  IFS=$as_save_IFS
6041
6729
  test -z "$as_dir" && as_dir=.
6042
6730
    for ac_exec_ext in '' $ac_executable_extensions; do
6043
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6731
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6044
6732
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6045
6733
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6046
6734
    break 2
6080
6768
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6081
6769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082
6770
$as_echo_n "checking for $ac_word... " >&6; }
6083
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6771
if ${ac_cv_prog_NMEDIT+:} false; then :
6084
6772
  $as_echo_n "(cached) " >&6
6085
6773
else
6086
6774
  if test -n "$NMEDIT"; then
6092
6780
  IFS=$as_save_IFS
6093
6781
  test -z "$as_dir" && as_dir=.
6094
6782
    for ac_exec_ext in '' $ac_executable_extensions; do
6095
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6783
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6096
6784
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6097
6785
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098
6786
    break 2
6120
6808
set dummy nmedit; ac_word=$2
6121
6809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122
6810
$as_echo_n "checking for $ac_word... " >&6; }
6123
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
6811
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6124
6812
  $as_echo_n "(cached) " >&6
6125
6813
else
6126
6814
  if test -n "$ac_ct_NMEDIT"; then
6132
6820
  IFS=$as_save_IFS
6133
6821
  test -z "$as_dir" && as_dir=.
6134
6822
    for ac_exec_ext in '' $ac_executable_extensions; do
6135
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6823
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6136
6824
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6137
6825
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6138
6826
    break 2
6172
6860
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6173
6861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174
6862
$as_echo_n "checking for $ac_word... " >&6; }
6175
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
6863
if ${ac_cv_prog_LIPO+:} false; then :
6176
6864
  $as_echo_n "(cached) " >&6
6177
6865
else
6178
6866
  if test -n "$LIPO"; then
6184
6872
  IFS=$as_save_IFS
6185
6873
  test -z "$as_dir" && as_dir=.
6186
6874
    for ac_exec_ext in '' $ac_executable_extensions; do
6187
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6875
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6188
6876
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6189
6877
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6190
6878
    break 2
6212
6900
set dummy lipo; ac_word=$2
6213
6901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6214
6902
$as_echo_n "checking for $ac_word... " >&6; }
6215
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
6903
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6216
6904
  $as_echo_n "(cached) " >&6
6217
6905
else
6218
6906
  if test -n "$ac_ct_LIPO"; then
6224
6912
  IFS=$as_save_IFS
6225
6913
  test -z "$as_dir" && as_dir=.
6226
6914
    for ac_exec_ext in '' $ac_executable_extensions; do
6227
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6915
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6228
6916
    ac_cv_prog_ac_ct_LIPO="lipo"
6229
6917
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6230
6918
    break 2
6264
6952
set dummy ${ac_tool_prefix}otool; ac_word=$2
6265
6953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6266
6954
$as_echo_n "checking for $ac_word... " >&6; }
6267
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
6955
if ${ac_cv_prog_OTOOL+:} false; then :
6268
6956
  $as_echo_n "(cached) " >&6
6269
6957
else
6270
6958
  if test -n "$OTOOL"; then
6276
6964
  IFS=$as_save_IFS
6277
6965
  test -z "$as_dir" && as_dir=.
6278
6966
    for ac_exec_ext in '' $ac_executable_extensions; do
6279
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6967
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6280
6968
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6281
6969
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6282
6970
    break 2
6304
6992
set dummy otool; ac_word=$2
6305
6993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6306
6994
$as_echo_n "checking for $ac_word... " >&6; }
6307
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
6995
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6308
6996
  $as_echo_n "(cached) " >&6
6309
6997
else
6310
6998
  if test -n "$ac_ct_OTOOL"; then
6316
7004
  IFS=$as_save_IFS
6317
7005
  test -z "$as_dir" && as_dir=.
6318
7006
    for ac_exec_ext in '' $ac_executable_extensions; do
6319
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7007
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6320
7008
    ac_cv_prog_ac_ct_OTOOL="otool"
6321
7009
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6322
7010
    break 2
6356
7044
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6357
7045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6358
7046
$as_echo_n "checking for $ac_word... " >&6; }
6359
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7047
if ${ac_cv_prog_OTOOL64+:} false; then :
6360
7048
  $as_echo_n "(cached) " >&6
6361
7049
else
6362
7050
  if test -n "$OTOOL64"; then
6368
7056
  IFS=$as_save_IFS
6369
7057
  test -z "$as_dir" && as_dir=.
6370
7058
    for ac_exec_ext in '' $ac_executable_extensions; do
6371
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7059
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6372
7060
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6373
7061
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6374
7062
    break 2
6396
7084
set dummy otool64; ac_word=$2
6397
7085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6398
7086
$as_echo_n "checking for $ac_word... " >&6; }
6399
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7087
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6400
7088
  $as_echo_n "(cached) " >&6
6401
7089
else
6402
7090
  if test -n "$ac_ct_OTOOL64"; then
6408
7096
  IFS=$as_save_IFS
6409
7097
  test -z "$as_dir" && as_dir=.
6410
7098
    for ac_exec_ext in '' $ac_executable_extensions; do
6411
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7099
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6412
7100
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6413
7101
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6414
7102
    break 2
6471
7159
 
6472
7160
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6473
7161
$as_echo_n "checking for -single_module linker flag... " >&6; }
6474
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7162
if ${lt_cv_apple_cc_single_mod+:} false; then :
6475
7163
  $as_echo_n "(cached) " >&6
6476
7164
else
6477
7165
  lt_cv_apple_cc_single_mod=no
6487
7175
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6488
7176
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6489
7177
        _lt_result=$?
6490
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7178
        # If there is a non-empty error log, and "single_module"
 
7179
        # appears in it, assume the flag caused a linker warning
 
7180
        if test -s conftest.err && $GREP single_module conftest.err; then
 
7181
          cat conftest.err >&5
 
7182
        # Otherwise, if the output was created with a 0 exit code from
 
7183
        # the compiler, it worked.
 
7184
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6491
7185
          lt_cv_apple_cc_single_mod=yes
6492
7186
        else
6493
7187
          cat conftest.err >&5
6498
7192
fi
6499
7193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6500
7194
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7195
 
6501
7196
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6502
7197
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6503
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7198
if ${lt_cv_ld_exported_symbols_list+:} false; then :
6504
7199
  $as_echo_n "(cached) " >&6
6505
7200
else
6506
7201
  lt_cv_ld_exported_symbols_list=no
6530
7225
fi
6531
7226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6532
7227
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7228
 
 
7229
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7230
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7231
if ${lt_cv_ld_force_load+:} false; then :
 
7232
  $as_echo_n "(cached) " >&6
 
7233
else
 
7234
  lt_cv_ld_force_load=no
 
7235
      cat > conftest.c << _LT_EOF
 
7236
int forced_loaded() { return 2;}
 
7237
_LT_EOF
 
7238
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7239
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7240
      echo "$AR cru libconftest.a conftest.o" >&5
 
7241
      $AR cru libconftest.a conftest.o 2>&5
 
7242
      echo "$RANLIB libconftest.a" >&5
 
7243
      $RANLIB libconftest.a 2>&5
 
7244
      cat > conftest.c << _LT_EOF
 
7245
int main() { return 0;}
 
7246
_LT_EOF
 
7247
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7248
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7249
      _lt_result=$?
 
7250
      if test -s conftest.err && $GREP force_load conftest.err; then
 
7251
        cat conftest.err >&5
 
7252
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
7253
        lt_cv_ld_force_load=yes
 
7254
      else
 
7255
        cat conftest.err >&5
 
7256
      fi
 
7257
        rm -f conftest.err libconftest.a conftest conftest.c
 
7258
        rm -rf conftest.dSYM
 
7259
 
 
7260
fi
 
7261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7262
$as_echo "$lt_cv_ld_force_load" >&6; }
6533
7263
    case $host_os in
6534
7264
    rhapsody* | darwin1.[012])
6535
7265
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6557
7287
    else
6558
7288
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6559
7289
    fi
6560
 
    if test "$DSYMUTIL" != ":"; then
 
7290
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6561
7291
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6562
7292
    else
6563
7293
      _lt_dsymutil=
6577
7307
  CPP=
6578
7308
fi
6579
7309
if test -z "$CPP"; then
6580
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
7310
  if ${ac_cv_prog_CPP+:} false; then :
6581
7311
  $as_echo_n "(cached) " >&6
6582
7312
else
6583
7313
      # Double quotes because CPP needs to be expanded
6693
7423
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6694
7424
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6695
7425
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6696
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
7426
See \`config.log' for more details" "$LINENO" 5; }
6697
7427
fi
6698
7428
 
6699
7429
ac_ext=c
6705
7435
 
6706
7436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6707
7437
$as_echo_n "checking for ANSI C header files... " >&6; }
6708
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
7438
if ${ac_cv_header_stdc+:} false; then :
6709
7439
  $as_echo_n "(cached) " >&6
6710
7440
else
6711
7441
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6836
7566
do :
6837
7567
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6838
7568
"
6839
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7569
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
6840
7570
  cat >>confdefs.h <<_ACEOF
6841
7571
#define HAVE_DLFCN_H 1
6842
7572
_ACEOF
6847
7577
 
6848
7578
 
6849
7579
 
 
7580
 
 
7581
 
6850
7582
# Set options
6851
7583
 
6852
7584
 
6922
7654
 
6923
7655
# Check whether --with-pic was given.
6924
7656
if test "${with_pic+set}" = set; then :
6925
 
  withval=$with_pic; pic_mode="$withval"
 
7657
  withval=$with_pic; lt_p=${PACKAGE-default}
 
7658
    case $withval in
 
7659
    yes|no) pic_mode=$withval ;;
 
7660
    *)
 
7661
      pic_mode=default
 
7662
      # Look at the argument we got.  We use all the common list separators.
 
7663
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7664
      for lt_pkg in $withval; do
 
7665
        IFS="$lt_save_ifs"
 
7666
        if test "X$lt_pkg" = "X$lt_p"; then
 
7667
          pic_mode=yes
 
7668
        fi
 
7669
      done
 
7670
      IFS="$lt_save_ifs"
 
7671
      ;;
 
7672
    esac
6926
7673
else
6927
7674
  pic_mode=default
6928
7675
fi
6999
7746
 
7000
7747
 
7001
7748
 
 
7749
 
 
7750
 
 
7751
 
 
7752
 
 
7753
 
7002
7754
test -z "$LN_S" && LN_S="ln -s"
7003
7755
 
7004
7756
 
7020
7772
 
7021
7773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7022
7774
$as_echo_n "checking for objdir... " >&6; }
7023
 
if test "${lt_cv_objdir+set}" = set; then :
 
7775
if ${lt_cv_objdir+:} false; then :
7024
7776
  $as_echo_n "(cached) " >&6
7025
7777
else
7026
7778
  rm -f .libs 2>/dev/null
7048
7800
 
7049
7801
 
7050
7802
 
7051
 
 
7052
 
 
7053
 
 
7054
 
 
7055
 
 
7056
 
 
7057
 
 
7058
 
 
7059
 
 
7060
 
 
7061
 
 
7062
 
 
7063
 
 
7064
7803
case $host_os in
7065
7804
aix3*)
7066
7805
  # AIX sometimes has problems with the GCC collect2 program.  For some
7073
7812
  ;;
7074
7813
esac
7075
7814
 
7076
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7077
 
# metacharacters that are still active within double-quoted strings.
7078
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7079
 
 
7080
 
# Same as above, but do not quote variable references.
7081
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7082
 
 
7083
 
# Sed substitution to delay expansion of an escaped shell variable in a
7084
 
# double_quote_subst'ed string.
7085
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7086
 
 
7087
 
# Sed substitution to delay expansion of an escaped single quote.
7088
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7089
 
 
7090
 
# Sed substitution to avoid accidental globbing in evaled expressions
7091
 
no_glob_subst='s/\*/\\\*/g'
7092
 
 
7093
7815
# Global variables:
7094
7816
ofile=libtool
7095
7817
can_build_shared=yes
7118
7840
    *) break;;
7119
7841
  esac
7120
7842
done
7121
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7843
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7122
7844
 
7123
7845
 
7124
7846
# Only perform the check for file, if the check method requires it
7128
7850
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7129
7851
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7130
7852
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7131
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7853
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7132
7854
  $as_echo_n "(cached) " >&6
7133
7855
else
7134
7856
  case $MAGIC_CMD in
7194
7916
  if test -n "$ac_tool_prefix"; then
7195
7917
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7196
7918
$as_echo_n "checking for file... " >&6; }
7197
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7919
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7198
7920
  $as_echo_n "(cached) " >&6
7199
7921
else
7200
7922
  case $MAGIC_CMD in
7323
8045
lt_prog_compiler_no_builtin_flag=
7324
8046
 
7325
8047
if test "$GCC" = yes; then
7326
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8048
  case $cc_basename in
 
8049
  nvcc*)
 
8050
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8051
  *)
 
8052
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8053
  esac
7327
8054
 
7328
8055
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7329
8056
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7330
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8057
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7331
8058
  $as_echo_n "(cached) " >&6
7332
8059
else
7333
8060
  lt_cv_prog_compiler_rtti_exceptions=no
7343
8070
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7344
8071
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7345
8072
   -e 's:$: $lt_compiler_flag:'`
7346
 
   (eval echo "\"\$as_me:7346: $lt_compile\"" >&5)
 
8073
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7347
8074
   (eval "$lt_compile" 2>conftest.err)
7348
8075
   ac_status=$?
7349
8076
   cat conftest.err >&5
7350
 
   echo "$as_me:7350: \$? = $ac_status" >&5
 
8077
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351
8078
   if (exit $ac_status) && test -s "$ac_outfile"; then
7352
8079
     # The compiler can only warn and ignore the option if not recognized
7353
8080
     # So say no if there are warnings other than the usual output.
7354
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8081
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7355
8082
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7356
8083
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7357
8084
       lt_cv_prog_compiler_rtti_exceptions=yes
7380
8107
lt_prog_compiler_pic=
7381
8108
lt_prog_compiler_static=
7382
8109
 
7383
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7384
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7385
8110
 
7386
8111
  if test "$GCC" = yes; then
7387
8112
    lt_prog_compiler_wl='-Wl,'
7429
8154
      lt_prog_compiler_pic='-fno-common'
7430
8155
      ;;
7431
8156
 
 
8157
    haiku*)
 
8158
      # PIC is the default for Haiku.
 
8159
      # The "-static" flag exists, but is broken.
 
8160
      lt_prog_compiler_static=
 
8161
      ;;
 
8162
 
7432
8163
    hpux*)
7433
8164
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7434
8165
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7471
8202
      lt_prog_compiler_pic='-fPIC'
7472
8203
      ;;
7473
8204
    esac
 
8205
 
 
8206
    case $cc_basename in
 
8207
    nvcc*) # Cuda Compiler Driver 2.2
 
8208
      lt_prog_compiler_wl='-Xlinker '
 
8209
      if test -n "$lt_prog_compiler_pic"; then
 
8210
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
8211
      fi
 
8212
      ;;
 
8213
    esac
7474
8214
  else
7475
8215
    # PORTME Check for flag to pass linker flags through the system compiler.
7476
8216
    case $host_os in
7512
8252
      lt_prog_compiler_static='-non_shared'
7513
8253
      ;;
7514
8254
 
7515
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
8255
    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7516
8256
      case $cc_basename in
7517
8257
      # old Intel for x86_64 which still supported -KPIC.
7518
8258
      ecc*)
7533
8273
        lt_prog_compiler_pic='--shared'
7534
8274
        lt_prog_compiler_static='--static'
7535
8275
        ;;
7536
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8276
      nagfor*)
 
8277
        # NAG Fortran compiler
 
8278
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8279
        lt_prog_compiler_pic='-PIC'
 
8280
        lt_prog_compiler_static='-Bstatic'
 
8281
        ;;
 
8282
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7537
8283
        # Portland Group compilers (*not* the Pentium gcc compiler,
7538
8284
        # which looks to be a dead project)
7539
8285
        lt_prog_compiler_wl='-Wl,'
7545
8291
        # All Alpha code is PIC.
7546
8292
        lt_prog_compiler_static='-non_shared'
7547
8293
        ;;
7548
 
      xl*)
7549
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8294
      xl* | bgxl* | bgf* | mpixl*)
 
8295
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7550
8296
        lt_prog_compiler_wl='-Wl,'
7551
8297
        lt_prog_compiler_pic='-qpic'
7552
8298
        lt_prog_compiler_static='-qstaticlink'
7553
8299
        ;;
7554
8300
      *)
7555
8301
        case `$CC -V 2>&1 | sed 5q` in
 
8302
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
8303
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8304
          lt_prog_compiler_pic='-KPIC'
 
8305
          lt_prog_compiler_static='-Bstatic'
 
8306
          lt_prog_compiler_wl=''
 
8307
          ;;
 
8308
        *Sun\ F* | *Sun*Fortran*)
 
8309
          lt_prog_compiler_pic='-KPIC'
 
8310
          lt_prog_compiler_static='-Bstatic'
 
8311
          lt_prog_compiler_wl='-Qoption ld '
 
8312
          ;;
7556
8313
        *Sun\ C*)
7557
8314
          # Sun C 5.9
7558
8315
          lt_prog_compiler_pic='-KPIC'
7559
8316
          lt_prog_compiler_static='-Bstatic'
7560
8317
          lt_prog_compiler_wl='-Wl,'
7561
8318
          ;;
7562
 
        *Sun\ F*)
7563
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7564
 
          lt_prog_compiler_pic='-KPIC'
 
8319
        *Intel*\ [CF]*Compiler*)
 
8320
          lt_prog_compiler_wl='-Wl,'
 
8321
          lt_prog_compiler_pic='-fPIC'
 
8322
          lt_prog_compiler_static='-static'
 
8323
          ;;
 
8324
        *Portland\ Group*)
 
8325
          lt_prog_compiler_wl='-Wl,'
 
8326
          lt_prog_compiler_pic='-fpic'
7565
8327
          lt_prog_compiler_static='-Bstatic'
7566
 
          lt_prog_compiler_wl=''
7567
8328
          ;;
7568
8329
        esac
7569
8330
        ;;
7595
8356
      lt_prog_compiler_pic='-KPIC'
7596
8357
      lt_prog_compiler_static='-Bstatic'
7597
8358
      case $cc_basename in
7598
 
      f77* | f90* | f95*)
 
8359
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7599
8360
        lt_prog_compiler_wl='-Qoption ld ';;
7600
8361
      *)
7601
8362
        lt_prog_compiler_wl='-Wl,';;
7652
8413
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7653
8414
    ;;
7654
8415
esac
7655
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7656
 
$as_echo "$lt_prog_compiler_pic" >&6; }
7657
 
 
7658
 
 
7659
 
 
7660
 
 
7661
 
 
 
8416
 
 
8417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8418
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8419
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8420
  $as_echo_n "(cached) " >&6
 
8421
else
 
8422
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8423
fi
 
8424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8425
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8426
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
7662
8427
 
7663
8428
#
7664
8429
# Check to make sure the PIC flag actually works.
7666
8431
if test -n "$lt_prog_compiler_pic"; then
7667
8432
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7668
8433
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7669
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8434
if ${lt_cv_prog_compiler_pic_works+:} false; then :
7670
8435
  $as_echo_n "(cached) " >&6
7671
8436
else
7672
8437
  lt_cv_prog_compiler_pic_works=no
7682
8447
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7683
8448
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7684
8449
   -e 's:$: $lt_compiler_flag:'`
7685
 
   (eval echo "\"\$as_me:7685: $lt_compile\"" >&5)
 
8450
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7686
8451
   (eval "$lt_compile" 2>conftest.err)
7687
8452
   ac_status=$?
7688
8453
   cat conftest.err >&5
7689
 
   echo "$as_me:7689: \$? = $ac_status" >&5
 
8454
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7690
8455
   if (exit $ac_status) && test -s "$ac_outfile"; then
7691
8456
     # The compiler can only warn and ignore the option if not recognized
7692
8457
     # So say no if there are warnings other than the usual output.
7693
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8458
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7694
8459
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7695
8460
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7696
8461
       lt_cv_prog_compiler_pic_works=yes
7719
8484
 
7720
8485
 
7721
8486
 
 
8487
 
 
8488
 
 
8489
 
 
8490
 
 
8491
 
7722
8492
#
7723
8493
# Check to make sure the static flag actually works.
7724
8494
#
7725
8495
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7726
8496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7727
8497
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7728
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8498
if ${lt_cv_prog_compiler_static_works+:} false; then :
7729
8499
  $as_echo_n "(cached) " >&6
7730
8500
else
7731
8501
  lt_cv_prog_compiler_static_works=no
7738
8508
     if test -s conftest.err; then
7739
8509
       # Append any errors to the config.log.
7740
8510
       cat conftest.err 1>&5
7741
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8511
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7742
8512
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7743
8513
       if diff conftest.exp conftest.er2 >/dev/null; then
7744
8514
         lt_cv_prog_compiler_static_works=yes
7768
8538
 
7769
8539
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7770
8540
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7771
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8541
if ${lt_cv_prog_compiler_c_o+:} false; then :
7772
8542
  $as_echo_n "(cached) " >&6
7773
8543
else
7774
8544
  lt_cv_prog_compiler_c_o=no
7787
8557
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7788
8558
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7789
8559
   -e 's:$: $lt_compiler_flag:'`
7790
 
   (eval echo "\"\$as_me:7790: $lt_compile\"" >&5)
 
8560
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7791
8561
   (eval "$lt_compile" 2>out/conftest.err)
7792
8562
   ac_status=$?
7793
8563
   cat out/conftest.err >&5
7794
 
   echo "$as_me:7794: \$? = $ac_status" >&5
 
8564
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795
8565
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7796
8566
   then
7797
8567
     # The compiler can only warn and ignore the option if not recognized
7798
8568
     # So say no if there are warnings
7799
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8569
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7800
8570
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7801
8571
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7802
8572
       lt_cv_prog_compiler_c_o=yes
7823
8593
 
7824
8594
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7825
8595
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7826
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8596
if ${lt_cv_prog_compiler_c_o+:} false; then :
7827
8597
  $as_echo_n "(cached) " >&6
7828
8598
else
7829
8599
  lt_cv_prog_compiler_c_o=no
7842
8612
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7843
8613
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7844
8614
   -e 's:$: $lt_compiler_flag:'`
7845
 
   (eval echo "\"\$as_me:7845: $lt_compile\"" >&5)
 
8615
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7846
8616
   (eval "$lt_compile" 2>out/conftest.err)
7847
8617
   ac_status=$?
7848
8618
   cat out/conftest.err >&5
7849
 
   echo "$as_me:7849: \$? = $ac_status" >&5
 
8619
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7850
8620
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7851
8621
   then
7852
8622
     # The compiler can only warn and ignore the option if not recognized
7853
8623
     # So say no if there are warnings
7854
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8624
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7855
8625
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7856
8626
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7857
8627
       lt_cv_prog_compiler_c_o=yes
7917
8687
  hardcode_direct=no
7918
8688
  hardcode_direct_absolute=no
7919
8689
  hardcode_libdir_flag_spec=
7920
 
  hardcode_libdir_flag_spec_ld=
7921
8690
  hardcode_libdir_separator=
7922
8691
  hardcode_minus_L=no
7923
8692
  hardcode_shlibpath_var=unsupported
7961
8730
  openbsd*)
7962
8731
    with_gnu_ld=no
7963
8732
    ;;
7964
 
  linux* | k*bsd*-gnu)
 
8733
  linux* | k*bsd*-gnu | gnu*)
7965
8734
    link_all_deplibs=no
7966
8735
    ;;
7967
8736
  esac
7968
8737
 
7969
8738
  ld_shlibs=yes
 
8739
 
 
8740
  # On some targets, GNU ld is compatible enough with the native linker
 
8741
  # that we're better off using the native interface for both.
 
8742
  lt_use_gnu_ld_interface=no
7970
8743
  if test "$with_gnu_ld" = yes; then
 
8744
    case $host_os in
 
8745
      aix*)
 
8746
        # The AIX port of GNU ld has always aspired to compatibility
 
8747
        # with the native linker.  However, as the warning in the GNU ld
 
8748
        # block says, versions before 2.19.5* couldn't really create working
 
8749
        # shared libraries, regardless of the interface used.
 
8750
        case `$LD -v 2>&1` in
 
8751
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8752
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8753
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8754
          *)
 
8755
            lt_use_gnu_ld_interface=yes
 
8756
            ;;
 
8757
        esac
 
8758
        ;;
 
8759
      *)
 
8760
        lt_use_gnu_ld_interface=yes
 
8761
        ;;
 
8762
    esac
 
8763
  fi
 
8764
 
 
8765
  if test "$lt_use_gnu_ld_interface" = yes; then
7971
8766
    # If archive_cmds runs LD, not CC, wlarc should be empty
7972
8767
    wlarc='${wl}'
7973
8768
 
8001
8796
        ld_shlibs=no
8002
8797
        cat <<_LT_EOF 1>&2
8003
8798
 
8004
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8799
*** Warning: the GNU linker, at least up to release 2.19, is reported
8005
8800
*** to be unable to reliably create shared libraries on AIX.
8006
8801
*** Therefore, libtool is disabling shared libraries support.  If you
8007
 
*** really care for shared libraries, you may want to modify your PATH
8008
 
*** so that a non-GNU linker is found, and then restart.
 
8802
*** really care for shared libraries, you may want to install binutils
 
8803
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8804
*** You will then need to restart the configuration process.
8009
8805
 
8010
8806
_LT_EOF
8011
8807
      fi
8041
8837
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8042
8838
      # as there is no search path for DLLs.
8043
8839
      hardcode_libdir_flag_spec='-L$libdir'
 
8840
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8044
8841
      allow_undefined_flag=unsupported
8045
8842
      always_export_symbols=no
8046
8843
      enable_shared_with_static_runtimes=yes
8047
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8844
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
8845
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8048
8846
 
8049
8847
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8050
8848
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8062
8860
      fi
8063
8861
      ;;
8064
8862
 
 
8863
    haiku*)
 
8864
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8865
      link_all_deplibs=yes
 
8866
      ;;
 
8867
 
8065
8868
    interix[3-9]*)
8066
8869
      hardcode_direct=no
8067
8870
      hardcode_shlibpath_var=no
8087
8890
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8088
8891
         && test "$tmp_diet" = no
8089
8892
      then
8090
 
        tmp_addflag=
 
8893
        tmp_addflag=' $pic_flag'
8091
8894
        tmp_sharedflag='-shared'
8092
8895
        case $cc_basename,$host_cpu in
8093
8896
        pgcc*)                          # Portland Group C compiler
8094
 
          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'
 
8897
          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'
8095
8898
          tmp_addflag=' $pic_flag'
8096
8899
          ;;
8097
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8098
 
          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'
 
8900
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8901
                                        # Portland Group f77 and f90 compilers
 
8902
          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'
8099
8903
          tmp_addflag=' $pic_flag -Mnomain' ;;
8100
8904
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8101
8905
          tmp_addflag=' -i_dynamic' ;;
8106
8910
        lf95*)                          # Lahey Fortran 8.1
8107
8911
          whole_archive_flag_spec=
8108
8912
          tmp_sharedflag='--shared' ;;
8109
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8913
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8110
8914
          tmp_sharedflag='-qmkshrobj'
8111
8915
          tmp_addflag= ;;
 
8916
        nvcc*)  # Cuda Compiler Driver 2.2
 
8917
          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'
 
8918
          compiler_needs_object=yes
 
8919
          ;;
8112
8920
        esac
8113
8921
        case `$CC -V 2>&1 | sed 5q` in
8114
8922
        *Sun\ C*)                       # Sun C 5.9
8115
 
          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'
 
8923
          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'
8116
8924
          compiler_needs_object=yes
8117
8925
          tmp_sharedflag='-G' ;;
8118
8926
        *Sun\ F*)                       # Sun Fortran 8.3
8128
8936
        fi
8129
8937
 
8130
8938
        case $cc_basename in
8131
 
        xlf*)
 
8939
        xlf* | bgf* | bgxlf* | mpixlf*)
8132
8940
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8133
8941
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8134
 
          hardcode_libdir_flag_spec=
8135
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8136
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8942
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8943
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8137
8944
          if test "x$supports_anon_versioning" = xyes; then
8138
8945
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8139
8946
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8140
8947
              echo "local: *; };" >> $output_objdir/$libname.ver~
8141
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8948
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8142
8949
          fi
8143
8950
          ;;
8144
8951
        esac
8152
8959
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8153
8960
        wlarc=
8154
8961
      else
8155
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8156
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8962
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8963
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8157
8964
      fi
8158
8965
      ;;
8159
8966
 
8171
8978
 
8172
8979
_LT_EOF
8173
8980
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8174
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8175
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8981
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8982
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8176
8983
      else
8177
8984
        ld_shlibs=no
8178
8985
      fi
8218
9025
 
8219
9026
    *)
8220
9027
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8221
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8222
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9028
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9029
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8223
9030
      else
8224
9031
        ld_shlibs=no
8225
9032
      fi
8259
9066
      else
8260
9067
        # If we're using GNU nm, then we don't want the "-C" option.
8261
9068
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9069
        # Also, AIX nm treats weak defined symbols like other global
 
9070
        # defined symbols, whereas GNU nm marks them as "W".
8262
9071
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8263
 
          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'
 
9072
          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'
8264
9073
        else
8265
9074
          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'
8266
9075
        fi
8348
9157
        allow_undefined_flag='-berok'
8349
9158
        # Determine the default libpath from the value encoded in an
8350
9159
        # empty executable.
8351
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9160
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9161
  aix_libpath=$lt_cv_aix_libpath
 
9162
else
 
9163
  if ${lt_cv_aix_libpath_+:} false; then :
 
9164
  $as_echo_n "(cached) " >&6
 
9165
else
 
9166
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8352
9167
/* end confdefs.h.  */
8353
9168
 
8354
9169
int
8361
9176
_ACEOF
8362
9177
if ac_fn_c_try_link "$LINENO"; then :
8363
9178
 
8364
 
lt_aix_libpath_sed='
8365
 
    /Import File Strings/,/^$/ {
8366
 
        /^0/ {
8367
 
            s/^0  *\(.*\)$/\1/
8368
 
            p
8369
 
        }
8370
 
    }'
8371
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8372
 
# Check for a 64-bit object if we didn't find anything.
8373
 
if test -z "$aix_libpath"; then
8374
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8375
 
fi
 
9179
  lt_aix_libpath_sed='
 
9180
      /Import File Strings/,/^$/ {
 
9181
          /^0/ {
 
9182
              s/^0  *\([^ ]*\) *$/\1/
 
9183
              p
 
9184
          }
 
9185
      }'
 
9186
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9187
  # Check for a 64-bit object if we didn't find anything.
 
9188
  if test -z "$lt_cv_aix_libpath_"; then
 
9189
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9190
  fi
8376
9191
fi
8377
9192
rm -f core conftest.err conftest.$ac_objext \
8378
9193
    conftest$ac_exeext conftest.$ac_ext
8379
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9194
  if test -z "$lt_cv_aix_libpath_"; then
 
9195
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9196
  fi
 
9197
 
 
9198
fi
 
9199
 
 
9200
  aix_libpath=$lt_cv_aix_libpath_
 
9201
fi
8380
9202
 
8381
9203
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8382
 
        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"
 
9204
        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"
8383
9205
      else
8384
9206
        if test "$host_cpu" = ia64; then
8385
9207
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8388
9210
        else
8389
9211
         # Determine the default libpath from the value encoded in an
8390
9212
         # empty executable.
8391
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9213
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9214
  aix_libpath=$lt_cv_aix_libpath
 
9215
else
 
9216
  if ${lt_cv_aix_libpath_+:} false; then :
 
9217
  $as_echo_n "(cached) " >&6
 
9218
else
 
9219
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8392
9220
/* end confdefs.h.  */
8393
9221
 
8394
9222
int
8401
9229
_ACEOF
8402
9230
if ac_fn_c_try_link "$LINENO"; then :
8403
9231
 
8404
 
lt_aix_libpath_sed='
8405
 
    /Import File Strings/,/^$/ {
8406
 
        /^0/ {
8407
 
            s/^0  *\(.*\)$/\1/
8408
 
            p
8409
 
        }
8410
 
    }'
8411
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8412
 
# Check for a 64-bit object if we didn't find anything.
8413
 
if test -z "$aix_libpath"; then
8414
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8415
 
fi
 
9232
  lt_aix_libpath_sed='
 
9233
      /Import File Strings/,/^$/ {
 
9234
          /^0/ {
 
9235
              s/^0  *\([^ ]*\) *$/\1/
 
9236
              p
 
9237
          }
 
9238
      }'
 
9239
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9240
  # Check for a 64-bit object if we didn't find anything.
 
9241
  if test -z "$lt_cv_aix_libpath_"; then
 
9242
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9243
  fi
8416
9244
fi
8417
9245
rm -f core conftest.err conftest.$ac_objext \
8418
9246
    conftest$ac_exeext conftest.$ac_ext
8419
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9247
  if test -z "$lt_cv_aix_libpath_"; then
 
9248
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9249
  fi
 
9250
 
 
9251
fi
 
9252
 
 
9253
  aix_libpath=$lt_cv_aix_libpath_
 
9254
fi
8420
9255
 
8421
9256
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8422
9257
          # Warning - without using the other run time loading flags,
8423
9258
          # -berok will link without error, but may produce a broken library.
8424
9259
          no_undefined_flag=' ${wl}-bernotok'
8425
9260
          allow_undefined_flag=' ${wl}-berok'
8426
 
          # Exported symbols can be pulled into shared objects from archives
8427
 
          whole_archive_flag_spec='$convenience'
 
9261
          if test "$with_gnu_ld" = yes; then
 
9262
            # We only use this code for GNU lds that support --whole-archive.
 
9263
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9264
          else
 
9265
            # Exported symbols can be pulled into shared objects from archives
 
9266
            whole_archive_flag_spec='$convenience'
 
9267
          fi
8428
9268
          archive_cmds_need_lc=yes
8429
9269
          # This is similar to how AIX traditionally builds its shared libraries.
8430
9270
          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'
8456
9296
      # Microsoft Visual C++.
8457
9297
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8458
9298
      # no search path for DLLs.
8459
 
      hardcode_libdir_flag_spec=' '
8460
 
      allow_undefined_flag=unsupported
8461
 
      # Tell ltmain to make .lib files, not .a files.
8462
 
      libext=lib
8463
 
      # Tell ltmain to make .dll files, not .so files.
8464
 
      shrext_cmds=".dll"
8465
 
      # FIXME: Setting linknames here is a bad hack.
8466
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8467
 
      # The linker will automatically build a .lib file if we build a DLL.
8468
 
      old_archive_from_new_cmds='true'
8469
 
      # FIXME: Should let the user specify the lib program.
8470
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8471
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8472
 
      enable_shared_with_static_runtimes=yes
 
9299
      case $cc_basename in
 
9300
      cl*)
 
9301
        # Native MSVC
 
9302
        hardcode_libdir_flag_spec=' '
 
9303
        allow_undefined_flag=unsupported
 
9304
        always_export_symbols=yes
 
9305
        file_list_spec='@'
 
9306
        # Tell ltmain to make .lib files, not .a files.
 
9307
        libext=lib
 
9308
        # Tell ltmain to make .dll files, not .so files.
 
9309
        shrext_cmds=".dll"
 
9310
        # FIXME: Setting linknames here is a bad hack.
 
9311
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9312
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9313
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9314
          else
 
9315
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9316
          fi~
 
9317
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9318
          linknames='
 
9319
        # The linker will not automatically build a static lib if we build a DLL.
 
9320
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9321
        enable_shared_with_static_runtimes=yes
 
9322
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
9323
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9324
        # Don't use ranlib
 
9325
        old_postinstall_cmds='chmod 644 $oldlib'
 
9326
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9327
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9328
          case $lt_outputfile in
 
9329
            *.exe|*.EXE) ;;
 
9330
            *)
 
9331
              lt_outputfile="$lt_outputfile.exe"
 
9332
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9333
              ;;
 
9334
          esac~
 
9335
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9336
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9337
            $RM "$lt_outputfile.manifest";
 
9338
          fi'
 
9339
        ;;
 
9340
      *)
 
9341
        # Assume MSVC wrapper
 
9342
        hardcode_libdir_flag_spec=' '
 
9343
        allow_undefined_flag=unsupported
 
9344
        # Tell ltmain to make .lib files, not .a files.
 
9345
        libext=lib
 
9346
        # Tell ltmain to make .dll files, not .so files.
 
9347
        shrext_cmds=".dll"
 
9348
        # FIXME: Setting linknames here is a bad hack.
 
9349
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9350
        # The linker will automatically build a .lib file if we build a DLL.
 
9351
        old_archive_from_new_cmds='true'
 
9352
        # FIXME: Should let the user specify the lib program.
 
9353
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9354
        enable_shared_with_static_runtimes=yes
 
9355
        ;;
 
9356
      esac
8473
9357
      ;;
8474
9358
 
8475
9359
    darwin* | rhapsody*)
8479
9363
  hardcode_direct=no
8480
9364
  hardcode_automatic=yes
8481
9365
  hardcode_shlibpath_var=unsupported
8482
 
  whole_archive_flag_spec=''
 
9366
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9367
    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\"`'
 
9368
 
 
9369
  else
 
9370
    whole_archive_flag_spec=''
 
9371
  fi
8483
9372
  link_all_deplibs=yes
8484
9373
  allow_undefined_flag="$_lt_dar_allow_undefined"
8485
9374
  case $cc_basename in
8487
9376
     *) _lt_dar_can_shared=$GCC ;;
8488
9377
  esac
8489
9378
  if test "$_lt_dar_can_shared" = "yes"; then
8490
 
    output_verbose_link_cmd=echo
 
9379
    output_verbose_link_cmd=func_echo_all
8491
9380
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8492
9381
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8493
9382
    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}"
8505
9394
      hardcode_shlibpath_var=no
8506
9395
      ;;
8507
9396
 
8508
 
    freebsd1*)
8509
 
      ld_shlibs=no
8510
 
      ;;
8511
 
 
8512
9397
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8513
9398
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8514
9399
    # does not break anything, and helps significantly (at the cost of a little
8521
9406
      ;;
8522
9407
 
8523
9408
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8524
 
    freebsd2*)
 
9409
    freebsd2.*)
8525
9410
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8526
9411
      hardcode_direct=yes
8527
9412
      hardcode_minus_L=yes
8530
9415
 
8531
9416
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8532
9417
    freebsd* | dragonfly*)
8533
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9418
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8534
9419
      hardcode_libdir_flag_spec='-R$libdir'
8535
9420
      hardcode_direct=yes
8536
9421
      hardcode_shlibpath_var=no
8538
9423
 
8539
9424
    hpux9*)
8540
9425
      if test "$GCC" = yes; then
8541
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
9426
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8542
9427
      else
8543
9428
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8544
9429
      fi
8553
9438
      ;;
8554
9439
 
8555
9440
    hpux10*)
8556
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8557
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9441
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9442
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8558
9443
      else
8559
9444
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8560
9445
      fi
8561
9446
      if test "$with_gnu_ld" = no; then
8562
9447
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8563
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
8564
9448
        hardcode_libdir_separator=:
8565
9449
        hardcode_direct=yes
8566
9450
        hardcode_direct_absolute=yes
8572
9456
      ;;
8573
9457
 
8574
9458
    hpux11*)
8575
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9459
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8576
9460
        case $host_cpu in
8577
9461
        hppa*64*)
8578
9462
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8579
9463
          ;;
8580
9464
        ia64*)
8581
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9465
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8582
9466
          ;;
8583
9467
        *)
8584
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9468
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8585
9469
          ;;
8586
9470
        esac
8587
9471
      else
8593
9477
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8594
9478
          ;;
8595
9479
        *)
8596
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9480
 
 
9481
          # Older versions of the 11.00 compiler do not understand -b yet
 
9482
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9483
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9484
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9485
if ${lt_cv_prog_compiler__b+:} false; then :
 
9486
  $as_echo_n "(cached) " >&6
 
9487
else
 
9488
  lt_cv_prog_compiler__b=no
 
9489
   save_LDFLAGS="$LDFLAGS"
 
9490
   LDFLAGS="$LDFLAGS -b"
 
9491
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9492
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9493
     # The linker can only warn and ignore the option if not recognized
 
9494
     # So say no if there are warnings
 
9495
     if test -s conftest.err; then
 
9496
       # Append any errors to the config.log.
 
9497
       cat conftest.err 1>&5
 
9498
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9499
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9500
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9501
         lt_cv_prog_compiler__b=yes
 
9502
       fi
 
9503
     else
 
9504
       lt_cv_prog_compiler__b=yes
 
9505
     fi
 
9506
   fi
 
9507
   $RM -r conftest*
 
9508
   LDFLAGS="$save_LDFLAGS"
 
9509
 
 
9510
fi
 
9511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9512
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9513
 
 
9514
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9515
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9516
else
 
9517
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9518
fi
 
9519
 
8597
9520
          ;;
8598
9521
        esac
8599
9522
      fi
8621
9544
 
8622
9545
    irix5* | irix6* | nonstopux*)
8623
9546
      if test "$GCC" = yes; then
8624
 
        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'
 
9547
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8625
9548
        # Try to use the -exported_symbol ld option, if it does not
8626
9549
        # work, assume that -exports_file does not work either and
8627
9550
        # implicitly export all symbols.
8628
 
        save_LDFLAGS="$LDFLAGS"
8629
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8630
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9551
        # This should be the same for all languages, so no per-tag cache variable.
 
9552
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9553
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9554
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9555
  $as_echo_n "(cached) " >&6
 
9556
else
 
9557
  save_LDFLAGS="$LDFLAGS"
 
9558
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9559
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8631
9560
/* end confdefs.h.  */
8632
 
int foo(void) {}
 
9561
int foo (void) { return 0; }
8633
9562
_ACEOF
8634
9563
if ac_fn_c_try_link "$LINENO"; then :
8635
 
  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'
8636
 
 
 
9564
  lt_cv_irix_exported_symbol=yes
 
9565
else
 
9566
  lt_cv_irix_exported_symbol=no
8637
9567
fi
8638
9568
rm -f core conftest.err conftest.$ac_objext \
8639
9569
    conftest$ac_exeext conftest.$ac_ext
8640
 
        LDFLAGS="$save_LDFLAGS"
 
9570
           LDFLAGS="$save_LDFLAGS"
 
9571
fi
 
9572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9573
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9574
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9575
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
9576
        fi
8641
9577
      else
8642
 
        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'
8643
 
        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'
 
9578
        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'
 
9579
        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'
8644
9580
      fi
8645
9581
      archive_cmds_need_lc='no'
8646
9582
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8702
9638
      hardcode_libdir_flag_spec='-L$libdir'
8703
9639
      hardcode_minus_L=yes
8704
9640
      allow_undefined_flag=unsupported
8705
 
      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'
 
9641
      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'
8706
9642
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8707
9643
      ;;
8708
9644
 
8709
9645
    osf3*)
8710
9646
      if test "$GCC" = yes; then
8711
9647
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8712
 
        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'
 
9648
        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'
8713
9649
      else
8714
9650
        allow_undefined_flag=' -expect_unresolved \*'
8715
 
        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'
 
9651
        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'
8716
9652
      fi
8717
9653
      archive_cmds_need_lc='no'
8718
9654
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8722
9658
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8723
9659
      if test "$GCC" = yes; then
8724
9660
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8725
 
        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'
 
9661
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8726
9662
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8727
9663
      else
8728
9664
        allow_undefined_flag=' -expect_unresolved \*'
8729
 
        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'
 
9665
        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'
8730
9666
        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~
8731
 
        $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'
 
9667
        $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'
8732
9668
 
8733
9669
        # Both c and cxx compiler support -rpath directly
8734
9670
        hardcode_libdir_flag_spec='-rpath $libdir'
8741
9677
      no_undefined_flag=' -z defs'
8742
9678
      if test "$GCC" = yes; then
8743
9679
        wlarc='${wl}'
8744
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9680
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8745
9681
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8746
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9682
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8747
9683
      else
8748
9684
        case `$CC -V 2>&1` in
8749
9685
        *"Compilers 5.0"*)
8931
9867
      # to ld, don't add -lc before -lgcc.
8932
9868
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8933
9869
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8934
 
      $RM conftest*
8935
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9870
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
9871
  $as_echo_n "(cached) " >&6
 
9872
else
 
9873
  $RM conftest*
 
9874
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8936
9875
 
8937
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9876
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8938
9877
  (eval $ac_compile) 2>&5
8939
9878
  ac_status=$?
8940
9879
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8941
9880
  test $ac_status = 0; } 2>conftest.err; then
8942
 
        soname=conftest
8943
 
        lib=conftest
8944
 
        libobjs=conftest.$ac_objext
8945
 
        deplibs=
8946
 
        wl=$lt_prog_compiler_wl
8947
 
        pic_flag=$lt_prog_compiler_pic
8948
 
        compiler_flags=-v
8949
 
        linker_flags=-v
8950
 
        verstring=
8951
 
        output_objdir=.
8952
 
        libname=conftest
8953
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
8954
 
        allow_undefined_flag=
8955
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9881
          soname=conftest
 
9882
          lib=conftest
 
9883
          libobjs=conftest.$ac_objext
 
9884
          deplibs=
 
9885
          wl=$lt_prog_compiler_wl
 
9886
          pic_flag=$lt_prog_compiler_pic
 
9887
          compiler_flags=-v
 
9888
          linker_flags=-v
 
9889
          verstring=
 
9890
          output_objdir=.
 
9891
          libname=conftest
 
9892
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9893
          allow_undefined_flag=
 
9894
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8956
9895
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8957
9896
  ac_status=$?
8958
9897
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8959
9898
  test $ac_status = 0; }
8960
 
        then
8961
 
          archive_cmds_need_lc=no
8962
 
        else
8963
 
          archive_cmds_need_lc=yes
8964
 
        fi
8965
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
8966
 
      else
8967
 
        cat conftest.err 1>&5
8968
 
      fi
8969
 
      $RM conftest*
8970
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8971
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
9899
          then
 
9900
            lt_cv_archive_cmds_need_lc=no
 
9901
          else
 
9902
            lt_cv_archive_cmds_need_lc=yes
 
9903
          fi
 
9904
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9905
        else
 
9906
          cat conftest.err 1>&5
 
9907
        fi
 
9908
        $RM conftest*
 
9909
 
 
9910
fi
 
9911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9912
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9913
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
8972
9914
      ;;
8973
9915
    esac
8974
9916
  fi
9126
10068
 
9127
10069
 
9128
10070
 
9129
 
 
9130
 
 
9131
 
 
9132
 
 
9133
 
 
9134
10071
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9135
10072
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9136
10073
 
9139
10076
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9140
10077
    *) lt_awk_arg="/^libraries:/" ;;
9141
10078
  esac
9142
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9143
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10079
  case $host_os in
 
10080
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10081
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10082
  esac
 
10083
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10084
  case $lt_search_path_spec in
 
10085
  *\;*)
9144
10086
    # if the path contains ";" then we assume it to be the separator
9145
10087
    # otherwise default to the standard path separator (i.e. ":") - it is
9146
10088
    # assumed that no part of a normal pathname contains ";" but that should
9147
10089
    # okay in the real world where ";" in dirpaths is itself problematic.
9148
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9149
 
  else
9150
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9151
 
  fi
 
10090
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10091
    ;;
 
10092
  *)
 
10093
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10094
    ;;
 
10095
  esac
9152
10096
  # Ok, now we have the path, separated by spaces, we can step through it
9153
10097
  # and add multilib dir if necessary.
9154
10098
  lt_tmp_lt_search_path_spec=
9161
10105
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9162
10106
    fi
9163
10107
  done
9164
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10108
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9165
10109
BEGIN {RS=" "; FS="/|\n";} {
9166
10110
  lt_foo="";
9167
10111
  lt_count=0;
9181
10125
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9182
10126
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9183
10127
}'`
9184
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10128
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10129
  # for these hosts.
 
10130
  case $host_os in
 
10131
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10132
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10133
  esac
 
10134
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9185
10135
else
9186
10136
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9187
10137
fi
9207
10157
 
9208
10158
case $host_os in
9209
10159
aix3*)
9210
 
  version_type=linux
 
10160
  version_type=linux # correct to gnu/linux during the next big refactor
9211
10161
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9212
10162
  shlibpath_var=LIBPATH
9213
10163
 
9216
10166
  ;;
9217
10167
 
9218
10168
aix[4-9]*)
9219
 
  version_type=linux
 
10169
  version_type=linux # correct to gnu/linux during the next big refactor
9220
10170
  need_lib_prefix=no
9221
10171
  need_version=no
9222
10172
  hardcode_into_libs=yes
9269
10219
  m68k)
9270
10220
    library_names_spec='$libname.ixlibrary $libname.a'
9271
10221
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9272
 
    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'
 
10222
    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'
9273
10223
    ;;
9274
10224
  esac
9275
10225
  ;;
9281
10231
  ;;
9282
10232
 
9283
10233
bsdi[45]*)
9284
 
  version_type=linux
 
10234
  version_type=linux # correct to gnu/linux during the next big refactor
9285
10235
  need_version=no
9286
10236
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9287
10237
  soname_spec='${libname}${release}${shared_ext}$major'
9300
10250
  need_version=no
9301
10251
  need_lib_prefix=no
9302
10252
 
9303
 
  case $GCC,$host_os in
9304
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10253
  case $GCC,$cc_basename in
 
10254
  yes,*)
 
10255
    # gcc
9305
10256
    library_names_spec='$libname.dll.a'
9306
10257
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9307
10258
    postinstall_cmds='base_file=`basename \${file}`~
9322
10273
    cygwin*)
9323
10274
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9324
10275
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9325
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10276
 
 
10277
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9326
10278
      ;;
9327
10279
    mingw* | cegcc*)
9328
10280
      # MinGW DLLs use traditional 'lib' prefix
9329
10281
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9330
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9331
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9332
 
        # It is most probably a Windows format PATH printed by
9333
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9334
 
        # path with ; separators, and with drive letters. We can handle the
9335
 
        # drive letters (cygwin fileutils understands them), so leave them,
9336
 
        # especially as we might pass files found there to a mingw objdump,
9337
 
        # which wouldn't understand a cygwinified path. Ahh.
9338
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9339
 
      else
9340
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9341
 
      fi
9342
10282
      ;;
9343
10283
    pw32*)
9344
10284
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9345
10285
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9346
10286
      ;;
9347
10287
    esac
 
10288
    dynamic_linker='Win32 ld.exe'
 
10289
    ;;
 
10290
 
 
10291
  *,cl*)
 
10292
    # Native MSVC
 
10293
    libname_spec='$name'
 
10294
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10295
    library_names_spec='${libname}.dll.lib'
 
10296
 
 
10297
    case $build_os in
 
10298
    mingw*)
 
10299
      sys_lib_search_path_spec=
 
10300
      lt_save_ifs=$IFS
 
10301
      IFS=';'
 
10302
      for lt_path in $LIB
 
10303
      do
 
10304
        IFS=$lt_save_ifs
 
10305
        # Let DOS variable expansion print the short 8.3 style file name.
 
10306
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10307
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10308
      done
 
10309
      IFS=$lt_save_ifs
 
10310
      # Convert to MSYS style.
 
10311
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10312
      ;;
 
10313
    cygwin*)
 
10314
      # Convert to unix form, then to dos form, then back to unix form
 
10315
      # but this time dos style (no spaces!) so that the unix form looks
 
10316
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10317
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10318
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10319
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10320
      ;;
 
10321
    *)
 
10322
      sys_lib_search_path_spec="$LIB"
 
10323
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10324
        # It is most probably a Windows format PATH.
 
10325
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10326
      else
 
10327
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10328
      fi
 
10329
      # FIXME: find the short name or the path components, as spaces are
 
10330
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10331
      ;;
 
10332
    esac
 
10333
 
 
10334
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10335
    postinstall_cmds='base_file=`basename \${file}`~
 
10336
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10337
      dldir=$destdir/`dirname \$dlpath`~
 
10338
      test -d \$dldir || mkdir -p \$dldir~
 
10339
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10340
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10341
      dlpath=$dir/\$dldll~
 
10342
       $RM \$dlpath'
 
10343
    shlibpath_overrides_runpath=yes
 
10344
    dynamic_linker='Win32 link.exe'
9348
10345
    ;;
9349
10346
 
9350
10347
  *)
 
10348
    # Assume MSVC wrapper
9351
10349
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10350
    dynamic_linker='Win32 ld.exe'
9352
10351
    ;;
9353
10352
  esac
9354
 
  dynamic_linker='Win32 ld.exe'
9355
10353
  # FIXME: first we should search . and the directory the executable is in
9356
10354
  shlibpath_var=PATH
9357
10355
  ;;
9372
10370
  ;;
9373
10371
 
9374
10372
dgux*)
9375
 
  version_type=linux
 
10373
  version_type=linux # correct to gnu/linux during the next big refactor
9376
10374
  need_lib_prefix=no
9377
10375
  need_version=no
9378
10376
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9380
10378
  shlibpath_var=LD_LIBRARY_PATH
9381
10379
  ;;
9382
10380
 
9383
 
freebsd1*)
9384
 
  dynamic_linker=no
9385
 
  ;;
9386
 
 
9387
10381
freebsd* | dragonfly*)
9388
10382
  # DragonFly does not have aout.  When/if they implement a new
9389
10383
  # versioning mechanism, adjust this.
9391
10385
    objformat=`/usr/bin/objformat`
9392
10386
  else
9393
10387
    case $host_os in
9394
 
    freebsd[123]*) objformat=aout ;;
 
10388
    freebsd[23].*) objformat=aout ;;
9395
10389
    *) objformat=elf ;;
9396
10390
    esac
9397
10391
  fi
9409
10403
  esac
9410
10404
  shlibpath_var=LD_LIBRARY_PATH
9411
10405
  case $host_os in
9412
 
  freebsd2*)
 
10406
  freebsd2.*)
9413
10407
    shlibpath_overrides_runpath=yes
9414
10408
    ;;
9415
10409
  freebsd3.[01]* | freebsdelf3.[01]*)
9428
10422
  esac
9429
10423
  ;;
9430
10424
 
9431
 
gnu*)
9432
 
  version_type=linux
 
10425
haiku*)
 
10426
  version_type=linux # correct to gnu/linux during the next big refactor
9433
10427
  need_lib_prefix=no
9434
10428
  need_version=no
 
10429
  dynamic_linker="$host_os runtime_loader"
9435
10430
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9436
10431
  soname_spec='${libname}${release}${shared_ext}$major'
9437
 
  shlibpath_var=LD_LIBRARY_PATH
 
10432
  shlibpath_var=LIBRARY_PATH
 
10433
  shlibpath_overrides_runpath=yes
 
10434
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9438
10435
  hardcode_into_libs=yes
9439
10436
  ;;
9440
10437
 
9480
10477
    soname_spec='${libname}${release}${shared_ext}$major'
9481
10478
    ;;
9482
10479
  esac
9483
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10480
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9484
10481
  postinstall_cmds='chmod 555 $lib'
 
10482
  # or fails outright, so override atomically:
 
10483
  install_override_mode=555
9485
10484
  ;;
9486
10485
 
9487
10486
interix[3-9]*)
9488
 
  version_type=linux
 
10487
  version_type=linux # correct to gnu/linux during the next big refactor
9489
10488
  need_lib_prefix=no
9490
10489
  need_version=no
9491
10490
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9501
10500
    nonstopux*) version_type=nonstopux ;;
9502
10501
    *)
9503
10502
        if test "$lt_cv_prog_gnu_ld" = yes; then
9504
 
                version_type=linux
 
10503
                version_type=linux # correct to gnu/linux during the next big refactor
9505
10504
        else
9506
10505
                version_type=irix
9507
10506
        fi ;;
9538
10537
  dynamic_linker=no
9539
10538
  ;;
9540
10539
 
9541
 
# This must be Linux ELF.
9542
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9543
 
  version_type=linux
 
10540
# This must be glibc/ELF.
 
10541
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 
10542
  version_type=linux # correct to gnu/linux during the next big refactor
9544
10543
  need_lib_prefix=no
9545
10544
  need_version=no
9546
10545
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9548
10547
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9549
10548
  shlibpath_var=LD_LIBRARY_PATH
9550
10549
  shlibpath_overrides_runpath=no
 
10550
 
9551
10551
  # Some binutils ld are patched to set DT_RUNPATH
9552
 
  save_LDFLAGS=$LDFLAGS
9553
 
  save_libdir=$libdir
9554
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9555
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9556
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10552
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10553
  $as_echo_n "(cached) " >&6
 
10554
else
 
10555
  lt_cv_shlibpath_overrides_runpath=no
 
10556
    save_LDFLAGS=$LDFLAGS
 
10557
    save_libdir=$libdir
 
10558
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10559
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10560
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9557
10561
/* end confdefs.h.  */
9558
10562
 
9559
10563
int
9566
10570
_ACEOF
9567
10571
if ac_fn_c_try_link "$LINENO"; then :
9568
10572
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9569
 
  shlibpath_overrides_runpath=yes
 
10573
  lt_cv_shlibpath_overrides_runpath=yes
9570
10574
fi
9571
10575
fi
9572
10576
rm -f core conftest.err conftest.$ac_objext \
9573
10577
    conftest$ac_exeext conftest.$ac_ext
9574
 
  LDFLAGS=$save_LDFLAGS
9575
 
  libdir=$save_libdir
 
10578
    LDFLAGS=$save_LDFLAGS
 
10579
    libdir=$save_libdir
 
10580
 
 
10581
fi
 
10582
 
 
10583
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9576
10584
 
9577
10585
  # This implies no fast_install, which is unacceptable.
9578
10586
  # Some rework will be needed to allow for fast_install
9581
10589
 
9582
10590
  # Append ld.so.conf contents to the search path
9583
10591
  if test -f /etc/ld.so.conf; then
9584
 
    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' ' '`
 
10592
    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' ' '`
9585
10593
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9586
10594
  fi
9587
10595
 
9625
10633
  ;;
9626
10634
 
9627
10635
newsos6)
9628
 
  version_type=linux
 
10636
  version_type=linux # correct to gnu/linux during the next big refactor
9629
10637
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9630
10638
  shlibpath_var=LD_LIBRARY_PATH
9631
10639
  shlibpath_overrides_runpath=yes
9694
10702
  ;;
9695
10703
 
9696
10704
solaris*)
9697
 
  version_type=linux
 
10705
  version_type=linux # correct to gnu/linux during the next big refactor
9698
10706
  need_lib_prefix=no
9699
10707
  need_version=no
9700
10708
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9719
10727
  ;;
9720
10728
 
9721
10729
sysv4 | sysv4.3*)
9722
 
  version_type=linux
 
10730
  version_type=linux # correct to gnu/linux during the next big refactor
9723
10731
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9724
10732
  soname_spec='${libname}${release}${shared_ext}$major'
9725
10733
  shlibpath_var=LD_LIBRARY_PATH
9743
10751
 
9744
10752
sysv4*MP*)
9745
10753
  if test -d /usr/nec ;then
9746
 
    version_type=linux
 
10754
    version_type=linux # correct to gnu/linux during the next big refactor
9747
10755
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9748
10756
    soname_spec='$libname${shared_ext}.$major'
9749
10757
    shlibpath_var=LD_LIBRARY_PATH
9774
10782
 
9775
10783
tpf*)
9776
10784
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9777
 
  version_type=linux
 
10785
  version_type=linux # correct to gnu/linux during the next big refactor
9778
10786
  need_lib_prefix=no
9779
10787
  need_version=no
9780
10788
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9784
10792
  ;;
9785
10793
 
9786
10794
uts4*)
9787
 
  version_type=linux
 
10795
  version_type=linux # correct to gnu/linux during the next big refactor
9788
10796
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9789
10797
  soname_spec='${libname}${release}${shared_ext}$major'
9790
10798
  shlibpath_var=LD_LIBRARY_PATH
9896
10904
 
9897
10905
 
9898
10906
 
 
10907
 
 
10908
 
 
10909
 
 
10910
 
 
10911
 
9899
10912
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9900
10913
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9901
10914
hardcode_action=
9968
10981
  # if libdl is installed we need to link against it
9969
10982
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9970
10983
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9971
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10984
if ${ac_cv_lib_dl_dlopen+:} false; then :
9972
10985
  $as_echo_n "(cached) " >&6
9973
10986
else
9974
10987
  ac_check_lib_save_LIBS=$LIBS
10002
11015
fi
10003
11016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10004
11017
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10005
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11018
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10006
11019
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10007
11020
else
10008
11021
 
10016
11029
 
10017
11030
  *)
10018
11031
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10019
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
11032
if test "x$ac_cv_func_shl_load" = xyes; then :
10020
11033
  lt_cv_dlopen="shl_load"
10021
11034
else
10022
11035
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10023
11036
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10024
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11037
if ${ac_cv_lib_dld_shl_load+:} false; then :
10025
11038
  $as_echo_n "(cached) " >&6
10026
11039
else
10027
11040
  ac_check_lib_save_LIBS=$LIBS
10055
11068
fi
10056
11069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10057
11070
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10058
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11071
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10059
11072
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10060
11073
else
10061
11074
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10062
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
11075
if test "x$ac_cv_func_dlopen" = xyes; then :
10063
11076
  lt_cv_dlopen="dlopen"
10064
11077
else
10065
11078
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10066
11079
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10067
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11080
if ${ac_cv_lib_dl_dlopen+:} false; then :
10068
11081
  $as_echo_n "(cached) " >&6
10069
11082
else
10070
11083
  ac_check_lib_save_LIBS=$LIBS
10098
11111
fi
10099
11112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10100
11113
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10101
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11114
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10102
11115
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10103
11116
else
10104
11117
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10105
11118
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10106
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11119
if ${ac_cv_lib_svld_dlopen+:} false; then :
10107
11120
  $as_echo_n "(cached) " >&6
10108
11121
else
10109
11122
  ac_check_lib_save_LIBS=$LIBS
10137
11150
fi
10138
11151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10139
11152
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10140
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
11153
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10141
11154
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10142
11155
else
10143
11156
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10144
11157
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10145
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11158
if ${ac_cv_lib_dld_dld_link+:} false; then :
10146
11159
  $as_echo_n "(cached) " >&6
10147
11160
else
10148
11161
  ac_check_lib_save_LIBS=$LIBS
10176
11189
fi
10177
11190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10178
11191
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10179
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11192
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10180
11193
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10181
11194
fi
10182
11195
 
10217
11230
 
10218
11231
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10219
11232
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10220
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11233
if ${lt_cv_dlopen_self+:} false; then :
10221
11234
  $as_echo_n "(cached) " >&6
10222
11235
else
10223
11236
          if test "$cross_compiling" = yes; then :
10226
11239
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10227
11240
  lt_status=$lt_dlunknown
10228
11241
  cat > conftest.$ac_ext <<_LT_EOF
10229
 
#line 10229 "configure"
 
11242
#line $LINENO "configure"
10230
11243
#include "confdefs.h"
10231
11244
 
10232
11245
#if HAVE_DLFCN_H
10267
11280
#  endif
10268
11281
#endif
10269
11282
 
10270
 
void fnord() { int i=42;}
 
11283
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11284
   correspondingly for the symbols needed.  */
 
11285
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11286
int fnord () __attribute__((visibility("default")));
 
11287
#endif
 
11288
 
 
11289
int fnord () { return 42; }
10271
11290
int main ()
10272
11291
{
10273
11292
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10276
11295
  if (self)
10277
11296
    {
10278
11297
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10279
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11298
      else
 
11299
        {
 
11300
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11301
          else puts (dlerror ());
 
11302
        }
10280
11303
      /* dlclose (self); */
10281
11304
    }
10282
11305
  else
10313
11336
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10314
11337
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10315
11338
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10316
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11339
if ${lt_cv_dlopen_self_static+:} false; then :
10317
11340
  $as_echo_n "(cached) " >&6
10318
11341
else
10319
11342
          if test "$cross_compiling" = yes; then :
10322
11345
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10323
11346
  lt_status=$lt_dlunknown
10324
11347
  cat > conftest.$ac_ext <<_LT_EOF
10325
 
#line 10325 "configure"
 
11348
#line $LINENO "configure"
10326
11349
#include "confdefs.h"
10327
11350
 
10328
11351
#if HAVE_DLFCN_H
10363
11386
#  endif
10364
11387
#endif
10365
11388
 
10366
 
void fnord() { int i=42;}
 
11389
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11390
   correspondingly for the symbols needed.  */
 
11391
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11392
int fnord () __attribute__((visibility("default")));
 
11393
#endif
 
11394
 
 
11395
int fnord () { return 42; }
10367
11396
int main ()
10368
11397
{
10369
11398
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10372
11401
  if (self)
10373
11402
    {
10374
11403
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10375
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11404
      else
 
11405
        {
 
11406
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11407
          else puts (dlerror ());
 
11408
        }
10376
11409
      /* dlclose (self); */
10377
11410
    }
10378
11411
  else
10541
11574
 
10542
11575
 
10543
11576
 
 
11577
 
 
11578
 
10544
11579
        ac_config_commands="$ac_config_commands libtool"
10545
11580
 
10546
11581
 
10555
11590
 
10556
11591
 
10557
11592
 
 
11593
 
10558
11594
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10559
11595
        if test -n "$ac_tool_prefix"; then
10560
11596
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10561
11597
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10562
11598
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10563
11599
$as_echo_n "checking for $ac_word... " >&6; }
10564
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
11600
if ${ac_cv_path_PKG_CONFIG+:} false; then :
10565
11601
  $as_echo_n "(cached) " >&6
10566
11602
else
10567
11603
  case $PKG_CONFIG in
10575
11611
  IFS=$as_save_IFS
10576
11612
  test -z "$as_dir" && as_dir=.
10577
11613
    for ac_exec_ext in '' $ac_executable_extensions; do
10578
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11614
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10579
11615
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10580
11616
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10581
11617
    break 2
10604
11640
set dummy pkg-config; ac_word=$2
10605
11641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10606
11642
$as_echo_n "checking for $ac_word... " >&6; }
10607
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
11643
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
10608
11644
  $as_echo_n "(cached) " >&6
10609
11645
else
10610
11646
  case $ac_pt_PKG_CONFIG in
10618
11654
  IFS=$as_save_IFS
10619
11655
  test -z "$as_dir" && as_dir=.
10620
11656
    for ac_exec_ext in '' $ac_executable_extensions; do
10621
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11657
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10622
11658
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10623
11659
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10624
11660
    break 2
10680
11716
   for ac_header in locale.h
10681
11717
do :
10682
11718
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
10683
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
11719
if test "x$ac_cv_header_locale_h" = xyes; then :
10684
11720
  cat >>confdefs.h <<_ACEOF
10685
11721
#define HAVE_LOCALE_H 1
10686
11722
_ACEOF
10692
11728
    if test $ac_cv_header_locale_h = yes; then
10693
11729
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
10694
11730
$as_echo_n "checking for LC_MESSAGES... " >&6; }
10695
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
11731
if ${am_cv_val_LC_MESSAGES+:} false; then :
10696
11732
  $as_echo_n "(cached) " >&6
10697
11733
else
10698
11734
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732
11768
    INTLLIBS=
10733
11769
 
10734
11770
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
10735
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
11771
if test "x$ac_cv_header_libintl_h" = xyes; then :
10736
11772
  gt_cv_func_dgettext_libintl="no"
10737
11773
      libintl_extra_libs=""
10738
11774
 
10741
11777
      #
10742
11778
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
10743
11779
$as_echo_n "checking for ngettext in libc... " >&6; }
10744
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
11780
if ${gt_cv_func_ngettext_libc+:} false; then :
10745
11781
  $as_echo_n "(cached) " >&6
10746
11782
else
10747
11783
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10772
11808
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
10773
11809
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
10774
11810
$as_echo_n "checking for dgettext in libc... " >&6; }
10775
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
11811
if ${gt_cv_func_dgettext_libc+:} false; then :
10776
11812
  $as_echo_n "(cached) " >&6
10777
11813
else
10778
11814
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805
11841
        for ac_func in bind_textdomain_codeset
10806
11842
do :
10807
11843
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
10808
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
11844
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
10809
11845
  cat >>confdefs.h <<_ACEOF
10810
11846
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
10811
11847
_ACEOF
10824
11860
 
10825
11861
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
10826
11862
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
10827
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
11863
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
10828
11864
  $as_echo_n "(cached) " >&6
10829
11865
else
10830
11866
  ac_check_lib_save_LIBS=$LIBS
10858
11894
fi
10859
11895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
10860
11896
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
10861
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
11897
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
10862
11898
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
10863
11899
$as_echo_n "checking for ngettext in -lintl... " >&6; }
10864
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
11900
if ${ac_cv_lib_intl_ngettext+:} false; then :
10865
11901
  $as_echo_n "(cached) " >&6
10866
11902
else
10867
11903
  ac_check_lib_save_LIBS=$LIBS
10895
11931
fi
10896
11932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
10897
11933
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
10898
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
11934
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
10899
11935
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
10900
11936
$as_echo_n "checking for dgettext in -lintl... " >&6; }
10901
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
11937
if ${ac_cv_lib_intl_dgettext+:} false; then :
10902
11938
  $as_echo_n "(cached) " >&6
10903
11939
else
10904
11940
  ac_check_lib_save_LIBS=$LIBS
10932
11968
fi
10933
11969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
10934
11970
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
10935
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
11971
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
10936
11972
  gt_cv_func_dgettext_libintl=yes
10937
11973
fi
10938
11974
 
10948
11984
$as_echo "" >&6; }
10949
11985
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
10950
11986
$as_echo_n "checking for ngettext in -lintl... " >&6; }
10951
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
11987
if ${ac_cv_lib_intl_ngettext+:} false; then :
10952
11988
  $as_echo_n "(cached) " >&6
10953
11989
else
10954
11990
  ac_check_lib_save_LIBS=$LIBS
10982
12018
fi
10983
12019
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
10984
12020
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
10985
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
12021
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
10986
12022
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
10987
12023
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
10988
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
12024
if ${ac_cv_lib_intl_dcgettext+:} false; then :
10989
12025
  $as_echo_n "(cached) " >&6
10990
12026
else
10991
12027
  ac_check_lib_save_LIBS=$LIBS
11019
12055
fi
11020
12056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
11021
12057
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
11022
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
12058
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
11023
12059
  gt_cv_func_dgettext_libintl=yes
11024
12060
                        libintl_extra_libs=-liconv
11025
12061
else
11044
12080
          for ac_func in bind_textdomain_codeset
11045
12081
do :
11046
12082
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11047
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
12083
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
11048
12084
  cat >>confdefs.h <<_ACEOF
11049
12085
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
11050
12086
_ACEOF
11082
12118
set dummy msgfmt; ac_word=$2
11083
12119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11084
12120
$as_echo_n "checking for $ac_word... " >&6; }
11085
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
12121
if ${ac_cv_path_MSGFMT+:} false; then :
11086
12122
  $as_echo_n "(cached) " >&6
11087
12123
else
11088
12124
  case "$MSGFMT" in
11119
12155
          for ac_func in dcgettext
11120
12156
do :
11121
12157
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
11122
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
12158
if test "x$ac_cv_func_dcgettext" = xyes; then :
11123
12159
  cat >>confdefs.h <<_ACEOF
11124
12160
#define HAVE_DCGETTEXT 1
11125
12161
_ACEOF
11160
12196
set dummy gmsgfmt; ac_word=$2
11161
12197
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11162
12198
$as_echo_n "checking for $ac_word... " >&6; }
11163
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
12199
if ${ac_cv_path_GMSGFMT+:} false; then :
11164
12200
  $as_echo_n "(cached) " >&6
11165
12201
else
11166
12202
  case $GMSGFMT in
11174
12210
  IFS=$as_save_IFS
11175
12211
  test -z "$as_dir" && as_dir=.
11176
12212
    for ac_exec_ext in '' $ac_executable_extensions; do
11177
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12213
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11178
12214
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11179
12215
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11180
12216
    break 2
11201
12237
set dummy xgettext; ac_word=$2
11202
12238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11203
12239
$as_echo_n "checking for $ac_word... " >&6; }
11204
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
12240
if ${ac_cv_path_XGETTEXT+:} false; then :
11205
12241
  $as_echo_n "(cached) " >&6
11206
12242
else
11207
12243
  case "$XGETTEXT" in
11252
12288
  case $host in
11253
12289
            *-*-solaris*)
11254
12290
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11255
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
12291
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
11256
12292
  CATOBJEXT=.gmo
11257
12293
               DATADIRNAME=share
11258
12294
else
11261
12297
fi
11262
12298
 
11263
12299
            ;;
 
12300
            *-*-openbsd*)
 
12301
            CATOBJEXT=.mo
 
12302
            DATADIRNAME=share
 
12303
            ;;
11264
12304
            *)
11265
12305
            CATOBJEXT=.mo
11266
12306
            DATADIRNAME=lib
11404
12444
    ;;
11405
12445
esac
11406
12446
 
 
12447
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
12448
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
12449
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11407
12450
if test -n "0.35.0"; then
11408
12451
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
11409
12452
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
11410
 
 
11411
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11412
 
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
11413
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11414
 
 
11415
12453
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
11416
12454
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
11417
12455
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
11422
12460
set dummy intltool-update; ac_word=$2
11423
12461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11424
12462
$as_echo_n "checking for $ac_word... " >&6; }
11425
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
12463
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
11426
12464
  $as_echo_n "(cached) " >&6
11427
12465
else
11428
12466
  case $INTLTOOL_UPDATE in
11436
12474
  IFS=$as_save_IFS
11437
12475
  test -z "$as_dir" && as_dir=.
11438
12476
    for ac_exec_ext in '' $ac_executable_extensions; do
11439
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12477
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11440
12478
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
11441
12479
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11442
12480
    break 2
11462
12500
set dummy intltool-merge; ac_word=$2
11463
12501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11464
12502
$as_echo_n "checking for $ac_word... " >&6; }
11465
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
12503
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
11466
12504
  $as_echo_n "(cached) " >&6
11467
12505
else
11468
12506
  case $INTLTOOL_MERGE in
11476
12514
  IFS=$as_save_IFS
11477
12515
  test -z "$as_dir" && as_dir=.
11478
12516
    for ac_exec_ext in '' $ac_executable_extensions; do
11479
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12517
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11480
12518
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
11481
12519
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11482
12520
    break 2
11502
12540
set dummy intltool-extract; ac_word=$2
11503
12541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11504
12542
$as_echo_n "checking for $ac_word... " >&6; }
11505
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
12543
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
11506
12544
  $as_echo_n "(cached) " >&6
11507
12545
else
11508
12546
  case $INTLTOOL_EXTRACT in
11516
12554
  IFS=$as_save_IFS
11517
12555
  test -z "$as_dir" && as_dir=.
11518
12556
    for ac_exec_ext in '' $ac_executable_extensions; do
11519
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12557
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11520
12558
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
11521
12559
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11522
12560
    break 2
11542
12580
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
11543
12581
fi
11544
12582
 
11545
 
  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 $< $@'
11546
 
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.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 $< $@'
11547
 
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11548
 
     INTLTOOL_PROP_RULE='%.prop:      %.prop.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 $< $@'
11549
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
11550
 
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11551
 
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11552
 
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11553
 
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.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 $< $@'
11554
 
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11555
 
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11556
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
11557
 
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11558
 
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11559
 
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.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 $< $@'
11560
 
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11561
 
    INTLTOOL_THEME_RULE='%.theme:     %.theme.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 $< $@'
11562
 
    INTLTOOL_SERVICE_RULE='%.service: %.service.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 $< $@'
11563
 
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12583
if test -z "$AM_DEFAULT_VERBOSITY"; then
 
12584
  AM_DEFAULT_VERBOSITY=1
 
12585
fi
 
12586
 
 
12587
 
 
12588
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
 
12589
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
 
12590
INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
 
12591
 
 
12592
 
 
12593
 
 
12594
 
 
12595
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
 
12596
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
 
12597
intltool__v_merge_options_0='-q'
 
12598
 
 
12599
 
 
12600
 
 
12601
 
 
12602
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12603
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12604
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12605
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12606
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
 
12607
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12608
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12609
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12610
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12611
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12612
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12613
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
 
12614
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
 
12615
else
 
12616
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
 
12617
fi
 
12618
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12619
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12620
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12621
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12622
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12623
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12624
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
11564
12625
 
11565
12626
 
11566
12627
 
11663
12724
set dummy xgettext; ac_word=$2
11664
12725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11665
12726
$as_echo_n "checking for $ac_word... " >&6; }
11666
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
12727
if ${ac_cv_path_XGETTEXT+:} false; then :
11667
12728
  $as_echo_n "(cached) " >&6
11668
12729
else
11669
12730
  case $XGETTEXT in
11677
12738
  IFS=$as_save_IFS
11678
12739
  test -z "$as_dir" && as_dir=.
11679
12740
    for ac_exec_ext in '' $ac_executable_extensions; do
11680
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12741
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11681
12742
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
11682
12743
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11683
12744
    break 2
11703
12764
set dummy msgmerge; ac_word=$2
11704
12765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11705
12766
$as_echo_n "checking for $ac_word... " >&6; }
11706
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
12767
if ${ac_cv_path_MSGMERGE+:} false; then :
11707
12768
  $as_echo_n "(cached) " >&6
11708
12769
else
11709
12770
  case $MSGMERGE in
11717
12778
  IFS=$as_save_IFS
11718
12779
  test -z "$as_dir" && as_dir=.
11719
12780
    for ac_exec_ext in '' $ac_executable_extensions; do
11720
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12781
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11721
12782
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
11722
12783
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11723
12784
    break 2
11743
12804
set dummy msgfmt; ac_word=$2
11744
12805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11745
12806
$as_echo_n "checking for $ac_word... " >&6; }
11746
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
12807
if ${ac_cv_path_MSGFMT+:} false; then :
11747
12808
  $as_echo_n "(cached) " >&6
11748
12809
else
11749
12810
  case $MSGFMT in
11757
12818
  IFS=$as_save_IFS
11758
12819
  test -z "$as_dir" && as_dir=.
11759
12820
    for ac_exec_ext in '' $ac_executable_extensions; do
11760
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12821
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11761
12822
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
11762
12823
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11763
12824
    break 2
11783
12844
set dummy gmsgfmt; ac_word=$2
11784
12845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11785
12846
$as_echo_n "checking for $ac_word... " >&6; }
11786
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
12847
if ${ac_cv_path_GMSGFMT+:} false; then :
11787
12848
  $as_echo_n "(cached) " >&6
11788
12849
else
11789
12850
  case $GMSGFMT in
11797
12858
  IFS=$as_save_IFS
11798
12859
  test -z "$as_dir" && as_dir=.
11799
12860
    for ac_exec_ext in '' $ac_executable_extensions; do
11800
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12861
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11801
12862
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11802
12863
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11803
12864
    break 2
11834
12895
set dummy perl; ac_word=$2
11835
12896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11836
12897
$as_echo_n "checking for $ac_word... " >&6; }
11837
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
12898
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
11838
12899
  $as_echo_n "(cached) " >&6
11839
12900
else
11840
12901
  case $INTLTOOL_PERL in
11848
12909
  IFS=$as_save_IFS
11849
12910
  test -z "$as_dir" && as_dir=.
11850
12911
    for ac_exec_ext in '' $ac_executable_extensions; do
11851
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12912
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11852
12913
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
11853
12914
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11854
12915
    break 2
11879
12940
if test $? -ne 0; then
11880
12941
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
11881
12942
else
11882
 
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
12943
   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
11883
12944
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
11884
12945
$as_echo "$IT_PERL_VERSION" >&6; }
11885
12946
fi
11918
12979
  case $host in
11919
12980
    *-*-solaris*)
11920
12981
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11921
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
12982
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
11922
12983
  DATADIRNAME=share
11923
12984
else
11924
12985
  DATADIRNAME=lib
11943
13004
 
11944
13005
 
11945
13006
 
 
13007
 
 
13008
 
11946
13009
        if test -n "$PYTHON"; then
11947
13010
      # If the user set $PYTHON, use it and don't search something else.
11948
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.7" >&5
11949
 
$as_echo_n "checking whether $PYTHON version >= 2.7... " >&6; }
 
13011
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
 
13012
$as_echo_n "checking whether $PYTHON version is >= 2.6... " >&6; }
11950
13013
      prog="import sys
11951
13014
# split strings by '.' and convert to numeric.  Append some zeros
11952
13015
# because we need at least 4 digits for the hex conversion.
11953
13016
# map returns an iterator in Python 3.0 and a list in 2.x
11954
 
minver = list(map(int, '2.7'.split('.'))) + [0, 0, 0]
 
13017
minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
11955
13018
minverhex = 0
11956
13019
# xrange is not present in Python 3.0 and range returns an iterator
11957
13020
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
11964
13027
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11965
13028
$as_echo "yes" >&6; }
11966
13029
else
11967
 
  as_fn_error $? "too old" "$LINENO" 5
 
13030
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13031
$as_echo "no" >&6; }
 
13032
                               as_fn_error $? "Python interpreter is too old" "$LINENO" 5
11968
13033
fi
11969
13034
      am_display_PYTHON=$PYTHON
11970
13035
    else
11971
13036
      # Otherwise, try each interpreter until we find one that satisfies
11972
13037
      # VERSION.
11973
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.7" >&5
11974
 
$as_echo_n "checking for a Python interpreter with version >= 2.7... " >&6; }
11975
 
if test "${am_cv_pathless_PYTHON+set}" = set; then :
 
13038
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
 
13039
$as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
 
13040
if ${am_cv_pathless_PYTHON+:} false; then :
11976
13041
  $as_echo_n "(cached) " >&6
11977
13042
else
11978
13043
 
11979
 
        for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
 
13044
        for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
11980
13045
          test "$am_cv_pathless_PYTHON" = none && break
11981
13046
          prog="import sys
11982
13047
# split strings by '.' and convert to numeric.  Append some zeros
11983
13048
# because we need at least 4 digits for the hex conversion.
11984
13049
# map returns an iterator in Python 3.0 and a list in 2.x
11985
 
minver = list(map(int, '2.7'.split('.'))) + [0, 0, 0]
 
13050
minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
11986
13051
minverhex = 0
11987
13052
# xrange is not present in Python 3.0 and range returns an iterator
11988
13053
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
12006
13071
set dummy $am_cv_pathless_PYTHON; ac_word=$2
12007
13072
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12008
13073
$as_echo_n "checking for $ac_word... " >&6; }
12009
 
if test "${ac_cv_path_PYTHON+set}" = set; then :
 
13074
if ${ac_cv_path_PYTHON+:} false; then :
12010
13075
  $as_echo_n "(cached) " >&6
12011
13076
else
12012
13077
  case $PYTHON in
12020
13085
  IFS=$as_save_IFS
12021
13086
  test -z "$as_dir" && as_dir=.
12022
13087
    for ac_exec_ext in '' $ac_executable_extensions; do
12023
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13088
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12024
13089
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12025
13090
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12026
13091
    break 2
12054
13119
 
12055
13120
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
12056
13121
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
12057
 
if test "${am_cv_python_version+set}" = set; then :
 
13122
if ${am_cv_python_version+:} false; then :
12058
13123
  $as_echo_n "(cached) " >&6
12059
13124
else
12060
13125
  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
12073
13138
 
12074
13139
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
12075
13140
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
12076
 
if test "${am_cv_python_platform+set}" = set; then :
 
13141
if ${am_cv_python_platform+:} false; then :
12077
13142
  $as_echo_n "(cached) " >&6
12078
13143
else
12079
13144
  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
12083
13148
  PYTHON_PLATFORM=$am_cv_python_platform
12084
13149
 
12085
13150
 
12086
 
 
12087
 
 
12088
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
 
13151
  # Just factor out some code duplication.
 
13152
  am_python_setup_sysconfig="\
 
13153
import sys
 
13154
# Prefer sysconfig over distutils.sysconfig, for better compatibility
 
13155
# with python 3.x.  See automake bug#10227.
 
13156
try:
 
13157
    import sysconfig
 
13158
except ImportError:
 
13159
    can_use_sysconfig = 0
 
13160
else:
 
13161
    can_use_sysconfig = 1
 
13162
# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
 
13163
# <https://github.com/pypa/virtualenv/issues/118>
 
13164
try:
 
13165
    from platform import python_implementation
 
13166
    if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
 
13167
        can_use_sysconfig = 0
 
13168
except ImportError:
 
13169
    pass"
 
13170
 
 
13171
 
 
13172
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
12089
13173
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
12090
 
if test "${am_cv_python_pythondir+set}" = set; then :
 
13174
if ${am_cv_python_pythondir+:} false; then :
12091
13175
  $as_echo_n "(cached) " >&6
12092
13176
else
12093
13177
  if test "x$prefix" = xNONE
12096
13180
     else
12097
13181
       am_py_prefix=$prefix
12098
13182
     fi
12099
 
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
12100
 
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
13183
     am_cv_python_pythondir=`$PYTHON -c "
 
13184
$am_python_setup_sysconfig
 
13185
if can_use_sysconfig:
 
13186
    sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
 
13187
else:
 
13188
    from distutils import sysconfig
 
13189
    sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
 
13190
sys.stdout.write(sitedir)"`
12101
13191
     case $am_cv_python_pythondir in
12102
13192
     $am_py_prefix*)
12103
13193
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
12123
13213
  pkgpythondir=\${pythondir}/$PACKAGE
12124
13214
 
12125
13215
 
12126
 
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
 
13216
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
12127
13217
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
12128
 
if test "${am_cv_python_pyexecdir+set}" = set; then :
 
13218
if ${am_cv_python_pyexecdir+:} false; then :
12129
13219
  $as_echo_n "(cached) " >&6
12130
13220
else
12131
13221
  if test "x$exec_prefix" = xNONE
12134
13224
     else
12135
13225
       am_py_exec_prefix=$exec_prefix
12136
13226
     fi
12137
 
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
12138
 
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
13227
     am_cv_python_pyexecdir=`$PYTHON -c "
 
13228
$am_python_setup_sysconfig
 
13229
if can_use_sysconfig:
 
13230
    sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
 
13231
else:
 
13232
    from distutils import sysconfig
 
13233
    sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
 
13234
sys.stdout.write(sitedir)"`
12139
13235
     case $am_cv_python_pyexecdir in
12140
13236
     $am_py_exec_prefix*)
12141
13237
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
12170
13266
$as_echo_n "checking for headers required to compile python extensions... " >&6; }
12171
13267
py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
12172
13268
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
12173
 
PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
 
13269
PYTHON_INCLUDES=`python-config --includes`
12174
13270
if test "$py_prefix" != "$py_exec_prefix"; then
12175
13271
  PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
12176
13272
fi
12260
13356
set dummy pyrexc; ac_word=$2
12261
13357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12262
13358
$as_echo_n "checking for $ac_word... " >&6; }
12263
 
if test "${ac_cv_path_PYREXC+set}" = set; then :
 
13359
if ${ac_cv_path_PYREXC+:} false; then :
12264
13360
  $as_echo_n "(cached) " >&6
12265
13361
else
12266
13362
  case $PYREXC in
12274
13370
  IFS=$as_save_IFS
12275
13371
  test -z "$as_dir" && as_dir=.
12276
13372
    for ac_exec_ext in '' $ac_executable_extensions; do
12277
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13373
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12278
13374
    ac_cv_path_PYREXC="$as_dir/$ac_word$ac_exec_ext"
12279
13375
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12280
13376
    break 2
12637
13733
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12638
13734
  test $ac_status = 0; }; then
12639
13735
  pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0 >= 2.12.0" 2>/dev/null`
 
13736
                      test "x$?" != "x0" && pkg_failed=yes
12640
13737
else
12641
13738
  pkg_failed=yes
12642
13739
fi
12653
13750
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12654
13751
  test $ac_status = 0; }; then
12655
13752
  pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= 2.12.0" 2>/dev/null`
 
13753
                      test "x$?" != "x0" && pkg_failed=yes
12656
13754
else
12657
13755
  pkg_failed=yes
12658
13756
fi
12672
13770
        _pkg_short_errors_supported=no
12673
13771
fi
12674
13772
        if test $_pkg_short_errors_supported = yes; then
12675
 
                PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pygtk-2.0 >= 2.12.0" 2>&1`
 
13773
                PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygtk-2.0 >= 2.12.0" 2>&1`
12676
13774
        else
12677
 
                PYGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "pygtk-2.0 >= 2.12.0" 2>&1`
 
13775
                PYGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygtk-2.0 >= 2.12.0" 2>&1`
12678
13776
        fi
12679
13777
        # Put the nasty error message in config.log where it belongs
12680
13778
        echo "$PYGTK_PKG_ERRORS" >&5
12703
13801
See the pkg-config man page for more details.
12704
13802
 
12705
13803
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12706
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
13804
See \`config.log' for more details" "$LINENO" 5; }
12707
13805
else
12708
13806
        PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS
12709
13807
        PYGTK_LIBS=$pkg_cv_PYGTK_LIBS
12726
13824
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12727
13825
  test $ac_status = 0; }; then
12728
13826
  pkg_cv_PYNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "notify-python" 2>/dev/null`
 
13827
                      test "x$?" != "x0" && pkg_failed=yes
12729
13828
else
12730
13829
  pkg_failed=yes
12731
13830
fi
12742
13841
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12743
13842
  test $ac_status = 0; }; then
12744
13843
  pkg_cv_PYNOTIFY_LIBS=`$PKG_CONFIG --libs "notify-python" 2>/dev/null`
 
13844
                      test "x$?" != "x0" && pkg_failed=yes
12745
13845
else
12746
13846
  pkg_failed=yes
12747
13847
fi
12761
13861
        _pkg_short_errors_supported=no
12762
13862
fi
12763
13863
        if test $_pkg_short_errors_supported = yes; then
12764
 
                PYNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "notify-python" 2>&1`
 
13864
                PYNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "notify-python" 2>&1`
12765
13865
        else
12766
 
                PYNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors "notify-python" 2>&1`
 
13866
                PYNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "notify-python" 2>&1`
12767
13867
        fi
12768
13868
        # Put the nasty error message in config.log where it belongs
12769
13869
        echo "$PYNOTIFY_PKG_ERRORS" >&5
12792
13892
See the pkg-config man page for more details.
12793
13893
 
12794
13894
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12795
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
13895
See \`config.log' for more details" "$LINENO" 5; }
12796
13896
else
12797
13897
        PYNOTIFY_CFLAGS=$pkg_cv_PYNOTIFY_CFLAGS
12798
13898
        PYNOTIFY_LIBS=$pkg_cv_PYNOTIFY_LIBS
12804
13904
py_mod_var=`echo dbus'_' | sed 'y%./+-%__p_%'`
12805
13905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module dbus" >&5
12806
13906
$as_echo_n "checking for python module dbus... " >&6; }
12807
 
if eval "test \"\${py_cv_mod_$py_mod_var+set}\"" = set; then :
 
13907
if eval \${py_cv_mod_$py_mod_var+:} false; then :
12808
13908
  $as_echo_n "(cached) " >&6
12809
13909
else
12810
13910
 
12840
13940
py_mod_var=`echo gobject'_' | sed 'y%./+-%__p_%'`
12841
13941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module gobject" >&5
12842
13942
$as_echo_n "checking for python module gobject... " >&6; }
12843
 
if eval "test \"\${py_cv_mod_$py_mod_var+set}\"" = set; then :
 
13943
if eval \${py_cv_mod_$py_mod_var+:} false; then :
12844
13944
  $as_echo_n "(cached) " >&6
12845
13945
else
12846
13946
 
12889
13989
                gtk+-2.0 >= 2.12
12890
13990
                pygobject-2.0 >= 2.12
12891
13991
                gobject-2.0 >= 2.12
12892
 
                glib-2.0 >= 2.16
12893
 
                gthread-2.0 >= 2.16
 
13992
                glib-2.0 >= 2.32
 
13993
                gthread-2.0 >= 2.32
12894
13994
\""; } >&5
12895
13995
  ($PKG_CONFIG --exists --print-errors "bluez   >= 4.21
12896
13996
                libstartup-notification-1.0 >= 0.9
12897
13997
                gtk+-2.0 >= 2.12
12898
13998
                pygobject-2.0 >= 2.12
12899
13999
                gobject-2.0 >= 2.12
12900
 
                glib-2.0 >= 2.16
12901
 
                gthread-2.0 >= 2.16
 
14000
                glib-2.0 >= 2.32
 
14001
                gthread-2.0 >= 2.32
12902
14002
") 2>&5
12903
14003
  ac_status=$?
12904
14004
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12908
14008
                gtk+-2.0 >= 2.12
12909
14009
                pygobject-2.0 >= 2.12
12910
14010
                gobject-2.0 >= 2.12
12911
 
                glib-2.0 >= 2.16
12912
 
                gthread-2.0 >= 2.16
 
14011
                glib-2.0 >= 2.32
 
14012
                gthread-2.0 >= 2.32
12913
14013
" 2>/dev/null`
 
14014
                      test "x$?" != "x0" && pkg_failed=yes
12914
14015
else
12915
14016
  pkg_failed=yes
12916
14017
fi
12926
14027
                gtk+-2.0 >= 2.12
12927
14028
                pygobject-2.0 >= 2.12
12928
14029
                gobject-2.0 >= 2.12
12929
 
                glib-2.0 >= 2.16
12930
 
                gthread-2.0 >= 2.16
 
14030
                glib-2.0 >= 2.32
 
14031
                gthread-2.0 >= 2.32
12931
14032
\""; } >&5
12932
14033
  ($PKG_CONFIG --exists --print-errors "bluez   >= 4.21
12933
14034
                libstartup-notification-1.0 >= 0.9
12934
14035
                gtk+-2.0 >= 2.12
12935
14036
                pygobject-2.0 >= 2.12
12936
14037
                gobject-2.0 >= 2.12
12937
 
                glib-2.0 >= 2.16
12938
 
                gthread-2.0 >= 2.16
 
14038
                glib-2.0 >= 2.32
 
14039
                gthread-2.0 >= 2.32
12939
14040
") 2>&5
12940
14041
  ac_status=$?
12941
14042
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12945
14046
                gtk+-2.0 >= 2.12
12946
14047
                pygobject-2.0 >= 2.12
12947
14048
                gobject-2.0 >= 2.12
12948
 
                glib-2.0 >= 2.16
12949
 
                gthread-2.0 >= 2.16
 
14049
                glib-2.0 >= 2.32
 
14050
                gthread-2.0 >= 2.32
12950
14051
" 2>/dev/null`
 
14052
                      test "x$?" != "x0" && pkg_failed=yes
12951
14053
else
12952
14054
  pkg_failed=yes
12953
14055
fi
12967
14069
        _pkg_short_errors_supported=no
12968
14070
fi
12969
14071
        if test $_pkg_short_errors_supported = yes; then
12970
 
                BLUEZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "bluez      >= 4.21
 
14072
                BLUEZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "bluez      >= 4.21
12971
14073
                libstartup-notification-1.0 >= 0.9
12972
14074
                gtk+-2.0 >= 2.12
12973
14075
                pygobject-2.0 >= 2.12
12974
14076
                gobject-2.0 >= 2.12
12975
 
                glib-2.0 >= 2.16
12976
 
                gthread-2.0 >= 2.16
 
14077
                glib-2.0 >= 2.32
 
14078
                gthread-2.0 >= 2.32
12977
14079
" 2>&1`
12978
14080
        else
12979
 
                BLUEZ_PKG_ERRORS=`$PKG_CONFIG --print-errors "bluez     >= 4.21
 
14081
                BLUEZ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "bluez     >= 4.21
12980
14082
                libstartup-notification-1.0 >= 0.9
12981
14083
                gtk+-2.0 >= 2.12
12982
14084
                pygobject-2.0 >= 2.12
12983
14085
                gobject-2.0 >= 2.12
12984
 
                glib-2.0 >= 2.16
12985
 
                gthread-2.0 >= 2.16
 
14086
                glib-2.0 >= 2.32
 
14087
                gthread-2.0 >= 2.32
12986
14088
" 2>&1`
12987
14089
        fi
12988
14090
        # Put the nasty error message in config.log where it belongs
12993
14095
                gtk+-2.0 >= 2.12
12994
14096
                pygobject-2.0 >= 2.12
12995
14097
                gobject-2.0 >= 2.12
12996
 
                glib-2.0 >= 2.16
12997
 
                gthread-2.0 >= 2.16
 
14098
                glib-2.0 >= 2.32
 
14099
                gthread-2.0 >= 2.32
12998
14100
) were not met:
12999
14101
 
13000
14102
$BLUEZ_PKG_ERRORS
13019
14121
See the pkg-config man page for more details.
13020
14122
 
13021
14123
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13022
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
14124
See \`config.log' for more details" "$LINENO" 5; }
13023
14125
else
13024
14126
        BLUEZ_CFLAGS=$pkg_cv_BLUEZ_CFLAGS
13025
14127
        BLUEZ_LIBS=$pkg_cv_BLUEZ_LIBS
13097
14199
     :end' >>confcache
13098
14200
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13099
14201
  if test -w "$cache_file"; then
13100
 
    test "x$cache_file" != "x/dev/null" &&
 
14202
    if test "x$cache_file" != "x/dev/null"; then
13101
14203
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13102
14204
$as_echo "$as_me: updating cache $cache_file" >&6;}
13103
 
    cat confcache >$cache_file
 
14205
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
14206
        cat confcache >"$cache_file"
 
14207
      else
 
14208
        case $cache_file in #(
 
14209
        */* | ?:*)
 
14210
          mv -f confcache "$cache_file"$$ &&
 
14211
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
14212
        *)
 
14213
          mv -f confcache "$cache_file" ;;
 
14214
        esac
 
14215
      fi
 
14216
    fi
13104
14217
  else
13105
14218
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13106
14219
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13131
14244
LTLIBOBJS=$ac_ltlibobjs
13132
14245
 
13133
14246
 
 
14247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 
14248
$as_echo_n "checking that generated files are newer than configure... " >&6; }
 
14249
   if test -n "$am_sleep_pid"; then
 
14250
     # Hide warnings about reused PIDs.
 
14251
     wait $am_sleep_pid 2>/dev/null
 
14252
   fi
 
14253
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 
14254
$as_echo "done" >&6; }
13134
14255
 if test -n "$EXEEXT"; then
13135
14256
  am__EXEEXT_TRUE=
13136
14257
  am__EXEEXT_FALSE='#'
13164
14285
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13165
14286
fi
13166
14287
 
13167
 
: ${CONFIG_STATUS=./config.status}
 
14288
: "${CONFIG_STATUS=./config.status}"
13168
14289
ac_write_fail=0
13169
14290
ac_clean_files_save=$ac_clean_files
13170
14291
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13265
14386
IFS=" ""        $as_nl"
13266
14387
 
13267
14388
# Find who we are.  Look in the path if we contain no directory separator.
 
14389
as_myself=
13268
14390
case $0 in #((
13269
14391
  *[\\/]* ) as_myself=$0 ;;
13270
14392
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13460
14582
    # ... but there are two gotchas:
13461
14583
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13462
14584
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13463
 
    # In both cases, we have to default to `cp -p'.
 
14585
    # In both cases, we have to default to `cp -pR'.
13464
14586
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13465
 
      as_ln_s='cp -p'
 
14587
      as_ln_s='cp -pR'
13466
14588
  elif ln conf$$.file conf$$ 2>/dev/null; then
13467
14589
    as_ln_s=ln
13468
14590
  else
13469
 
    as_ln_s='cp -p'
 
14591
    as_ln_s='cp -pR'
13470
14592
  fi
13471
14593
else
13472
 
  as_ln_s='cp -p'
 
14594
  as_ln_s='cp -pR'
13473
14595
fi
13474
14596
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13475
14597
rmdir conf$$.dir 2>/dev/null
13529
14651
  as_mkdir_p=false
13530
14652
fi
13531
14653
 
13532
 
if test -x / >/dev/null 2>&1; then
13533
 
  as_test_x='test -x'
13534
 
else
13535
 
  if ls -dL / >/dev/null 2>&1; then
13536
 
    as_ls_L_option=L
13537
 
  else
13538
 
    as_ls_L_option=
13539
 
  fi
13540
 
  as_test_x='
13541
 
    eval sh -c '\''
13542
 
      if test -d "$1"; then
13543
 
        test -d "$1/.";
13544
 
      else
13545
 
        case $1 in #(
13546
 
        -*)set "./$1";;
13547
 
        esac;
13548
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13549
 
        ???[sx]*):;;*)false;;esac;fi
13550
 
    '\'' sh
13551
 
  '
13552
 
fi
13553
 
as_executable_p=$as_test_x
 
14654
 
 
14655
# as_fn_executable_p FILE
 
14656
# -----------------------
 
14657
# Test if FILE is an executable regular file.
 
14658
as_fn_executable_p ()
 
14659
{
 
14660
  test -f "$1" && test -x "$1"
 
14661
} # as_fn_executable_p
 
14662
as_test_x='test -x'
 
14663
as_executable_p=as_fn_executable_p
13554
14664
 
13555
14665
# Sed expression to map a string onto a valid CPP name.
13556
14666
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13572
14682
# values after options handling.
13573
14683
ac_log="
13574
14684
This file was extended by blueman $as_me 1.23, which was
13575
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
14685
generated by GNU Autoconf 2.69.  Invocation command line was
13576
14686
 
13577
14687
  CONFIG_FILES    = $CONFIG_FILES
13578
14688
  CONFIG_HEADERS  = $CONFIG_HEADERS
13638
14748
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13639
14749
ac_cs_version="\\
13640
14750
blueman config.status 1.23
13641
 
configured by $0, generated by GNU Autoconf 2.67,
 
14751
configured by $0, generated by GNU Autoconf 2.69,
13642
14752
  with options \\"\$ac_cs_config\\"
13643
14753
 
13644
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
14754
Copyright (C) 2012 Free Software Foundation, Inc.
13645
14755
This config.status script is free software; the Free Software Foundation
13646
14756
gives unlimited permission to copy, distribute and modify it."
13647
14757
 
13732
14842
_ACEOF
13733
14843
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13734
14844
if \$ac_cs_recheck; then
13735
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
14845
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13736
14846
  shift
13737
14847
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13738
14848
  CONFIG_SHELL='$SHELL'
13766
14876
sed_quote_subst='$sed_quote_subst'
13767
14877
double_quote_subst='$double_quote_subst'
13768
14878
delay_variable_subst='$delay_variable_subst'
13769
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13770
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13771
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13772
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13773
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13774
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13775
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13776
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13777
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13778
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13779
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13780
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13781
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13782
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13783
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13784
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13785
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13786
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13787
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13788
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13789
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13790
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13791
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13792
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13793
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13794
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13795
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13796
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13797
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13798
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13799
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13800
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13801
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13802
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13803
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13804
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13805
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13806
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13807
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13808
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13809
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13810
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13811
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13812
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13813
 
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"`'
13814
 
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"`'
13815
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13816
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13817
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13818
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13819
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13820
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13821
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13822
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13823
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13824
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13825
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13826
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13827
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13828
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13829
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13830
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13831
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13832
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13833
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13834
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13835
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13836
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13837
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13838
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13839
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13840
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13841
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13842
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13843
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13844
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13845
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13846
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13847
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13848
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13849
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13850
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13851
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13852
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13853
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13854
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13855
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13856
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13857
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13858
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13859
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13860
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13861
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13862
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13863
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13864
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13865
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13866
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13867
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13868
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13869
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13870
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13871
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13872
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13873
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13874
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13875
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13876
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13877
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13878
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13879
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13880
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13881
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13882
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13883
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13884
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13885
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13886
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
14879
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
14880
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
14881
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
14882
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
14883
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
14884
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
14885
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
14886
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
14887
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
14888
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
14889
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
14890
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
14891
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
14892
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
14893
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
14894
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
14895
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
14896
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
14897
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
14898
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
14899
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
14900
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
14901
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
14902
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
14903
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
14904
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
14905
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
14906
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
14907
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
14908
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
14909
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
14910
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
14911
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
14912
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
14913
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
14914
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
14915
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
14916
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
14917
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
14918
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
14919
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
14920
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
14921
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
14922
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
14923
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
14924
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14925
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14926
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14927
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
14928
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
14929
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
14930
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
14931
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
14932
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
14933
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
14934
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
14935
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"`'
 
14936
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14937
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
14938
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
14939
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
14940
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
14941
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
14942
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
14943
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
14944
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
14945
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
14946
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
14947
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
14948
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
14949
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
14950
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
14951
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
14952
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
14953
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
14954
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14955
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
14956
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
14957
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14958
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14959
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
14960
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
14961
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14962
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14963
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14964
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
14965
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14966
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
14967
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14968
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14969
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14970
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
14971
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
14972
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
14973
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
14974
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14975
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
14976
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
14977
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
14978
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
14979
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
14980
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
14981
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
14982
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
14983
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
14984
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14985
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
14986
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
14987
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
14988
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
14989
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
14990
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14991
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
14992
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
14993
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
14994
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
14995
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
14996
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14997
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14998
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
14999
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
15000
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
15001
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
15002
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
15003
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
15004
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
15005
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
15006
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
15007
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
15008
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13887
15009
 
13888
15010
LTCC='$LTCC'
13889
15011
LTCFLAGS='$LTCFLAGS'
13890
15012
compiler='$compiler_DEFAULT'
13891
15013
 
 
15014
# A function that is used when there is no print builtin or printf.
 
15015
func_fallback_echo ()
 
15016
{
 
15017
  eval 'cat <<_LTECHO_EOF
 
15018
\$1
 
15019
_LTECHO_EOF'
 
15020
}
 
15021
 
13892
15022
# Quote evaled strings.
13893
 
for var in SED \
 
15023
for var in SHELL \
 
15024
ECHO \
 
15025
PATH_SEPARATOR \
 
15026
SED \
13894
15027
GREP \
13895
15028
EGREP \
13896
15029
FGREP \
13903
15036
OBJDUMP \
13904
15037
deplibs_check_method \
13905
15038
file_magic_cmd \
 
15039
file_magic_glob \
 
15040
want_nocaseglob \
 
15041
DLLTOOL \
 
15042
sharedlib_from_linklib_cmd \
13906
15043
AR \
13907
15044
AR_FLAGS \
 
15045
archiver_list_spec \
13908
15046
STRIP \
13909
15047
RANLIB \
13910
15048
CC \
13914
15052
lt_cv_sys_global_symbol_to_cdecl \
13915
15053
lt_cv_sys_global_symbol_to_c_name_address \
13916
15054
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13917
 
SHELL \
13918
 
ECHO \
 
15055
nm_file_list_spec \
13919
15056
lt_prog_compiler_no_builtin_flag \
 
15057
lt_prog_compiler_pic \
13920
15058
lt_prog_compiler_wl \
13921
 
lt_prog_compiler_pic \
13922
15059
lt_prog_compiler_static \
13923
15060
lt_cv_prog_compiler_c_o \
13924
15061
need_locks \
 
15062
MANIFEST_TOOL \
13925
15063
DSYMUTIL \
13926
15064
NMEDIT \
13927
15065
LIPO \
13935
15073
allow_undefined_flag \
13936
15074
no_undefined_flag \
13937
15075
hardcode_libdir_flag_spec \
13938
 
hardcode_libdir_flag_spec_ld \
13939
15076
hardcode_libdir_separator \
13940
 
fix_srcfile_path \
13941
15077
exclude_expsyms \
13942
15078
include_expsyms \
13943
15079
file_list_spec \
13945
15081
libname_spec \
13946
15082
library_names_spec \
13947
15083
soname_spec \
 
15084
install_override_mode \
13948
15085
finish_eval \
13949
15086
old_striplib \
13950
15087
striplib; do
13951
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15088
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13952
15089
    *[\\\\\\\`\\"\\\$]*)
13953
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
15090
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13954
15091
      ;;
13955
15092
    *)
13956
15093
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13972
15109
module_expsym_cmds \
13973
15110
export_symbols_cmds \
13974
15111
prelink_cmds \
 
15112
postlink_cmds \
13975
15113
postinstall_cmds \
13976
15114
postuninstall_cmds \
13977
15115
finish_cmds \
13978
15116
sys_lib_search_path_spec \
13979
15117
sys_lib_dlsearch_path_spec; do
13980
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15118
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13981
15119
    *[\\\\\\\`\\"\\\$]*)
13982
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
15120
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13983
15121
      ;;
13984
15122
    *)
13985
15123
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13987
15125
    esac
13988
15126
done
13989
15127
 
13990
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
13991
 
case \$lt_ECHO in
13992
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13993
 
  ;;
13994
 
esac
13995
 
 
13996
15128
ac_aux_dir='$ac_aux_dir'
13997
15129
xsi_shell='$xsi_shell'
13998
15130
lt_shell_append='$lt_shell_append'
14072
15204
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14073
15205
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
14074
15206
 
14075
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
15207
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14076
15208
  esac
14077
15209
done
14078
15210
 
14095
15227
# after its creation but before its name has been assigned to `$tmp'.
14096
15228
$debug ||
14097
15229
{
14098
 
  tmp=
 
15230
  tmp= ac_tmp=
14099
15231
  trap 'exit_status=$?
14100
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
15232
  : "${ac_tmp:=$tmp}"
 
15233
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14101
15234
' 0
14102
15235
  trap 'as_fn_exit 1' 1 2 13 15
14103
15236
}
14105
15238
 
14106
15239
{
14107
15240
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14108
 
  test -n "$tmp" && test -d "$tmp"
 
15241
  test -d "$tmp"
14109
15242
}  ||
14110
15243
{
14111
15244
  tmp=./conf$$-$RANDOM
14112
15245
  (umask 077 && mkdir "$tmp")
14113
15246
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
15247
ac_tmp=$tmp
14114
15248
 
14115
15249
# Set up the scripts for CONFIG_FILES section.
14116
15250
# No need to generate them if there are no CONFIG_FILES.
14132
15266
  ac_cs_awk_cr=$ac_cr
14133
15267
fi
14134
15268
 
14135
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
15269
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14136
15270
_ACEOF
14137
15271
 
14138
15272
 
14160
15294
rm -f conf$$subs.sh
14161
15295
 
14162
15296
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14163
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
15297
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14164
15298
_ACEOF
14165
15299
sed -n '
14166
15300
h
14208
15342
rm -f conf$$subs.awk
14209
15343
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14210
15344
_ACAWK
14211
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
15345
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14212
15346
  for (key in S) S_is_set[key] = 1
14213
15347
  FS = ""
14214
15348
 
14240
15374
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14241
15375
else
14242
15376
  cat
14243
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
15377
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14244
15378
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14245
15379
_ACEOF
14246
15380
 
14274
15408
# No need to generate them if there are no CONFIG_HEADERS.
14275
15409
# This happens for instance with `./config.status Makefile'.
14276
15410
if test -n "$CONFIG_HEADERS"; then
14277
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
15411
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14278
15412
BEGIN {
14279
15413
_ACEOF
14280
15414
 
14286
15420
# handling of long lines.
14287
15421
ac_delim='%!_!# '
14288
15422
for ac_last_try in false false :; do
14289
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14290
 
  if test -z "$ac_t"; then
 
15423
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
15424
  if test -z "$ac_tt"; then
14291
15425
    break
14292
15426
  elif $ac_last_try; then
14293
15427
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14388
15522
  esac
14389
15523
  case $ac_mode$ac_tag in
14390
15524
  :[FHL]*:*);;
14391
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
15525
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14392
15526
  :[FH]-) ac_tag=-:-;;
14393
15527
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14394
15528
  esac
14407
15541
    for ac_f
14408
15542
    do
14409
15543
      case $ac_f in
14410
 
      -) ac_f="$tmp/stdin";;
 
15544
      -) ac_f="$ac_tmp/stdin";;
14411
15545
      *) # Look for the file first in the build tree, then in the source tree
14412
15546
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
14413
15547
         # because $ac_f cannot contain `:'.
14416
15550
           [\\/$]*) false;;
14417
15551
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14418
15552
           esac ||
14419
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
15553
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14420
15554
      esac
14421
15555
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14422
15556
      as_fn_append ac_file_inputs " '$ac_f'"
14442
15576
    esac
14443
15577
 
14444
15578
    case $ac_tag in
14445
 
    *:-:* | *:-) cat >"$tmp/stdin" \
14446
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
15579
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
15580
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14447
15581
    esac
14448
15582
    ;;
14449
15583
  esac
14579
15713
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14580
15714
$ac_datarootdir_hack
14581
15715
"
14582
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14583
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
15716
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
15717
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14584
15718
 
14585
15719
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14586
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14587
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
15720
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
15721
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
15722
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14588
15723
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14589
15724
which seems to be undefined.  Please make sure it is defined" >&5
14590
15725
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14591
15726
which seems to be undefined.  Please make sure it is defined" >&2;}
14592
15727
 
14593
 
  rm -f "$tmp/stdin"
 
15728
  rm -f "$ac_tmp/stdin"
14594
15729
  case $ac_file in
14595
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
14596
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
15730
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
15731
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14597
15732
  esac \
14598
15733
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14599
15734
 ;;
14604
15739
  if test x"$ac_file" != x-; then
14605
15740
    {
14606
15741
      $as_echo "/* $configure_input  */" \
14607
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14608
 
    } >"$tmp/config.h" \
 
15742
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
15743
    } >"$ac_tmp/config.h" \
14609
15744
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14610
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
15745
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14611
15746
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14612
15747
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14613
15748
    else
14614
15749
      rm -f "$ac_file"
14615
 
      mv "$tmp/config.h" "$ac_file" \
 
15750
      mv "$ac_tmp/config.h" "$ac_file" \
14616
15751
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14617
15752
    fi
14618
15753
  else
14619
15754
    $as_echo "/* $configure_input  */" \
14620
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
15755
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14621
15756
      || as_fn_error $? "could not create -" "$LINENO" 5
14622
15757
  fi
14623
15758
# Compute "$ac_file"'s index in $config_headers.
14664
15799
 
14665
15800
  case $ac_file$ac_mode in
14666
15801
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14667
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
15802
  # Older Autoconf quotes --file arguments for eval, but not when files
14668
15803
  # are listed without --file.  Let's play safe and only enable the eval
14669
15804
  # if we detect the quoting.
14670
15805
  case $CONFIG_FILES in
14677
15812
    # Strip MF so we end up with the name of the file.
14678
15813
    mf=`echo "$mf" | sed -e 's/:.*$//'`
14679
15814
    # Check whether this is an Automake generated Makefile or not.
14680
 
    # We used to match only the files named `Makefile.in', but
 
15815
    # We used to match only the files named 'Makefile.in', but
14681
15816
    # some people rename them; so instead we look at the file content.
14682
15817
    # Grep'ing the first line is not enough: some people post-process
14683
15818
    # each Makefile.in and add a new line on top of each file to say so.
14711
15846
      continue
14712
15847
    fi
14713
15848
    # Extract the definition of DEPDIR, am__include, and am__quote
14714
 
    # from the Makefile without running `make'.
 
15849
    # from the Makefile without running 'make'.
14715
15850
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14716
15851
    test -z "$DEPDIR" && continue
14717
15852
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14718
 
    test -z "am__include" && continue
 
15853
    test -z "$am__include" && continue
14719
15854
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14720
 
    # When using ansi2knr, U may be empty or an underscore; expand it
14721
 
    U=`sed -n 's/^U = //p' < "$mf"`
14722
15855
    # Find all dependency output files, they are included files with
14723
15856
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14724
15857
    # simplest approach to changing $(DEPDIR) to its actual value in the
14725
15858
    # expansion.
14726
15859
    for file in `sed -n "
14727
15860
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14728
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
15861
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14729
15862
      # Make sure the directory exists.
14730
15863
      test -f "$dirpart/$file" && continue
14731
15864
      fdir=`$as_dirname -- "$file" ||
14779
15912
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14780
15913
#
14781
15914
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14782
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
15915
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
15916
#                 Foundation, Inc.
14783
15917
#   Written by Gordon Matzigkeit, 1996
14784
15918
#
14785
15919
#   This file is part of GNU Libtool.
14827
15961
# Whether or not to optimize for fast installation.
14828
15962
fast_install=$enable_fast_install
14829
15963
 
 
15964
# Shell to use when invoking shell scripts.
 
15965
SHELL=$lt_SHELL
 
15966
 
 
15967
# An echo program that protects backslashes.
 
15968
ECHO=$lt_ECHO
 
15969
 
 
15970
# The PATH separator for the build system.
 
15971
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
15972
 
14830
15973
# The host system.
14831
15974
host_alias=$host_alias
14832
15975
host=$host
14876
16019
# turn newlines into spaces.
14877
16020
NL2SP=$lt_lt_NL2SP
14878
16021
 
14879
 
# How to create reloadable object files.
14880
 
reload_flag=$lt_reload_flag
14881
 
reload_cmds=$lt_reload_cmds
 
16022
# convert \$build file names to \$host format.
 
16023
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
16024
 
 
16025
# convert \$build files to toolchain format.
 
16026
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14882
16027
 
14883
16028
# An object symbol dumper.
14884
16029
OBJDUMP=$lt_OBJDUMP
14886
16031
# Method to check whether dependent libraries are shared objects.
14887
16032
deplibs_check_method=$lt_deplibs_check_method
14888
16033
 
14889
 
# Command to use when deplibs_check_method == "file_magic".
 
16034
# Command to use when deplibs_check_method = "file_magic".
14890
16035
file_magic_cmd=$lt_file_magic_cmd
14891
16036
 
 
16037
# How to find potential files when deplibs_check_method = "file_magic".
 
16038
file_magic_glob=$lt_file_magic_glob
 
16039
 
 
16040
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
16041
want_nocaseglob=$lt_want_nocaseglob
 
16042
 
 
16043
# DLL creation program.
 
16044
DLLTOOL=$lt_DLLTOOL
 
16045
 
 
16046
# Command to associate shared and link libraries.
 
16047
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
16048
 
14892
16049
# The archiver.
14893
16050
AR=$lt_AR
 
16051
 
 
16052
# Flags to create an archive.
14894
16053
AR_FLAGS=$lt_AR_FLAGS
14895
16054
 
 
16055
# How to feed a file listing to the archiver.
 
16056
archiver_list_spec=$lt_archiver_list_spec
 
16057
 
14896
16058
# A symbol stripping program.
14897
16059
STRIP=$lt_STRIP
14898
16060
 
14901
16063
old_postinstall_cmds=$lt_old_postinstall_cmds
14902
16064
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14903
16065
 
 
16066
# Whether to use a lock for old archive extraction.
 
16067
lock_old_archive_extraction=$lock_old_archive_extraction
 
16068
 
14904
16069
# A C compiler.
14905
16070
LTCC=$lt_CC
14906
16071
 
14919
16084
# Transform the output of nm in a C name address pair when lib prefix is needed.
14920
16085
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14921
16086
 
 
16087
# Specify filename containing input files for \$NM.
 
16088
nm_file_list_spec=$lt_nm_file_list_spec
 
16089
 
 
16090
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
16091
lt_sysroot=$lt_sysroot
 
16092
 
14922
16093
# The name of the directory that contains temporary libtool files.
14923
16094
objdir=$objdir
14924
16095
 
14925
 
# Shell to use when invoking shell scripts.
14926
 
SHELL=$lt_SHELL
14927
 
 
14928
 
# An echo program that does not interpret backslashes.
14929
 
ECHO=$lt_ECHO
14930
 
 
14931
16096
# Used to examine libraries when file_magic_cmd begins with "file".
14932
16097
MAGIC_CMD=$MAGIC_CMD
14933
16098
 
14934
16099
# Must we lock files when doing compilation?
14935
16100
need_locks=$lt_need_locks
14936
16101
 
 
16102
# Manifest tool.
 
16103
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
16104
 
14937
16105
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14938
16106
DSYMUTIL=$lt_DSYMUTIL
14939
16107
 
14990
16158
# The coded name of the library, if different from the real name.
14991
16159
soname_spec=$lt_soname_spec
14992
16160
 
 
16161
# Permission mode override for installation of shared libraries.
 
16162
install_override_mode=$lt_install_override_mode
 
16163
 
14993
16164
# Command to use after installation of a shared archive.
14994
16165
postinstall_cmds=$lt_postinstall_cmds
14995
16166
 
15029
16200
# The linker used to build libraries.
15030
16201
LD=$lt_LD
15031
16202
 
 
16203
# How to create reloadable object files.
 
16204
reload_flag=$lt_reload_flag
 
16205
reload_cmds=$lt_reload_cmds
 
16206
 
15032
16207
# Commands used to build an old-style archive.
15033
16208
old_archive_cmds=$lt_old_archive_cmds
15034
16209
 
15041
16216
# Compiler flag to turn off builtin functions.
15042
16217
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15043
16218
 
 
16219
# Additional compiler flags for building library objects.
 
16220
pic_flag=$lt_lt_prog_compiler_pic
 
16221
 
15044
16222
# How to pass a linker flag through the compiler.
15045
16223
wl=$lt_lt_prog_compiler_wl
15046
16224
 
15047
 
# Additional compiler flags for building library objects.
15048
 
pic_flag=$lt_lt_prog_compiler_pic
15049
 
 
15050
16225
# Compiler flag to prevent dynamic linking.
15051
16226
link_static_flag=$lt_lt_prog_compiler_static
15052
16227
 
15096
16271
# This must work even if \$libdir does not exist
15097
16272
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15098
16273
 
15099
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
15100
 
# during linking.  This must work even if \$libdir does not exist.
15101
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15102
 
 
15103
16274
# Whether we need a single "-rpath" flag with a separated argument.
15104
16275
hardcode_libdir_separator=$lt_hardcode_libdir_separator
15105
16276
 
15133
16304
# Whether libtool must link a program against all its dependency libraries.
15134
16305
link_all_deplibs=$link_all_deplibs
15135
16306
 
15136
 
# Fix the shell variable \$srcfile for the compiler.
15137
 
fix_srcfile_path=$lt_fix_srcfile_path
15138
 
 
15139
16307
# Set to "yes" if exported symbols are required.
15140
16308
always_export_symbols=$always_export_symbols
15141
16309
 
15151
16319
# Commands necessary for linking programs (against libraries) with templates.
15152
16320
prelink_cmds=$lt_prelink_cmds
15153
16321
 
 
16322
# Commands necessary for finishing linking programs.
 
16323
postlink_cmds=$lt_postlink_cmds
 
16324
 
15154
16325
# Specify filename containing input files.
15155
16326
file_list_spec=$lt_file_list_spec
15156
16327
 
15183
16354
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15184
16355
  # text mode, it properly converts lines to CR/LF.  This bash problem
15185
16356
  # is reportedly fixed, but why not run on old versions too?
15186
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15187
 
    || (rm -f "$cfgfile"; exit 1)
15188
 
 
15189
 
  case $xsi_shell in
15190
 
  yes)
15191
 
    cat << \_LT_EOF >> "$cfgfile"
15192
 
 
15193
 
# func_dirname file append nondir_replacement
15194
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15195
 
# otherwise set result to NONDIR_REPLACEMENT.
15196
 
func_dirname ()
15197
 
{
15198
 
  case ${1} in
15199
 
    */*) func_dirname_result="${1%/*}${2}" ;;
15200
 
    *  ) func_dirname_result="${3}" ;;
15201
 
  esac
15202
 
}
15203
 
 
15204
 
# func_basename file
15205
 
func_basename ()
15206
 
{
15207
 
  func_basename_result="${1##*/}"
15208
 
}
15209
 
 
15210
 
# func_dirname_and_basename file append nondir_replacement
15211
 
# perform func_basename and func_dirname in a single function
15212
 
# call:
15213
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
15214
 
#             add APPEND to the result, otherwise set result
15215
 
#             to NONDIR_REPLACEMENT.
15216
 
#             value returned in "$func_dirname_result"
15217
 
#   basename: Compute filename of FILE.
15218
 
#             value retuned in "$func_basename_result"
15219
 
# Implementation must be kept synchronized with func_dirname
15220
 
# and func_basename. For efficiency, we do not delegate to
15221
 
# those functions but instead duplicate the functionality here.
15222
 
func_dirname_and_basename ()
15223
 
{
15224
 
  case ${1} in
15225
 
    */*) func_dirname_result="${1%/*}${2}" ;;
15226
 
    *  ) func_dirname_result="${3}" ;;
15227
 
  esac
15228
 
  func_basename_result="${1##*/}"
15229
 
}
15230
 
 
15231
 
# func_stripname prefix suffix name
15232
 
# strip PREFIX and SUFFIX off of NAME.
15233
 
# PREFIX and SUFFIX must not contain globbing or regex special
15234
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
15235
 
# dot (in which case that matches only a dot).
15236
 
func_stripname ()
15237
 
{
15238
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15239
 
  # positional parameters, so assign one to ordinary parameter first.
15240
 
  func_stripname_result=${3}
15241
 
  func_stripname_result=${func_stripname_result#"${1}"}
15242
 
  func_stripname_result=${func_stripname_result%"${2}"}
15243
 
}
15244
 
 
15245
 
# func_opt_split
15246
 
func_opt_split ()
15247
 
{
15248
 
  func_opt_split_opt=${1%%=*}
15249
 
  func_opt_split_arg=${1#*=}
15250
 
}
15251
 
 
15252
 
# func_lo2o object
15253
 
func_lo2o ()
15254
 
{
15255
 
  case ${1} in
15256
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15257
 
    *)    func_lo2o_result=${1} ;;
15258
 
  esac
15259
 
}
15260
 
 
15261
 
# func_xform libobj-or-source
15262
 
func_xform ()
15263
 
{
15264
 
  func_xform_result=${1%.*}.lo
15265
 
}
15266
 
 
15267
 
# func_arith arithmetic-term...
15268
 
func_arith ()
15269
 
{
15270
 
  func_arith_result=$(( $* ))
15271
 
}
15272
 
 
15273
 
# func_len string
15274
 
# STRING may not start with a hyphen.
15275
 
func_len ()
15276
 
{
15277
 
  func_len_result=${#1}
15278
 
}
15279
 
 
15280
 
_LT_EOF
15281
 
    ;;
15282
 
  *) # Bourne compatible functions.
15283
 
    cat << \_LT_EOF >> "$cfgfile"
15284
 
 
15285
 
# func_dirname file append nondir_replacement
15286
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15287
 
# otherwise set result to NONDIR_REPLACEMENT.
15288
 
func_dirname ()
15289
 
{
15290
 
  # Extract subdirectory from the argument.
15291
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15292
 
  if test "X$func_dirname_result" = "X${1}"; then
15293
 
    func_dirname_result="${3}"
15294
 
  else
15295
 
    func_dirname_result="$func_dirname_result${2}"
15296
 
  fi
15297
 
}
15298
 
 
15299
 
# func_basename file
15300
 
func_basename ()
15301
 
{
15302
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15303
 
}
15304
 
 
15305
 
 
15306
 
# func_stripname prefix suffix name
15307
 
# strip PREFIX and SUFFIX off of NAME.
15308
 
# PREFIX and SUFFIX must not contain globbing or regex special
15309
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
15310
 
# dot (in which case that matches only a dot).
15311
 
# func_strip_suffix prefix name
15312
 
func_stripname ()
15313
 
{
15314
 
  case ${2} in
15315
 
    .*) func_stripname_result=`$ECHO "X${3}" \
15316
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15317
 
    *)  func_stripname_result=`$ECHO "X${3}" \
15318
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15319
 
  esac
15320
 
}
15321
 
 
15322
 
# sed scripts:
15323
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15324
 
my_sed_long_arg='1s/^-[^=]*=//'
15325
 
 
15326
 
# func_opt_split
15327
 
func_opt_split ()
15328
 
{
15329
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15330
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15331
 
}
15332
 
 
15333
 
# func_lo2o object
15334
 
func_lo2o ()
15335
 
{
15336
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15337
 
}
15338
 
 
15339
 
# func_xform libobj-or-source
15340
 
func_xform ()
15341
 
{
15342
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15343
 
}
15344
 
 
15345
 
# func_arith arithmetic-term...
15346
 
func_arith ()
15347
 
{
15348
 
  func_arith_result=`expr "$@"`
15349
 
}
15350
 
 
15351
 
# func_len string
15352
 
# STRING may not start with a hyphen.
15353
 
func_len ()
15354
 
{
15355
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15356
 
}
15357
 
 
15358
 
_LT_EOF
15359
 
esac
15360
 
 
15361
 
case $lt_shell_append in
15362
 
  yes)
15363
 
    cat << \_LT_EOF >> "$cfgfile"
15364
 
 
15365
 
# func_append var value
15366
 
# Append VALUE to the end of shell variable VAR.
15367
 
func_append ()
15368
 
{
15369
 
  eval "$1+=\$2"
15370
 
}
15371
 
_LT_EOF
15372
 
    ;;
15373
 
  *)
15374
 
    cat << \_LT_EOF >> "$cfgfile"
15375
 
 
15376
 
# func_append var value
15377
 
# Append VALUE to the end of shell variable VAR.
15378
 
func_append ()
15379
 
{
15380
 
  eval "$1=\$$1\$2"
15381
 
}
15382
 
 
15383
 
_LT_EOF
15384
 
    ;;
15385
 
  esac
15386
 
 
15387
 
 
15388
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15389
 
    || (rm -f "$cfgfile"; exit 1)
15390
 
 
15391
 
  mv -f "$cfgfile" "$ofile" ||
 
16357
  sed '$q' "$ltmain" >> "$cfgfile" \
 
16358
     || (rm -f "$cfgfile"; exit 1)
 
16359
 
 
16360
  if test x"$xsi_shell" = xyes; then
 
16361
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
16362
func_dirname ()\
 
16363
{\
 
16364
\    case ${1} in\
 
16365
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
16366
\      *  ) func_dirname_result="${3}" ;;\
 
16367
\    esac\
 
16368
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
16369
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16370
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16371
test 0 -eq $? || _lt_function_replace_fail=:
 
16372
 
 
16373
 
 
16374
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
16375
func_basename ()\
 
16376
{\
 
16377
\    func_basename_result="${1##*/}"\
 
16378
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
16379
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16380
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16381
test 0 -eq $? || _lt_function_replace_fail=:
 
16382
 
 
16383
 
 
16384
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
16385
func_dirname_and_basename ()\
 
16386
{\
 
16387
\    case ${1} in\
 
16388
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
16389
\      *  ) func_dirname_result="${3}" ;;\
 
16390
\    esac\
 
16391
\    func_basename_result="${1##*/}"\
 
16392
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
16393
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16394
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16395
test 0 -eq $? || _lt_function_replace_fail=:
 
16396
 
 
16397
 
 
16398
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
16399
func_stripname ()\
 
16400
{\
 
16401
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
16402
\    # positional parameters, so assign one to ordinary parameter first.\
 
16403
\    func_stripname_result=${3}\
 
16404
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
16405
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
16406
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
16407
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16408
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16409
test 0 -eq $? || _lt_function_replace_fail=:
 
16410
 
 
16411
 
 
16412
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
16413
func_split_long_opt ()\
 
16414
{\
 
16415
\    func_split_long_opt_name=${1%%=*}\
 
16416
\    func_split_long_opt_arg=${1#*=}\
 
16417
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
16418
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16419
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16420
test 0 -eq $? || _lt_function_replace_fail=:
 
16421
 
 
16422
 
 
16423
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
16424
func_split_short_opt ()\
 
16425
{\
 
16426
\    func_split_short_opt_arg=${1#??}\
 
16427
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
16428
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
16429
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16430
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16431
test 0 -eq $? || _lt_function_replace_fail=:
 
16432
 
 
16433
 
 
16434
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
16435
func_lo2o ()\
 
16436
{\
 
16437
\    case ${1} in\
 
16438
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
16439
\      *)    func_lo2o_result=${1} ;;\
 
16440
\    esac\
 
16441
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
16442
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16443
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16444
test 0 -eq $? || _lt_function_replace_fail=:
 
16445
 
 
16446
 
 
16447
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
16448
func_xform ()\
 
16449
{\
 
16450
    func_xform_result=${1%.*}.lo\
 
16451
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
16452
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16453
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16454
test 0 -eq $? || _lt_function_replace_fail=:
 
16455
 
 
16456
 
 
16457
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
16458
func_arith ()\
 
16459
{\
 
16460
    func_arith_result=$(( $* ))\
 
16461
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
16462
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16463
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16464
test 0 -eq $? || _lt_function_replace_fail=:
 
16465
 
 
16466
 
 
16467
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
16468
func_len ()\
 
16469
{\
 
16470
    func_len_result=${#1}\
 
16471
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
16472
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16473
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16474
test 0 -eq $? || _lt_function_replace_fail=:
 
16475
 
 
16476
fi
 
16477
 
 
16478
if test x"$lt_shell_append" = xyes; then
 
16479
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
16480
func_append ()\
 
16481
{\
 
16482
    eval "${1}+=\\${2}"\
 
16483
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
16484
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16485
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16486
test 0 -eq $? || _lt_function_replace_fail=:
 
16487
 
 
16488
 
 
16489
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
16490
func_append_quoted ()\
 
16491
{\
 
16492
\    func_quote_for_eval "${2}"\
 
16493
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
16494
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
16495
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16496
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16497
test 0 -eq $? || _lt_function_replace_fail=:
 
16498
 
 
16499
 
 
16500
  # Save a `func_append' function call where possible by direct use of '+='
 
16501
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
16502
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16503
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16504
  test 0 -eq $? || _lt_function_replace_fail=:
 
16505
else
 
16506
  # Save a `func_append' function call even when '+=' is not available
 
16507
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
16508
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16509
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16510
  test 0 -eq $? || _lt_function_replace_fail=:
 
16511
fi
 
16512
 
 
16513
if test x"$_lt_function_replace_fail" = x":"; then
 
16514
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
16515
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
16516
fi
 
16517
 
 
16518
 
 
16519
   mv -f "$cfgfile" "$ofile" ||
15392
16520
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15393
16521
  chmod +x "$ofile"
15394
16522