~ubuntu-branches/ubuntu/trusty/libnih/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Dmitrijs Ledkovs
  • Date: 2013-11-12 13:20:53 UTC
  • mto: This revision was merged to the branch mainline in revision 1081.
  • Revision ID: dmitrijs.ledkovs@canonical.com-20131112132053-27y2f89g6whr5bna
releasing package libnih version 1.0.3-4ubuntu24

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 libnih 1.0.3.
 
3
# Generated by GNU Autoconf 2.69 for libnih 1.0.3.
4
4
#
5
5
# Report bugs to <http://bugs.launchpad.net/libnih/>.
6
6
#
7
7
#
8
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
 
# Foundation, Inc.
 
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
9
#
12
10
#
13
11
# This configure script is free software; the Free Software Foundation
93
91
IFS=" ""        $as_nl"
94
92
 
95
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
96
95
case $0 in #((
97
96
  *[\\/]* ) as_myself=$0 ;;
98
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
137
136
# CDPATH.
138
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
138
 
 
139
# Use a proper internal environment variable to ensure we don't fall
 
140
  # into an infinite loop, continuously re-executing ourselves.
 
141
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 
142
    _as_can_reexec=no; export _as_can_reexec;
 
143
    # We cannot yet assume a decent shell, so we have to provide a
 
144
# neutralization value for shells without unset; and this also
 
145
# works around shells that cannot unset nonexistent variables.
 
146
# Preserve -v and -x to the replacement shell.
 
147
BASH_ENV=/dev/null
 
148
ENV=/dev/null
 
149
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
150
case $- in # ((((
 
151
  *v*x* | *x*v* ) as_opts=-vx ;;
 
152
  *v* ) as_opts=-v ;;
 
153
  *x* ) as_opts=-x ;;
 
154
  * ) as_opts= ;;
 
155
esac
 
156
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
157
# Admittedly, this is quite paranoid, since all the known shells bail
 
158
# out after a failed `exec'.
 
159
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
160
as_fn_exit 255
 
161
  fi
 
162
  # We don't want this to propagate to other subprocesses.
 
163
          { _as_can_reexec=; unset _as_can_reexec;}
140
164
if test "x$CONFIG_SHELL" = x; then
141
165
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
166
  emulate sh
170
194
else
171
195
  exitcode=1; echo positional parameters were not saved.
172
196
fi
173
 
test x\$exitcode = x0 || exit 1"
 
197
test x\$exitcode = x0 || exit 1
 
198
test -x / || exit 1"
174
199
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
175
200
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176
201
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177
202
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178
 
test \$(( 1 + 1 )) = 2 || exit 1"
 
203
test \$(( 1 + 1 )) = 2 || exit 1
 
204
 
 
205
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
206
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
207
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
208
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
209
    PATH=/empty FPATH=/empty; export PATH FPATH
 
210
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
211
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
179
212
  if (eval "$as_required") 2>/dev/null; then :
180
213
  as_have_required=yes
181
214
else
215
248
 
216
249
 
217
250
      if test "x$CONFIG_SHELL" != x; then :
218
 
  # We cannot yet assume a decent shell, so we have to provide a
219
 
        # neutralization value for shells without unset; and this also
220
 
        # works around shells that cannot unset nonexistent variables.
221
 
        BASH_ENV=/dev/null
222
 
        ENV=/dev/null
223
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224
 
        export CONFIG_SHELL
225
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
251
  export CONFIG_SHELL
 
252
             # We cannot yet assume a decent shell, so we have to provide a
 
253
# neutralization value for shells without unset; and this also
 
254
# works around shells that cannot unset nonexistent variables.
 
255
# Preserve -v and -x to the replacement shell.
 
256
BASH_ENV=/dev/null
 
257
ENV=/dev/null
 
258
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
259
case $- in # ((((
 
260
  *v*x* | *x*v* ) as_opts=-vx ;;
 
261
  *v* ) as_opts=-v ;;
 
262
  *x* ) as_opts=-x ;;
 
263
  * ) as_opts= ;;
 
264
esac
 
265
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
266
# Admittedly, this is quite paranoid, since all the known shells bail
 
267
# out after a failed `exec'.
 
268
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
269
exit 255
226
270
fi
227
271
 
228
272
    if test x$as_have_required = xno; then :
325
369
 
326
370
 
327
371
} # as_fn_mkdir_p
 
372
 
 
373
# as_fn_executable_p FILE
 
374
# -----------------------
 
375
# Test if FILE is an executable regular file.
 
376
as_fn_executable_p ()
 
377
{
 
378
  test -f "$1" && test -x "$1"
 
379
} # as_fn_executable_p
328
380
# as_fn_append VAR VALUE
329
381
# ----------------------
330
382
# Append the text in VALUE to the end of the definition contained in VAR. Take
446
498
  chmod +x "$as_me.lineno" ||
447
499
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448
500
 
 
501
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
502
  # already done that, so ensure we don't try to do so again and fall
 
503
  # in an infinite loop.  This has already happened in practice.
 
504
  _as_can_reexec=no; export _as_can_reexec
449
505
  # Don't try to exec as it changes $[0], causing all sort of problems
450
506
  # (the dirname of $[0] is not the place where we might find the
451
507
  # original and so on.  Autoconf is especially sensitive to this).
480
536
    # ... but there are two gotchas:
481
537
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
482
538
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
483
 
    # In both cases, we have to default to `cp -p'.
 
539
    # In both cases, we have to default to `cp -pR'.
484
540
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485
 
      as_ln_s='cp -p'
 
541
      as_ln_s='cp -pR'
486
542
  elif ln conf$$.file conf$$ 2>/dev/null; then
487
543
    as_ln_s=ln
488
544
  else
489
 
    as_ln_s='cp -p'
 
545
    as_ln_s='cp -pR'
490
546
  fi
491
547
else
492
 
  as_ln_s='cp -p'
 
548
  as_ln_s='cp -pR'
493
549
fi
494
550
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
495
551
rmdir conf$$.dir 2>/dev/null
501
557
  as_mkdir_p=false
502
558
fi
503
559
 
504
 
if test -x / >/dev/null 2>&1; then
505
 
  as_test_x='test -x'
506
 
else
507
 
  if ls -dL / >/dev/null 2>&1; then
508
 
    as_ls_L_option=L
509
 
  else
510
 
    as_ls_L_option=
511
 
  fi
512
 
  as_test_x='
513
 
    eval sh -c '\''
514
 
      if test -d "$1"; then
515
 
        test -d "$1/.";
516
 
      else
517
 
        case $1 in #(
518
 
        -*)set "./$1";;
519
 
        esac;
520
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
521
 
        ???[sx]*):;;*)false;;esac;fi
522
 
    '\'' sh
523
 
  '
524
 
fi
525
 
as_executable_p=$as_test_x
 
560
as_test_x='test -x'
 
561
as_executable_p=as_fn_executable_p
526
562
 
527
563
# Sed expression to map a string onto a valid CPP name.
528
564
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
566
# Sed expression to map a string onto a valid variable name.
531
567
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532
568
 
533
 
 
534
 
 
535
 
# Check that we are running under the correct shell.
536
569
SHELL=${CONFIG_SHELL-/bin/sh}
537
570
 
538
 
case X$lt_ECHO in
539
 
X*--fallback-echo)
540
 
  # Remove one level of quotation (which was required for Make).
541
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
542
 
  ;;
543
 
esac
544
 
 
545
 
ECHO=${lt_ECHO-echo}
546
 
if test "X$1" = X--no-reexec; then
547
 
  # Discard the --no-reexec flag, and continue.
548
 
  shift
549
 
elif test "X$1" = X--fallback-echo; then
550
 
  # Avoid inline document here, it may be left over
551
 
  :
552
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
553
 
  # Yippee, $ECHO works!
554
 
  :
555
 
else
556
 
  # Restart under the correct shell.
557
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
558
 
fi
559
 
 
560
 
if test "X$1" = X--fallback-echo; then
561
 
  # used as fallback echo
562
 
  shift
563
 
  cat <<_LT_EOF
564
 
$*
565
 
_LT_EOF
566
 
  exit 0
567
 
fi
568
 
 
569
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
570
 
# if CDPATH is set.
571
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
572
 
 
573
 
if test -z "$lt_ECHO"; then
574
 
  if test "X${echo_test_string+set}" != Xset; then
575
 
    # find a string as large as possible, as long as the shell can cope with it
576
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
577
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
578
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
579
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
580
 
      then
581
 
        break
582
 
      fi
583
 
    done
584
 
  fi
585
 
 
586
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
587
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
588
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
589
 
    :
590
 
  else
591
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
592
 
    # backslashes.  This makes it impossible to quote backslashes using
593
 
    #   echo "$something" | sed 's/\\/\\\\/g'
594
 
    #
595
 
    # So, first we look for a working echo in the user's PATH.
596
 
 
597
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
598
 
    for dir in $PATH /usr/ucb; do
599
 
      IFS="$lt_save_ifs"
600
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
601
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
602
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
603
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
604
 
        ECHO="$dir/echo"
605
 
        break
606
 
      fi
607
 
    done
608
 
    IFS="$lt_save_ifs"
609
 
 
610
 
    if test "X$ECHO" = Xecho; then
611
 
      # We didn't find a better echo, so look for alternatives.
612
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
613
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
614
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
615
 
        # This shell has a builtin print -r that does the trick.
616
 
        ECHO='print -r'
617
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
618
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
619
 
        # If we have ksh, try running configure again with it.
620
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
621
 
        export ORIGINAL_CONFIG_SHELL
622
 
        CONFIG_SHELL=/bin/ksh
623
 
        export CONFIG_SHELL
624
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
625
 
      else
626
 
        # Try using printf.
627
 
        ECHO='printf %s\n'
628
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
631
 
          # Cool, printf works
632
 
          :
633
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
634
 
             test "X$echo_testing_string" = 'X\t' &&
635
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
636
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
637
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
638
 
          export CONFIG_SHELL
639
 
          SHELL="$CONFIG_SHELL"
640
 
          export SHELL
641
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
642
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
643
 
             test "X$echo_testing_string" = 'X\t' &&
644
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
645
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
646
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
647
 
        else
648
 
          # maybe with a smaller string...
649
 
          prev=:
650
 
 
651
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
652
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
653
 
            then
654
 
              break
655
 
            fi
656
 
            prev="$cmd"
657
 
          done
658
 
 
659
 
          if test "$prev" != 'sed 50q "$0"'; then
660
 
            echo_test_string=`eval $prev`
661
 
            export echo_test_string
662
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
663
 
          else
664
 
            # Oops.  We lost completely, so just stick with echo.
665
 
            ECHO=echo
666
 
          fi
667
 
        fi
668
 
      fi
669
 
    fi
670
 
  fi
671
 
fi
672
 
 
673
 
# Copy echo and quote the copy suitably for passing to libtool from
674
 
# the Makefile, instead of quoting the original, which is used later.
675
 
lt_ECHO=$ECHO
676
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
677
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678
 
fi
679
 
 
680
 
 
681
 
 
682
571
 
683
572
test -n "$DJDIR" || exec 7<&0 </dev/null
684
573
exec 6>&1
813
702
LIPO
814
703
NMEDIT
815
704
DSYMUTIL
816
 
lt_ECHO
 
705
MANIFEST_TOOL
817
706
RANLIB
 
707
ac_ct_AR
818
708
AR
 
709
DLLTOOL
819
710
OBJDUMP
820
711
LN_S
821
712
NM
838
729
MAINTAINER_MODE_TRUE
839
730
AM_BACKSLASH
840
731
AM_DEFAULT_VERBOSITY
 
732
AM_DEFAULT_V
 
733
AM_V
841
734
am__fastdepCC_FALSE
842
735
am__fastdepCC_TRUE
843
736
CCDEPMODE
 
737
am__nodep
844
738
AMDEPBACKSLASH
845
739
AMDEP_FALSE
846
740
AMDEP_TRUE
930
824
with_pic
931
825
enable_fast_install
932
826
with_gnu_ld
 
827
with_sysroot
933
828
enable_libtool_lock
934
829
enable_nls
935
830
enable_threads
1363
1258
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1364
1259
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1365
1260
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1366
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1261
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1367
1262
    ;;
1368
1263
 
1369
1264
  esac
1414
1309
if test "x$host_alias" != x; then
1415
1310
  if test "x$build_alias" = x; then
1416
1311
    cross_compiling=maybe
1417
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1418
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1419
1312
  elif test "x$build_alias" != "x$host_alias"; then
1420
1313
    cross_compiling=yes
1421
1314
  fi
1579
1472
  --disable-option-checking  ignore unrecognized --enable/--with options
1580
1473
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1581
1474
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1582
 
  --disable-dependency-tracking  speeds up one-time build
1583
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1584
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1585
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1586
 
  --disable-maintainer-mode  disable make rules and dependencies not useful
1587
 
                          (and sometimes confusing) to the casual installer
 
1475
  --enable-dependency-tracking
 
1476
                          do not reject slow dependency extractors
 
1477
  --disable-dependency-tracking
 
1478
                          speeds up one-time build
 
1479
  --enable-silent-rules   less verbose build output (undo: "make V=1")
 
1480
  --disable-silent-rules  verbose build output (undo: "make V=0")
 
1481
  --disable-maintainer-mode
 
1482
                          disable make rules and dependencies not useful (and
 
1483
                          sometimes confusing) to the casual installer
1588
1484
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1589
1485
  --enable-static[=PKGS]  build static libraries [default=yes]
1590
1486
  --enable-fast-install[=PKGS]
1608
1504
Optional Packages:
1609
1505
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1610
1506
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1611
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1507
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1612
1508
                          both]
1613
1509
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1510
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1511
                        (or the compiler's sysroot if not specified).
1614
1512
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1615
1513
  --with-libpth-prefix[=DIR]  search for libpth in DIR/include and DIR/lib
1616
1514
  --without-libpth-prefix     don't search for libpth in includedir and libdir
1706
1604
if $ac_init_version; then
1707
1605
  cat <<\_ACEOF
1708
1606
libnih configure 1.0.3
1709
 
generated by GNU Autoconf 2.67
 
1607
generated by GNU Autoconf 2.69
1710
1608
 
1711
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
1609
Copyright (C) 2012 Free Software Foundation, Inc.
1712
1610
This configure script is free software; the Free Software Foundation
1713
1611
gives unlimited permission to copy, distribute and modify it.
1714
1612
 
1754
1652
 
1755
1653
        ac_retval=1
1756
1654
fi
1757
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1655
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758
1656
  as_fn_set_status $ac_retval
1759
1657
 
1760
1658
} # ac_fn_c_try_compile
1791
1689
 
1792
1690
    ac_retval=1
1793
1691
fi
1794
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1692
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795
1693
  as_fn_set_status $ac_retval
1796
1694
 
1797
1695
} # ac_fn_c_try_cpp
1804
1702
ac_fn_c_check_header_mongrel ()
1805
1703
{
1806
1704
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1705
  if eval \${$3+:} false; then :
1808
1706
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809
1707
$as_echo_n "checking for $2... " >&6; }
1810
 
if eval "test \"\${$3+set}\"" = set; then :
 
1708
if eval \${$3+:} false; then :
1811
1709
  $as_echo_n "(cached) " >&6
1812
1710
fi
1813
1711
eval ac_res=\$$3
1874
1772
esac
1875
1773
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876
1774
$as_echo_n "checking for $2... " >&6; }
1877
 
if eval "test \"\${$3+set}\"" = set; then :
 
1775
if eval \${$3+:} false; then :
1878
1776
  $as_echo_n "(cached) " >&6
1879
1777
else
1880
1778
  eval "$3=\$ac_header_compiler"
1883
1781
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884
1782
$as_echo "$ac_res" >&6; }
1885
1783
fi
1886
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1784
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887
1785
 
1888
1786
} # ac_fn_c_check_header_mongrel
1889
1787
 
1924
1822
       ac_retval=$ac_status
1925
1823
fi
1926
1824
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1927
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1825
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1928
1826
  as_fn_set_status $ac_retval
1929
1827
 
1930
1828
} # ac_fn_c_try_run
1938
1836
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939
1837
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1940
1838
$as_echo_n "checking for $2... " >&6; }
1941
 
if eval "test \"\${$3+set}\"" = set; then :
 
1839
if eval \${$3+:} false; then :
1942
1840
  $as_echo_n "(cached) " >&6
1943
1841
else
1944
1842
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1956
1854
eval ac_res=\$$3
1957
1855
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1958
1856
$as_echo "$ac_res" >&6; }
1959
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1857
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1960
1858
 
1961
1859
} # ac_fn_c_check_header_compile
1962
1860
 
1987
1885
         test ! -s conftest.err
1988
1886
       } && test -s conftest$ac_exeext && {
1989
1887
         test "$cross_compiling" = yes ||
1990
 
         $as_test_x conftest$ac_exeext
 
1888
         test -x conftest$ac_exeext
1991
1889
       }; then :
1992
1890
  ac_retval=0
1993
1891
else
2001
1899
  # interfere with the next link command; also delete a directory that is
2002
1900
  # left behind by Apple's compiler.  We do this before executing the actions.
2003
1901
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2004
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1902
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2005
1903
  as_fn_set_status $ac_retval
2006
1904
 
2007
1905
} # ac_fn_c_try_link
2014
1912
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015
1913
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2016
1914
$as_echo_n "checking for $2... " >&6; }
2017
 
if eval "test \"\${$3+set}\"" = set; then :
 
1915
if eval \${$3+:} false; then :
2018
1916
  $as_echo_n "(cached) " >&6
2019
1917
else
2020
1918
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069
1967
eval ac_res=\$$3
2070
1968
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071
1969
$as_echo "$ac_res" >&6; }
2072
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1970
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2073
1971
 
2074
1972
} # ac_fn_c_check_func
2075
1973
 
2082
1980
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2083
1981
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2084
1982
$as_echo_n "checking for $2... " >&6; }
2085
 
if eval "test \"\${$3+set}\"" = set; then :
 
1983
if eval \${$3+:} false; then :
2086
1984
  $as_echo_n "(cached) " >&6
2087
1985
else
2088
1986
  eval "$3=no"
2123
2021
eval ac_res=\$$3
2124
2022
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2125
2023
$as_echo "$ac_res" >&6; }
2126
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2024
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2127
2025
 
2128
2026
} # ac_fn_c_check_type
2129
2027
 
2144
2042
main ()
2145
2043
{
2146
2044
static int test_array [1 - 2 * !(($2) >= 0)];
2147
 
test_array [0] = 0
 
2045
test_array [0] = 0;
 
2046
return test_array [0];
2148
2047
 
2149
2048
  ;
2150
2049
  return 0;
2160
2059
main ()
2161
2060
{
2162
2061
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2163
 
test_array [0] = 0
 
2062
test_array [0] = 0;
 
2063
return test_array [0];
2164
2064
 
2165
2065
  ;
2166
2066
  return 0;
2186
2086
main ()
2187
2087
{
2188
2088
static int test_array [1 - 2 * !(($2) < 0)];
2189
 
test_array [0] = 0
 
2089
test_array [0] = 0;
 
2090
return test_array [0];
2190
2091
 
2191
2092
  ;
2192
2093
  return 0;
2202
2103
main ()
2203
2104
{
2204
2105
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2205
 
test_array [0] = 0
 
2106
test_array [0] = 0;
 
2107
return test_array [0];
2206
2108
 
2207
2109
  ;
2208
2110
  return 0;
2236
2138
main ()
2237
2139
{
2238
2140
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2239
 
test_array [0] = 0
 
2141
test_array [0] = 0;
 
2142
return test_array [0];
2240
2143
 
2241
2144
  ;
2242
2145
  return 0;
2300
2203
rm -f conftest.val
2301
2204
 
2302
2205
  fi
2303
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2206
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2304
2207
  as_fn_set_status $ac_retval
2305
2208
 
2306
2209
} # ac_fn_c_compute_int
2309
2212
running configure, to aid debugging if configure makes a mistake.
2310
2213
 
2311
2214
It was created by libnih $as_me 1.0.3, which was
2312
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
2215
generated by GNU Autoconf 2.69.  Invocation command line was
2313
2216
 
2314
2217
  $ $0 $@
2315
2218
 
2567
2470
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2568
2471
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2569
2472
as_fn_error $? "failed to load site script $ac_site_file
2570
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2473
See \`config.log' for more details" "$LINENO" 5; }
2571
2474
  fi
2572
2475
done
2573
2476
 
2681
2584
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2682
2585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2683
2586
$as_echo_n "checking for $ac_word... " >&6; }
2684
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2587
if ${ac_cv_prog_CC+:} false; then :
2685
2588
  $as_echo_n "(cached) " >&6
2686
2589
else
2687
2590
  if test -n "$CC"; then
2693
2596
  IFS=$as_save_IFS
2694
2597
  test -z "$as_dir" && as_dir=.
2695
2598
    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
 
2599
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2697
2600
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2698
2601
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2699
2602
    break 2
2721
2624
set dummy gcc; ac_word=$2
2722
2625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2723
2626
$as_echo_n "checking for $ac_word... " >&6; }
2724
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2627
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2725
2628
  $as_echo_n "(cached) " >&6
2726
2629
else
2727
2630
  if test -n "$ac_ct_CC"; then
2733
2636
  IFS=$as_save_IFS
2734
2637
  test -z "$as_dir" && as_dir=.
2735
2638
    for ac_exec_ext in '' $ac_executable_extensions; do
2736
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2639
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2737
2640
    ac_cv_prog_ac_ct_CC="gcc"
2738
2641
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2739
2642
    break 2
2774
2677
set dummy ${ac_tool_prefix}cc; ac_word=$2
2775
2678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2776
2679
$as_echo_n "checking for $ac_word... " >&6; }
2777
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2680
if ${ac_cv_prog_CC+:} false; then :
2778
2681
  $as_echo_n "(cached) " >&6
2779
2682
else
2780
2683
  if test -n "$CC"; then
2786
2689
  IFS=$as_save_IFS
2787
2690
  test -z "$as_dir" && as_dir=.
2788
2691
    for ac_exec_ext in '' $ac_executable_extensions; do
2789
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2692
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2790
2693
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2791
2694
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792
2695
    break 2
2814
2717
set dummy cc; ac_word=$2
2815
2718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2816
2719
$as_echo_n "checking for $ac_word... " >&6; }
2817
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2720
if ${ac_cv_prog_CC+:} false; then :
2818
2721
  $as_echo_n "(cached) " >&6
2819
2722
else
2820
2723
  if test -n "$CC"; then
2827
2730
  IFS=$as_save_IFS
2828
2731
  test -z "$as_dir" && as_dir=.
2829
2732
    for ac_exec_ext in '' $ac_executable_extensions; do
2830
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2733
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2831
2734
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2832
2735
       ac_prog_rejected=yes
2833
2736
       continue
2873
2776
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2874
2777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2875
2778
$as_echo_n "checking for $ac_word... " >&6; }
2876
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2779
if ${ac_cv_prog_CC+:} false; then :
2877
2780
  $as_echo_n "(cached) " >&6
2878
2781
else
2879
2782
  if test -n "$CC"; then
2885
2788
  IFS=$as_save_IFS
2886
2789
  test -z "$as_dir" && as_dir=.
2887
2790
    for ac_exec_ext in '' $ac_executable_extensions; do
2888
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2791
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2889
2792
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2890
2793
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2891
2794
    break 2
2917
2820
set dummy $ac_prog; ac_word=$2
2918
2821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919
2822
$as_echo_n "checking for $ac_word... " >&6; }
2920
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2823
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2921
2824
  $as_echo_n "(cached) " >&6
2922
2825
else
2923
2826
  if test -n "$ac_ct_CC"; then
2929
2832
  IFS=$as_save_IFS
2930
2833
  test -z "$as_dir" && as_dir=.
2931
2834
    for ac_exec_ext in '' $ac_executable_extensions; do
2932
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2835
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2933
2836
    ac_cv_prog_ac_ct_CC="$ac_prog"
2934
2837
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2935
2838
    break 2
2972
2875
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2973
2876
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2974
2877
as_fn_error $? "no acceptable C compiler found in \$PATH
2975
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2878
See \`config.log' for more details" "$LINENO" 5; }
2976
2879
 
2977
2880
# Provide some information about the compiler.
2978
2881
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3087
2990
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3088
2991
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3089
2992
as_fn_error 77 "C compiler cannot create executables
3090
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2993
See \`config.log' for more details" "$LINENO" 5; }
3091
2994
else
3092
2995
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3093
2996
$as_echo "yes" >&6; }
3130
3033
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3131
3034
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3132
3035
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3133
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3036
See \`config.log' for more details" "$LINENO" 5; }
3134
3037
fi
3135
3038
rm -f conftest conftest$ac_cv_exeext
3136
3039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3189
3092
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3190
3093
as_fn_error $? "cannot run C compiled programs.
3191
3094
If you meant to cross compile, use \`--host'.
3192
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3095
See \`config.log' for more details" "$LINENO" 5; }
3193
3096
    fi
3194
3097
  fi
3195
3098
fi
3200
3103
ac_clean_files=$ac_clean_files_save
3201
3104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3202
3105
$as_echo_n "checking for suffix of object files... " >&6; }
3203
 
if test "${ac_cv_objext+set}" = set; then :
 
3106
if ${ac_cv_objext+:} false; then :
3204
3107
  $as_echo_n "(cached) " >&6
3205
3108
else
3206
3109
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3241
3144
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3242
3145
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3243
3146
as_fn_error $? "cannot compute suffix of object files: cannot compile
3244
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3147
See \`config.log' for more details" "$LINENO" 5; }
3245
3148
fi
3246
3149
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3247
3150
fi
3251
3154
ac_objext=$OBJEXT
3252
3155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3253
3156
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3254
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3157
if ${ac_cv_c_compiler_gnu+:} false; then :
3255
3158
  $as_echo_n "(cached) " >&6
3256
3159
else
3257
3160
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3288
3191
ac_save_CFLAGS=$CFLAGS
3289
3192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3290
3193
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3291
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3194
if ${ac_cv_prog_cc_g+:} false; then :
3292
3195
  $as_echo_n "(cached) " >&6
3293
3196
else
3294
3197
  ac_save_c_werror_flag=$ac_c_werror_flag
3366
3269
fi
3367
3270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3368
3271
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3369
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3272
if ${ac_cv_prog_cc_c89+:} false; then :
3370
3273
  $as_echo_n "(cached) " >&6
3371
3274
else
3372
3275
  ac_cv_prog_cc_c89=no
3375
3278
/* end confdefs.h.  */
3376
3279
#include <stdarg.h>
3377
3280
#include <stdio.h>
3378
 
#include <sys/types.h>
3379
 
#include <sys/stat.h>
 
3281
struct stat;
3380
3282
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3381
3283
struct buf { int x; };
3382
3284
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3474
3376
  CPP=
3475
3377
fi
3476
3378
if test -z "$CPP"; then
3477
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
3379
  if ${ac_cv_prog_CPP+:} false; then :
3478
3380
  $as_echo_n "(cached) " >&6
3479
3381
else
3480
3382
      # Double quotes because CPP needs to be expanded
3590
3492
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3591
3493
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3592
3494
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3593
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3495
See \`config.log' for more details" "$LINENO" 5; }
3594
3496
fi
3595
3497
 
3596
3498
ac_ext=c
3602
3504
 
3603
3505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3604
3506
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3605
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
3507
if ${ac_cv_path_GREP+:} false; then :
3606
3508
  $as_echo_n "(cached) " >&6
3607
3509
else
3608
3510
  if test -z "$GREP"; then
3616
3518
    for ac_prog in grep ggrep; do
3617
3519
    for ac_exec_ext in '' $ac_executable_extensions; do
3618
3520
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3619
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3521
      as_fn_executable_p "$ac_path_GREP" || continue
3620
3522
# Check for GNU ac_path_GREP and select it if it is found.
3621
3523
  # Check for GNU $ac_path_GREP
3622
3524
case `"$ac_path_GREP" --version 2>&1` in
3665
3567
 
3666
3568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3667
3569
$as_echo_n "checking for egrep... " >&6; }
3668
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
3570
if ${ac_cv_path_EGREP+:} false; then :
3669
3571
  $as_echo_n "(cached) " >&6
3670
3572
else
3671
3573
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3682
3584
    for ac_prog in egrep; do
3683
3585
    for ac_exec_ext in '' $ac_executable_extensions; do
3684
3586
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3685
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3587
      as_fn_executable_p "$ac_path_EGREP" || continue
3686
3588
# Check for GNU ac_path_EGREP and select it if it is found.
3687
3589
  # Check for GNU $ac_path_EGREP
3688
3590
case `"$ac_path_EGREP" --version 2>&1` in
3732
3634
 
3733
3635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3734
3636
$as_echo_n "checking for ANSI C header files... " >&6; }
3735
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
3637
if ${ac_cv_header_stdc+:} false; then :
3736
3638
  $as_echo_n "(cached) " >&6
3737
3639
else
3738
3640
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3861
3763
 
3862
3764
 
3863
3765
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3864
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
 
3766
if test "x$ac_cv_header_minix_config_h" = xyes; then :
3865
3767
  MINIX=yes
3866
3768
else
3867
3769
  MINIX=
3883
3785
 
3884
3786
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3885
3787
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3886
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
 
3788
if ${ac_cv_safe_to_define___extensions__+:} false; then :
3887
3789
  $as_echo_n "(cached) " >&6
3888
3790
else
3889
3791
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3890
3792
/* end confdefs.h.  */
3891
3793
 
3892
 
#         define __EXTENSIONS__ 1
3893
 
          $ac_includes_default
 
3794
#         define __EXTENSIONS__ 1
 
3795
          $ac_includes_default
3894
3796
int
3895
3797
main ()
3896
3798
{
3922
3824
 
3923
3825
 
3924
3826
 
3925
 
am__api_version='1.11'
 
3827
am__api_version='1.13'
3926
3828
 
3927
3829
ac_aux_dir=
3928
3830
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3970
3872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3971
3873
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3972
3874
if test -z "$INSTALL"; then
3973
 
if test "${ac_cv_path_install+set}" = set; then :
 
3875
if ${ac_cv_path_install+:} false; then :
3974
3876
  $as_echo_n "(cached) " >&6
3975
3877
else
3976
3878
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3990
3892
    # by default.
3991
3893
    for ac_prog in ginstall scoinst install; do
3992
3894
      for ac_exec_ext in '' $ac_executable_extensions; do
3993
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
3895
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3994
3896
          if test $ac_prog = install &&
3995
3897
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3996
3898
            # AIX install.  It has an incompatible calling convention.
4048
3950
 
4049
3951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4050
3952
$as_echo_n "checking whether build environment is sane... " >&6; }
4051
 
# Just in case
4052
 
sleep 1
4053
 
echo timestamp > conftest.file
4054
3953
# Reject unsafe characters in $srcdir or the absolute working directory
4055
3954
# name.  Accept space and tab only in the latter.
4056
3955
am_lf='
4057
3956
'
4058
3957
case `pwd` in
4059
3958
  *[\\\"\#\$\&\'\`$am_lf]*)
4060
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
3959
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4061
3960
esac
4062
3961
case $srcdir in
4063
3962
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
4064
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
3963
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4065
3964
esac
4066
3965
 
4067
 
# Do `set' in a subshell so we don't clobber the current shell's
 
3966
# Do 'set' in a subshell so we don't clobber the current shell's
4068
3967
# arguments.  Must try -L first in case configure is actually a
4069
3968
# symlink; some systems play weird games with the mod time of symlinks
4070
3969
# (eg FreeBSD returns the mod time of the symlink's containing
4071
3970
# directory).
4072
3971
if (
4073
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4074
 
   if test "$*" = "X"; then
4075
 
      # -L didn't work.
4076
 
      set X `ls -t "$srcdir/configure" conftest.file`
4077
 
   fi
4078
 
   rm -f conftest.file
4079
 
   if test "$*" != "X $srcdir/configure conftest.file" \
4080
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
4081
 
 
4082
 
      # If neither matched, then we have a broken ls.  This can happen
4083
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
4084
 
      # broken ls alias from the environment.  This has actually
4085
 
      # happened.  Such a system could not be considered "sane".
4086
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
4087
 
alias in your environment" "$LINENO" 5
4088
 
   fi
4089
 
 
 
3972
   am_has_slept=no
 
3973
   for am_try in 1 2; do
 
3974
     echo "timestamp, slept: $am_has_slept" > conftest.file
 
3975
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
3976
     if test "$*" = "X"; then
 
3977
        # -L didn't work.
 
3978
        set X `ls -t "$srcdir/configure" conftest.file`
 
3979
     fi
 
3980
     if test "$*" != "X $srcdir/configure conftest.file" \
 
3981
        && test "$*" != "X conftest.file $srcdir/configure"; then
 
3982
 
 
3983
        # If neither matched, then we have a broken ls.  This can happen
 
3984
        # if, for instance, CONFIG_SHELL is bash and it inherits a
 
3985
        # broken ls alias from the environment.  This has actually
 
3986
        # happened.  Such a system could not be considered "sane".
 
3987
        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
3988
  alias in your environment" "$LINENO" 5
 
3989
     fi
 
3990
     if test "$2" = conftest.file || test $am_try -eq 2; then
 
3991
       break
 
3992
     fi
 
3993
     # Just in case.
 
3994
     sleep 1
 
3995
     am_has_slept=yes
 
3996
   done
4090
3997
   test "$2" = conftest.file
4091
3998
   )
4092
3999
then
4098
4005
fi
4099
4006
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4100
4007
$as_echo "yes" >&6; }
 
4008
# If we didn't sleep, we still need to ensure time stamps of config.status and
 
4009
# generated files are strictly newer.
 
4010
am_sleep_pid=
 
4011
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 
4012
  ( sleep 1 ) &
 
4013
  am_sleep_pid=$!
 
4014
fi
 
4015
 
 
4016
rm -f conftest.file
 
4017
 
4101
4018
test "$program_prefix" != NONE &&
4102
4019
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
4103
4020
# Use a double $ so make ignores it.
4120
4037
  esac
4121
4038
fi
4122
4039
# Use eval to expand $SHELL
4123
 
if eval "$MISSING --run true"; then
4124
 
  am_missing_run="$MISSING --run "
 
4040
if eval "$MISSING --is-lightweight"; then
 
4041
  am_missing_run="$MISSING "
4125
4042
else
4126
4043
  am_missing_run=
4127
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4128
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
4044
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 
4045
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4129
4046
fi
4130
4047
 
4131
4048
if test x"${install_sh}" != xset; then
4137
4054
  esac
4138
4055
fi
4139
4056
 
4140
 
# Installed binaries are usually stripped using `strip' when the user
4141
 
# run `make install-strip'.  However `strip' might not be the right
 
4057
# Installed binaries are usually stripped using 'strip' when the user
 
4058
# run "make install-strip".  However 'strip' might not be the right
4142
4059
# tool to use in cross-compilation environments, therefore Automake
4143
 
# will honor the `STRIP' environment variable to overrule this program.
 
4060
# will honor the 'STRIP' environment variable to overrule this program.
4144
4061
if test "$cross_compiling" != no; then
4145
4062
  if test -n "$ac_tool_prefix"; then
4146
4063
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4147
4064
set dummy ${ac_tool_prefix}strip; ac_word=$2
4148
4065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4149
4066
$as_echo_n "checking for $ac_word... " >&6; }
4150
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
4067
if ${ac_cv_prog_STRIP+:} false; then :
4151
4068
  $as_echo_n "(cached) " >&6
4152
4069
else
4153
4070
  if test -n "$STRIP"; then
4159
4076
  IFS=$as_save_IFS
4160
4077
  test -z "$as_dir" && as_dir=.
4161
4078
    for ac_exec_ext in '' $ac_executable_extensions; do
4162
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4079
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4163
4080
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4164
4081
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4165
4082
    break 2
4187
4104
set dummy strip; ac_word=$2
4188
4105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4189
4106
$as_echo_n "checking for $ac_word... " >&6; }
4190
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
4107
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4191
4108
  $as_echo_n "(cached) " >&6
4192
4109
else
4193
4110
  if test -n "$ac_ct_STRIP"; then
4199
4116
  IFS=$as_save_IFS
4200
4117
  test -z "$as_dir" && as_dir=.
4201
4118
    for ac_exec_ext in '' $ac_executable_extensions; do
4202
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4119
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4203
4120
    ac_cv_prog_ac_ct_STRIP="strip"
4204
4121
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4205
4122
    break 2
4240
4157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4241
4158
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4242
4159
if test -z "$MKDIR_P"; then
4243
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
4160
  if ${ac_cv_path_mkdir+:} false; then :
4244
4161
  $as_echo_n "(cached) " >&6
4245
4162
else
4246
4163
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4250
4167
  test -z "$as_dir" && as_dir=.
4251
4168
    for ac_prog in mkdir gmkdir; do
4252
4169
         for ac_exec_ext in '' $ac_executable_extensions; do
4253
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
4170
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4254
4171
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4255
4172
             'mkdir (GNU coreutils) '* | \
4256
4173
             'mkdir (coreutils) '* | \
4279
4196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4280
4197
$as_echo "$MKDIR_P" >&6; }
4281
4198
 
4282
 
mkdir_p="$MKDIR_P"
4283
 
case $mkdir_p in
4284
 
  [\\/$]* | ?:[\\/]*) ;;
4285
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4286
 
esac
4287
 
 
4288
4199
for ac_prog in gawk mawk nawk awk
4289
4200
do
4290
4201
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4291
4202
set dummy $ac_prog; ac_word=$2
4292
4203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4293
4204
$as_echo_n "checking for $ac_word... " >&6; }
4294
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
4205
if ${ac_cv_prog_AWK+:} false; then :
4295
4206
  $as_echo_n "(cached) " >&6
4296
4207
else
4297
4208
  if test -n "$AWK"; then
4303
4214
  IFS=$as_save_IFS
4304
4215
  test -z "$as_dir" && as_dir=.
4305
4216
    for ac_exec_ext in '' $ac_executable_extensions; do
4306
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4217
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4307
4218
    ac_cv_prog_AWK="$ac_prog"
4308
4219
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4309
4220
    break 2
4331
4242
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4332
4243
set x ${MAKE-make}
4333
4244
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4334
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
4245
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4335
4246
  $as_echo_n "(cached) " >&6
4336
4247
else
4337
4248
  cat >conftest.make <<\_ACEOF
4386
4297
_am_result=none
4387
4298
# First try GNU make style include.
4388
4299
echo "include confinc" > confmf
4389
 
# Ignore all kinds of additional output from `make'.
 
4300
# Ignore all kinds of additional output from 'make'.
4390
4301
case `$am_make -s -f confmf 2> /dev/null` in #(
4391
4302
*the\ am__doit\ target*)
4392
4303
  am__include=include
4419
4330
if test "x$enable_dependency_tracking" != xno; then
4420
4331
  am_depcomp="$ac_aux_dir/depcomp"
4421
4332
  AMDEPBACKSLASH='\'
 
4333
  am__nodep='_no'
4422
4334
fi
4423
4335
 if test "x$enable_dependency_tracking" != xno; then
4424
4336
  AMDEP_TRUE=
4434
4346
  enableval=$enable_silent_rules;
4435
4347
fi
4436
4348
 
4437
 
case $enable_silent_rules in
4438
 
yes) AM_DEFAULT_VERBOSITY=0;;
4439
 
no)  AM_DEFAULT_VERBOSITY=1;;
4440
 
*)   AM_DEFAULT_VERBOSITY=1;;
 
4349
case $enable_silent_rules in # (((
 
4350
  yes) AM_DEFAULT_VERBOSITY=0;;
 
4351
   no) AM_DEFAULT_VERBOSITY=1;;
 
4352
    *) AM_DEFAULT_VERBOSITY=1;;
4441
4353
esac
 
4354
am_make=${MAKE-make}
 
4355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
4356
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
4357
if ${am_cv_make_support_nested_variables+:} false; then :
 
4358
  $as_echo_n "(cached) " >&6
 
4359
else
 
4360
  if $as_echo 'TRUE=$(BAR$(V))
 
4361
BAR0=false
 
4362
BAR1=true
 
4363
V=1
 
4364
am__doit:
 
4365
        @$(TRUE)
 
4366
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
4367
  am_cv_make_support_nested_variables=yes
 
4368
else
 
4369
  am_cv_make_support_nested_variables=no
 
4370
fi
 
4371
fi
 
4372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
4373
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
4374
if test $am_cv_make_support_nested_variables = yes; then
 
4375
    AM_V='$(V)'
 
4376
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
4377
else
 
4378
  AM_V=$AM_DEFAULT_VERBOSITY
 
4379
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
4380
fi
4442
4381
AM_BACKSLASH='\'
4443
4382
 
4444
4383
if test "`cd $srcdir && pwd`" != "`pwd`"; then
4491
4430
 
4492
4431
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4493
4432
 
 
4433
# For better backward compatibility.  To be removed once Automake 1.9.x
 
4434
# dies out for good.  For more background, see:
 
4435
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 
4436
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 
4437
mkdir_p='$(MKDIR_P)'
 
4438
 
4494
4439
# We need awk for the "check" target.  The system "awk" is bad on
4495
4440
# some platforms.
4496
 
# Always define AMTAR for backward compatibility.
4497
 
 
4498
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
4499
 
 
4500
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
4441
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
4442
# in the wild :-(  We should find a proper way to deprecate it ...
 
4443
AMTAR='$${TAR-tar}'
 
4444
 
 
4445
 
 
4446
# We'll loop over all known methods to create a tar archive until one works.
 
4447
_am_tools='gnutar  pax cpio none'
 
4448
 
 
4449
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 
4450
 
4501
4451
 
4502
4452
 
4503
4453
 
4506
4456
 
4507
4457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4508
4458
$as_echo_n "checking dependency style of $depcc... " >&6; }
4509
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4459
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4510
4460
  $as_echo_n "(cached) " >&6
4511
4461
else
4512
4462
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4513
4463
  # We make a subdir and do the tests there.  Otherwise we can end up
4514
4464
  # making bogus files that we don't know about and never remove.  For
4515
4465
  # instance it was reported that on HP-UX the gcc test will end up
4516
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4517
 
  # in D'.
 
4466
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
4467
  # in D".
 
4468
  rm -rf conftest.dir
4518
4469
  mkdir conftest.dir
4519
4470
  # Copy depcomp to subdir because otherwise we won't find it if we're
4520
4471
  # using a relative directory.
4548
4499
    : > sub/conftest.c
4549
4500
    for i in 1 2 3 4 5 6; do
4550
4501
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4551
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4552
 
      # Solaris 8's {/usr,}/bin/sh.
4553
 
      touch sub/conftst$i.h
 
4502
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
4503
      # Solaris 10 /bin/sh.
 
4504
      echo '/* dummy */' > sub/conftst$i.h
4554
4505
    done
4555
4506
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4556
4507
 
4557
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4508
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4558
4509
    # mode.  It turns out that the SunPro C++ compiler does not properly
4559
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4560
 
    # versions had trouble with output in subdirs
 
4510
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
4511
    # versions had trouble with output in subdirs.
4561
4512
    am__obj=sub/conftest.${OBJEXT-o}
4562
4513
    am__minus_obj="-o $am__obj"
4563
4514
    case $depmode in
4566
4517
      test "$am__universal" = false || continue
4567
4518
      ;;
4568
4519
    nosideeffect)
4569
 
      # after this tag, mechanisms are not by side-effect, so they'll
4570
 
      # only be used when explicitly requested
 
4520
      # After this tag, mechanisms are not by side-effect, so they'll
 
4521
      # only be used when explicitly requested.
4571
4522
      if test "x$enable_dependency_tracking" = xyes; then
4572
4523
        continue
4573
4524
      else
4574
4525
        break
4575
4526
      fi
4576
4527
      ;;
4577
 
    msvisualcpp | msvcmsys)
4578
 
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4528
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
4529
      # This compiler won't grok '-c -o', but also, the minuso test has
4579
4530
      # not run yet.  These depmodes are late enough in the game, and
4580
4531
      # so weak that their functioning should not be impacted.
4581
4532
      am__obj=conftest.${OBJEXT-o}
4630
4581
 
4631
4582
 
4632
4583
 
 
4584
 
 
4585
for ac_prog in gawk mawk nawk awk
 
4586
do
 
4587
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4588
set dummy $ac_prog; ac_word=$2
 
4589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4590
$as_echo_n "checking for $ac_word... " >&6; }
 
4591
if ${ac_cv_prog_AWK+:} false; then :
 
4592
  $as_echo_n "(cached) " >&6
 
4593
else
 
4594
  if test -n "$AWK"; then
 
4595
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
4596
else
 
4597
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4598
for as_dir in $PATH
 
4599
do
 
4600
  IFS=$as_save_IFS
 
4601
  test -z "$as_dir" && as_dir=.
 
4602
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4603
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4604
    ac_cv_prog_AWK="$ac_prog"
 
4605
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4606
    break 2
 
4607
  fi
 
4608
done
 
4609
  done
 
4610
IFS=$as_save_IFS
 
4611
 
 
4612
fi
 
4613
fi
 
4614
AWK=$ac_cv_prog_AWK
 
4615
if test -n "$AWK"; then
 
4616
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
4617
$as_echo "$AWK" >&6; }
 
4618
else
 
4619
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4620
$as_echo "no" >&6; }
 
4621
fi
 
4622
 
 
4623
 
 
4624
  test -n "$AWK" && break
 
4625
done
 
4626
 
 
4627
 
 
4628
$as_echo "#define NIH_TAP_OUTPUT 1" >>confdefs.h
 
4629
 
4633
4630
# Check whether --enable-silent-rules was given.
4634
4631
if test "${enable_silent_rules+set}" = set; then :
4635
4632
  enableval=$enable_silent_rules;
4636
4633
fi
4637
4634
 
4638
 
case $enable_silent_rules in
4639
 
yes) AM_DEFAULT_VERBOSITY=0;;
4640
 
no)  AM_DEFAULT_VERBOSITY=1;;
4641
 
*)   AM_DEFAULT_VERBOSITY=0;;
 
4635
case $enable_silent_rules in # (((
 
4636
  yes) AM_DEFAULT_VERBOSITY=0;;
 
4637
   no) AM_DEFAULT_VERBOSITY=1;;
 
4638
    *) AM_DEFAULT_VERBOSITY=0;;
4642
4639
esac
 
4640
am_make=${MAKE-make}
 
4641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
4642
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
4643
if ${am_cv_make_support_nested_variables+:} false; then :
 
4644
  $as_echo_n "(cached) " >&6
 
4645
else
 
4646
  if $as_echo 'TRUE=$(BAR$(V))
 
4647
BAR0=false
 
4648
BAR1=true
 
4649
V=1
 
4650
am__doit:
 
4651
        @$(TRUE)
 
4652
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
4653
  am_cv_make_support_nested_variables=yes
 
4654
else
 
4655
  am_cv_make_support_nested_variables=no
 
4656
fi
 
4657
fi
 
4658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
4659
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
4660
if test $am_cv_make_support_nested_variables = yes; then
 
4661
    AM_V='$(V)'
 
4662
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
4663
else
 
4664
  AM_V=$AM_DEFAULT_VERBOSITY
 
4665
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
4666
fi
4643
4667
AM_BACKSLASH='\'
4644
4668
 
4645
4669
 
4646
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
4647
 
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
 
4670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
4671
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4648
4672
    # Check whether --enable-maintainer-mode was given.
4649
4673
if test "${enable_maintainer_mode+set}" = set; then :
4650
4674
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4675
4699
 
4676
4700
 
4677
4701
 
4678
 
macro_version='2.2.6b'
4679
 
macro_revision='1.3017'
 
4702
macro_version='2.4.2'
 
4703
macro_revision='1.3337'
4680
4704
 
4681
4705
 
4682
4706
 
4698
4722
 
4699
4723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4700
4724
$as_echo_n "checking build system type... " >&6; }
4701
 
if test "${ac_cv_build+set}" = set; then :
 
4725
if ${ac_cv_build+:} false; then :
4702
4726
  $as_echo_n "(cached) " >&6
4703
4727
else
4704
4728
  ac_build_alias=$build_alias
4714
4738
$as_echo "$ac_cv_build" >&6; }
4715
4739
case $ac_cv_build in
4716
4740
*-*-*) ;;
4717
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
4741
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4718
4742
esac
4719
4743
build=$ac_cv_build
4720
4744
ac_save_IFS=$IFS; IFS='-'
4732
4756
 
4733
4757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4734
4758
$as_echo_n "checking host system type... " >&6; }
4735
 
if test "${ac_cv_host+set}" = set; then :
 
4759
if ${ac_cv_host+:} false; then :
4736
4760
  $as_echo_n "(cached) " >&6
4737
4761
else
4738
4762
  if test "x$host_alias" = x; then
4747
4771
$as_echo "$ac_cv_host" >&6; }
4748
4772
case $ac_cv_host in
4749
4773
*-*-*) ;;
4750
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
4774
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4751
4775
esac
4752
4776
host=$ac_cv_host
4753
4777
ac_save_IFS=$IFS; IFS='-'
4763
4787
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4764
4788
 
4765
4789
 
 
4790
# Backslashify metacharacters that are still active within
 
4791
# double-quoted strings.
 
4792
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
4793
 
 
4794
# Same as above, but do not quote variable references.
 
4795
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
4796
 
 
4797
# Sed substitution to delay expansion of an escaped shell variable in a
 
4798
# double_quote_subst'ed string.
 
4799
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
4800
 
 
4801
# Sed substitution to delay expansion of an escaped single quote.
 
4802
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
4803
 
 
4804
# Sed substitution to avoid accidental globbing in evaled expressions
 
4805
no_glob_subst='s/\*/\\\*/g'
 
4806
 
 
4807
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4808
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
4809
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
4810
 
 
4811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
4812
$as_echo_n "checking how to print strings... " >&6; }
 
4813
# Test print first, because it will be a builtin if present.
 
4814
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
4815
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4816
  ECHO='print -r --'
 
4817
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4818
  ECHO='printf %s\n'
 
4819
else
 
4820
  # Use this function as a fallback that always works.
 
4821
  func_fallback_echo ()
 
4822
  {
 
4823
    eval 'cat <<_LTECHO_EOF
 
4824
$1
 
4825
_LTECHO_EOF'
 
4826
  }
 
4827
  ECHO='func_fallback_echo'
 
4828
fi
 
4829
 
 
4830
# func_echo_all arg...
 
4831
# Invoke $ECHO with all args, space-separated.
 
4832
func_echo_all ()
 
4833
{
 
4834
    $ECHO ""
 
4835
}
 
4836
 
 
4837
case "$ECHO" in
 
4838
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
4839
$as_echo "printf" >&6; } ;;
 
4840
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
4841
$as_echo "print -r" >&6; } ;;
 
4842
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
4843
$as_echo "cat" >&6; } ;;
 
4844
esac
 
4845
 
 
4846
 
 
4847
 
 
4848
 
 
4849
 
 
4850
 
 
4851
 
 
4852
 
 
4853
 
 
4854
 
 
4855
 
 
4856
 
 
4857
 
 
4858
 
4766
4859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4767
4860
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4768
 
if test "${ac_cv_path_SED+set}" = set; then :
 
4861
if ${ac_cv_path_SED+:} false; then :
4769
4862
  $as_echo_n "(cached) " >&6
4770
4863
else
4771
4864
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4785
4878
    for ac_prog in sed gsed; do
4786
4879
    for ac_exec_ext in '' $ac_executable_extensions; do
4787
4880
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4788
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4881
      as_fn_executable_p "$ac_path_SED" || continue
4789
4882
# Check for GNU ac_path_SED and select it if it is found.
4790
4883
  # Check for GNU $ac_path_SED
4791
4884
case `"$ac_path_SED" --version 2>&1` in
4847
4940
 
4848
4941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4849
4942
$as_echo_n "checking for fgrep... " >&6; }
4850
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4943
if ${ac_cv_path_FGREP+:} false; then :
4851
4944
  $as_echo_n "(cached) " >&6
4852
4945
else
4853
4946
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4864
4957
    for ac_prog in fgrep; do
4865
4958
    for ac_exec_ext in '' $ac_executable_extensions; do
4866
4959
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4867
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4960
      as_fn_executable_p "$ac_path_FGREP" || continue
4868
4961
# Check for GNU ac_path_FGREP and select it if it is found.
4869
4962
  # Check for GNU $ac_path_FGREP
4870
4963
case `"$ac_path_FGREP" --version 2>&1` in
4978
5071
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4979
5072
$as_echo_n "checking for non-GNU ld... " >&6; }
4980
5073
fi
4981
 
if test "${lt_cv_path_LD+set}" = set; then :
 
5074
if ${lt_cv_path_LD+:} false; then :
4982
5075
  $as_echo_n "(cached) " >&6
4983
5076
else
4984
5077
  if test -z "$LD"; then
5018
5111
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5019
5112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5020
5113
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5021
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
5114
if ${lt_cv_prog_gnu_ld+:} false; then :
5022
5115
  $as_echo_n "(cached) " >&6
5023
5116
else
5024
5117
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5045
5138
 
5046
5139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5047
5140
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5048
 
if test "${lt_cv_path_NM+set}" = set; then :
 
5141
if ${lt_cv_path_NM+:} false; then :
5049
5142
  $as_echo_n "(cached) " >&6
5050
5143
else
5051
5144
  if test -n "$NM"; then
5098
5191
  NM="$lt_cv_path_NM"
5099
5192
else
5100
5193
  # Didn't find any BSD compatible name lister, look for dumpbin.
5101
 
  if test -n "$ac_tool_prefix"; then
5102
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5194
  if test -n "$DUMPBIN"; then :
 
5195
    # Let the user override the test.
 
5196
  else
 
5197
    if test -n "$ac_tool_prefix"; then
 
5198
  for ac_prog in dumpbin "link -dump"
5103
5199
  do
5104
5200
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5105
5201
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5106
5202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107
5203
$as_echo_n "checking for $ac_word... " >&6; }
5108
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
5204
if ${ac_cv_prog_DUMPBIN+:} false; then :
5109
5205
  $as_echo_n "(cached) " >&6
5110
5206
else
5111
5207
  if test -n "$DUMPBIN"; then
5117
5213
  IFS=$as_save_IFS
5118
5214
  test -z "$as_dir" && as_dir=.
5119
5215
    for ac_exec_ext in '' $ac_executable_extensions; do
5120
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5216
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5121
5217
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5122
5218
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123
5219
    break 2
5143
5239
fi
5144
5240
if test -z "$DUMPBIN"; then
5145
5241
  ac_ct_DUMPBIN=$DUMPBIN
5146
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5242
  for ac_prog in dumpbin "link -dump"
5147
5243
do
5148
5244
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5149
5245
set dummy $ac_prog; ac_word=$2
5150
5246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151
5247
$as_echo_n "checking for $ac_word... " >&6; }
5152
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
5248
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5153
5249
  $as_echo_n "(cached) " >&6
5154
5250
else
5155
5251
  if test -n "$ac_ct_DUMPBIN"; then
5161
5257
  IFS=$as_save_IFS
5162
5258
  test -z "$as_dir" && as_dir=.
5163
5259
    for ac_exec_ext in '' $ac_executable_extensions; do
5164
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5260
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165
5261
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5166
5262
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167
5263
    break 2
5198
5294
  fi
5199
5295
fi
5200
5296
 
 
5297
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5298
    *COFF*)
 
5299
      DUMPBIN="$DUMPBIN -symbols"
 
5300
      ;;
 
5301
    *)
 
5302
      DUMPBIN=:
 
5303
      ;;
 
5304
    esac
 
5305
  fi
5201
5306
 
5202
5307
  if test "$DUMPBIN" != ":"; then
5203
5308
    NM="$DUMPBIN"
5212
5317
 
5213
5318
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5214
5319
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5215
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
5320
if ${lt_cv_nm_interface+:} false; then :
5216
5321
  $as_echo_n "(cached) " >&6
5217
5322
else
5218
5323
  lt_cv_nm_interface="BSD nm"
5219
5324
  echo "int some_variable = 0;" > conftest.$ac_ext
5220
 
  (eval echo "\"\$as_me:5220: $ac_compile\"" >&5)
 
5325
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5221
5326
  (eval "$ac_compile" 2>conftest.err)
5222
5327
  cat conftest.err >&5
5223
 
  (eval echo "\"\$as_me:5223: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5328
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5224
5329
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5225
5330
  cat conftest.err >&5
5226
 
  (eval echo "\"\$as_me:5226: output\"" >&5)
 
5331
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5227
5332
  cat conftest.out >&5
5228
5333
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5229
5334
    lt_cv_nm_interface="MS dumpbin"
5247
5352
# find the maximum length of command line arguments
5248
5353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5249
5354
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5250
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
5355
if ${lt_cv_sys_max_cmd_len+:} false; then :
5251
5356
  $as_echo_n "(cached) " >&6
5252
5357
else
5253
5358
    i=0
5280
5385
    lt_cv_sys_max_cmd_len=8192;
5281
5386
    ;;
5282
5387
 
 
5388
  mint*)
 
5389
    # On MiNT this can take a long time and run out of memory.
 
5390
    lt_cv_sys_max_cmd_len=8192;
 
5391
    ;;
 
5392
 
5283
5393
  amigaos*)
5284
5394
    # On AmigaOS with pdksh, this test takes hours, literally.
5285
5395
    # So we just punt and use a minimum line length of 8192.
5305
5415
    lt_cv_sys_max_cmd_len=196608
5306
5416
    ;;
5307
5417
 
 
5418
  os2*)
 
5419
    # The test takes a long time on OS/2.
 
5420
    lt_cv_sys_max_cmd_len=8192
 
5421
    ;;
 
5422
 
5308
5423
  osf*)
5309
5424
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5310
5425
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5331
5446
    ;;
5332
5447
  *)
5333
5448
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5334
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5449
    if test -n "$lt_cv_sys_max_cmd_len" && \
 
5450
        test undefined != "$lt_cv_sys_max_cmd_len"; then
5335
5451
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5336
5452
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5337
5453
    else
5344
5460
      # If test is not a shell built-in, we'll probably end up computing a
5345
5461
      # maximum length that is only half of the actual maximum length, but
5346
5462
      # we can't tell.
5347
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5348
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5463
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
5464
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5349
5465
              test $i != 17 # 1/2 MB should be enough
5350
5466
      do
5351
5467
        i=`expr $i + 1`
5387
5503
# Try some XSI features
5388
5504
xsi_shell=no
5389
5505
( _lt_dummy="a/b/c"
5390
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5391
 
      = c,a/b,, \
 
5506
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
5507
      = c,a/b,b/c, \
5392
5508
    && eval 'test $(( 1 + 1 )) -eq 2 \
5393
5509
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5394
5510
  && xsi_shell=yes
5437
5553
 
5438
5554
 
5439
5555
 
 
5556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5557
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5558
if ${lt_cv_to_host_file_cmd+:} false; then :
 
5559
  $as_echo_n "(cached) " >&6
 
5560
else
 
5561
  case $host in
 
5562
  *-*-mingw* )
 
5563
    case $build in
 
5564
      *-*-mingw* ) # actually msys
 
5565
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5566
        ;;
 
5567
      *-*-cygwin* )
 
5568
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5569
        ;;
 
5570
      * ) # otherwise, assume *nix
 
5571
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5572
        ;;
 
5573
    esac
 
5574
    ;;
 
5575
  *-*-cygwin* )
 
5576
    case $build in
 
5577
      *-*-mingw* ) # actually msys
 
5578
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5579
        ;;
 
5580
      *-*-cygwin* )
 
5581
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5582
        ;;
 
5583
      * ) # otherwise, assume *nix
 
5584
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5585
        ;;
 
5586
    esac
 
5587
    ;;
 
5588
  * ) # unhandled hosts (and "normal" native builds)
 
5589
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5590
    ;;
 
5591
esac
 
5592
 
 
5593
fi
 
5594
 
 
5595
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5597
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5598
 
 
5599
 
 
5600
 
 
5601
 
 
5602
 
 
5603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5604
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5605
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5606
  $as_echo_n "(cached) " >&6
 
5607
else
 
5608
  #assume ordinary cross tools, or native build.
 
5609
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5610
case $host in
 
5611
  *-*-mingw* )
 
5612
    case $build in
 
5613
      *-*-mingw* ) # actually msys
 
5614
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5615
        ;;
 
5616
    esac
 
5617
    ;;
 
5618
esac
 
5619
 
 
5620
fi
 
5621
 
 
5622
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5624
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5625
 
 
5626
 
 
5627
 
 
5628
 
 
5629
 
5440
5630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5441
5631
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5442
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5632
if ${lt_cv_ld_reload_flag+:} false; then :
5443
5633
  $as_echo_n "(cached) " >&6
5444
5634
else
5445
5635
  lt_cv_ld_reload_flag='-r'
5453
5643
esac
5454
5644
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5455
5645
case $host_os in
 
5646
  cygwin* | mingw* | pw32* | cegcc*)
 
5647
    if test "$GCC" != yes; then
 
5648
      reload_cmds=false
 
5649
    fi
 
5650
    ;;
5456
5651
  darwin*)
5457
5652
    if test "$GCC" = yes; then
5458
5653
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5475
5670
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5476
5671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477
5672
$as_echo_n "checking for $ac_word... " >&6; }
5478
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5673
if ${ac_cv_prog_OBJDUMP+:} false; then :
5479
5674
  $as_echo_n "(cached) " >&6
5480
5675
else
5481
5676
  if test -n "$OBJDUMP"; then
5487
5682
  IFS=$as_save_IFS
5488
5683
  test -z "$as_dir" && as_dir=.
5489
5684
    for ac_exec_ext in '' $ac_executable_extensions; do
5490
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5685
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5491
5686
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5492
5687
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493
5688
    break 2
5515
5710
set dummy objdump; ac_word=$2
5516
5711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517
5712
$as_echo_n "checking for $ac_word... " >&6; }
5518
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5713
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5519
5714
  $as_echo_n "(cached) " >&6
5520
5715
else
5521
5716
  if test -n "$ac_ct_OBJDUMP"; then
5527
5722
  IFS=$as_save_IFS
5528
5723
  test -z "$as_dir" && as_dir=.
5529
5724
    for ac_exec_ext in '' $ac_executable_extensions; do
5530
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5725
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5531
5726
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5532
5727
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533
5728
    break 2
5574
5769
 
5575
5770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5576
5771
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5577
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5772
if ${lt_cv_deplibs_check_method+:} false; then :
5578
5773
  $as_echo_n "(cached) " >&6
5579
5774
else
5580
5775
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5616
5811
  # Base MSYS/MinGW do not provide the 'file' command needed by
5617
5812
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5618
5813
  # unless we find 'file', for example because we are cross-compiling.
5619
 
  if ( file / ) >/dev/null 2>&1; then
 
5814
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5815
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5620
5816
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5621
5817
    lt_cv_file_magic_cmd='func_win32_libid'
5622
5818
  else
5623
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5819
    # Keep this pattern in sync with the one in func_win32_libid.
 
5820
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5624
5821
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5625
5822
  fi
5626
5823
  ;;
5627
5824
 
5628
 
cegcc)
 
5825
cegcc*)
5629
5826
  # use the weaker test based on 'objdump'. See mingw*.
5630
5827
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5631
5828
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5651
5848
  fi
5652
5849
  ;;
5653
5850
 
5654
 
gnu*)
 
5851
haiku*)
5655
5852
  lt_cv_deplibs_check_method=pass_all
5656
5853
  ;;
5657
5854
 
5663
5860
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5664
5861
    ;;
5665
5862
  hppa*64*)
5666
 
    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]'
 
5863
    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]'
5667
5864
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5668
5865
    ;;
5669
5866
  *)
5670
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5867
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5671
5868
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5672
5869
    ;;
5673
5870
  esac
5688
5885
  lt_cv_deplibs_check_method=pass_all
5689
5886
  ;;
5690
5887
 
5691
 
# This must be Linux ELF.
5692
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
5888
# This must be glibc/ELF.
 
5889
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5693
5890
  lt_cv_deplibs_check_method=pass_all
5694
5891
  ;;
5695
5892
 
5770
5967
fi
5771
5968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5772
5969
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5970
 
 
5971
file_magic_glob=
 
5972
want_nocaseglob=no
 
5973
if test "$build" = "$host"; then
 
5974
  case $host_os in
 
5975
  mingw* | pw32*)
 
5976
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5977
      want_nocaseglob=yes
 
5978
    else
 
5979
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5980
    fi
 
5981
    ;;
 
5982
  esac
 
5983
fi
 
5984
 
5773
5985
file_magic_cmd=$lt_cv_file_magic_cmd
5774
5986
deplibs_check_method=$lt_cv_deplibs_check_method
5775
5987
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5785
5997
 
5786
5998
 
5787
5999
 
5788
 
if test -n "$ac_tool_prefix"; then
5789
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5790
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5791
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792
 
$as_echo_n "checking for $ac_word... " >&6; }
5793
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
6000
 
 
6001
 
 
6002
 
 
6003
 
 
6004
 
 
6005
 
 
6006
 
 
6007
 
 
6008
 
 
6009
 
 
6010
if test -n "$ac_tool_prefix"; then
 
6011
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
6012
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
6013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6014
$as_echo_n "checking for $ac_word... " >&6; }
 
6015
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
6016
  $as_echo_n "(cached) " >&6
 
6017
else
 
6018
  if test -n "$DLLTOOL"; then
 
6019
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
6020
else
 
6021
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6022
for as_dir in $PATH
 
6023
do
 
6024
  IFS=$as_save_IFS
 
6025
  test -z "$as_dir" && as_dir=.
 
6026
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6027
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6028
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
6029
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6030
    break 2
 
6031
  fi
 
6032
done
 
6033
  done
 
6034
IFS=$as_save_IFS
 
6035
 
 
6036
fi
 
6037
fi
 
6038
DLLTOOL=$ac_cv_prog_DLLTOOL
 
6039
if test -n "$DLLTOOL"; then
 
6040
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
6041
$as_echo "$DLLTOOL" >&6; }
 
6042
else
 
6043
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6044
$as_echo "no" >&6; }
 
6045
fi
 
6046
 
 
6047
 
 
6048
fi
 
6049
if test -z "$ac_cv_prog_DLLTOOL"; then
 
6050
  ac_ct_DLLTOOL=$DLLTOOL
 
6051
  # Extract the first word of "dlltool", so it can be a program name with args.
 
6052
set dummy dlltool; ac_word=$2
 
6053
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6054
$as_echo_n "checking for $ac_word... " >&6; }
 
6055
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
6056
  $as_echo_n "(cached) " >&6
 
6057
else
 
6058
  if test -n "$ac_ct_DLLTOOL"; then
 
6059
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
6060
else
 
6061
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6062
for as_dir in $PATH
 
6063
do
 
6064
  IFS=$as_save_IFS
 
6065
  test -z "$as_dir" && as_dir=.
 
6066
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6067
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6068
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
6069
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6070
    break 2
 
6071
  fi
 
6072
done
 
6073
  done
 
6074
IFS=$as_save_IFS
 
6075
 
 
6076
fi
 
6077
fi
 
6078
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
6079
if test -n "$ac_ct_DLLTOOL"; then
 
6080
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
6081
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
6082
else
 
6083
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6084
$as_echo "no" >&6; }
 
6085
fi
 
6086
 
 
6087
  if test "x$ac_ct_DLLTOOL" = x; then
 
6088
    DLLTOOL="false"
 
6089
  else
 
6090
    case $cross_compiling:$ac_tool_warned in
 
6091
yes:)
 
6092
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6093
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6094
ac_tool_warned=yes ;;
 
6095
esac
 
6096
    DLLTOOL=$ac_ct_DLLTOOL
 
6097
  fi
 
6098
else
 
6099
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
6100
fi
 
6101
 
 
6102
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
6103
 
 
6104
 
 
6105
 
 
6106
 
 
6107
 
 
6108
 
 
6109
 
 
6110
 
 
6111
 
 
6112
 
 
6113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
6114
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
6115
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
6116
  $as_echo_n "(cached) " >&6
 
6117
else
 
6118
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
6119
 
 
6120
case $host_os in
 
6121
cygwin* | mingw* | pw32* | cegcc*)
 
6122
  # two different shell functions defined in ltmain.sh
 
6123
  # decide which to use based on capabilities of $DLLTOOL
 
6124
  case `$DLLTOOL --help 2>&1` in
 
6125
  *--identify-strict*)
 
6126
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
6127
    ;;
 
6128
  *)
 
6129
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
6130
    ;;
 
6131
  esac
 
6132
  ;;
 
6133
*)
 
6134
  # fallback: assume linklib IS sharedlib
 
6135
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
6136
  ;;
 
6137
esac
 
6138
 
 
6139
fi
 
6140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
6141
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
6142
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
6143
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
6144
 
 
6145
 
 
6146
 
 
6147
 
 
6148
 
 
6149
 
 
6150
 
 
6151
if test -n "$ac_tool_prefix"; then
 
6152
  for ac_prog in ar
 
6153
  do
 
6154
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6155
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6157
$as_echo_n "checking for $ac_word... " >&6; }
 
6158
if ${ac_cv_prog_AR+:} false; then :
5794
6159
  $as_echo_n "(cached) " >&6
5795
6160
else
5796
6161
  if test -n "$AR"; then
5802
6167
  IFS=$as_save_IFS
5803
6168
  test -z "$as_dir" && as_dir=.
5804
6169
    for ac_exec_ext in '' $ac_executable_extensions; do
5805
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5806
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6170
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6171
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5807
6172
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808
6173
    break 2
5809
6174
  fi
5823
6188
fi
5824
6189
 
5825
6190
 
 
6191
    test -n "$AR" && break
 
6192
  done
5826
6193
fi
5827
 
if test -z "$ac_cv_prog_AR"; then
 
6194
if test -z "$AR"; then
5828
6195
  ac_ct_AR=$AR
5829
 
  # Extract the first word of "ar", so it can be a program name with args.
5830
 
set dummy ar; ac_word=$2
 
6196
  for ac_prog in ar
 
6197
do
 
6198
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6199
set dummy $ac_prog; ac_word=$2
5831
6200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5832
6201
$as_echo_n "checking for $ac_word... " >&6; }
5833
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
6202
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5834
6203
  $as_echo_n "(cached) " >&6
5835
6204
else
5836
6205
  if test -n "$ac_ct_AR"; then
5842
6211
  IFS=$as_save_IFS
5843
6212
  test -z "$as_dir" && as_dir=.
5844
6213
    for ac_exec_ext in '' $ac_executable_extensions; do
5845
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5846
 
    ac_cv_prog_ac_ct_AR="ar"
 
6214
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6215
    ac_cv_prog_ac_ct_AR="$ac_prog"
5847
6216
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5848
6217
    break 2
5849
6218
  fi
5862
6231
$as_echo "no" >&6; }
5863
6232
fi
5864
6233
 
 
6234
 
 
6235
  test -n "$ac_ct_AR" && break
 
6236
done
 
6237
 
5865
6238
  if test "x$ac_ct_AR" = x; then
5866
6239
    AR="false"
5867
6240
  else
5873
6246
esac
5874
6247
    AR=$ac_ct_AR
5875
6248
  fi
5876
 
else
5877
 
  AR="$ac_cv_prog_AR"
5878
 
fi
5879
 
 
5880
 
test -z "$AR" && AR=ar
5881
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5882
 
 
5883
 
 
5884
 
 
5885
 
 
 
6249
fi
 
6250
 
 
6251
: ${AR=ar}
 
6252
: ${AR_FLAGS=cru}
 
6253
 
 
6254
 
 
6255
 
 
6256
 
 
6257
 
 
6258
 
 
6259
 
 
6260
 
 
6261
 
 
6262
 
 
6263
 
 
6264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
6265
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
6266
if ${lt_cv_ar_at_file+:} false; then :
 
6267
  $as_echo_n "(cached) " >&6
 
6268
else
 
6269
  lt_cv_ar_at_file=no
 
6270
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6271
/* end confdefs.h.  */
 
6272
 
 
6273
int
 
6274
main ()
 
6275
{
 
6276
 
 
6277
  ;
 
6278
  return 0;
 
6279
}
 
6280
_ACEOF
 
6281
if ac_fn_c_try_compile "$LINENO"; then :
 
6282
  echo conftest.$ac_objext > conftest.lst
 
6283
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
6284
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6285
  (eval $lt_ar_try) 2>&5
 
6286
  ac_status=$?
 
6287
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6288
  test $ac_status = 0; }
 
6289
      if test "$ac_status" -eq 0; then
 
6290
        # Ensure the archiver fails upon bogus file names.
 
6291
        rm -f conftest.$ac_objext libconftest.a
 
6292
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6293
  (eval $lt_ar_try) 2>&5
 
6294
  ac_status=$?
 
6295
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6296
  test $ac_status = 0; }
 
6297
        if test "$ac_status" -ne 0; then
 
6298
          lt_cv_ar_at_file=@
 
6299
        fi
 
6300
      fi
 
6301
      rm -f conftest.* libconftest.a
 
6302
 
 
6303
fi
 
6304
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6305
 
 
6306
fi
 
6307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6308
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6309
 
 
6310
if test "x$lt_cv_ar_at_file" = xno; then
 
6311
  archiver_list_spec=
 
6312
else
 
6313
  archiver_list_spec=$lt_cv_ar_at_file
 
6314
fi
5886
6315
 
5887
6316
 
5888
6317
 
5895
6324
set dummy ${ac_tool_prefix}strip; ac_word=$2
5896
6325
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897
6326
$as_echo_n "checking for $ac_word... " >&6; }
5898
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
6327
if ${ac_cv_prog_STRIP+:} false; then :
5899
6328
  $as_echo_n "(cached) " >&6
5900
6329
else
5901
6330
  if test -n "$STRIP"; then
5907
6336
  IFS=$as_save_IFS
5908
6337
  test -z "$as_dir" && as_dir=.
5909
6338
    for ac_exec_ext in '' $ac_executable_extensions; do
5910
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6339
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5911
6340
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5912
6341
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5913
6342
    break 2
5935
6364
set dummy strip; ac_word=$2
5936
6365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937
6366
$as_echo_n "checking for $ac_word... " >&6; }
5938
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
6367
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5939
6368
  $as_echo_n "(cached) " >&6
5940
6369
else
5941
6370
  if test -n "$ac_ct_STRIP"; then
5947
6376
  IFS=$as_save_IFS
5948
6377
  test -z "$as_dir" && as_dir=.
5949
6378
    for ac_exec_ext in '' $ac_executable_extensions; do
5950
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6379
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5951
6380
    ac_cv_prog_ac_ct_STRIP="strip"
5952
6381
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953
6382
    break 2
5994
6423
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5995
6424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996
6425
$as_echo_n "checking for $ac_word... " >&6; }
5997
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6426
if ${ac_cv_prog_RANLIB+:} false; then :
5998
6427
  $as_echo_n "(cached) " >&6
5999
6428
else
6000
6429
  if test -n "$RANLIB"; then
6006
6435
  IFS=$as_save_IFS
6007
6436
  test -z "$as_dir" && as_dir=.
6008
6437
    for ac_exec_ext in '' $ac_executable_extensions; do
6009
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6438
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010
6439
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6011
6440
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012
6441
    break 2
6034
6463
set dummy ranlib; ac_word=$2
6035
6464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036
6465
$as_echo_n "checking for $ac_word... " >&6; }
6037
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6466
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6038
6467
  $as_echo_n "(cached) " >&6
6039
6468
else
6040
6469
  if test -n "$ac_ct_RANLIB"; then
6046
6475
  IFS=$as_save_IFS
6047
6476
  test -z "$as_dir" && as_dir=.
6048
6477
    for ac_exec_ext in '' $ac_executable_extensions; do
6049
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6478
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6050
6479
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6051
6480
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6052
6481
    break 2
6096
6525
if test -n "$RANLIB"; then
6097
6526
  case $host_os in
6098
6527
  openbsd*)
6099
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6528
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6100
6529
    ;;
6101
6530
  *)
6102
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6531
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6103
6532
    ;;
6104
6533
  esac
6105
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6534
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6106
6535
fi
6107
6536
 
 
6537
case $host_os in
 
6538
  darwin*)
 
6539
    lock_old_archive_extraction=yes ;;
 
6540
  *)
 
6541
    lock_old_archive_extraction=no ;;
 
6542
esac
 
6543
 
 
6544
 
 
6545
 
 
6546
 
 
6547
 
 
6548
 
6108
6549
 
6109
6550
 
6110
6551
 
6151
6592
# Check for command to grab the raw symbol name followed by C symbol from nm.
6152
6593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6153
6594
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6154
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6595
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6155
6596
  $as_echo_n "(cached) " >&6
6156
6597
else
6157
6598
 
6212
6653
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6213
6654
 
6214
6655
# Transform an extracted symbol line into symbol name and symbol address
6215
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6216
 
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'"
 
6656
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6657
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'"
6217
6658
 
6218
6659
# Handle CRLF in mingw tool chain
6219
6660
opt_cr=
6237
6678
    # which start with @ or ?.
6238
6679
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6239
6680
"     {last_section=section; section=\$ 3};"\
 
6681
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6240
6682
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6241
6683
"     \$ 0!~/External *\|/{next};"\
6242
6684
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6249
6691
  else
6250
6692
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6251
6693
  fi
 
6694
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6252
6695
 
6253
6696
  # Check to see that the pipe works correctly.
6254
6697
  pipe_works=no
6274
6717
  test $ac_status = 0; }; then
6275
6718
    # Now try to grab the symbols.
6276
6719
    nlist=conftest.nm
6277
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6278
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6720
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6721
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6279
6722
  ac_status=$?
6280
6723
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6281
6724
  test $ac_status = 0; } && test -s "$nlist"; then
6290
6733
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6291
6734
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6292
6735
          cat <<_LT_EOF > conftest.$ac_ext
 
6736
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6737
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6738
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6739
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6740
# define LT_DLSYM_CONST
 
6741
#elif defined(__osf__)
 
6742
/* This system does not cope well with relocations in const data.  */
 
6743
# define LT_DLSYM_CONST
 
6744
#else
 
6745
# define LT_DLSYM_CONST const
 
6746
#endif
 
6747
 
6293
6748
#ifdef __cplusplus
6294
6749
extern "C" {
6295
6750
#endif
6301
6756
          cat <<_LT_EOF >> conftest.$ac_ext
6302
6757
 
6303
6758
/* The mapping between symbol names and symbols.  */
6304
 
const struct {
 
6759
LT_DLSYM_CONST struct {
6305
6760
  const char *name;
6306
6761
  void       *address;
6307
6762
}
6327
6782
_LT_EOF
6328
6783
          # Now try linking the two files.
6329
6784
          mv conftest.$ac_objext conftstm.$ac_objext
6330
 
          lt_save_LIBS="$LIBS"
6331
 
          lt_save_CFLAGS="$CFLAGS"
 
6785
          lt_globsym_save_LIBS=$LIBS
 
6786
          lt_globsym_save_CFLAGS=$CFLAGS
6332
6787
          LIBS="conftstm.$ac_objext"
6333
6788
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6334
6789
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6338
6793
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6339
6794
            pipe_works=yes
6340
6795
          fi
6341
 
          LIBS="$lt_save_LIBS"
6342
 
          CFLAGS="$lt_save_CFLAGS"
 
6796
          LIBS=$lt_globsym_save_LIBS
 
6797
          CFLAGS=$lt_globsym_save_CFLAGS
6343
6798
        else
6344
6799
          echo "cannot find nm_test_func in $nlist" >&5
6345
6800
        fi
6376
6831
$as_echo "ok" >&6; }
6377
6832
fi
6378
6833
 
6379
 
 
6380
 
 
6381
 
 
6382
 
 
6383
 
 
6384
 
 
6385
 
 
6386
 
 
6387
 
 
6388
 
 
6389
 
 
6390
 
 
6391
 
 
6392
 
 
6393
 
 
6394
 
 
 
6834
# Response file support.
 
6835
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6836
  nm_file_list_spec='@'
 
6837
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6838
  nm_file_list_spec='@'
 
6839
fi
 
6840
 
 
6841
 
 
6842
 
 
6843
 
 
6844
 
 
6845
 
 
6846
 
 
6847
 
 
6848
 
 
6849
 
 
6850
 
 
6851
 
 
6852
 
 
6853
 
 
6854
 
 
6855
 
 
6856
 
 
6857
 
 
6858
 
 
6859
 
 
6860
 
 
6861
 
 
6862
 
 
6863
 
 
6864
 
 
6865
 
 
6866
 
 
6867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6868
$as_echo_n "checking for sysroot... " >&6; }
 
6869
 
 
6870
# Check whether --with-sysroot was given.
 
6871
if test "${with_sysroot+set}" = set; then :
 
6872
  withval=$with_sysroot;
 
6873
else
 
6874
  with_sysroot=no
 
6875
fi
 
6876
 
 
6877
 
 
6878
lt_sysroot=
 
6879
case ${with_sysroot} in #(
 
6880
 yes)
 
6881
   if test "$GCC" = yes; then
 
6882
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6883
   fi
 
6884
   ;; #(
 
6885
 /*)
 
6886
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6887
   ;; #(
 
6888
 no|'')
 
6889
   ;; #(
 
6890
 *)
 
6891
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6892
$as_echo "${with_sysroot}" >&6; }
 
6893
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6894
   ;;
 
6895
esac
 
6896
 
 
6897
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6898
$as_echo "${lt_sysroot:-no}" >&6; }
6395
6899
 
6396
6900
 
6397
6901
 
6428
6932
  ;;
6429
6933
*-*-irix6*)
6430
6934
  # Find out which ABI we are using.
6431
 
  echo '#line 6431 "configure"' > conftest.$ac_ext
 
6935
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6432
6936
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6433
6937
  (eval $ac_compile) 2>&5
6434
6938
  ac_status=$?
6479
6983
            LD="${LD-ld} -m elf_i386_fbsd"
6480
6984
            ;;
6481
6985
          x86_64-*linux*)
6482
 
            LD="${LD-ld} -m elf_i386"
 
6986
            case `/usr/bin/file conftest.o` in
 
6987
              *x86-64*)
 
6988
                LD="${LD-ld} -m elf32_x86_64"
 
6989
                ;;
 
6990
              *)
 
6991
                LD="${LD-ld} -m elf_i386"
 
6992
                ;;
 
6993
            esac
6483
6994
            ;;
6484
6995
          ppc64-*linux*|powerpc64-*linux*)
6485
6996
            LD="${LD-ld} -m elf32ppclinux"
6522
7033
  CFLAGS="$CFLAGS -belf"
6523
7034
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6524
7035
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6525
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
7036
if ${lt_cv_cc_needs_belf+:} false; then :
6526
7037
  $as_echo_n "(cached) " >&6
6527
7038
else
6528
7039
  ac_ext=c
6563
7074
    CFLAGS="$SAVE_CFLAGS"
6564
7075
  fi
6565
7076
  ;;
6566
 
sparc*-*solaris*)
 
7077
*-*solaris*)
6567
7078
  # Find out which ABI we are using.
6568
7079
  echo 'int i;' > conftest.$ac_ext
6569
7080
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6574
7085
    case `/usr/bin/file conftest.o` in
6575
7086
    *64-bit*)
6576
7087
      case $lt_cv_prog_gnu_ld in
6577
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
7088
      yes*)
 
7089
        case $host in
 
7090
        i?86-*-solaris*)
 
7091
          LD="${LD-ld} -m elf_x86_64"
 
7092
          ;;
 
7093
        sparc*-*-solaris*)
 
7094
          LD="${LD-ld} -m elf64_sparc"
 
7095
          ;;
 
7096
        esac
 
7097
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
7098
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
7099
          LD="${LD-ld}_sol2"
 
7100
        fi
 
7101
        ;;
6578
7102
      *)
6579
7103
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6580
7104
          LD="${LD-ld} -64"
6590
7114
 
6591
7115
need_locks="$enable_libtool_lock"
6592
7116
 
 
7117
if test -n "$ac_tool_prefix"; then
 
7118
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
7119
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
7120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7121
$as_echo_n "checking for $ac_word... " >&6; }
 
7122
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
7123
  $as_echo_n "(cached) " >&6
 
7124
else
 
7125
  if test -n "$MANIFEST_TOOL"; then
 
7126
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
7127
else
 
7128
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7129
for as_dir in $PATH
 
7130
do
 
7131
  IFS=$as_save_IFS
 
7132
  test -z "$as_dir" && as_dir=.
 
7133
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7134
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7135
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
7136
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7137
    break 2
 
7138
  fi
 
7139
done
 
7140
  done
 
7141
IFS=$as_save_IFS
 
7142
 
 
7143
fi
 
7144
fi
 
7145
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
7146
if test -n "$MANIFEST_TOOL"; then
 
7147
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
7148
$as_echo "$MANIFEST_TOOL" >&6; }
 
7149
else
 
7150
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7151
$as_echo "no" >&6; }
 
7152
fi
 
7153
 
 
7154
 
 
7155
fi
 
7156
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
7157
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
7158
  # Extract the first word of "mt", so it can be a program name with args.
 
7159
set dummy mt; ac_word=$2
 
7160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7161
$as_echo_n "checking for $ac_word... " >&6; }
 
7162
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
7163
  $as_echo_n "(cached) " >&6
 
7164
else
 
7165
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7166
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
7167
else
 
7168
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7169
for as_dir in $PATH
 
7170
do
 
7171
  IFS=$as_save_IFS
 
7172
  test -z "$as_dir" && as_dir=.
 
7173
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7174
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7175
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
7176
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7177
    break 2
 
7178
  fi
 
7179
done
 
7180
  done
 
7181
IFS=$as_save_IFS
 
7182
 
 
7183
fi
 
7184
fi
 
7185
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
7186
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7187
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
7188
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
7189
else
 
7190
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7191
$as_echo "no" >&6; }
 
7192
fi
 
7193
 
 
7194
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
7195
    MANIFEST_TOOL=":"
 
7196
  else
 
7197
    case $cross_compiling:$ac_tool_warned in
 
7198
yes:)
 
7199
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7200
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7201
ac_tool_warned=yes ;;
 
7202
esac
 
7203
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
7204
  fi
 
7205
else
 
7206
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
7207
fi
 
7208
 
 
7209
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
7210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
7211
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
7212
if ${lt_cv_path_mainfest_tool+:} false; then :
 
7213
  $as_echo_n "(cached) " >&6
 
7214
else
 
7215
  lt_cv_path_mainfest_tool=no
 
7216
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
7217
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
7218
  cat conftest.err >&5
 
7219
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
7220
    lt_cv_path_mainfest_tool=yes
 
7221
  fi
 
7222
  rm -f conftest*
 
7223
fi
 
7224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
7225
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
7226
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
7227
  MANIFEST_TOOL=:
 
7228
fi
 
7229
 
 
7230
 
 
7231
 
 
7232
 
 
7233
 
6593
7234
 
6594
7235
  case $host_os in
6595
7236
    rhapsody* | darwin*)
6598
7239
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6599
7240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6600
7241
$as_echo_n "checking for $ac_word... " >&6; }
6601
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
7242
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6602
7243
  $as_echo_n "(cached) " >&6
6603
7244
else
6604
7245
  if test -n "$DSYMUTIL"; then
6610
7251
  IFS=$as_save_IFS
6611
7252
  test -z "$as_dir" && as_dir=.
6612
7253
    for ac_exec_ext in '' $ac_executable_extensions; do
6613
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7254
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6614
7255
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6615
7256
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6616
7257
    break 2
6638
7279
set dummy dsymutil; ac_word=$2
6639
7280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6640
7281
$as_echo_n "checking for $ac_word... " >&6; }
6641
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
7282
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6642
7283
  $as_echo_n "(cached) " >&6
6643
7284
else
6644
7285
  if test -n "$ac_ct_DSYMUTIL"; then
6650
7291
  IFS=$as_save_IFS
6651
7292
  test -z "$as_dir" && as_dir=.
6652
7293
    for ac_exec_ext in '' $ac_executable_extensions; do
6653
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7294
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6654
7295
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6655
7296
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6656
7297
    break 2
6690
7331
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6691
7332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6692
7333
$as_echo_n "checking for $ac_word... " >&6; }
6693
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
7334
if ${ac_cv_prog_NMEDIT+:} false; then :
6694
7335
  $as_echo_n "(cached) " >&6
6695
7336
else
6696
7337
  if test -n "$NMEDIT"; then
6702
7343
  IFS=$as_save_IFS
6703
7344
  test -z "$as_dir" && as_dir=.
6704
7345
    for ac_exec_ext in '' $ac_executable_extensions; do
6705
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7346
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6706
7347
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6707
7348
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6708
7349
    break 2
6730
7371
set dummy nmedit; ac_word=$2
6731
7372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732
7373
$as_echo_n "checking for $ac_word... " >&6; }
6733
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
7374
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6734
7375
  $as_echo_n "(cached) " >&6
6735
7376
else
6736
7377
  if test -n "$ac_ct_NMEDIT"; then
6742
7383
  IFS=$as_save_IFS
6743
7384
  test -z "$as_dir" && as_dir=.
6744
7385
    for ac_exec_ext in '' $ac_executable_extensions; do
6745
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7386
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6746
7387
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6747
7388
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6748
7389
    break 2
6782
7423
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6783
7424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6784
7425
$as_echo_n "checking for $ac_word... " >&6; }
6785
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
7426
if ${ac_cv_prog_LIPO+:} false; then :
6786
7427
  $as_echo_n "(cached) " >&6
6787
7428
else
6788
7429
  if test -n "$LIPO"; then
6794
7435
  IFS=$as_save_IFS
6795
7436
  test -z "$as_dir" && as_dir=.
6796
7437
    for ac_exec_ext in '' $ac_executable_extensions; do
6797
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7438
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6798
7439
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6799
7440
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6800
7441
    break 2
6822
7463
set dummy lipo; ac_word=$2
6823
7464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6824
7465
$as_echo_n "checking for $ac_word... " >&6; }
6825
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
7466
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6826
7467
  $as_echo_n "(cached) " >&6
6827
7468
else
6828
7469
  if test -n "$ac_ct_LIPO"; then
6834
7475
  IFS=$as_save_IFS
6835
7476
  test -z "$as_dir" && as_dir=.
6836
7477
    for ac_exec_ext in '' $ac_executable_extensions; do
6837
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7478
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6838
7479
    ac_cv_prog_ac_ct_LIPO="lipo"
6839
7480
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6840
7481
    break 2
6874
7515
set dummy ${ac_tool_prefix}otool; ac_word=$2
6875
7516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6876
7517
$as_echo_n "checking for $ac_word... " >&6; }
6877
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
7518
if ${ac_cv_prog_OTOOL+:} false; then :
6878
7519
  $as_echo_n "(cached) " >&6
6879
7520
else
6880
7521
  if test -n "$OTOOL"; then
6886
7527
  IFS=$as_save_IFS
6887
7528
  test -z "$as_dir" && as_dir=.
6888
7529
    for ac_exec_ext in '' $ac_executable_extensions; do
6889
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7530
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6890
7531
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6891
7532
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6892
7533
    break 2
6914
7555
set dummy otool; ac_word=$2
6915
7556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6916
7557
$as_echo_n "checking for $ac_word... " >&6; }
6917
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7558
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6918
7559
  $as_echo_n "(cached) " >&6
6919
7560
else
6920
7561
  if test -n "$ac_ct_OTOOL"; then
6926
7567
  IFS=$as_save_IFS
6927
7568
  test -z "$as_dir" && as_dir=.
6928
7569
    for ac_exec_ext in '' $ac_executable_extensions; do
6929
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7570
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6930
7571
    ac_cv_prog_ac_ct_OTOOL="otool"
6931
7572
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6932
7573
    break 2
6966
7607
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6967
7608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6968
7609
$as_echo_n "checking for $ac_word... " >&6; }
6969
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7610
if ${ac_cv_prog_OTOOL64+:} false; then :
6970
7611
  $as_echo_n "(cached) " >&6
6971
7612
else
6972
7613
  if test -n "$OTOOL64"; then
6978
7619
  IFS=$as_save_IFS
6979
7620
  test -z "$as_dir" && as_dir=.
6980
7621
    for ac_exec_ext in '' $ac_executable_extensions; do
6981
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7622
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6982
7623
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6983
7624
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6984
7625
    break 2
7006
7647
set dummy otool64; ac_word=$2
7007
7648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7008
7649
$as_echo_n "checking for $ac_word... " >&6; }
7009
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7650
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7010
7651
  $as_echo_n "(cached) " >&6
7011
7652
else
7012
7653
  if test -n "$ac_ct_OTOOL64"; then
7018
7659
  IFS=$as_save_IFS
7019
7660
  test -z "$as_dir" && as_dir=.
7020
7661
    for ac_exec_ext in '' $ac_executable_extensions; do
7021
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7662
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7022
7663
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7023
7664
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7024
7665
    break 2
7081
7722
 
7082
7723
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7083
7724
$as_echo_n "checking for -single_module linker flag... " >&6; }
7084
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7725
if ${lt_cv_apple_cc_single_mod+:} false; then :
7085
7726
  $as_echo_n "(cached) " >&6
7086
7727
else
7087
7728
  lt_cv_apple_cc_single_mod=no
7097
7738
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7098
7739
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7099
7740
        _lt_result=$?
7100
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7741
        # If there is a non-empty error log, and "single_module"
 
7742
        # appears in it, assume the flag caused a linker warning
 
7743
        if test -s conftest.err && $GREP single_module conftest.err; then
 
7744
          cat conftest.err >&5
 
7745
        # Otherwise, if the output was created with a 0 exit code from
 
7746
        # the compiler, it worked.
 
7747
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7101
7748
          lt_cv_apple_cc_single_mod=yes
7102
7749
        else
7103
7750
          cat conftest.err >&5
7108
7755
fi
7109
7756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7110
7757
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7758
 
7111
7759
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7112
7760
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7113
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7761
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7114
7762
  $as_echo_n "(cached) " >&6
7115
7763
else
7116
7764
  lt_cv_ld_exported_symbols_list=no
7140
7788
fi
7141
7789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7142
7790
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7791
 
 
7792
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7793
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7794
if ${lt_cv_ld_force_load+:} false; then :
 
7795
  $as_echo_n "(cached) " >&6
 
7796
else
 
7797
  lt_cv_ld_force_load=no
 
7798
      cat > conftest.c << _LT_EOF
 
7799
int forced_loaded() { return 2;}
 
7800
_LT_EOF
 
7801
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7802
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7803
      echo "$AR cru libconftest.a conftest.o" >&5
 
7804
      $AR cru libconftest.a conftest.o 2>&5
 
7805
      echo "$RANLIB libconftest.a" >&5
 
7806
      $RANLIB libconftest.a 2>&5
 
7807
      cat > conftest.c << _LT_EOF
 
7808
int main() { return 0;}
 
7809
_LT_EOF
 
7810
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7811
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7812
      _lt_result=$?
 
7813
      if test -s conftest.err && $GREP force_load conftest.err; then
 
7814
        cat conftest.err >&5
 
7815
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
7816
        lt_cv_ld_force_load=yes
 
7817
      else
 
7818
        cat conftest.err >&5
 
7819
      fi
 
7820
        rm -f conftest.err libconftest.a conftest conftest.c
 
7821
        rm -rf conftest.dSYM
 
7822
 
 
7823
fi
 
7824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7825
$as_echo "$lt_cv_ld_force_load" >&6; }
7143
7826
    case $host_os in
7144
7827
    rhapsody* | darwin1.[012])
7145
7828
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7167
7850
    else
7168
7851
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7169
7852
    fi
7170
 
    if test "$DSYMUTIL" != ":"; then
 
7853
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7171
7854
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7172
7855
    else
7173
7856
      _lt_dsymutil=
7179
7862
do :
7180
7863
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7181
7864
"
7182
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7865
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7183
7866
  cat >>confdefs.h <<_ACEOF
7184
7867
#define HAVE_DLFCN_H 1
7185
7868
_ACEOF
7190
7873
 
7191
7874
 
7192
7875
 
 
7876
 
 
7877
 
7193
7878
# Set options
7194
7879
 
7195
7880
 
7265
7950
 
7266
7951
# Check whether --with-pic was given.
7267
7952
if test "${with_pic+set}" = set; then :
7268
 
  withval=$with_pic; pic_mode="$withval"
 
7953
  withval=$with_pic; lt_p=${PACKAGE-default}
 
7954
    case $withval in
 
7955
    yes|no) pic_mode=$withval ;;
 
7956
    *)
 
7957
      pic_mode=default
 
7958
      # Look at the argument we got.  We use all the common list separators.
 
7959
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7960
      for lt_pkg in $withval; do
 
7961
        IFS="$lt_save_ifs"
 
7962
        if test "X$lt_pkg" = "X$lt_p"; then
 
7963
          pic_mode=yes
 
7964
        fi
 
7965
      done
 
7966
      IFS="$lt_save_ifs"
 
7967
      ;;
 
7968
    esac
7269
7969
else
7270
7970
  pic_mode=default
7271
7971
fi
7342
8042
 
7343
8043
 
7344
8044
 
 
8045
 
 
8046
 
 
8047
 
 
8048
 
 
8049
 
7345
8050
test -z "$LN_S" && LN_S="ln -s"
7346
8051
 
7347
8052
 
7363
8068
 
7364
8069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7365
8070
$as_echo_n "checking for objdir... " >&6; }
7366
 
if test "${lt_cv_objdir+set}" = set; then :
 
8071
if ${lt_cv_objdir+:} false; then :
7367
8072
  $as_echo_n "(cached) " >&6
7368
8073
else
7369
8074
  rm -f .libs 2>/dev/null
7391
8096
 
7392
8097
 
7393
8098
 
7394
 
 
7395
 
 
7396
 
 
7397
 
 
7398
 
 
7399
 
 
7400
 
 
7401
 
 
7402
 
 
7403
 
 
7404
 
 
7405
 
 
7406
 
 
7407
8099
case $host_os in
7408
8100
aix3*)
7409
8101
  # AIX sometimes has problems with the GCC collect2 program.  For some
7416
8108
  ;;
7417
8109
esac
7418
8110
 
7419
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7420
 
# metacharacters that are still active within double-quoted strings.
7421
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7422
 
 
7423
 
# Same as above, but do not quote variable references.
7424
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7425
 
 
7426
 
# Sed substitution to delay expansion of an escaped shell variable in a
7427
 
# double_quote_subst'ed string.
7428
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7429
 
 
7430
 
# Sed substitution to delay expansion of an escaped single quote.
7431
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7432
 
 
7433
 
# Sed substitution to avoid accidental globbing in evaled expressions
7434
 
no_glob_subst='s/\*/\\\*/g'
7435
 
 
7436
8111
# Global variables:
7437
8112
ofile=libtool
7438
8113
can_build_shared=yes
7461
8136
    *) break;;
7462
8137
  esac
7463
8138
done
7464
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8139
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7465
8140
 
7466
8141
 
7467
8142
# Only perform the check for file, if the check method requires it
7471
8146
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7472
8147
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7473
8148
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7474
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8149
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7475
8150
  $as_echo_n "(cached) " >&6
7476
8151
else
7477
8152
  case $MAGIC_CMD in
7537
8212
  if test -n "$ac_tool_prefix"; then
7538
8213
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7539
8214
$as_echo_n "checking for file... " >&6; }
7540
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8215
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7541
8216
  $as_echo_n "(cached) " >&6
7542
8217
else
7543
8218
  case $MAGIC_CMD in
7670
8345
lt_prog_compiler_no_builtin_flag=
7671
8346
 
7672
8347
if test "$GCC" = yes; then
7673
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8348
  case $cc_basename in
 
8349
  nvcc*)
 
8350
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8351
  *)
 
8352
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8353
  esac
7674
8354
 
7675
8355
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7676
8356
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7677
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8357
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7678
8358
  $as_echo_n "(cached) " >&6
7679
8359
else
7680
8360
  lt_cv_prog_compiler_rtti_exceptions=no
7690
8370
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7691
8371
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7692
8372
   -e 's:$: $lt_compiler_flag:'`
7693
 
   (eval echo "\"\$as_me:7693: $lt_compile\"" >&5)
 
8373
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7694
8374
   (eval "$lt_compile" 2>conftest.err)
7695
8375
   ac_status=$?
7696
8376
   cat conftest.err >&5
7697
 
   echo "$as_me:7697: \$? = $ac_status" >&5
 
8377
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698
8378
   if (exit $ac_status) && test -s "$ac_outfile"; then
7699
8379
     # The compiler can only warn and ignore the option if not recognized
7700
8380
     # So say no if there are warnings other than the usual output.
7701
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8381
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7702
8382
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7703
8383
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7704
8384
       lt_cv_prog_compiler_rtti_exceptions=yes
7727
8407
lt_prog_compiler_pic=
7728
8408
lt_prog_compiler_static=
7729
8409
 
7730
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7731
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7732
8410
 
7733
8411
  if test "$GCC" = yes; then
7734
8412
    lt_prog_compiler_wl='-Wl,'
7776
8454
      lt_prog_compiler_pic='-fno-common'
7777
8455
      ;;
7778
8456
 
 
8457
    haiku*)
 
8458
      # PIC is the default for Haiku.
 
8459
      # The "-static" flag exists, but is broken.
 
8460
      lt_prog_compiler_static=
 
8461
      ;;
 
8462
 
7779
8463
    hpux*)
7780
8464
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7781
8465
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7818
8502
      lt_prog_compiler_pic='-fPIC'
7819
8503
      ;;
7820
8504
    esac
 
8505
 
 
8506
    case $cc_basename in
 
8507
    nvcc*) # Cuda Compiler Driver 2.2
 
8508
      lt_prog_compiler_wl='-Xlinker '
 
8509
      if test -n "$lt_prog_compiler_pic"; then
 
8510
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
8511
      fi
 
8512
      ;;
 
8513
    esac
7821
8514
  else
7822
8515
    # PORTME Check for flag to pass linker flags through the system compiler.
7823
8516
    case $host_os in
7859
8552
      lt_prog_compiler_static='-non_shared'
7860
8553
      ;;
7861
8554
 
7862
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
8555
    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7863
8556
      case $cc_basename in
7864
8557
      # old Intel for x86_64 which still supported -KPIC.
7865
8558
      ecc*)
7880
8573
        lt_prog_compiler_pic='--shared'
7881
8574
        lt_prog_compiler_static='--static'
7882
8575
        ;;
7883
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8576
      nagfor*)
 
8577
        # NAG Fortran compiler
 
8578
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8579
        lt_prog_compiler_pic='-PIC'
 
8580
        lt_prog_compiler_static='-Bstatic'
 
8581
        ;;
 
8582
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7884
8583
        # Portland Group compilers (*not* the Pentium gcc compiler,
7885
8584
        # which looks to be a dead project)
7886
8585
        lt_prog_compiler_wl='-Wl,'
7892
8591
        # All Alpha code is PIC.
7893
8592
        lt_prog_compiler_static='-non_shared'
7894
8593
        ;;
7895
 
      xl*)
7896
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8594
      xl* | bgxl* | bgf* | mpixl*)
 
8595
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7897
8596
        lt_prog_compiler_wl='-Wl,'
7898
8597
        lt_prog_compiler_pic='-qpic'
7899
8598
        lt_prog_compiler_static='-qstaticlink'
7900
8599
        ;;
7901
8600
      *)
7902
8601
        case `$CC -V 2>&1 | sed 5q` in
 
8602
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
8603
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8604
          lt_prog_compiler_pic='-KPIC'
 
8605
          lt_prog_compiler_static='-Bstatic'
 
8606
          lt_prog_compiler_wl=''
 
8607
          ;;
 
8608
        *Sun\ F* | *Sun*Fortran*)
 
8609
          lt_prog_compiler_pic='-KPIC'
 
8610
          lt_prog_compiler_static='-Bstatic'
 
8611
          lt_prog_compiler_wl='-Qoption ld '
 
8612
          ;;
7903
8613
        *Sun\ C*)
7904
8614
          # Sun C 5.9
7905
8615
          lt_prog_compiler_pic='-KPIC'
7906
8616
          lt_prog_compiler_static='-Bstatic'
7907
8617
          lt_prog_compiler_wl='-Wl,'
7908
8618
          ;;
7909
 
        *Sun\ F*)
7910
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7911
 
          lt_prog_compiler_pic='-KPIC'
 
8619
        *Intel*\ [CF]*Compiler*)
 
8620
          lt_prog_compiler_wl='-Wl,'
 
8621
          lt_prog_compiler_pic='-fPIC'
 
8622
          lt_prog_compiler_static='-static'
 
8623
          ;;
 
8624
        *Portland\ Group*)
 
8625
          lt_prog_compiler_wl='-Wl,'
 
8626
          lt_prog_compiler_pic='-fpic'
7912
8627
          lt_prog_compiler_static='-Bstatic'
7913
 
          lt_prog_compiler_wl=''
7914
8628
          ;;
7915
8629
        esac
7916
8630
        ;;
7942
8656
      lt_prog_compiler_pic='-KPIC'
7943
8657
      lt_prog_compiler_static='-Bstatic'
7944
8658
      case $cc_basename in
7945
 
      f77* | f90* | f95*)
 
8659
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7946
8660
        lt_prog_compiler_wl='-Qoption ld ';;
7947
8661
      *)
7948
8662
        lt_prog_compiler_wl='-Wl,';;
7999
8713
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8000
8714
    ;;
8001
8715
esac
8002
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8003
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8004
 
 
8005
 
 
8006
 
 
8007
 
 
8008
 
 
 
8716
 
 
8717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8718
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8719
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8720
  $as_echo_n "(cached) " >&6
 
8721
else
 
8722
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8723
fi
 
8724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8725
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8726
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8009
8727
 
8010
8728
#
8011
8729
# Check to make sure the PIC flag actually works.
8013
8731
if test -n "$lt_prog_compiler_pic"; then
8014
8732
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8015
8733
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8016
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8734
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8017
8735
  $as_echo_n "(cached) " >&6
8018
8736
else
8019
8737
  lt_cv_prog_compiler_pic_works=no
8029
8747
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8030
8748
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8031
8749
   -e 's:$: $lt_compiler_flag:'`
8032
 
   (eval echo "\"\$as_me:8032: $lt_compile\"" >&5)
 
8750
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8033
8751
   (eval "$lt_compile" 2>conftest.err)
8034
8752
   ac_status=$?
8035
8753
   cat conftest.err >&5
8036
 
   echo "$as_me:8036: \$? = $ac_status" >&5
 
8754
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8037
8755
   if (exit $ac_status) && test -s "$ac_outfile"; then
8038
8756
     # The compiler can only warn and ignore the option if not recognized
8039
8757
     # So say no if there are warnings other than the usual output.
8040
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8758
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8041
8759
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8042
8760
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8043
8761
       lt_cv_prog_compiler_pic_works=yes
8066
8784
 
8067
8785
 
8068
8786
 
 
8787
 
 
8788
 
 
8789
 
 
8790
 
 
8791
 
8069
8792
#
8070
8793
# Check to make sure the static flag actually works.
8071
8794
#
8072
8795
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8073
8796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8074
8797
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8075
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8798
if ${lt_cv_prog_compiler_static_works+:} false; then :
8076
8799
  $as_echo_n "(cached) " >&6
8077
8800
else
8078
8801
  lt_cv_prog_compiler_static_works=no
8085
8808
     if test -s conftest.err; then
8086
8809
       # Append any errors to the config.log.
8087
8810
       cat conftest.err 1>&5
8088
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8811
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8089
8812
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8090
8813
       if diff conftest.exp conftest.er2 >/dev/null; then
8091
8814
         lt_cv_prog_compiler_static_works=yes
8115
8838
 
8116
8839
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8117
8840
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8118
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8841
if ${lt_cv_prog_compiler_c_o+:} false; then :
8119
8842
  $as_echo_n "(cached) " >&6
8120
8843
else
8121
8844
  lt_cv_prog_compiler_c_o=no
8134
8857
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8135
8858
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8136
8859
   -e 's:$: $lt_compiler_flag:'`
8137
 
   (eval echo "\"\$as_me:8137: $lt_compile\"" >&5)
 
8860
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8138
8861
   (eval "$lt_compile" 2>out/conftest.err)
8139
8862
   ac_status=$?
8140
8863
   cat out/conftest.err >&5
8141
 
   echo "$as_me:8141: \$? = $ac_status" >&5
 
8864
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142
8865
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8143
8866
   then
8144
8867
     # The compiler can only warn and ignore the option if not recognized
8145
8868
     # So say no if there are warnings
8146
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8869
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8147
8870
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8148
8871
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8149
8872
       lt_cv_prog_compiler_c_o=yes
8170
8893
 
8171
8894
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8172
8895
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8173
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8896
if ${lt_cv_prog_compiler_c_o+:} false; then :
8174
8897
  $as_echo_n "(cached) " >&6
8175
8898
else
8176
8899
  lt_cv_prog_compiler_c_o=no
8189
8912
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8190
8913
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8191
8914
   -e 's:$: $lt_compiler_flag:'`
8192
 
   (eval echo "\"\$as_me:8192: $lt_compile\"" >&5)
 
8915
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8193
8916
   (eval "$lt_compile" 2>out/conftest.err)
8194
8917
   ac_status=$?
8195
8918
   cat out/conftest.err >&5
8196
 
   echo "$as_me:8196: \$? = $ac_status" >&5
 
8919
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197
8920
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8198
8921
   then
8199
8922
     # The compiler can only warn and ignore the option if not recognized
8200
8923
     # So say no if there are warnings
8201
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8924
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8202
8925
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8203
8926
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8204
8927
       lt_cv_prog_compiler_c_o=yes
8264
8987
  hardcode_direct=no
8265
8988
  hardcode_direct_absolute=no
8266
8989
  hardcode_libdir_flag_spec=
8267
 
  hardcode_libdir_flag_spec_ld=
8268
8990
  hardcode_libdir_separator=
8269
8991
  hardcode_minus_L=no
8270
8992
  hardcode_shlibpath_var=unsupported
8308
9030
  openbsd*)
8309
9031
    with_gnu_ld=no
8310
9032
    ;;
8311
 
  linux* | k*bsd*-gnu)
 
9033
  linux* | k*bsd*-gnu | gnu*)
8312
9034
    link_all_deplibs=no
8313
9035
    ;;
8314
9036
  esac
8315
9037
 
8316
9038
  ld_shlibs=yes
 
9039
 
 
9040
  # On some targets, GNU ld is compatible enough with the native linker
 
9041
  # that we're better off using the native interface for both.
 
9042
  lt_use_gnu_ld_interface=no
8317
9043
  if test "$with_gnu_ld" = yes; then
 
9044
    case $host_os in
 
9045
      aix*)
 
9046
        # The AIX port of GNU ld has always aspired to compatibility
 
9047
        # with the native linker.  However, as the warning in the GNU ld
 
9048
        # block says, versions before 2.19.5* couldn't really create working
 
9049
        # shared libraries, regardless of the interface used.
 
9050
        case `$LD -v 2>&1` in
 
9051
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
9052
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
9053
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
9054
          *)
 
9055
            lt_use_gnu_ld_interface=yes
 
9056
            ;;
 
9057
        esac
 
9058
        ;;
 
9059
      *)
 
9060
        lt_use_gnu_ld_interface=yes
 
9061
        ;;
 
9062
    esac
 
9063
  fi
 
9064
 
 
9065
  if test "$lt_use_gnu_ld_interface" = yes; then
8318
9066
    # If archive_cmds runs LD, not CC, wlarc should be empty
8319
9067
    wlarc='${wl}'
8320
9068
 
8348
9096
        ld_shlibs=no
8349
9097
        cat <<_LT_EOF 1>&2
8350
9098
 
8351
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
9099
*** Warning: the GNU linker, at least up to release 2.19, is reported
8352
9100
*** to be unable to reliably create shared libraries on AIX.
8353
9101
*** Therefore, libtool is disabling shared libraries support.  If you
8354
 
*** really care for shared libraries, you may want to modify your PATH
8355
 
*** so that a non-GNU linker is found, and then restart.
 
9102
*** really care for shared libraries, you may want to install binutils
 
9103
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9104
*** You will then need to restart the configuration process.
8356
9105
 
8357
9106
_LT_EOF
8358
9107
      fi
8388
9137
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8389
9138
      # as there is no search path for DLLs.
8390
9139
      hardcode_libdir_flag_spec='-L$libdir'
 
9140
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8391
9141
      allow_undefined_flag=unsupported
8392
9142
      always_export_symbols=no
8393
9143
      enable_shared_with_static_runtimes=yes
8394
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9144
      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'
 
9145
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8395
9146
 
8396
9147
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8397
9148
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8409
9160
      fi
8410
9161
      ;;
8411
9162
 
 
9163
    haiku*)
 
9164
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9165
      link_all_deplibs=yes
 
9166
      ;;
 
9167
 
8412
9168
    interix[3-9]*)
8413
9169
      hardcode_direct=no
8414
9170
      hardcode_shlibpath_var=no
8434
9190
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8435
9191
         && test "$tmp_diet" = no
8436
9192
      then
8437
 
        tmp_addflag=
 
9193
        tmp_addflag=' $pic_flag'
8438
9194
        tmp_sharedflag='-shared'
8439
9195
        case $cc_basename,$host_cpu in
8440
9196
        pgcc*)                          # Portland Group C compiler
8441
 
          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'
 
9197
          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'
8442
9198
          tmp_addflag=' $pic_flag'
8443
9199
          ;;
8444
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8445
 
          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'
 
9200
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9201
                                        # Portland Group f77 and f90 compilers
 
9202
          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'
8446
9203
          tmp_addflag=' $pic_flag -Mnomain' ;;
8447
9204
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8448
9205
          tmp_addflag=' -i_dynamic' ;;
8453
9210
        lf95*)                          # Lahey Fortran 8.1
8454
9211
          whole_archive_flag_spec=
8455
9212
          tmp_sharedflag='--shared' ;;
8456
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9213
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8457
9214
          tmp_sharedflag='-qmkshrobj'
8458
9215
          tmp_addflag= ;;
 
9216
        nvcc*)  # Cuda Compiler Driver 2.2
 
9217
          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'
 
9218
          compiler_needs_object=yes
 
9219
          ;;
8459
9220
        esac
8460
9221
        case `$CC -V 2>&1 | sed 5q` in
8461
9222
        *Sun\ C*)                       # Sun C 5.9
8462
 
          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'
 
9223
          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'
8463
9224
          compiler_needs_object=yes
8464
9225
          tmp_sharedflag='-G' ;;
8465
9226
        *Sun\ F*)                       # Sun Fortran 8.3
8475
9236
        fi
8476
9237
 
8477
9238
        case $cc_basename in
8478
 
        xlf*)
 
9239
        xlf* | bgf* | bgxlf* | mpixlf*)
8479
9240
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8480
9241
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8481
 
          hardcode_libdir_flag_spec=
8482
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8483
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9242
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9243
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8484
9244
          if test "x$supports_anon_versioning" = xyes; then
8485
9245
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8486
9246
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8487
9247
              echo "local: *; };" >> $output_objdir/$libname.ver~
8488
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9248
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8489
9249
          fi
8490
9250
          ;;
8491
9251
        esac
8499
9259
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8500
9260
        wlarc=
8501
9261
      else
8502
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8503
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9262
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9263
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8504
9264
      fi
8505
9265
      ;;
8506
9266
 
8518
9278
 
8519
9279
_LT_EOF
8520
9280
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8521
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8522
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9281
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9282
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8523
9283
      else
8524
9284
        ld_shlibs=no
8525
9285
      fi
8565
9325
 
8566
9326
    *)
8567
9327
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8568
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8569
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9328
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9329
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8570
9330
      else
8571
9331
        ld_shlibs=no
8572
9332
      fi
8606
9366
      else
8607
9367
        # If we're using GNU nm, then we don't want the "-C" option.
8608
9368
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9369
        # Also, AIX nm treats weak defined symbols like other global
 
9370
        # defined symbols, whereas GNU nm marks them as "W".
8609
9371
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8610
 
          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'
 
9372
          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'
8611
9373
        else
8612
9374
          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'
8613
9375
        fi
8695
9457
        allow_undefined_flag='-berok'
8696
9458
        # Determine the default libpath from the value encoded in an
8697
9459
        # empty executable.
8698
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9460
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9461
  aix_libpath=$lt_cv_aix_libpath
 
9462
else
 
9463
  if ${lt_cv_aix_libpath_+:} false; then :
 
9464
  $as_echo_n "(cached) " >&6
 
9465
else
 
9466
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8699
9467
/* end confdefs.h.  */
8700
9468
 
8701
9469
int
8708
9476
_ACEOF
8709
9477
if ac_fn_c_try_link "$LINENO"; then :
8710
9478
 
8711
 
lt_aix_libpath_sed='
8712
 
    /Import File Strings/,/^$/ {
8713
 
        /^0/ {
8714
 
            s/^0  *\(.*\)$/\1/
8715
 
            p
8716
 
        }
8717
 
    }'
8718
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8719
 
# Check for a 64-bit object if we didn't find anything.
8720
 
if test -z "$aix_libpath"; then
8721
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8722
 
fi
 
9479
  lt_aix_libpath_sed='
 
9480
      /Import File Strings/,/^$/ {
 
9481
          /^0/ {
 
9482
              s/^0  *\([^ ]*\) *$/\1/
 
9483
              p
 
9484
          }
 
9485
      }'
 
9486
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9487
  # Check for a 64-bit object if we didn't find anything.
 
9488
  if test -z "$lt_cv_aix_libpath_"; then
 
9489
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9490
  fi
8723
9491
fi
8724
9492
rm -f core conftest.err conftest.$ac_objext \
8725
9493
    conftest$ac_exeext conftest.$ac_ext
8726
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9494
  if test -z "$lt_cv_aix_libpath_"; then
 
9495
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9496
  fi
 
9497
 
 
9498
fi
 
9499
 
 
9500
  aix_libpath=$lt_cv_aix_libpath_
 
9501
fi
8727
9502
 
8728
9503
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8729
 
        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"
 
9504
        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"
8730
9505
      else
8731
9506
        if test "$host_cpu" = ia64; then
8732
9507
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8735
9510
        else
8736
9511
         # Determine the default libpath from the value encoded in an
8737
9512
         # empty executable.
8738
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9513
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9514
  aix_libpath=$lt_cv_aix_libpath
 
9515
else
 
9516
  if ${lt_cv_aix_libpath_+:} false; then :
 
9517
  $as_echo_n "(cached) " >&6
 
9518
else
 
9519
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8739
9520
/* end confdefs.h.  */
8740
9521
 
8741
9522
int
8748
9529
_ACEOF
8749
9530
if ac_fn_c_try_link "$LINENO"; then :
8750
9531
 
8751
 
lt_aix_libpath_sed='
8752
 
    /Import File Strings/,/^$/ {
8753
 
        /^0/ {
8754
 
            s/^0  *\(.*\)$/\1/
8755
 
            p
8756
 
        }
8757
 
    }'
8758
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8759
 
# Check for a 64-bit object if we didn't find anything.
8760
 
if test -z "$aix_libpath"; then
8761
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8762
 
fi
 
9532
  lt_aix_libpath_sed='
 
9533
      /Import File Strings/,/^$/ {
 
9534
          /^0/ {
 
9535
              s/^0  *\([^ ]*\) *$/\1/
 
9536
              p
 
9537
          }
 
9538
      }'
 
9539
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9540
  # Check for a 64-bit object if we didn't find anything.
 
9541
  if test -z "$lt_cv_aix_libpath_"; then
 
9542
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9543
  fi
8763
9544
fi
8764
9545
rm -f core conftest.err conftest.$ac_objext \
8765
9546
    conftest$ac_exeext conftest.$ac_ext
8766
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9547
  if test -z "$lt_cv_aix_libpath_"; then
 
9548
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9549
  fi
 
9550
 
 
9551
fi
 
9552
 
 
9553
  aix_libpath=$lt_cv_aix_libpath_
 
9554
fi
8767
9555
 
8768
9556
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8769
9557
          # Warning - without using the other run time loading flags,
8770
9558
          # -berok will link without error, but may produce a broken library.
8771
9559
          no_undefined_flag=' ${wl}-bernotok'
8772
9560
          allow_undefined_flag=' ${wl}-berok'
8773
 
          # Exported symbols can be pulled into shared objects from archives
8774
 
          whole_archive_flag_spec='$convenience'
 
9561
          if test "$with_gnu_ld" = yes; then
 
9562
            # We only use this code for GNU lds that support --whole-archive.
 
9563
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9564
          else
 
9565
            # Exported symbols can be pulled into shared objects from archives
 
9566
            whole_archive_flag_spec='$convenience'
 
9567
          fi
8775
9568
          archive_cmds_need_lc=yes
8776
9569
          # This is similar to how AIX traditionally builds its shared libraries.
8777
9570
          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'
8803
9596
      # Microsoft Visual C++.
8804
9597
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8805
9598
      # no search path for DLLs.
8806
 
      hardcode_libdir_flag_spec=' '
8807
 
      allow_undefined_flag=unsupported
8808
 
      # Tell ltmain to make .lib files, not .a files.
8809
 
      libext=lib
8810
 
      # Tell ltmain to make .dll files, not .so files.
8811
 
      shrext_cmds=".dll"
8812
 
      # FIXME: Setting linknames here is a bad hack.
8813
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8814
 
      # The linker will automatically build a .lib file if we build a DLL.
8815
 
      old_archive_from_new_cmds='true'
8816
 
      # FIXME: Should let the user specify the lib program.
8817
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8818
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8819
 
      enable_shared_with_static_runtimes=yes
 
9599
      case $cc_basename in
 
9600
      cl*)
 
9601
        # Native MSVC
 
9602
        hardcode_libdir_flag_spec=' '
 
9603
        allow_undefined_flag=unsupported
 
9604
        always_export_symbols=yes
 
9605
        file_list_spec='@'
 
9606
        # Tell ltmain to make .lib files, not .a files.
 
9607
        libext=lib
 
9608
        # Tell ltmain to make .dll files, not .so files.
 
9609
        shrext_cmds=".dll"
 
9610
        # FIXME: Setting linknames here is a bad hack.
 
9611
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9612
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9613
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9614
          else
 
9615
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9616
          fi~
 
9617
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9618
          linknames='
 
9619
        # The linker will not automatically build a static lib if we build a DLL.
 
9620
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9621
        enable_shared_with_static_runtimes=yes
 
9622
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
9623
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9624
        # Don't use ranlib
 
9625
        old_postinstall_cmds='chmod 644 $oldlib'
 
9626
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9627
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9628
          case $lt_outputfile in
 
9629
            *.exe|*.EXE) ;;
 
9630
            *)
 
9631
              lt_outputfile="$lt_outputfile.exe"
 
9632
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9633
              ;;
 
9634
          esac~
 
9635
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9636
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9637
            $RM "$lt_outputfile.manifest";
 
9638
          fi'
 
9639
        ;;
 
9640
      *)
 
9641
        # Assume MSVC wrapper
 
9642
        hardcode_libdir_flag_spec=' '
 
9643
        allow_undefined_flag=unsupported
 
9644
        # Tell ltmain to make .lib files, not .a files.
 
9645
        libext=lib
 
9646
        # Tell ltmain to make .dll files, not .so files.
 
9647
        shrext_cmds=".dll"
 
9648
        # FIXME: Setting linknames here is a bad hack.
 
9649
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9650
        # The linker will automatically build a .lib file if we build a DLL.
 
9651
        old_archive_from_new_cmds='true'
 
9652
        # FIXME: Should let the user specify the lib program.
 
9653
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9654
        enable_shared_with_static_runtimes=yes
 
9655
        ;;
 
9656
      esac
8820
9657
      ;;
8821
9658
 
8822
9659
    darwin* | rhapsody*)
8826
9663
  hardcode_direct=no
8827
9664
  hardcode_automatic=yes
8828
9665
  hardcode_shlibpath_var=unsupported
8829
 
  whole_archive_flag_spec=''
 
9666
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9667
    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\"`'
 
9668
 
 
9669
  else
 
9670
    whole_archive_flag_spec=''
 
9671
  fi
8830
9672
  link_all_deplibs=yes
8831
9673
  allow_undefined_flag="$_lt_dar_allow_undefined"
8832
9674
  case $cc_basename in
8834
9676
     *) _lt_dar_can_shared=$GCC ;;
8835
9677
  esac
8836
9678
  if test "$_lt_dar_can_shared" = "yes"; then
8837
 
    output_verbose_link_cmd=echo
 
9679
    output_verbose_link_cmd=func_echo_all
8838
9680
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8839
9681
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8840
9682
    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}"
8852
9694
      hardcode_shlibpath_var=no
8853
9695
      ;;
8854
9696
 
8855
 
    freebsd1*)
8856
 
      ld_shlibs=no
8857
 
      ;;
8858
 
 
8859
9697
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8860
9698
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8861
9699
    # does not break anything, and helps significantly (at the cost of a little
8868
9706
      ;;
8869
9707
 
8870
9708
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8871
 
    freebsd2*)
 
9709
    freebsd2.*)
8872
9710
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8873
9711
      hardcode_direct=yes
8874
9712
      hardcode_minus_L=yes
8877
9715
 
8878
9716
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8879
9717
    freebsd* | dragonfly*)
8880
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9718
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8881
9719
      hardcode_libdir_flag_spec='-R$libdir'
8882
9720
      hardcode_direct=yes
8883
9721
      hardcode_shlibpath_var=no
8885
9723
 
8886
9724
    hpux9*)
8887
9725
      if test "$GCC" = yes; then
8888
 
        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'
 
9726
        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'
8889
9727
      else
8890
9728
        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'
8891
9729
      fi
8900
9738
      ;;
8901
9739
 
8902
9740
    hpux10*)
8903
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8904
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9741
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9742
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8905
9743
      else
8906
9744
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8907
9745
      fi
8908
9746
      if test "$with_gnu_ld" = no; then
8909
9747
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8910
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
8911
9748
        hardcode_libdir_separator=:
8912
9749
        hardcode_direct=yes
8913
9750
        hardcode_direct_absolute=yes
8919
9756
      ;;
8920
9757
 
8921
9758
    hpux11*)
8922
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9759
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8923
9760
        case $host_cpu in
8924
9761
        hppa*64*)
8925
9762
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8926
9763
          ;;
8927
9764
        ia64*)
8928
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9765
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8929
9766
          ;;
8930
9767
        *)
8931
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9768
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8932
9769
          ;;
8933
9770
        esac
8934
9771
      else
8940
9777
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8941
9778
          ;;
8942
9779
        *)
8943
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9780
 
 
9781
          # Older versions of the 11.00 compiler do not understand -b yet
 
9782
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9783
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9784
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9785
if ${lt_cv_prog_compiler__b+:} false; then :
 
9786
  $as_echo_n "(cached) " >&6
 
9787
else
 
9788
  lt_cv_prog_compiler__b=no
 
9789
   save_LDFLAGS="$LDFLAGS"
 
9790
   LDFLAGS="$LDFLAGS -b"
 
9791
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9792
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9793
     # The linker can only warn and ignore the option if not recognized
 
9794
     # So say no if there are warnings
 
9795
     if test -s conftest.err; then
 
9796
       # Append any errors to the config.log.
 
9797
       cat conftest.err 1>&5
 
9798
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9799
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9800
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9801
         lt_cv_prog_compiler__b=yes
 
9802
       fi
 
9803
     else
 
9804
       lt_cv_prog_compiler__b=yes
 
9805
     fi
 
9806
   fi
 
9807
   $RM -r conftest*
 
9808
   LDFLAGS="$save_LDFLAGS"
 
9809
 
 
9810
fi
 
9811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9812
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9813
 
 
9814
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9815
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9816
else
 
9817
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9818
fi
 
9819
 
8944
9820
          ;;
8945
9821
        esac
8946
9822
      fi
8968
9844
 
8969
9845
    irix5* | irix6* | nonstopux*)
8970
9846
      if test "$GCC" = yes; then
8971
 
        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'
 
9847
        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'
8972
9848
        # Try to use the -exported_symbol ld option, if it does not
8973
9849
        # work, assume that -exports_file does not work either and
8974
9850
        # implicitly export all symbols.
8975
 
        save_LDFLAGS="$LDFLAGS"
8976
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8977
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9851
        # This should be the same for all languages, so no per-tag cache variable.
 
9852
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9853
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9854
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9855
  $as_echo_n "(cached) " >&6
 
9856
else
 
9857
  save_LDFLAGS="$LDFLAGS"
 
9858
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9859
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8978
9860
/* end confdefs.h.  */
8979
 
int foo(void) {}
 
9861
int foo (void) { return 0; }
8980
9862
_ACEOF
8981
9863
if ac_fn_c_try_link "$LINENO"; then :
8982
 
  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'
8983
 
 
 
9864
  lt_cv_irix_exported_symbol=yes
 
9865
else
 
9866
  lt_cv_irix_exported_symbol=no
8984
9867
fi
8985
9868
rm -f core conftest.err conftest.$ac_objext \
8986
9869
    conftest$ac_exeext conftest.$ac_ext
8987
 
        LDFLAGS="$save_LDFLAGS"
 
9870
           LDFLAGS="$save_LDFLAGS"
 
9871
fi
 
9872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9873
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9874
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9875
          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'
 
9876
        fi
8988
9877
      else
8989
 
        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'
8990
 
        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'
 
9878
        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'
 
9879
        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'
8991
9880
      fi
8992
9881
      archive_cmds_need_lc='no'
8993
9882
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9049
9938
      hardcode_libdir_flag_spec='-L$libdir'
9050
9939
      hardcode_minus_L=yes
9051
9940
      allow_undefined_flag=unsupported
9052
 
      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'
 
9941
      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'
9053
9942
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9054
9943
      ;;
9055
9944
 
9056
9945
    osf3*)
9057
9946
      if test "$GCC" = yes; then
9058
9947
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9059
 
        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'
 
9948
        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'
9060
9949
      else
9061
9950
        allow_undefined_flag=' -expect_unresolved \*'
9062
 
        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'
 
9951
        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'
9063
9952
      fi
9064
9953
      archive_cmds_need_lc='no'
9065
9954
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9069
9958
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9070
9959
      if test "$GCC" = yes; then
9071
9960
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9072
 
        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'
 
9961
        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'
9073
9962
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9074
9963
      else
9075
9964
        allow_undefined_flag=' -expect_unresolved \*'
9076
 
        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'
 
9965
        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'
9077
9966
        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~
9078
 
        $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'
 
9967
        $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'
9079
9968
 
9080
9969
        # Both c and cxx compiler support -rpath directly
9081
9970
        hardcode_libdir_flag_spec='-rpath $libdir'
9088
9977
      no_undefined_flag=' -z defs'
9089
9978
      if test "$GCC" = yes; then
9090
9979
        wlarc='${wl}'
9091
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9980
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9092
9981
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9093
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9982
          $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'
9094
9983
      else
9095
9984
        case `$CC -V 2>&1` in
9096
9985
        *"Compilers 5.0"*)
9278
10167
      # to ld, don't add -lc before -lgcc.
9279
10168
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9280
10169
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9281
 
      $RM conftest*
9282
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10170
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
10171
  $as_echo_n "(cached) " >&6
 
10172
else
 
10173
  $RM conftest*
 
10174
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9283
10175
 
9284
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10176
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9285
10177
  (eval $ac_compile) 2>&5
9286
10178
  ac_status=$?
9287
10179
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9288
10180
  test $ac_status = 0; } 2>conftest.err; then
9289
 
        soname=conftest
9290
 
        lib=conftest
9291
 
        libobjs=conftest.$ac_objext
9292
 
        deplibs=
9293
 
        wl=$lt_prog_compiler_wl
9294
 
        pic_flag=$lt_prog_compiler_pic
9295
 
        compiler_flags=-v
9296
 
        linker_flags=-v
9297
 
        verstring=
9298
 
        output_objdir=.
9299
 
        libname=conftest
9300
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9301
 
        allow_undefined_flag=
9302
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10181
          soname=conftest
 
10182
          lib=conftest
 
10183
          libobjs=conftest.$ac_objext
 
10184
          deplibs=
 
10185
          wl=$lt_prog_compiler_wl
 
10186
          pic_flag=$lt_prog_compiler_pic
 
10187
          compiler_flags=-v
 
10188
          linker_flags=-v
 
10189
          verstring=
 
10190
          output_objdir=.
 
10191
          libname=conftest
 
10192
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10193
          allow_undefined_flag=
 
10194
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9303
10195
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9304
10196
  ac_status=$?
9305
10197
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9306
10198
  test $ac_status = 0; }
9307
 
        then
9308
 
          archive_cmds_need_lc=no
9309
 
        else
9310
 
          archive_cmds_need_lc=yes
9311
 
        fi
9312
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9313
 
      else
9314
 
        cat conftest.err 1>&5
9315
 
      fi
9316
 
      $RM conftest*
9317
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9318
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
10199
          then
 
10200
            lt_cv_archive_cmds_need_lc=no
 
10201
          else
 
10202
            lt_cv_archive_cmds_need_lc=yes
 
10203
          fi
 
10204
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10205
        else
 
10206
          cat conftest.err 1>&5
 
10207
        fi
 
10208
        $RM conftest*
 
10209
 
 
10210
fi
 
10211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10212
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10213
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9319
10214
      ;;
9320
10215
    esac
9321
10216
  fi
9473
10368
 
9474
10369
 
9475
10370
 
9476
 
 
9477
 
 
9478
 
 
9479
 
 
9480
 
 
9481
10371
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9482
10372
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9483
10373
 
9486
10376
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9487
10377
    *) lt_awk_arg="/^libraries:/" ;;
9488
10378
  esac
9489
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9490
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10379
  case $host_os in
 
10380
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10381
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10382
  esac
 
10383
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10384
  case $lt_search_path_spec in
 
10385
  *\;*)
9491
10386
    # if the path contains ";" then we assume it to be the separator
9492
10387
    # otherwise default to the standard path separator (i.e. ":") - it is
9493
10388
    # assumed that no part of a normal pathname contains ";" but that should
9494
10389
    # okay in the real world where ";" in dirpaths is itself problematic.
9495
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9496
 
  else
9497
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9498
 
  fi
 
10390
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10391
    ;;
 
10392
  *)
 
10393
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10394
    ;;
 
10395
  esac
9499
10396
  # Ok, now we have the path, separated by spaces, we can step through it
9500
10397
  # and add multilib dir if necessary.
9501
10398
  lt_tmp_lt_search_path_spec=
9508
10405
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9509
10406
    fi
9510
10407
  done
9511
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10408
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9512
10409
BEGIN {RS=" "; FS="/|\n";} {
9513
10410
  lt_foo="";
9514
10411
  lt_count=0;
9528
10425
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9529
10426
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9530
10427
}'`
9531
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10428
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10429
  # for these hosts.
 
10430
  case $host_os in
 
10431
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10432
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10433
  esac
 
10434
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9532
10435
else
9533
10436
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9534
10437
fi
9554
10457
 
9555
10458
case $host_os in
9556
10459
aix3*)
9557
 
  version_type=linux
 
10460
  version_type=linux # correct to gnu/linux during the next big refactor
9558
10461
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9559
10462
  shlibpath_var=LIBPATH
9560
10463
 
9563
10466
  ;;
9564
10467
 
9565
10468
aix[4-9]*)
9566
 
  version_type=linux
 
10469
  version_type=linux # correct to gnu/linux during the next big refactor
9567
10470
  need_lib_prefix=no
9568
10471
  need_version=no
9569
10472
  hardcode_into_libs=yes
9616
10519
  m68k)
9617
10520
    library_names_spec='$libname.ixlibrary $libname.a'
9618
10521
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9619
 
    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'
 
10522
    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'
9620
10523
    ;;
9621
10524
  esac
9622
10525
  ;;
9628
10531
  ;;
9629
10532
 
9630
10533
bsdi[45]*)
9631
 
  version_type=linux
 
10534
  version_type=linux # correct to gnu/linux during the next big refactor
9632
10535
  need_version=no
9633
10536
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9634
10537
  soname_spec='${libname}${release}${shared_ext}$major'
9647
10550
  need_version=no
9648
10551
  need_lib_prefix=no
9649
10552
 
9650
 
  case $GCC,$host_os in
9651
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10553
  case $GCC,$cc_basename in
 
10554
  yes,*)
 
10555
    # gcc
9652
10556
    library_names_spec='$libname.dll.a'
9653
10557
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9654
10558
    postinstall_cmds='base_file=`basename \${file}`~
9669
10573
    cygwin*)
9670
10574
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9671
10575
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9672
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10576
 
 
10577
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9673
10578
      ;;
9674
10579
    mingw* | cegcc*)
9675
10580
      # MinGW DLLs use traditional 'lib' prefix
9676
10581
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9677
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9678
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9679
 
        # It is most probably a Windows format PATH printed by
9680
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9681
 
        # path with ; separators, and with drive letters. We can handle the
9682
 
        # drive letters (cygwin fileutils understands them), so leave them,
9683
 
        # especially as we might pass files found there to a mingw objdump,
9684
 
        # which wouldn't understand a cygwinified path. Ahh.
9685
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9686
 
      else
9687
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9688
 
      fi
9689
10582
      ;;
9690
10583
    pw32*)
9691
10584
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9692
10585
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9693
10586
      ;;
9694
10587
    esac
 
10588
    dynamic_linker='Win32 ld.exe'
 
10589
    ;;
 
10590
 
 
10591
  *,cl*)
 
10592
    # Native MSVC
 
10593
    libname_spec='$name'
 
10594
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10595
    library_names_spec='${libname}.dll.lib'
 
10596
 
 
10597
    case $build_os in
 
10598
    mingw*)
 
10599
      sys_lib_search_path_spec=
 
10600
      lt_save_ifs=$IFS
 
10601
      IFS=';'
 
10602
      for lt_path in $LIB
 
10603
      do
 
10604
        IFS=$lt_save_ifs
 
10605
        # Let DOS variable expansion print the short 8.3 style file name.
 
10606
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10607
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10608
      done
 
10609
      IFS=$lt_save_ifs
 
10610
      # Convert to MSYS style.
 
10611
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10612
      ;;
 
10613
    cygwin*)
 
10614
      # Convert to unix form, then to dos form, then back to unix form
 
10615
      # but this time dos style (no spaces!) so that the unix form looks
 
10616
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10617
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10618
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10619
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10620
      ;;
 
10621
    *)
 
10622
      sys_lib_search_path_spec="$LIB"
 
10623
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10624
        # It is most probably a Windows format PATH.
 
10625
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10626
      else
 
10627
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10628
      fi
 
10629
      # FIXME: find the short name or the path components, as spaces are
 
10630
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10631
      ;;
 
10632
    esac
 
10633
 
 
10634
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10635
    postinstall_cmds='base_file=`basename \${file}`~
 
10636
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10637
      dldir=$destdir/`dirname \$dlpath`~
 
10638
      test -d \$dldir || mkdir -p \$dldir~
 
10639
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10640
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10641
      dlpath=$dir/\$dldll~
 
10642
       $RM \$dlpath'
 
10643
    shlibpath_overrides_runpath=yes
 
10644
    dynamic_linker='Win32 link.exe'
9695
10645
    ;;
9696
10646
 
9697
10647
  *)
 
10648
    # Assume MSVC wrapper
9698
10649
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10650
    dynamic_linker='Win32 ld.exe'
9699
10651
    ;;
9700
10652
  esac
9701
 
  dynamic_linker='Win32 ld.exe'
9702
10653
  # FIXME: first we should search . and the directory the executable is in
9703
10654
  shlibpath_var=PATH
9704
10655
  ;;
9719
10670
  ;;
9720
10671
 
9721
10672
dgux*)
9722
 
  version_type=linux
 
10673
  version_type=linux # correct to gnu/linux during the next big refactor
9723
10674
  need_lib_prefix=no
9724
10675
  need_version=no
9725
10676
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9727
10678
  shlibpath_var=LD_LIBRARY_PATH
9728
10679
  ;;
9729
10680
 
9730
 
freebsd1*)
9731
 
  dynamic_linker=no
9732
 
  ;;
9733
 
 
9734
10681
freebsd* | dragonfly*)
9735
10682
  # DragonFly does not have aout.  When/if they implement a new
9736
10683
  # versioning mechanism, adjust this.
9738
10685
    objformat=`/usr/bin/objformat`
9739
10686
  else
9740
10687
    case $host_os in
9741
 
    freebsd[123]*) objformat=aout ;;
 
10688
    freebsd[23].*) objformat=aout ;;
9742
10689
    *) objformat=elf ;;
9743
10690
    esac
9744
10691
  fi
9756
10703
  esac
9757
10704
  shlibpath_var=LD_LIBRARY_PATH
9758
10705
  case $host_os in
9759
 
  freebsd2*)
 
10706
  freebsd2.*)
9760
10707
    shlibpath_overrides_runpath=yes
9761
10708
    ;;
9762
10709
  freebsd3.[01]* | freebsdelf3.[01]*)
9775
10722
  esac
9776
10723
  ;;
9777
10724
 
9778
 
gnu*)
9779
 
  version_type=linux
 
10725
haiku*)
 
10726
  version_type=linux # correct to gnu/linux during the next big refactor
9780
10727
  need_lib_prefix=no
9781
10728
  need_version=no
 
10729
  dynamic_linker="$host_os runtime_loader"
9782
10730
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9783
10731
  soname_spec='${libname}${release}${shared_ext}$major'
9784
 
  shlibpath_var=LD_LIBRARY_PATH
 
10732
  shlibpath_var=LIBRARY_PATH
 
10733
  shlibpath_overrides_runpath=yes
 
10734
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9785
10735
  hardcode_into_libs=yes
9786
10736
  ;;
9787
10737
 
9827
10777
    soname_spec='${libname}${release}${shared_ext}$major'
9828
10778
    ;;
9829
10779
  esac
9830
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10780
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9831
10781
  postinstall_cmds='chmod 555 $lib'
 
10782
  # or fails outright, so override atomically:
 
10783
  install_override_mode=555
9832
10784
  ;;
9833
10785
 
9834
10786
interix[3-9]*)
9835
 
  version_type=linux
 
10787
  version_type=linux # correct to gnu/linux during the next big refactor
9836
10788
  need_lib_prefix=no
9837
10789
  need_version=no
9838
10790
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9848
10800
    nonstopux*) version_type=nonstopux ;;
9849
10801
    *)
9850
10802
        if test "$lt_cv_prog_gnu_ld" = yes; then
9851
 
                version_type=linux
 
10803
                version_type=linux # correct to gnu/linux during the next big refactor
9852
10804
        else
9853
10805
                version_type=irix
9854
10806
        fi ;;
9885
10837
  dynamic_linker=no
9886
10838
  ;;
9887
10839
 
9888
 
# This must be Linux ELF.
9889
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9890
 
  version_type=linux
 
10840
# This must be glibc/ELF.
 
10841
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 
10842
  version_type=linux # correct to gnu/linux during the next big refactor
9891
10843
  need_lib_prefix=no
9892
10844
  need_version=no
9893
10845
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9895
10847
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9896
10848
  shlibpath_var=LD_LIBRARY_PATH
9897
10849
  shlibpath_overrides_runpath=no
 
10850
 
9898
10851
  # Some binutils ld are patched to set DT_RUNPATH
9899
 
  save_LDFLAGS=$LDFLAGS
9900
 
  save_libdir=$libdir
9901
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9902
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9903
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10852
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10853
  $as_echo_n "(cached) " >&6
 
10854
else
 
10855
  lt_cv_shlibpath_overrides_runpath=no
 
10856
    save_LDFLAGS=$LDFLAGS
 
10857
    save_libdir=$libdir
 
10858
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10859
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10860
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904
10861
/* end confdefs.h.  */
9905
10862
 
9906
10863
int
9913
10870
_ACEOF
9914
10871
if ac_fn_c_try_link "$LINENO"; then :
9915
10872
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9916
 
  shlibpath_overrides_runpath=yes
 
10873
  lt_cv_shlibpath_overrides_runpath=yes
9917
10874
fi
9918
10875
fi
9919
10876
rm -f core conftest.err conftest.$ac_objext \
9920
10877
    conftest$ac_exeext conftest.$ac_ext
9921
 
  LDFLAGS=$save_LDFLAGS
9922
 
  libdir=$save_libdir
 
10878
    LDFLAGS=$save_LDFLAGS
 
10879
    libdir=$save_libdir
 
10880
 
 
10881
fi
 
10882
 
 
10883
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9923
10884
 
9924
10885
  # This implies no fast_install, which is unacceptable.
9925
10886
  # Some rework will be needed to allow for fast_install
9928
10889
 
9929
10890
  # Append ld.so.conf contents to the search path
9930
10891
  if test -f /etc/ld.so.conf; then
9931
 
    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' ' '`
 
10892
    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' ' '`
9932
10893
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9933
10894
  fi
9934
10895
 
9972
10933
  ;;
9973
10934
 
9974
10935
newsos6)
9975
 
  version_type=linux
 
10936
  version_type=linux # correct to gnu/linux during the next big refactor
9976
10937
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9977
10938
  shlibpath_var=LD_LIBRARY_PATH
9978
10939
  shlibpath_overrides_runpath=yes
10041
11002
  ;;
10042
11003
 
10043
11004
solaris*)
10044
 
  version_type=linux
 
11005
  version_type=linux # correct to gnu/linux during the next big refactor
10045
11006
  need_lib_prefix=no
10046
11007
  need_version=no
10047
11008
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10066
11027
  ;;
10067
11028
 
10068
11029
sysv4 | sysv4.3*)
10069
 
  version_type=linux
 
11030
  version_type=linux # correct to gnu/linux during the next big refactor
10070
11031
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10071
11032
  soname_spec='${libname}${release}${shared_ext}$major'
10072
11033
  shlibpath_var=LD_LIBRARY_PATH
10090
11051
 
10091
11052
sysv4*MP*)
10092
11053
  if test -d /usr/nec ;then
10093
 
    version_type=linux
 
11054
    version_type=linux # correct to gnu/linux during the next big refactor
10094
11055
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10095
11056
    soname_spec='$libname${shared_ext}.$major'
10096
11057
    shlibpath_var=LD_LIBRARY_PATH
10121
11082
 
10122
11083
tpf*)
10123
11084
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10124
 
  version_type=linux
 
11085
  version_type=linux # correct to gnu/linux during the next big refactor
10125
11086
  need_lib_prefix=no
10126
11087
  need_version=no
10127
11088
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10131
11092
  ;;
10132
11093
 
10133
11094
uts4*)
10134
 
  version_type=linux
 
11095
  version_type=linux # correct to gnu/linux during the next big refactor
10135
11096
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10136
11097
  soname_spec='${libname}${release}${shared_ext}$major'
10137
11098
  shlibpath_var=LD_LIBRARY_PATH
10243
11204
 
10244
11205
 
10245
11206
 
 
11207
 
 
11208
 
 
11209
 
 
11210
 
 
11211
 
10246
11212
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10247
11213
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10248
11214
hardcode_action=
10315
11281
  # if libdl is installed we need to link against it
10316
11282
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10317
11283
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10318
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11284
if ${ac_cv_lib_dl_dlopen+:} false; then :
10319
11285
  $as_echo_n "(cached) " >&6
10320
11286
else
10321
11287
  ac_check_lib_save_LIBS=$LIBS
10349
11315
fi
10350
11316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10351
11317
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10352
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11318
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10353
11319
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10354
11320
else
10355
11321
 
10363
11329
 
10364
11330
  *)
10365
11331
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10366
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
11332
if test "x$ac_cv_func_shl_load" = xyes; then :
10367
11333
  lt_cv_dlopen="shl_load"
10368
11334
else
10369
11335
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10370
11336
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10371
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11337
if ${ac_cv_lib_dld_shl_load+:} false; then :
10372
11338
  $as_echo_n "(cached) " >&6
10373
11339
else
10374
11340
  ac_check_lib_save_LIBS=$LIBS
10402
11368
fi
10403
11369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10404
11370
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10405
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11371
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10406
11372
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10407
11373
else
10408
11374
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10409
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
11375
if test "x$ac_cv_func_dlopen" = xyes; then :
10410
11376
  lt_cv_dlopen="dlopen"
10411
11377
else
10412
11378
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10413
11379
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10414
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11380
if ${ac_cv_lib_dl_dlopen+:} false; then :
10415
11381
  $as_echo_n "(cached) " >&6
10416
11382
else
10417
11383
  ac_check_lib_save_LIBS=$LIBS
10445
11411
fi
10446
11412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10447
11413
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10448
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11414
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10449
11415
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10450
11416
else
10451
11417
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10452
11418
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10453
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11419
if ${ac_cv_lib_svld_dlopen+:} false; then :
10454
11420
  $as_echo_n "(cached) " >&6
10455
11421
else
10456
11422
  ac_check_lib_save_LIBS=$LIBS
10484
11450
fi
10485
11451
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10486
11452
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10487
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
11453
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10488
11454
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10489
11455
else
10490
11456
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10491
11457
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10492
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11458
if ${ac_cv_lib_dld_dld_link+:} false; then :
10493
11459
  $as_echo_n "(cached) " >&6
10494
11460
else
10495
11461
  ac_check_lib_save_LIBS=$LIBS
10523
11489
fi
10524
11490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10525
11491
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10526
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11492
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10527
11493
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10528
11494
fi
10529
11495
 
10564
11530
 
10565
11531
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10566
11532
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10567
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11533
if ${lt_cv_dlopen_self+:} false; then :
10568
11534
  $as_echo_n "(cached) " >&6
10569
11535
else
10570
11536
          if test "$cross_compiling" = yes; then :
10573
11539
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10574
11540
  lt_status=$lt_dlunknown
10575
11541
  cat > conftest.$ac_ext <<_LT_EOF
10576
 
#line 10576 "configure"
 
11542
#line $LINENO "configure"
10577
11543
#include "confdefs.h"
10578
11544
 
10579
11545
#if HAVE_DLFCN_H
10614
11580
#  endif
10615
11581
#endif
10616
11582
 
10617
 
void fnord() { int i=42;}
 
11583
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11584
   correspondingly for the symbols needed.  */
 
11585
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11586
int fnord () __attribute__((visibility("default")));
 
11587
#endif
 
11588
 
 
11589
int fnord () { return 42; }
10618
11590
int main ()
10619
11591
{
10620
11592
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10623
11595
  if (self)
10624
11596
    {
10625
11597
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10626
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11598
      else
 
11599
        {
 
11600
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11601
          else puts (dlerror ());
 
11602
        }
10627
11603
      /* dlclose (self); */
10628
11604
    }
10629
11605
  else
10660
11636
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10661
11637
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10662
11638
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10663
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11639
if ${lt_cv_dlopen_self_static+:} false; then :
10664
11640
  $as_echo_n "(cached) " >&6
10665
11641
else
10666
11642
          if test "$cross_compiling" = yes; then :
10669
11645
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10670
11646
  lt_status=$lt_dlunknown
10671
11647
  cat > conftest.$ac_ext <<_LT_EOF
10672
 
#line 10672 "configure"
 
11648
#line $LINENO "configure"
10673
11649
#include "confdefs.h"
10674
11650
 
10675
11651
#if HAVE_DLFCN_H
10710
11686
#  endif
10711
11687
#endif
10712
11688
 
10713
 
void fnord() { int i=42;}
 
11689
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11690
   correspondingly for the symbols needed.  */
 
11691
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11692
int fnord () __attribute__((visibility("default")));
 
11693
#endif
 
11694
 
 
11695
int fnord () { return 42; }
10714
11696
int main ()
10715
11697
{
10716
11698
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10719
11701
  if (self)
10720
11702
    {
10721
11703
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10722
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11704
      else
 
11705
        {
 
11706
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11707
          else puts (dlerror ());
 
11708
        }
10723
11709
      /* dlclose (self); */
10724
11710
    }
10725
11711
  else
10888
11874
 
10889
11875
 
10890
11876
 
 
11877
 
 
11878
 
10891
11879
        ac_config_commands="$ac_config_commands libtool"
10892
11880
 
10893
11881
 
10899
11887
 
10900
11888
 
10901
11889
 
 
11890
mkdir_p="$MKDIR_P"
 
11891
case $mkdir_p in
 
11892
  [\\/$]* | ?:[\\/]*) ;;
 
11893
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
11894
esac
 
11895
 
 
11896
 
10902
11897
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
10903
11898
$as_echo_n "checking whether NLS is requested... " >&6; }
10904
11899
    # Check whether --enable-nls was given.
10951
11946
set dummy msgfmt; ac_word=$2
10952
11947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10953
11948
$as_echo_n "checking for $ac_word... " >&6; }
10954
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
11949
if ${ac_cv_path_MSGFMT+:} false; then :
10955
11950
  $as_echo_n "(cached) " >&6
10956
11951
else
10957
11952
  case "$MSGFMT" in
10992
11987
set dummy gmsgfmt; ac_word=$2
10993
11988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10994
11989
$as_echo_n "checking for $ac_word... " >&6; }
10995
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
11990
if ${ac_cv_path_GMSGFMT+:} false; then :
10996
11991
  $as_echo_n "(cached) " >&6
10997
11992
else
10998
11993
  case $GMSGFMT in
11006
12001
  IFS=$as_save_IFS
11007
12002
  test -z "$as_dir" && as_dir=.
11008
12003
    for ac_exec_ext in '' $ac_executable_extensions; do
11009
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12004
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11010
12005
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11011
12006
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11012
12007
    break 2
11074
12069
set dummy xgettext; ac_word=$2
11075
12070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11076
12071
$as_echo_n "checking for $ac_word... " >&6; }
11077
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
12072
if ${ac_cv_path_XGETTEXT+:} false; then :
11078
12073
  $as_echo_n "(cached) " >&6
11079
12074
else
11080
12075
  case "$XGETTEXT" in
11152
12147
set dummy msgmerge; ac_word=$2
11153
12148
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11154
12149
$as_echo_n "checking for $ac_word... " >&6; }
11155
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
12150
if ${ac_cv_path_MSGMERGE+:} false; then :
11156
12151
  $as_echo_n "(cached) " >&6
11157
12152
else
11158
12153
  case "$MSGMERGE" in
11201
12196
 
11202
12197
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2 or newer" >&5
11203
12198
$as_echo_n "checking whether we are using the GNU C Library 2 or newer... " >&6; }
11204
 
if test "${ac_cv_gnu_library_2+set}" = set; then :
 
12199
if ${ac_cv_gnu_library_2+:} false; then :
11205
12200
  $as_echo_n "(cached) " >&6
11206
12201
else
11207
12202
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237
12232
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11238
12233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11239
12234
$as_echo_n "checking for $ac_word... " >&6; }
11240
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
12235
if ${ac_cv_prog_RANLIB+:} false; then :
11241
12236
  $as_echo_n "(cached) " >&6
11242
12237
else
11243
12238
  if test -n "$RANLIB"; then
11249
12244
  IFS=$as_save_IFS
11250
12245
  test -z "$as_dir" && as_dir=.
11251
12246
    for ac_exec_ext in '' $ac_executable_extensions; do
11252
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12247
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11253
12248
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11254
12249
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11255
12250
    break 2
11277
12272
set dummy ranlib; ac_word=$2
11278
12273
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11279
12274
$as_echo_n "checking for $ac_word... " >&6; }
11280
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
12275
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
11281
12276
  $as_echo_n "(cached) " >&6
11282
12277
else
11283
12278
  if test -n "$ac_ct_RANLIB"; then
11289
12284
  IFS=$as_save_IFS
11290
12285
  test -z "$as_dir" && as_dir=.
11291
12286
    for ac_exec_ext in '' $ac_executable_extensions; do
11292
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12287
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11293
12288
    ac_cv_prog_ac_ct_RANLIB="ranlib"
11294
12289
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11295
12290
    break 2
11331
12326
  if test -n "$GCC"; then
11332
12327
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
11333
12328
$as_echo_n "checking for simple visibility declarations... " >&6; }
11334
 
    if test "${gl_cv_cc_visibility+set}" = set; then :
 
12329
    if ${gl_cv_cc_visibility+:} false; then :
11335
12330
  $as_echo_n "(cached) " >&6
11336
12331
else
11337
12332
 
11377
12372
 
11378
12373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
11379
12374
$as_echo_n "checking for inline... " >&6; }
11380
 
if test "${ac_cv_c_inline+set}" = set; then :
 
12375
if ${ac_cv_c_inline+:} false; then :
11381
12376
  $as_echo_n "(cached) " >&6
11382
12377
else
11383
12378
  ac_cv_c_inline=no
11418
12413
esac
11419
12414
 
11420
12415
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11421
 
if test "x$ac_cv_type_size_t" = x""yes; then :
 
12416
if test "x$ac_cv_type_size_t" = xyes; then :
11422
12417
 
11423
12418
else
11424
12419
 
11431
12426
 
11432
12427
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
11433
12428
$as_echo_n "checking for stdint.h... " >&6; }
11434
 
if test "${gl_cv_header_stdint_h+set}" = set; then :
 
12429
if ${gl_cv_header_stdint_h+:} false; then :
11435
12430
  $as_echo_n "(cached) " >&6
11436
12431
else
11437
12432
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467
12462
# for constant arguments.  Useless!
11468
12463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
11469
12464
$as_echo_n "checking for working alloca.h... " >&6; }
11470
 
if test "${ac_cv_working_alloca_h+set}" = set; then :
 
12465
if ${ac_cv_working_alloca_h+:} false; then :
11471
12466
  $as_echo_n "(cached) " >&6
11472
12467
else
11473
12468
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11500
12495
 
11501
12496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
11502
12497
$as_echo_n "checking for alloca... " >&6; }
11503
 
if test "${ac_cv_func_alloca_works+set}" = set; then :
 
12498
if ${ac_cv_func_alloca_works+:} false; then :
11504
12499
  $as_echo_n "(cached) " >&6
11505
12500
else
11506
12501
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519
12514
 #pragma alloca
11520
12515
#   else
11521
12516
#    ifndef alloca /* predefined by HP cc +Olibcalls */
11522
 
char *alloca ();
 
12517
void *alloca (size_t);
11523
12518
#    endif
11524
12519
#   endif
11525
12520
#  endif
11563
12558
 
11564
12559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
11565
12560
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
11566
 
if test "${ac_cv_os_cray+set}" = set; then :
 
12561
if ${ac_cv_os_cray+:} false; then :
11567
12562
  $as_echo_n "(cached) " >&6
11568
12563
else
11569
12564
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604
12599
 
11605
12600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
11606
12601
$as_echo_n "checking stack direction for C alloca... " >&6; }
11607
 
if test "${ac_cv_c_stack_direction+set}" = set; then :
 
12602
if ${ac_cv_c_stack_direction+:} false; then :
11608
12603
  $as_echo_n "(cached) " >&6
11609
12604
else
11610
12605
  if test "$cross_compiling" = yes; then :
11614
12609
/* end confdefs.h.  */
11615
12610
$ac_includes_default
11616
12611
int
11617
 
find_stack_direction ()
 
12612
find_stack_direction (int *addr, int depth)
11618
12613
{
11619
 
  static char *addr = 0;
11620
 
  auto char dummy;
11621
 
  if (addr == 0)
11622
 
    {
11623
 
      addr = &dummy;
11624
 
      return find_stack_direction ();
11625
 
    }
11626
 
  else
11627
 
    return (&dummy > addr) ? 1 : -1;
 
12614
  int dir, dummy = 0;
 
12615
  if (! addr)
 
12616
    addr = &dummy;
 
12617
  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
 
12618
  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
 
12619
  return dir + dummy;
11628
12620
}
11629
12621
 
11630
12622
int
11631
 
main ()
 
12623
main (int argc, char **argv)
11632
12624
{
11633
 
  return find_stack_direction () < 0;
 
12625
  return find_stack_direction (0, argc + !argv + 20) < 0;
11634
12626
}
11635
12627
_ACEOF
11636
12628
if ac_fn_c_try_run "$LINENO"; then :
11679
12671
for ac_func in getpagesize
11680
12672
do :
11681
12673
  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
11682
 
if test "x$ac_cv_func_getpagesize" = x""yes; then :
 
12674
if test "x$ac_cv_func_getpagesize" = xyes; then :
11683
12675
  cat >>confdefs.h <<_ACEOF
11684
12676
#define HAVE_GETPAGESIZE 1
11685
12677
_ACEOF
11689
12681
 
11690
12682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
11691
12683
$as_echo_n "checking for working mmap... " >&6; }
11692
 
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
 
12684
if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
11693
12685
  $as_echo_n "(cached) " >&6
11694
12686
else
11695
12687
  if test "$cross_compiling" = yes; then :
11857
12849
 
11858
12850
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
11859
12851
$as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
11860
 
if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
 
12852
if ${gt_cv_int_divbyzero_sigfpe+:} false; then :
11861
12853
  $as_echo_n "(cached) " >&6
11862
12854
else
11863
12855
 
11948
12940
 
11949
12941
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
11950
12942
$as_echo_n "checking for inttypes.h... " >&6; }
11951
 
if test "${gl_cv_header_inttypes_h+set}" = set; then :
 
12943
if ${gl_cv_header_inttypes_h+:} false; then :
11952
12944
  $as_echo_n "(cached) " >&6
11953
12945
else
11954
12946
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11983
12975
 
11984
12976
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
11985
12977
$as_echo_n "checking for unsigned long long int... " >&6; }
11986
 
if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
 
12978
if ${ac_cv_type_unsigned_long_long_int+:} false; then :
11987
12979
  $as_echo_n "(cached) " >&6
11988
12980
else
11989
12981
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12060
13052
  for ac_header in inttypes.h
12061
13053
do :
12062
13054
  ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
12063
 
if test "x$ac_cv_header_inttypes_h" = x""yes; then :
 
13055
if test "x$ac_cv_header_inttypes_h" = xyes; then :
12064
13056
  cat >>confdefs.h <<_ACEOF
12065
13057
#define HAVE_INTTYPES_H 1
12066
13058
_ACEOF
12072
13064
  if test $ac_cv_header_inttypes_h = yes; then
12073
13065
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
12074
13066
$as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
12075
 
if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
 
13067
if ${gt_cv_inttypes_pri_broken+:} false; then :
12076
13068
  $as_echo_n "(cached) " >&6
12077
13069
else
12078
13070
 
12230
13222
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12231
13223
$as_echo_n "checking for non-GNU ld... " >&6; }
12232
13224
fi
12233
 
if test "${acl_cv_path_LD+set}" = set; then :
 
13225
if ${acl_cv_path_LD+:} false; then :
12234
13226
  $as_echo_n "(cached) " >&6
12235
13227
else
12236
13228
  if test -z "$LD"; then
12267
13259
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12268
13260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12269
13261
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12270
 
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
 
13262
if ${acl_cv_prog_gnu_ld+:} false; then :
12271
13263
  $as_echo_n "(cached) " >&6
12272
13264
else
12273
13265
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12287
13279
 
12288
13280
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12289
13281
$as_echo_n "checking for shared library run path origin... " >&6; }
12290
 
if test "${acl_cv_rpath+set}" = set; then :
 
13282
if ${acl_cv_rpath+:} false; then :
12291
13283
  $as_echo_n "(cached) " >&6
12292
13284
else
12293
13285
 
12370
13362
      # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
12371
13363
      # it groks <pthread.h>. It's added above, in gl_LOCK_EARLY_BODY.
12372
13364
      ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
12373
 
if test "x$ac_cv_header_pthread_h" = x""yes; then :
 
13365
if test "x$ac_cv_header_pthread_h" = xyes; then :
12374
13366
  gl_have_pthread_h=yes
12375
13367
else
12376
13368
  gl_have_pthread_h=no
12409
13401
          # need to link with libpthread in order to create multiple threads.
12410
13402
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
12411
13403
$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
12412
 
if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then :
 
13404
if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
12413
13405
  $as_echo_n "(cached) " >&6
12414
13406
else
12415
13407
  ac_check_lib_save_LIBS=$LIBS
12443
13435
fi
12444
13436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
12445
13437
$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
12446
 
if test "x$ac_cv_lib_pthread_pthread_kill" = x""yes; then :
 
13438
if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
12447
13439
  LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
12448
13440
             # On Solaris and HP-UX, most pthread functions exist also in libc.
12449
13441
             # Therefore pthread_in_use() needs to actually try to create a
12462
13454
          # Some library is needed. Try libpthread and libc_r.
12463
13455
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
12464
13456
$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
12465
 
if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then :
 
13457
if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
12466
13458
  $as_echo_n "(cached) " >&6
12467
13459
else
12468
13460
  ac_check_lib_save_LIBS=$LIBS
12496
13488
fi
12497
13489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
12498
13490
$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
12499
 
if test "x$ac_cv_lib_pthread_pthread_kill" = x""yes; then :
 
13491
if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
12500
13492
  gl_have_pthread=yes
12501
13493
             LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
12502
13494
             LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
12506
13498
            # For FreeBSD 4.
12507
13499
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5
12508
13500
$as_echo_n "checking for pthread_kill in -lc_r... " >&6; }
12509
 
if test "${ac_cv_lib_c_r_pthread_kill+set}" = set; then :
 
13501
if ${ac_cv_lib_c_r_pthread_kill+:} false; then :
12510
13502
  $as_echo_n "(cached) " >&6
12511
13503
else
12512
13504
  ac_check_lib_save_LIBS=$LIBS
12540
13532
fi
12541
13533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5
12542
13534
$as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; }
12543
 
if test "x$ac_cv_lib_c_r_pthread_kill" = x""yes; then :
 
13535
if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then :
12544
13536
  gl_have_pthread=yes
12545
13537
               LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
12546
13538
               LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
12566
13558
          # pthread_rwlock_* functions.
12567
13559
          ac_fn_c_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
12568
13560
"
12569
 
if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
 
13561
if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
12570
13562
 
12571
13563
$as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
12572
13564
 
12649
13641
 
12650
13642
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5
12651
13643
$as_echo_n "checking how to link with libpth... " >&6; }
12652
 
if test "${ac_cv_libpth_libs+set}" = set; then :
 
13644
if ${ac_cv_libpth_libs+:} false; then :
12653
13645
  $as_echo_n "(cached) " >&6
12654
13646
else
12655
13647
 
13696
14688
 
13697
14689
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether feof_unlocked is declared" >&5
13698
14690
$as_echo_n "checking whether feof_unlocked is declared... " >&6; }
13699
 
if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then :
 
14691
if ${ac_cv_have_decl_feof_unlocked+:} false; then :
13700
14692
  $as_echo_n "(cached) " >&6
13701
14693
else
13702
14694
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13737
14729
 
13738
14730
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fgets_unlocked is declared" >&5
13739
14731
$as_echo_n "checking whether fgets_unlocked is declared... " >&6; }
13740
 
if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then :
 
14732
if ${ac_cv_have_decl_fgets_unlocked+:} false; then :
13741
14733
  $as_echo_n "(cached) " >&6
13742
14734
else
13743
14735
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13808
14800
 
13809
14801
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13810
14802
$as_echo_n "checking for iconv... " >&6; }
13811
 
if test "${am_cv_func_iconv+set}" = set; then :
 
14803
if ${am_cv_func_iconv+:} false; then :
13812
14804
  $as_echo_n "(cached) " >&6
13813
14805
else
13814
14806
 
13865
14857
  if test "$am_cv_func_iconv" = yes; then
13866
14858
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13867
14859
$as_echo_n "checking for working iconv... " >&6; }
13868
 
if test "${am_cv_func_iconv_works+set}" = set; then :
 
14860
if ${am_cv_func_iconv_works+:} false; then :
13869
14861
  $as_echo_n "(cached) " >&6
13870
14862
else
13871
14863
 
13981
14973
  if test "$am_cv_func_iconv" = yes; then
13982
14974
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
13983
14975
$as_echo_n "checking for iconv declaration... " >&6; }
13984
 
    if test "${am_cv_proto_iconv+set}" = set; then :
 
14976
    if ${am_cv_proto_iconv+:} false; then :
13985
14977
  $as_echo_n "(cached) " >&6
13986
14978
else
13987
14979
 
14032
15024
 
14033
15025
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NL_LOCALE_NAME macro" >&5
14034
15026
$as_echo_n "checking for NL_LOCALE_NAME macro... " >&6; }
14035
 
if test "${gt_cv_nl_locale_name+set}" = set; then :
 
15027
if ${gt_cv_nl_locale_name+:} false; then :
14036
15028
  $as_echo_n "(cached) " >&6
14037
15029
else
14038
15030
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14072
15064
set dummy $ac_prog; ac_word=$2
14073
15065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14074
15066
$as_echo_n "checking for $ac_word... " >&6; }
14075
 
if test "${ac_cv_prog_INTLBISON+set}" = set; then :
 
15067
if ${ac_cv_prog_INTLBISON+:} false; then :
14076
15068
  $as_echo_n "(cached) " >&6
14077
15069
else
14078
15070
  if test -n "$INTLBISON"; then
14084
15076
  IFS=$as_save_IFS
14085
15077
  test -z "$as_dir" && as_dir=.
14086
15078
    for ac_exec_ext in '' $ac_executable_extensions; do
14087
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15079
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14088
15080
    ac_cv_prog_INTLBISON="$ac_prog"
14089
15081
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14090
15082
    break 2
14130
15122
 
14131
15123
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
14132
15124
$as_echo_n "checking for long long int... " >&6; }
14133
 
if test "${ac_cv_type_long_long_int+set}" = set; then :
 
15125
if ${ac_cv_type_long_long_int+:} false; then :
14134
15126
  $as_echo_n "(cached) " >&6
14135
15127
else
14136
15128
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14224
15216
 
14225
15217
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
14226
15218
$as_echo_n "checking for wchar_t... " >&6; }
14227
 
if test "${gt_cv_c_wchar_t+set}" = set; then :
 
15219
if ${gt_cv_c_wchar_t+:} false; then :
14228
15220
  $as_echo_n "(cached) " >&6
14229
15221
else
14230
15222
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14257
15249
 
14258
15250
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
14259
15251
$as_echo_n "checking for wint_t... " >&6; }
14260
 
if test "${gt_cv_c_wint_t+set}" = set; then :
 
15252
if ${gt_cv_c_wint_t+:} false; then :
14261
15253
  $as_echo_n "(cached) " >&6
14262
15254
else
14263
15255
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14300
15292
 
14301
15293
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
14302
15294
$as_echo_n "checking for intmax_t... " >&6; }
14303
 
if test "${gt_cv_c_intmax_t+set}" = set; then :
 
15295
if ${gt_cv_c_intmax_t+:} false; then :
14304
15296
  $as_echo_n "(cached) " >&6
14305
15297
else
14306
15298
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343
15335
 
14344
15336
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5
14345
15337
$as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; }
14346
 
if test "${gt_cv_func_printf_posix+set}" = set; then :
 
15338
if ${gt_cv_func_printf_posix+:} false; then :
14347
15339
  $as_echo_n "(cached) " >&6
14348
15340
else
14349
15341
 
14406
15398
 
14407
15399
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
14408
15400
$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
14409
 
if test "${ac_cv_gnu_library_2_1+set}" = set; then :
 
15401
if ${ac_cv_gnu_library_2_1+:} false; then :
14410
15402
  $as_echo_n "(cached) " >&6
14411
15403
else
14412
15404
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14441
15433
  for ac_header in stdint.h
14442
15434
do :
14443
15435
  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
14444
 
if test "x$ac_cv_header_stdint_h" = x""yes; then :
 
15436
if test "x$ac_cv_header_stdint_h" = xyes; then :
14445
15437
  cat >>confdefs.h <<_ACEOF
14446
15438
#define HAVE_STDINT_H 1
14447
15439
_ACEOF
14452
15444
 
14453
15445
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
14454
15446
$as_echo_n "checking for SIZE_MAX... " >&6; }
14455
 
  if test "${gl_cv_size_max+set}" = set; then :
 
15447
  if ${gl_cv_size_max+:} false; then :
14456
15448
  $as_echo_n "(cached) " >&6
14457
15449
else
14458
15450
 
14538
15530
  for ac_header in stdint.h
14539
15531
do :
14540
15532
  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
14541
 
if test "x$ac_cv_header_stdint_h" = x""yes; then :
 
15533
if test "x$ac_cv_header_stdint_h" = xyes; then :
14542
15534
  cat >>confdefs.h <<_ACEOF
14543
15535
#define HAVE_STDINT_H 1
14544
15536
_ACEOF
14551
15543
 
14552
15544
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14553
15545
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14554
 
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
 
15546
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14555
15547
  $as_echo_n "(cached) " >&6
14556
15548
else
14557
15549
  gt_save_LIBS="$LIBS"
14585
15577
  fi
14586
15578
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14587
15579
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14588
 
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
 
15580
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14589
15581
  $as_echo_n "(cached) " >&6
14590
15582
else
14591
15583
  gt_save_LIBS="$LIBS"
14629
15621
 
14630
15622
 
14631
15623
  ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
14632
 
if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
 
15624
if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
14633
15625
 
14634
15626
else
14635
15627
 
14667
15659
 
14668
15660
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snprintf is declared" >&5
14669
15661
$as_echo_n "checking whether _snprintf is declared... " >&6; }
14670
 
if test "${ac_cv_have_decl__snprintf+set}" = set; then :
 
15662
if ${ac_cv_have_decl__snprintf+:} false; then :
14671
15663
  $as_echo_n "(cached) " >&6
14672
15664
else
14673
15665
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14708
15700
 
14709
15701
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snwprintf is declared" >&5
14710
15702
$as_echo_n "checking whether _snwprintf is declared... " >&6; }
14711
 
if test "${ac_cv_have_decl__snwprintf+set}" = set; then :
 
15703
if ${ac_cv_have_decl__snwprintf+:} false; then :
14712
15704
  $as_echo_n "(cached) " >&6
14713
15705
else
14714
15706
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750
15742
 
14751
15743
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getc_unlocked is declared" >&5
14752
15744
$as_echo_n "checking whether getc_unlocked is declared... " >&6; }
14753
 
if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then :
 
15745
if ${ac_cv_have_decl_getc_unlocked+:} false; then :
14754
15746
  $as_echo_n "(cached) " >&6
14755
15747
else
14756
15748
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14816
15808
 
14817
15809
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
14818
15810
$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
14819
 
if test "${am_cv_langinfo_codeset+set}" = set; then :
 
15811
if ${am_cv_langinfo_codeset+:} false; then :
14820
15812
  $as_echo_n "(cached) " >&6
14821
15813
else
14822
15814
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14850
15842
 
14851
15843
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14852
15844
$as_echo_n "checking for LC_MESSAGES... " >&6; }
14853
 
if test "${gt_cv_val_LC_MESSAGES+set}" = set; then :
 
15845
if ${gt_cv_val_LC_MESSAGES+:} false; then :
14854
15846
  $as_echo_n "(cached) " >&6
14855
15847
else
14856
15848
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14904
15896
set dummy ${ac_tool_prefix}windres; ac_word=$2
14905
15897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14906
15898
$as_echo_n "checking for $ac_word... " >&6; }
14907
 
if test "${ac_cv_prog_WINDRES+set}" = set; then :
 
15899
if ${ac_cv_prog_WINDRES+:} false; then :
14908
15900
  $as_echo_n "(cached) " >&6
14909
15901
else
14910
15902
  if test -n "$WINDRES"; then
14916
15908
  IFS=$as_save_IFS
14917
15909
  test -z "$as_dir" && as_dir=.
14918
15910
    for ac_exec_ext in '' $ac_executable_extensions; do
14919
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15911
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14920
15912
    ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
14921
15913
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14922
15914
    break 2
14944
15936
set dummy windres; ac_word=$2
14945
15937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14946
15938
$as_echo_n "checking for $ac_word... " >&6; }
14947
 
if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then :
 
15939
if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
14948
15940
  $as_echo_n "(cached) " >&6
14949
15941
else
14950
15942
  if test -n "$ac_ct_WINDRES"; then
14956
15948
  IFS=$as_save_IFS
14957
15949
  test -z "$as_dir" && as_dir=.
14958
15950
    for ac_exec_ext in '' $ac_executable_extensions; do
14959
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15951
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14960
15952
    ac_cv_prog_ac_ct_WINDRES="windres"
14961
15953
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14962
15954
    break 2
15025
16017
 
15026
16018
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15027
16019
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15028
 
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
 
16020
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15029
16021
  $as_echo_n "(cached) " >&6
15030
16022
else
15031
16023
  gt_save_LIBS="$LIBS"
15059
16051
  fi
15060
16052
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15061
16053
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15062
 
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
 
16054
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15063
16055
  $as_echo_n "(cached) " >&6
15064
16056
else
15065
16057
  gt_save_LIBS="$LIBS"
15154
16146
 
15155
16147
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15156
16148
$as_echo_n "checking for GNU gettext in libc... " >&6; }
15157
 
if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
 
16149
if eval \${$gt_func_gnugettext_libc+:} false; then :
15158
16150
  $as_echo_n "(cached) " >&6
15159
16151
else
15160
16152
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15623
16615
 
15624
16616
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15625
16617
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
15626
 
if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
 
16618
if eval \${$gt_func_gnugettext_libintl+:} false; then :
15627
16619
  $as_echo_n "(cached) " >&6
15628
16620
else
15629
16621
  gt_save_CPPFLAGS="$CPPFLAGS"
15858
16850
set dummy ${ac_tool_prefix}gcc; ac_word=$2
15859
16851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15860
16852
$as_echo_n "checking for $ac_word... " >&6; }
15861
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
16853
if ${ac_cv_prog_CC+:} false; then :
15862
16854
  $as_echo_n "(cached) " >&6
15863
16855
else
15864
16856
  if test -n "$CC"; then
15870
16862
  IFS=$as_save_IFS
15871
16863
  test -z "$as_dir" && as_dir=.
15872
16864
    for ac_exec_ext in '' $ac_executable_extensions; do
15873
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16865
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15874
16866
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
15875
16867
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15876
16868
    break 2
15898
16890
set dummy gcc; ac_word=$2
15899
16891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15900
16892
$as_echo_n "checking for $ac_word... " >&6; }
15901
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
16893
if ${ac_cv_prog_ac_ct_CC+:} false; then :
15902
16894
  $as_echo_n "(cached) " >&6
15903
16895
else
15904
16896
  if test -n "$ac_ct_CC"; then
15910
16902
  IFS=$as_save_IFS
15911
16903
  test -z "$as_dir" && as_dir=.
15912
16904
    for ac_exec_ext in '' $ac_executable_extensions; do
15913
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16905
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15914
16906
    ac_cv_prog_ac_ct_CC="gcc"
15915
16907
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15916
16908
    break 2
15951
16943
set dummy ${ac_tool_prefix}cc; ac_word=$2
15952
16944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15953
16945
$as_echo_n "checking for $ac_word... " >&6; }
15954
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
16946
if ${ac_cv_prog_CC+:} false; then :
15955
16947
  $as_echo_n "(cached) " >&6
15956
16948
else
15957
16949
  if test -n "$CC"; then
15963
16955
  IFS=$as_save_IFS
15964
16956
  test -z "$as_dir" && as_dir=.
15965
16957
    for ac_exec_ext in '' $ac_executable_extensions; do
15966
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16958
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15967
16959
    ac_cv_prog_CC="${ac_tool_prefix}cc"
15968
16960
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15969
16961
    break 2
15991
16983
set dummy cc; ac_word=$2
15992
16984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15993
16985
$as_echo_n "checking for $ac_word... " >&6; }
15994
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
16986
if ${ac_cv_prog_CC+:} false; then :
15995
16987
  $as_echo_n "(cached) " >&6
15996
16988
else
15997
16989
  if test -n "$CC"; then
16004
16996
  IFS=$as_save_IFS
16005
16997
  test -z "$as_dir" && as_dir=.
16006
16998
    for ac_exec_ext in '' $ac_executable_extensions; do
16007
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16999
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16008
17000
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16009
17001
       ac_prog_rejected=yes
16010
17002
       continue
16050
17042
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16051
17043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16052
17044
$as_echo_n "checking for $ac_word... " >&6; }
16053
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
17045
if ${ac_cv_prog_CC+:} false; then :
16054
17046
  $as_echo_n "(cached) " >&6
16055
17047
else
16056
17048
  if test -n "$CC"; then
16062
17054
  IFS=$as_save_IFS
16063
17055
  test -z "$as_dir" && as_dir=.
16064
17056
    for ac_exec_ext in '' $ac_executable_extensions; do
16065
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17057
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16066
17058
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16067
17059
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16068
17060
    break 2
16094
17086
set dummy $ac_prog; ac_word=$2
16095
17087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16096
17088
$as_echo_n "checking for $ac_word... " >&6; }
16097
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
17089
if ${ac_cv_prog_ac_ct_CC+:} false; then :
16098
17090
  $as_echo_n "(cached) " >&6
16099
17091
else
16100
17092
  if test -n "$ac_ct_CC"; then
16106
17098
  IFS=$as_save_IFS
16107
17099
  test -z "$as_dir" && as_dir=.
16108
17100
    for ac_exec_ext in '' $ac_executable_extensions; do
16109
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17101
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16110
17102
    ac_cv_prog_ac_ct_CC="$ac_prog"
16111
17103
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16112
17104
    break 2
16149
17141
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16150
17142
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16151
17143
as_fn_error $? "no acceptable C compiler found in \$PATH
16152
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
17144
See \`config.log' for more details" "$LINENO" 5; }
16153
17145
 
16154
17146
# Provide some information about the compiler.
16155
17147
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16178
17170
 
16179
17171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16180
17172
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16181
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
17173
if ${ac_cv_c_compiler_gnu+:} false; then :
16182
17174
  $as_echo_n "(cached) " >&6
16183
17175
else
16184
17176
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16215
17207
ac_save_CFLAGS=$CFLAGS
16216
17208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16217
17209
$as_echo_n "checking whether $CC accepts -g... " >&6; }
16218
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
17210
if ${ac_cv_prog_cc_g+:} false; then :
16219
17211
  $as_echo_n "(cached) " >&6
16220
17212
else
16221
17213
  ac_save_c_werror_flag=$ac_c_werror_flag
16293
17285
fi
16294
17286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16295
17287
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16296
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
17288
if ${ac_cv_prog_cc_c89+:} false; then :
16297
17289
  $as_echo_n "(cached) " >&6
16298
17290
else
16299
17291
  ac_cv_prog_cc_c89=no
16302
17294
/* end confdefs.h.  */
16303
17295
#include <stdarg.h>
16304
17296
#include <stdio.h>
16305
 
#include <sys/types.h>
16306
 
#include <sys/stat.h>
 
17297
struct stat;
16307
17298
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16308
17299
struct buf { int x; };
16309
17300
FILE * (*rcsopen) (struct buf *, struct stat *, int);
16400
17391
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16401
17392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16402
17393
$as_echo_n "checking for $ac_word... " >&6; }
16403
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
17394
if ${ac_cv_path_PKG_CONFIG+:} false; then :
16404
17395
  $as_echo_n "(cached) " >&6
16405
17396
else
16406
17397
  case $PKG_CONFIG in
16414
17405
  IFS=$as_save_IFS
16415
17406
  test -z "$as_dir" && as_dir=.
16416
17407
    for ac_exec_ext in '' $ac_executable_extensions; do
16417
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17408
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16418
17409
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16419
17410
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16420
17411
    break 2
16443
17434
set dummy pkg-config; ac_word=$2
16444
17435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16445
17436
$as_echo_n "checking for $ac_word... " >&6; }
16446
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
17437
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16447
17438
  $as_echo_n "(cached) " >&6
16448
17439
else
16449
17440
  case $ac_pt_PKG_CONFIG in
16457
17448
  IFS=$as_save_IFS
16458
17449
  test -z "$as_dir" && as_dir=.
16459
17450
    for ac_exec_ext in '' $ac_executable_extensions; do
16460
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17451
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16461
17452
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16462
17453
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16463
17454
    break 2
16590
17581
See the pkg-config man page for more details.
16591
17582
 
16592
17583
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16593
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
17584
See \`config.log' for more details" "$LINENO" 5; }
16594
17585
else
16595
17586
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
16596
17587
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
16600
17591
fi
16601
17592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
16602
17593
$as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
16603
 
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
 
17594
if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
16604
17595
  $as_echo_n "(cached) " >&6
16605
17596
else
16606
17597
  ac_check_lib_save_LIBS=$LIBS
16634
17625
fi
16635
17626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
16636
17627
$as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
16637
 
if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then :
 
17628
if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
16638
17629
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_StopParser in -lexpat" >&5
16639
17630
$as_echo_n "checking for XML_StopParser in -lexpat... " >&6; }
16640
 
if test "${ac_cv_lib_expat_XML_StopParser+set}" = set; then :
 
17631
if ${ac_cv_lib_expat_XML_StopParser+:} false; then :
16641
17632
  $as_echo_n "(cached) " >&6
16642
17633
else
16643
17634
  ac_check_lib_save_LIBS=$LIBS
16671
17662
fi
16672
17663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_StopParser" >&5
16673
17664
$as_echo "$ac_cv_lib_expat_XML_StopParser" >&6; }
16674
 
if test "x$ac_cv_lib_expat_XML_StopParser" = x""yes; then :
 
17665
if test "x$ac_cv_lib_expat_XML_StopParser" = xyes; then :
16675
17666
  EXPAT_LIBS=-lexpat
16676
17667
 
16677
17668
else
16687
17678
for ac_header in valgrind/valgrind.h
16688
17679
do :
16689
17680
  ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
16690
 
if test "x$ac_cv_header_valgrind_valgrind_h" = x""yes; then :
 
17681
if test "x$ac_cv_header_valgrind_valgrind_h" = xyes; then :
16691
17682
  cat >>confdefs.h <<_ACEOF
16692
17683
#define HAVE_VALGRIND_VALGRIND_H 1
16693
17684
_ACEOF
16700
17691
# Checks for typedefs, structures, and compiler characteristics.
16701
17692
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
16702
17693
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
16703
 
if test "${ac_cv_prog_cc_c99+set}" = set; then :
 
17694
if ${ac_cv_prog_cc_c99+:} false; then :
16704
17695
  $as_echo_n "(cached) " >&6
16705
17696
else
16706
17697
  ac_cv_prog_cc_c99=no
16844
17835
  return 0;
16845
17836
}
16846
17837
_ACEOF
16847
 
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
 
17838
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
16848
17839
do
16849
17840
  CC="$ac_save_CC $ac_arg"
16850
17841
  if ac_fn_c_try_compile "$LINENO"; then :
16884
17875
fi
16885
17876
set dummy $CC; ac_cc=`$as_echo "$2" |
16886
17877
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16887
 
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
 
17878
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
16888
17879
  $as_echo_n "(cached) " >&6
16889
17880
else
16890
17881
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17010
18001
if test "x$enable_threading" != "xno" ; then :
17011
18002
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports __thread" >&5
17012
18003
$as_echo_n "checking whether compiler supports __thread... " >&6; }
17013
 
if test "${nih_cv_c_thread+set}" = set; then :
 
18004
if ${nih_cv_c_thread+:} false; then :
17014
18005
  $as_echo_n "(cached) " >&6
17015
18006
else
17016
18007
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17094
18085
 
17095
18086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker version script argument" >&5
17096
18087
$as_echo_n "checking for linker version script argument... " >&6; }
17097
 
if test "${nih_cv_version_script+set}" = set; then :
 
18088
if ${nih_cv_version_script+:} false; then :
17098
18089
  $as_echo_n "(cached) " >&6
17099
18090
else
17100
18091
  nih_cv_version_script=none
17161
18152
set dummy $ac_prog; ac_word=$2
17162
18153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17163
18154
$as_echo_n "checking for $ac_word... " >&6; }
17164
 
if test "${ac_cv_prog_NIH_DBUS_TOOL+set}" = set; then :
 
18155
if ${ac_cv_prog_NIH_DBUS_TOOL+:} false; then :
17165
18156
  $as_echo_n "(cached) " >&6
17166
18157
else
17167
18158
  if test -n "$NIH_DBUS_TOOL"; then
17173
18164
  IFS=$as_save_IFS
17174
18165
  test -z "$as_dir" && as_dir=.
17175
18166
    for ac_exec_ext in '' $ac_executable_extensions; do
17176
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
18167
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17177
18168
    ac_cv_prog_NIH_DBUS_TOOL="$ac_prog"
17178
18169
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17179
18170
    break 2
17276
18267
     :end' >>confcache
17277
18268
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17278
18269
  if test -w "$cache_file"; then
17279
 
    test "x$cache_file" != "x/dev/null" &&
 
18270
    if test "x$cache_file" != "x/dev/null"; then
17280
18271
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17281
18272
$as_echo "$as_me: updating cache $cache_file" >&6;}
17282
 
    cat confcache >$cache_file
 
18273
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
18274
        cat confcache >"$cache_file"
 
18275
      else
 
18276
        case $cache_file in #(
 
18277
        */* | ?:*)
 
18278
          mv -f confcache "$cache_file"$$ &&
 
18279
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
18280
        *)
 
18281
          mv -f confcache "$cache_file" ;;
 
18282
        esac
 
18283
      fi
 
18284
    fi
17283
18285
  else
17284
18286
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17285
18287
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17310
18312
LTLIBOBJS=$ac_ltlibobjs
17311
18313
 
17312
18314
 
 
18315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 
18316
$as_echo_n "checking that generated files are newer than configure... " >&6; }
 
18317
   if test -n "$am_sleep_pid"; then
 
18318
     # Hide warnings about reused PIDs.
 
18319
     wait $am_sleep_pid 2>/dev/null
 
18320
   fi
 
18321
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 
18322
$as_echo "done" >&6; }
17313
18323
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17314
18324
  as_fn_error $? "conditional \"AMDEP\" was never defined.
17315
18325
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17335
18345
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17336
18346
fi
17337
18347
 
17338
 
: ${CONFIG_STATUS=./config.status}
 
18348
: "${CONFIG_STATUS=./config.status}"
17339
18349
ac_write_fail=0
17340
18350
ac_clean_files_save=$ac_clean_files
17341
18351
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17436
18446
IFS=" ""        $as_nl"
17437
18447
 
17438
18448
# Find who we are.  Look in the path if we contain no directory separator.
 
18449
as_myself=
17439
18450
case $0 in #((
17440
18451
  *[\\/]* ) as_myself=$0 ;;
17441
18452
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17631
18642
    # ... but there are two gotchas:
17632
18643
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17633
18644
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17634
 
    # In both cases, we have to default to `cp -p'.
 
18645
    # In both cases, we have to default to `cp -pR'.
17635
18646
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17636
 
      as_ln_s='cp -p'
 
18647
      as_ln_s='cp -pR'
17637
18648
  elif ln conf$$.file conf$$ 2>/dev/null; then
17638
18649
    as_ln_s=ln
17639
18650
  else
17640
 
    as_ln_s='cp -p'
 
18651
    as_ln_s='cp -pR'
17641
18652
  fi
17642
18653
else
17643
 
  as_ln_s='cp -p'
 
18654
  as_ln_s='cp -pR'
17644
18655
fi
17645
18656
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17646
18657
rmdir conf$$.dir 2>/dev/null
17700
18711
  as_mkdir_p=false
17701
18712
fi
17702
18713
 
17703
 
if test -x / >/dev/null 2>&1; then
17704
 
  as_test_x='test -x'
17705
 
else
17706
 
  if ls -dL / >/dev/null 2>&1; then
17707
 
    as_ls_L_option=L
17708
 
  else
17709
 
    as_ls_L_option=
17710
 
  fi
17711
 
  as_test_x='
17712
 
    eval sh -c '\''
17713
 
      if test -d "$1"; then
17714
 
        test -d "$1/.";
17715
 
      else
17716
 
        case $1 in #(
17717
 
        -*)set "./$1";;
17718
 
        esac;
17719
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17720
 
        ???[sx]*):;;*)false;;esac;fi
17721
 
    '\'' sh
17722
 
  '
17723
 
fi
17724
 
as_executable_p=$as_test_x
 
18714
 
 
18715
# as_fn_executable_p FILE
 
18716
# -----------------------
 
18717
# Test if FILE is an executable regular file.
 
18718
as_fn_executable_p ()
 
18719
{
 
18720
  test -f "$1" && test -x "$1"
 
18721
} # as_fn_executable_p
 
18722
as_test_x='test -x'
 
18723
as_executable_p=as_fn_executable_p
17725
18724
 
17726
18725
# Sed expression to map a string onto a valid CPP name.
17727
18726
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17743
18742
# values after options handling.
17744
18743
ac_log="
17745
18744
This file was extended by libnih $as_me 1.0.3, which was
17746
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
18745
generated by GNU Autoconf 2.69.  Invocation command line was
17747
18746
 
17748
18747
  CONFIG_FILES    = $CONFIG_FILES
17749
18748
  CONFIG_HEADERS  = $CONFIG_HEADERS
17809
18808
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17810
18809
ac_cs_version="\\
17811
18810
libnih config.status 1.0.3
17812
 
configured by $0, generated by GNU Autoconf 2.67,
 
18811
configured by $0, generated by GNU Autoconf 2.69,
17813
18812
  with options \\"\$ac_cs_config\\"
17814
18813
 
17815
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
18814
Copyright (C) 2012 Free Software Foundation, Inc.
17816
18815
This config.status script is free software; the Free Software Foundation
17817
18816
gives unlimited permission to copy, distribute and modify it."
17818
18817
 
17903
18902
_ACEOF
17904
18903
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17905
18904
if \$ac_cs_recheck; then
17906
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
18905
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17907
18906
  shift
17908
18907
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17909
18908
  CONFIG_SHELL='$SHELL'
17937
18936
sed_quote_subst='$sed_quote_subst'
17938
18937
double_quote_subst='$double_quote_subst'
17939
18938
delay_variable_subst='$delay_variable_subst'
17940
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17941
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17942
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17943
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17944
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17945
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17946
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17947
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17948
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17949
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17950
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17951
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17952
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17953
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17954
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17955
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17956
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17957
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17958
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17959
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17960
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17961
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17962
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17963
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17964
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17965
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17966
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17967
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17968
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17969
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17970
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17971
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17972
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17973
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17974
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17975
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17976
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17977
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17978
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17979
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17980
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17981
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17982
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17983
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17984
 
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"`'
17985
 
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"`'
17986
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17987
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17988
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17989
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17990
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17991
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17992
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17993
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17994
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17995
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17996
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17997
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17998
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17999
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18000
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
18001
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
18002
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18003
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18004
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
18005
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
18006
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18007
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18008
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
18009
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18010
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18011
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18012
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18013
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18014
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18015
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
18016
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18017
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18018
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18019
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
18020
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
18021
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
18022
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
18023
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
18024
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18025
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
18026
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
18027
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
18028
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
18029
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
18030
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18031
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18032
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18033
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18034
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
18035
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
18036
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18037
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
18038
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
18039
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18040
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18041
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
18042
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18043
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
18044
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18045
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18046
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18047
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18048
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
18049
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
18050
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18051
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18052
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
18053
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
18054
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
18055
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
18056
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
18057
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
18939
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
18940
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
18941
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
18942
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
18943
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
18944
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
18945
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
18946
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
18947
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
18948
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
18949
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
18950
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
18951
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
18952
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
18953
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
18954
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
18955
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
18956
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
18957
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
18958
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
18959
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
18960
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
18961
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
18962
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
18963
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
18964
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
18965
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
18966
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
18967
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
18968
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
18969
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
18970
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
18971
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
18972
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
18973
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
18974
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
18975
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
18976
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
18977
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
18978
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
18979
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
18980
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
18981
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
18982
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
18983
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
18984
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
18985
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
18986
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
18987
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
18988
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
18989
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
18990
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
18991
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
18992
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
18993
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
18994
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
18995
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"`'
 
18996
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
18997
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
18998
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
18999
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
19000
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
19001
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
19002
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
19003
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
19004
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
19005
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
19006
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
19007
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
19008
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
19009
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
19010
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
19011
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
19012
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
19013
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
19014
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
19015
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
19016
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
19017
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
19018
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
19019
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
19020
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
19021
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
19022
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
19023
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
19024
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
19025
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
19026
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
19027
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
19028
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
19029
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
19030
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
19031
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
19032
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
19033
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
19034
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
19035
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
19036
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
19037
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
19038
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
19039
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
19040
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
19041
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
19042
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
19043
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
19044
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
19045
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
19046
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
19047
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
19048
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
19049
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
19050
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
19051
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
19052
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
19053
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
19054
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
19055
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
19056
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
19057
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
19058
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
19059
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
19060
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
19061
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
19062
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
19063
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
19064
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
19065
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
19066
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
19067
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
19068
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18058
19069
 
18059
19070
LTCC='$LTCC'
18060
19071
LTCFLAGS='$LTCFLAGS'
18061
19072
compiler='$compiler_DEFAULT'
18062
19073
 
 
19074
# A function that is used when there is no print builtin or printf.
 
19075
func_fallback_echo ()
 
19076
{
 
19077
  eval 'cat <<_LTECHO_EOF
 
19078
\$1
 
19079
_LTECHO_EOF'
 
19080
}
 
19081
 
18063
19082
# Quote evaled strings.
18064
 
for var in SED \
 
19083
for var in SHELL \
 
19084
ECHO \
 
19085
PATH_SEPARATOR \
 
19086
SED \
18065
19087
GREP \
18066
19088
EGREP \
18067
19089
FGREP \
18074
19096
OBJDUMP \
18075
19097
deplibs_check_method \
18076
19098
file_magic_cmd \
 
19099
file_magic_glob \
 
19100
want_nocaseglob \
 
19101
DLLTOOL \
 
19102
sharedlib_from_linklib_cmd \
18077
19103
AR \
18078
19104
AR_FLAGS \
 
19105
archiver_list_spec \
18079
19106
STRIP \
18080
19107
RANLIB \
18081
19108
CC \
18085
19112
lt_cv_sys_global_symbol_to_cdecl \
18086
19113
lt_cv_sys_global_symbol_to_c_name_address \
18087
19114
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18088
 
SHELL \
18089
 
ECHO \
 
19115
nm_file_list_spec \
18090
19116
lt_prog_compiler_no_builtin_flag \
 
19117
lt_prog_compiler_pic \
18091
19118
lt_prog_compiler_wl \
18092
 
lt_prog_compiler_pic \
18093
19119
lt_prog_compiler_static \
18094
19120
lt_cv_prog_compiler_c_o \
18095
19121
need_locks \
 
19122
MANIFEST_TOOL \
18096
19123
DSYMUTIL \
18097
19124
NMEDIT \
18098
19125
LIPO \
18106
19133
allow_undefined_flag \
18107
19134
no_undefined_flag \
18108
19135
hardcode_libdir_flag_spec \
18109
 
hardcode_libdir_flag_spec_ld \
18110
19136
hardcode_libdir_separator \
18111
 
fix_srcfile_path \
18112
19137
exclude_expsyms \
18113
19138
include_expsyms \
18114
19139
file_list_spec \
18116
19141
libname_spec \
18117
19142
library_names_spec \
18118
19143
soname_spec \
 
19144
install_override_mode \
18119
19145
finish_eval \
18120
19146
old_striplib \
18121
19147
striplib; do
18122
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
19148
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18123
19149
    *[\\\\\\\`\\"\\\$]*)
18124
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
19150
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18125
19151
      ;;
18126
19152
    *)
18127
19153
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18143
19169
module_expsym_cmds \
18144
19170
export_symbols_cmds \
18145
19171
prelink_cmds \
 
19172
postlink_cmds \
18146
19173
postinstall_cmds \
18147
19174
postuninstall_cmds \
18148
19175
finish_cmds \
18149
19176
sys_lib_search_path_spec \
18150
19177
sys_lib_dlsearch_path_spec; do
18151
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
19178
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18152
19179
    *[\\\\\\\`\\"\\\$]*)
18153
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
19180
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18154
19181
      ;;
18155
19182
    *)
18156
19183
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18158
19185
    esac
18159
19186
done
18160
19187
 
18161
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
18162
 
case \$lt_ECHO in
18163
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
18164
 
  ;;
18165
 
esac
18166
 
 
18167
19188
ac_aux_dir='$ac_aux_dir'
18168
19189
xsi_shell='$xsi_shell'
18169
19190
lt_shell_append='$lt_shell_append'
18213
19234
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18214
19235
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18215
19236
 
18216
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
19237
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18217
19238
  esac
18218
19239
done
18219
19240
 
18236
19257
# after its creation but before its name has been assigned to `$tmp'.
18237
19258
$debug ||
18238
19259
{
18239
 
  tmp=
 
19260
  tmp= ac_tmp=
18240
19261
  trap 'exit_status=$?
18241
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
19262
  : "${ac_tmp:=$tmp}"
 
19263
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18242
19264
' 0
18243
19265
  trap 'as_fn_exit 1' 1 2 13 15
18244
19266
}
18246
19268
 
18247
19269
{
18248
19270
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18249
 
  test -n "$tmp" && test -d "$tmp"
 
19271
  test -d "$tmp"
18250
19272
}  ||
18251
19273
{
18252
19274
  tmp=./conf$$-$RANDOM
18253
19275
  (umask 077 && mkdir "$tmp")
18254
19276
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
19277
ac_tmp=$tmp
18255
19278
 
18256
19279
# Set up the scripts for CONFIG_FILES section.
18257
19280
# No need to generate them if there are no CONFIG_FILES.
18273
19296
  ac_cs_awk_cr=$ac_cr
18274
19297
fi
18275
19298
 
18276
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
19299
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18277
19300
_ACEOF
18278
19301
 
18279
19302
 
18301
19324
rm -f conf$$subs.sh
18302
19325
 
18303
19326
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18304
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
19327
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18305
19328
_ACEOF
18306
19329
sed -n '
18307
19330
h
18349
19372
rm -f conf$$subs.awk
18350
19373
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18351
19374
_ACAWK
18352
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
19375
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18353
19376
  for (key in S) S_is_set[key] = 1
18354
19377
  FS = ""
18355
19378
 
18381
19404
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18382
19405
else
18383
19406
  cat
18384
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
19407
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18385
19408
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18386
19409
_ACEOF
18387
19410
 
18415
19438
# No need to generate them if there are no CONFIG_HEADERS.
18416
19439
# This happens for instance with `./config.status Makefile'.
18417
19440
if test -n "$CONFIG_HEADERS"; then
18418
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
19441
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18419
19442
BEGIN {
18420
19443
_ACEOF
18421
19444
 
18427
19450
# handling of long lines.
18428
19451
ac_delim='%!_!# '
18429
19452
for ac_last_try in false false :; do
18430
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
18431
 
  if test -z "$ac_t"; then
 
19453
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
19454
  if test -z "$ac_tt"; then
18432
19455
    break
18433
19456
  elif $ac_last_try; then
18434
19457
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18529
19552
  esac
18530
19553
  case $ac_mode$ac_tag in
18531
19554
  :[FHL]*:*);;
18532
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
19555
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18533
19556
  :[FH]-) ac_tag=-:-;;
18534
19557
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18535
19558
  esac
18548
19571
    for ac_f
18549
19572
    do
18550
19573
      case $ac_f in
18551
 
      -) ac_f="$tmp/stdin";;
 
19574
      -) ac_f="$ac_tmp/stdin";;
18552
19575
      *) # Look for the file first in the build tree, then in the source tree
18553
19576
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
18554
19577
         # because $ac_f cannot contain `:'.
18557
19580
           [\\/$]*) false;;
18558
19581
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18559
19582
           esac ||
18560
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
19583
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18561
19584
      esac
18562
19585
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18563
19586
      as_fn_append ac_file_inputs " '$ac_f'"
18583
19606
    esac
18584
19607
 
18585
19608
    case $ac_tag in
18586
 
    *:-:* | *:-) cat >"$tmp/stdin" \
18587
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
19609
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
19610
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18588
19611
    esac
18589
19612
    ;;
18590
19613
  esac
18720
19743
s&@MKDIR_P@&$ac_MKDIR_P&;t t
18721
19744
$ac_datarootdir_hack
18722
19745
"
18723
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18724
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
19746
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
19747
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18725
19748
 
18726
19749
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18727
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18728
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
19750
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
19751
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
19752
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18729
19753
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18730
19754
which seems to be undefined.  Please make sure it is defined" >&5
18731
19755
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18732
19756
which seems to be undefined.  Please make sure it is defined" >&2;}
18733
19757
 
18734
 
  rm -f "$tmp/stdin"
 
19758
  rm -f "$ac_tmp/stdin"
18735
19759
  case $ac_file in
18736
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
18737
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
19760
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
19761
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18738
19762
  esac \
18739
19763
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18740
19764
 ;;
18745
19769
  if test x"$ac_file" != x-; then
18746
19770
    {
18747
19771
      $as_echo "/* $configure_input  */" \
18748
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18749
 
    } >"$tmp/config.h" \
 
19772
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
19773
    } >"$ac_tmp/config.h" \
18750
19774
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18751
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
19775
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18752
19776
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18753
19777
$as_echo "$as_me: $ac_file is unchanged" >&6;}
18754
19778
    else
18755
19779
      rm -f "$ac_file"
18756
 
      mv "$tmp/config.h" "$ac_file" \
 
19780
      mv "$ac_tmp/config.h" "$ac_file" \
18757
19781
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18758
19782
    fi
18759
19783
  else
18760
19784
    $as_echo "/* $configure_input  */" \
18761
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
19785
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18762
19786
      || as_fn_error $? "could not create -" "$LINENO" 5
18763
19787
  fi
18764
19788
# Compute "$ac_file"'s index in $config_headers.
18805
19829
 
18806
19830
  case $ac_file$ac_mode in
18807
19831
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18808
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
19832
  # Older Autoconf quotes --file arguments for eval, but not when files
18809
19833
  # are listed without --file.  Let's play safe and only enable the eval
18810
19834
  # if we detect the quoting.
18811
19835
  case $CONFIG_FILES in
18818
19842
    # Strip MF so we end up with the name of the file.
18819
19843
    mf=`echo "$mf" | sed -e 's/:.*$//'`
18820
19844
    # Check whether this is an Automake generated Makefile or not.
18821
 
    # We used to match only the files named `Makefile.in', but
 
19845
    # We used to match only the files named 'Makefile.in', but
18822
19846
    # some people rename them; so instead we look at the file content.
18823
19847
    # Grep'ing the first line is not enough: some people post-process
18824
19848
    # each Makefile.in and add a new line on top of each file to say so.
18852
19876
      continue
18853
19877
    fi
18854
19878
    # Extract the definition of DEPDIR, am__include, and am__quote
18855
 
    # from the Makefile without running `make'.
 
19879
    # from the Makefile without running 'make'.
18856
19880
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18857
19881
    test -z "$DEPDIR" && continue
18858
19882
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
18859
 
    test -z "am__include" && continue
 
19883
    test -z "$am__include" && continue
18860
19884
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18861
 
    # When using ansi2knr, U may be empty or an underscore; expand it
18862
 
    U=`sed -n 's/^U = //p' < "$mf"`
18863
19885
    # Find all dependency output files, they are included files with
18864
19886
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
18865
19887
    # simplest approach to changing $(DEPDIR) to its actual value in the
18866
19888
    # expansion.
18867
19889
    for file in `sed -n "
18868
19890
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18869
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
19891
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18870
19892
      # Make sure the directory exists.
18871
19893
      test -f "$dirpart/$file" && continue
18872
19894
      fdir=`$as_dirname -- "$file" ||
18920
19942
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18921
19943
#
18922
19944
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18923
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
19945
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
19946
#                 Foundation, Inc.
18924
19947
#   Written by Gordon Matzigkeit, 1996
18925
19948
#
18926
19949
#   This file is part of GNU Libtool.
18968
19991
# Whether or not to optimize for fast installation.
18969
19992
fast_install=$enable_fast_install
18970
19993
 
 
19994
# Shell to use when invoking shell scripts.
 
19995
SHELL=$lt_SHELL
 
19996
 
 
19997
# An echo program that protects backslashes.
 
19998
ECHO=$lt_ECHO
 
19999
 
 
20000
# The PATH separator for the build system.
 
20001
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
20002
 
18971
20003
# The host system.
18972
20004
host_alias=$host_alias
18973
20005
host=$host
19017
20049
# turn newlines into spaces.
19018
20050
NL2SP=$lt_lt_NL2SP
19019
20051
 
19020
 
# How to create reloadable object files.
19021
 
reload_flag=$lt_reload_flag
19022
 
reload_cmds=$lt_reload_cmds
 
20052
# convert \$build file names to \$host format.
 
20053
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
20054
 
 
20055
# convert \$build files to toolchain format.
 
20056
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19023
20057
 
19024
20058
# An object symbol dumper.
19025
20059
OBJDUMP=$lt_OBJDUMP
19027
20061
# Method to check whether dependent libraries are shared objects.
19028
20062
deplibs_check_method=$lt_deplibs_check_method
19029
20063
 
19030
 
# Command to use when deplibs_check_method == "file_magic".
 
20064
# Command to use when deplibs_check_method = "file_magic".
19031
20065
file_magic_cmd=$lt_file_magic_cmd
19032
20066
 
 
20067
# How to find potential files when deplibs_check_method = "file_magic".
 
20068
file_magic_glob=$lt_file_magic_glob
 
20069
 
 
20070
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
20071
want_nocaseglob=$lt_want_nocaseglob
 
20072
 
 
20073
# DLL creation program.
 
20074
DLLTOOL=$lt_DLLTOOL
 
20075
 
 
20076
# Command to associate shared and link libraries.
 
20077
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
20078
 
19033
20079
# The archiver.
19034
20080
AR=$lt_AR
 
20081
 
 
20082
# Flags to create an archive.
19035
20083
AR_FLAGS=$lt_AR_FLAGS
19036
20084
 
 
20085
# How to feed a file listing to the archiver.
 
20086
archiver_list_spec=$lt_archiver_list_spec
 
20087
 
19037
20088
# A symbol stripping program.
19038
20089
STRIP=$lt_STRIP
19039
20090
 
19042
20093
old_postinstall_cmds=$lt_old_postinstall_cmds
19043
20094
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19044
20095
 
 
20096
# Whether to use a lock for old archive extraction.
 
20097
lock_old_archive_extraction=$lock_old_archive_extraction
 
20098
 
19045
20099
# A C compiler.
19046
20100
LTCC=$lt_CC
19047
20101
 
19060
20114
# Transform the output of nm in a C name address pair when lib prefix is needed.
19061
20115
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19062
20116
 
 
20117
# Specify filename containing input files for \$NM.
 
20118
nm_file_list_spec=$lt_nm_file_list_spec
 
20119
 
 
20120
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
20121
lt_sysroot=$lt_sysroot
 
20122
 
19063
20123
# The name of the directory that contains temporary libtool files.
19064
20124
objdir=$objdir
19065
20125
 
19066
 
# Shell to use when invoking shell scripts.
19067
 
SHELL=$lt_SHELL
19068
 
 
19069
 
# An echo program that does not interpret backslashes.
19070
 
ECHO=$lt_ECHO
19071
 
 
19072
20126
# Used to examine libraries when file_magic_cmd begins with "file".
19073
20127
MAGIC_CMD=$MAGIC_CMD
19074
20128
 
19075
20129
# Must we lock files when doing compilation?
19076
20130
need_locks=$lt_need_locks
19077
20131
 
 
20132
# Manifest tool.
 
20133
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
20134
 
19078
20135
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19079
20136
DSYMUTIL=$lt_DSYMUTIL
19080
20137
 
19131
20188
# The coded name of the library, if different from the real name.
19132
20189
soname_spec=$lt_soname_spec
19133
20190
 
 
20191
# Permission mode override for installation of shared libraries.
 
20192
install_override_mode=$lt_install_override_mode
 
20193
 
19134
20194
# Command to use after installation of a shared archive.
19135
20195
postinstall_cmds=$lt_postinstall_cmds
19136
20196
 
19170
20230
# The linker used to build libraries.
19171
20231
LD=$lt_LD
19172
20232
 
 
20233
# How to create reloadable object files.
 
20234
reload_flag=$lt_reload_flag
 
20235
reload_cmds=$lt_reload_cmds
 
20236
 
19173
20237
# Commands used to build an old-style archive.
19174
20238
old_archive_cmds=$lt_old_archive_cmds
19175
20239
 
19182
20246
# Compiler flag to turn off builtin functions.
19183
20247
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19184
20248
 
 
20249
# Additional compiler flags for building library objects.
 
20250
pic_flag=$lt_lt_prog_compiler_pic
 
20251
 
19185
20252
# How to pass a linker flag through the compiler.
19186
20253
wl=$lt_lt_prog_compiler_wl
19187
20254
 
19188
 
# Additional compiler flags for building library objects.
19189
 
pic_flag=$lt_lt_prog_compiler_pic
19190
 
 
19191
20255
# Compiler flag to prevent dynamic linking.
19192
20256
link_static_flag=$lt_lt_prog_compiler_static
19193
20257
 
19237
20301
# This must work even if \$libdir does not exist
19238
20302
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19239
20303
 
19240
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
19241
 
# during linking.  This must work even if \$libdir does not exist.
19242
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19243
 
 
19244
20304
# Whether we need a single "-rpath" flag with a separated argument.
19245
20305
hardcode_libdir_separator=$lt_hardcode_libdir_separator
19246
20306
 
19274
20334
# Whether libtool must link a program against all its dependency libraries.
19275
20335
link_all_deplibs=$link_all_deplibs
19276
20336
 
19277
 
# Fix the shell variable \$srcfile for the compiler.
19278
 
fix_srcfile_path=$lt_fix_srcfile_path
19279
 
 
19280
20337
# Set to "yes" if exported symbols are required.
19281
20338
always_export_symbols=$always_export_symbols
19282
20339
 
19292
20349
# Commands necessary for linking programs (against libraries) with templates.
19293
20350
prelink_cmds=$lt_prelink_cmds
19294
20351
 
 
20352
# Commands necessary for finishing linking programs.
 
20353
postlink_cmds=$lt_postlink_cmds
 
20354
 
19295
20355
# Specify filename containing input files.
19296
20356
file_list_spec=$lt_file_list_spec
19297
20357
 
19324
20384
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19325
20385
  # text mode, it properly converts lines to CR/LF.  This bash problem
19326
20386
  # is reportedly fixed, but why not run on old versions too?
19327
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19328
 
    || (rm -f "$cfgfile"; exit 1)
19329
 
 
19330
 
  case $xsi_shell in
19331
 
  yes)
19332
 
    cat << \_LT_EOF >> "$cfgfile"
19333
 
 
19334
 
# func_dirname file append nondir_replacement
19335
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
19336
 
# otherwise set result to NONDIR_REPLACEMENT.
19337
 
func_dirname ()
19338
 
{
19339
 
  case ${1} in
19340
 
    */*) func_dirname_result="${1%/*}${2}" ;;
19341
 
    *  ) func_dirname_result="${3}" ;;
19342
 
  esac
19343
 
}
19344
 
 
19345
 
# func_basename file
19346
 
func_basename ()
19347
 
{
19348
 
  func_basename_result="${1##*/}"
19349
 
}
19350
 
 
19351
 
# func_dirname_and_basename file append nondir_replacement
19352
 
# perform func_basename and func_dirname in a single function
19353
 
# call:
19354
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
19355
 
#             add APPEND to the result, otherwise set result
19356
 
#             to NONDIR_REPLACEMENT.
19357
 
#             value returned in "$func_dirname_result"
19358
 
#   basename: Compute filename of FILE.
19359
 
#             value retuned in "$func_basename_result"
19360
 
# Implementation must be kept synchronized with func_dirname
19361
 
# and func_basename. For efficiency, we do not delegate to
19362
 
# those functions but instead duplicate the functionality here.
19363
 
func_dirname_and_basename ()
19364
 
{
19365
 
  case ${1} in
19366
 
    */*) func_dirname_result="${1%/*}${2}" ;;
19367
 
    *  ) func_dirname_result="${3}" ;;
19368
 
  esac
19369
 
  func_basename_result="${1##*/}"
19370
 
}
19371
 
 
19372
 
# func_stripname prefix suffix name
19373
 
# strip PREFIX and SUFFIX off of NAME.
19374
 
# PREFIX and SUFFIX must not contain globbing or regex special
19375
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
19376
 
# dot (in which case that matches only a dot).
19377
 
func_stripname ()
19378
 
{
19379
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19380
 
  # positional parameters, so assign one to ordinary parameter first.
19381
 
  func_stripname_result=${3}
19382
 
  func_stripname_result=${func_stripname_result#"${1}"}
19383
 
  func_stripname_result=${func_stripname_result%"${2}"}
19384
 
}
19385
 
 
19386
 
# func_opt_split
19387
 
func_opt_split ()
19388
 
{
19389
 
  func_opt_split_opt=${1%%=*}
19390
 
  func_opt_split_arg=${1#*=}
19391
 
}
19392
 
 
19393
 
# func_lo2o object
19394
 
func_lo2o ()
19395
 
{
19396
 
  case ${1} in
19397
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
19398
 
    *)    func_lo2o_result=${1} ;;
19399
 
  esac
19400
 
}
19401
 
 
19402
 
# func_xform libobj-or-source
19403
 
func_xform ()
19404
 
{
19405
 
  func_xform_result=${1%.*}.lo
19406
 
}
19407
 
 
19408
 
# func_arith arithmetic-term...
19409
 
func_arith ()
19410
 
{
19411
 
  func_arith_result=$(( $* ))
19412
 
}
19413
 
 
19414
 
# func_len string
19415
 
# STRING may not start with a hyphen.
19416
 
func_len ()
19417
 
{
19418
 
  func_len_result=${#1}
19419
 
}
19420
 
 
19421
 
_LT_EOF
19422
 
    ;;
19423
 
  *) # Bourne compatible functions.
19424
 
    cat << \_LT_EOF >> "$cfgfile"
19425
 
 
19426
 
# func_dirname file append nondir_replacement
19427
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
19428
 
# otherwise set result to NONDIR_REPLACEMENT.
19429
 
func_dirname ()
19430
 
{
19431
 
  # Extract subdirectory from the argument.
19432
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19433
 
  if test "X$func_dirname_result" = "X${1}"; then
19434
 
    func_dirname_result="${3}"
19435
 
  else
19436
 
    func_dirname_result="$func_dirname_result${2}"
19437
 
  fi
19438
 
}
19439
 
 
19440
 
# func_basename file
19441
 
func_basename ()
19442
 
{
19443
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
19444
 
}
19445
 
 
19446
 
 
19447
 
# func_stripname prefix suffix name
19448
 
# strip PREFIX and SUFFIX off of NAME.
19449
 
# PREFIX and SUFFIX must not contain globbing or regex special
19450
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
19451
 
# dot (in which case that matches only a dot).
19452
 
# func_strip_suffix prefix name
19453
 
func_stripname ()
19454
 
{
19455
 
  case ${2} in
19456
 
    .*) func_stripname_result=`$ECHO "X${3}" \
19457
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19458
 
    *)  func_stripname_result=`$ECHO "X${3}" \
19459
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19460
 
  esac
19461
 
}
19462
 
 
19463
 
# sed scripts:
19464
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
19465
 
my_sed_long_arg='1s/^-[^=]*=//'
19466
 
 
19467
 
# func_opt_split
19468
 
func_opt_split ()
19469
 
{
19470
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19471
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19472
 
}
19473
 
 
19474
 
# func_lo2o object
19475
 
func_lo2o ()
19476
 
{
19477
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19478
 
}
19479
 
 
19480
 
# func_xform libobj-or-source
19481
 
func_xform ()
19482
 
{
19483
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19484
 
}
19485
 
 
19486
 
# func_arith arithmetic-term...
19487
 
func_arith ()
19488
 
{
19489
 
  func_arith_result=`expr "$@"`
19490
 
}
19491
 
 
19492
 
# func_len string
19493
 
# STRING may not start with a hyphen.
19494
 
func_len ()
19495
 
{
19496
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19497
 
}
19498
 
 
19499
 
_LT_EOF
19500
 
esac
19501
 
 
19502
 
case $lt_shell_append in
19503
 
  yes)
19504
 
    cat << \_LT_EOF >> "$cfgfile"
19505
 
 
19506
 
# func_append var value
19507
 
# Append VALUE to the end of shell variable VAR.
19508
 
func_append ()
19509
 
{
19510
 
  eval "$1+=\$2"
19511
 
}
19512
 
_LT_EOF
19513
 
    ;;
19514
 
  *)
19515
 
    cat << \_LT_EOF >> "$cfgfile"
19516
 
 
19517
 
# func_append var value
19518
 
# Append VALUE to the end of shell variable VAR.
19519
 
func_append ()
19520
 
{
19521
 
  eval "$1=\$$1\$2"
19522
 
}
19523
 
 
19524
 
_LT_EOF
19525
 
    ;;
19526
 
  esac
19527
 
 
19528
 
 
19529
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19530
 
    || (rm -f "$cfgfile"; exit 1)
19531
 
 
19532
 
  mv -f "$cfgfile" "$ofile" ||
 
20387
  sed '$q' "$ltmain" >> "$cfgfile" \
 
20388
     || (rm -f "$cfgfile"; exit 1)
 
20389
 
 
20390
  if test x"$xsi_shell" = xyes; then
 
20391
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
20392
func_dirname ()\
 
20393
{\
 
20394
\    case ${1} in\
 
20395
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
20396
\      *  ) func_dirname_result="${3}" ;;\
 
20397
\    esac\
 
20398
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
20399
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20400
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20401
test 0 -eq $? || _lt_function_replace_fail=:
 
20402
 
 
20403
 
 
20404
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
20405
func_basename ()\
 
20406
{\
 
20407
\    func_basename_result="${1##*/}"\
 
20408
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
20409
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20410
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20411
test 0 -eq $? || _lt_function_replace_fail=:
 
20412
 
 
20413
 
 
20414
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
20415
func_dirname_and_basename ()\
 
20416
{\
 
20417
\    case ${1} in\
 
20418
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
20419
\      *  ) func_dirname_result="${3}" ;;\
 
20420
\    esac\
 
20421
\    func_basename_result="${1##*/}"\
 
20422
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
20423
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20424
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20425
test 0 -eq $? || _lt_function_replace_fail=:
 
20426
 
 
20427
 
 
20428
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
20429
func_stripname ()\
 
20430
{\
 
20431
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
20432
\    # positional parameters, so assign one to ordinary parameter first.\
 
20433
\    func_stripname_result=${3}\
 
20434
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
20435
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
20436
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
20437
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20438
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20439
test 0 -eq $? || _lt_function_replace_fail=:
 
20440
 
 
20441
 
 
20442
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
20443
func_split_long_opt ()\
 
20444
{\
 
20445
\    func_split_long_opt_name=${1%%=*}\
 
20446
\    func_split_long_opt_arg=${1#*=}\
 
20447
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
20448
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20449
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20450
test 0 -eq $? || _lt_function_replace_fail=:
 
20451
 
 
20452
 
 
20453
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
20454
func_split_short_opt ()\
 
20455
{\
 
20456
\    func_split_short_opt_arg=${1#??}\
 
20457
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
20458
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
20459
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20460
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20461
test 0 -eq $? || _lt_function_replace_fail=:
 
20462
 
 
20463
 
 
20464
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
20465
func_lo2o ()\
 
20466
{\
 
20467
\    case ${1} in\
 
20468
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
20469
\      *)    func_lo2o_result=${1} ;;\
 
20470
\    esac\
 
20471
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
20472
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20473
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20474
test 0 -eq $? || _lt_function_replace_fail=:
 
20475
 
 
20476
 
 
20477
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
20478
func_xform ()\
 
20479
{\
 
20480
    func_xform_result=${1%.*}.lo\
 
20481
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
20482
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20483
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20484
test 0 -eq $? || _lt_function_replace_fail=:
 
20485
 
 
20486
 
 
20487
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
20488
func_arith ()\
 
20489
{\
 
20490
    func_arith_result=$(( $* ))\
 
20491
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
20492
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20493
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20494
test 0 -eq $? || _lt_function_replace_fail=:
 
20495
 
 
20496
 
 
20497
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
20498
func_len ()\
 
20499
{\
 
20500
    func_len_result=${#1}\
 
20501
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
20502
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20503
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20504
test 0 -eq $? || _lt_function_replace_fail=:
 
20505
 
 
20506
fi
 
20507
 
 
20508
if test x"$lt_shell_append" = xyes; then
 
20509
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
20510
func_append ()\
 
20511
{\
 
20512
    eval "${1}+=\\${2}"\
 
20513
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
20514
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20515
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20516
test 0 -eq $? || _lt_function_replace_fail=:
 
20517
 
 
20518
 
 
20519
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
20520
func_append_quoted ()\
 
20521
{\
 
20522
\    func_quote_for_eval "${2}"\
 
20523
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
20524
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
20525
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20526
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20527
test 0 -eq $? || _lt_function_replace_fail=:
 
20528
 
 
20529
 
 
20530
  # Save a `func_append' function call where possible by direct use of '+='
 
20531
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
20532
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20533
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20534
  test 0 -eq $? || _lt_function_replace_fail=:
 
20535
else
 
20536
  # Save a `func_append' function call even when '+=' is not available
 
20537
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
20538
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20539
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20540
  test 0 -eq $? || _lt_function_replace_fail=:
 
20541
fi
 
20542
 
 
20543
if test x"$_lt_function_replace_fail" = x":"; then
 
20544
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
20545
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
20546
fi
 
20547
 
 
20548
 
 
20549
   mv -f "$cfgfile" "$ofile" ||
19533
20550
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19534
20551
  chmod +x "$ofile"
19535
20552