~ubuntu-branches/ubuntu/trusty/opusfile/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Ron Lee
  • Date: 2013-05-13 21:43:40 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130513214340-9p3jj0irk8afk7kd
Tags: 0.2+20130513-1
* Snapshot release for unstable.
* Fixes the pkg-config file to avoid overlinking.  Closes: #707969
* Split the URL handling into a separate library, so that linking with
  openssl is only an issue for people who do need that functionality.
  The main opusfile library can now be linked with anything again.
  Closes:  #708008

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 opusfile 0.2.
4
 
#
5
 
#
6
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8
 
# Foundation, Inc.
 
3
# Generated by GNU Autoconf 2.69 for opusfile 0.2-57-g56be23f.
 
4
#
 
5
# Report bugs to <opus@xiph.org>.
 
6
#
 
7
#
 
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9
9
#
10
10
#
11
11
# This configure script is free software; the Free Software Foundation
89
89
IFS=" ""        $as_nl"
90
90
 
91
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
92
93
case $0 in #((
93
94
  *[\\/]* ) as_myself=$0 ;;
94
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
134
# CDPATH.
134
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136
 
 
137
# Use a proper internal environment variable to ensure we don't fall
 
138
  # into an infinite loop, continuously re-executing ourselves.
 
139
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 
140
    _as_can_reexec=no; export _as_can_reexec;
 
141
    # We cannot yet assume a decent shell, so we have to provide a
 
142
# neutralization value for shells without unset; and this also
 
143
# works around shells that cannot unset nonexistent variables.
 
144
# Preserve -v and -x to the replacement shell.
 
145
BASH_ENV=/dev/null
 
146
ENV=/dev/null
 
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
148
case $- in # ((((
 
149
  *v*x* | *x*v* ) as_opts=-vx ;;
 
150
  *v* ) as_opts=-v ;;
 
151
  *x* ) as_opts=-x ;;
 
152
  * ) as_opts= ;;
 
153
esac
 
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
155
# Admittedly, this is quite paranoid, since all the known shells bail
 
156
# out after a failed `exec'.
 
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
158
as_fn_exit 255
 
159
  fi
 
160
  # We don't want this to propagate to other subprocesses.
 
161
          { _as_can_reexec=; unset _as_can_reexec;}
136
162
if test "x$CONFIG_SHELL" = x; then
137
163
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
164
  emulate sh
166
192
else
167
193
  exitcode=1; echo positional parameters were not saved.
168
194
fi
169
 
test x\$exitcode = x0 || exit 1"
 
195
test x\$exitcode = x0 || exit 1
 
196
test -x / || exit 1"
170
197
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
198
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
199
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
200
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
 
test \$(( 1 + 1 )) = 2 || exit 1"
 
201
test \$(( 1 + 1 )) = 2 || exit 1
 
202
 
 
203
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
204
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
205
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
206
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
207
    PATH=/empty FPATH=/empty; export PATH FPATH
 
208
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
209
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
175
210
  if (eval "$as_required") 2>/dev/null; then :
176
211
  as_have_required=yes
177
212
else
211
246
 
212
247
 
213
248
      if test "x$CONFIG_SHELL" != x; then :
214
 
  # We cannot yet assume a decent shell, so we have to provide a
215
 
        # neutralization value for shells without unset; and this also
216
 
        # works around shells that cannot unset nonexistent variables.
217
 
        BASH_ENV=/dev/null
218
 
        ENV=/dev/null
219
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
 
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
249
  export CONFIG_SHELL
 
250
             # We cannot yet assume a decent shell, so we have to provide a
 
251
# neutralization value for shells without unset; and this also
 
252
# works around shells that cannot unset nonexistent variables.
 
253
# Preserve -v and -x to the replacement shell.
 
254
BASH_ENV=/dev/null
 
255
ENV=/dev/null
 
256
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
257
case $- in # ((((
 
258
  *v*x* | *x*v* ) as_opts=-vx ;;
 
259
  *v* ) as_opts=-v ;;
 
260
  *x* ) as_opts=-x ;;
 
261
  * ) as_opts= ;;
 
262
esac
 
263
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
264
# Admittedly, this is quite paranoid, since all the known shells bail
 
265
# out after a failed `exec'.
 
266
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
267
exit 255
222
268
fi
223
269
 
224
270
    if test x$as_have_required = xno; then :
228
274
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
275
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
276
  else
231
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
 
$0: including any error possibly output before this
233
 
$0: message. Then install a modern shell, or manually run
234
 
$0: the script under such a shell if you do have one."
 
277
    $as_echo "$0: Please tell bug-autoconf@gnu.org and opus@xiph.org
 
278
$0: about your system, including any error possibly output
 
279
$0: before this message. Then install a modern shell, or
 
280
$0: manually run the script under such a shell if you do
 
281
$0: have one."
235
282
  fi
236
283
  exit 1
237
284
fi
320
367
 
321
368
 
322
369
} # as_fn_mkdir_p
 
370
 
 
371
# as_fn_executable_p FILE
 
372
# -----------------------
 
373
# Test if FILE is an executable regular file.
 
374
as_fn_executable_p ()
 
375
{
 
376
  test -f "$1" && test -x "$1"
 
377
} # as_fn_executable_p
323
378
# as_fn_append VAR VALUE
324
379
# ----------------------
325
380
# Append the text in VALUE to the end of the definition contained in VAR. Take
441
496
  chmod +x "$as_me.lineno" ||
442
497
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
498
 
 
499
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
500
  # already done that, so ensure we don't try to do so again and fall
 
501
  # in an infinite loop.  This has already happened in practice.
 
502
  _as_can_reexec=no; export _as_can_reexec
444
503
  # Don't try to exec as it changes $[0], causing all sort of problems
445
504
  # (the dirname of $[0] is not the place where we might find the
446
505
  # original and so on.  Autoconf is especially sensitive to this).
475
534
    # ... but there are two gotchas:
476
535
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
536
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
 
    # In both cases, we have to default to `cp -p'.
 
537
    # In both cases, we have to default to `cp -pR'.
479
538
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480
 
      as_ln_s='cp -p'
 
539
      as_ln_s='cp -pR'
481
540
  elif ln conf$$.file conf$$ 2>/dev/null; then
482
541
    as_ln_s=ln
483
542
  else
484
 
    as_ln_s='cp -p'
 
543
    as_ln_s='cp -pR'
485
544
  fi
486
545
else
487
 
  as_ln_s='cp -p'
 
546
  as_ln_s='cp -pR'
488
547
fi
489
548
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
549
rmdir conf$$.dir 2>/dev/null
496
555
  as_mkdir_p=false
497
556
fi
498
557
 
499
 
if test -x / >/dev/null 2>&1; then
500
 
  as_test_x='test -x'
501
 
else
502
 
  if ls -dL / >/dev/null 2>&1; then
503
 
    as_ls_L_option=L
504
 
  else
505
 
    as_ls_L_option=
506
 
  fi
507
 
  as_test_x='
508
 
    eval sh -c '\''
509
 
      if test -d "$1"; then
510
 
        test -d "$1/.";
511
 
      else
512
 
        case $1 in #(
513
 
        -*)set "./$1";;
514
 
        esac;
515
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516
 
        ???[sx]*):;;*)false;;esac;fi
517
 
    '\'' sh
518
 
  '
519
 
fi
520
 
as_executable_p=$as_test_x
 
558
as_test_x='test -x'
 
559
as_executable_p=as_fn_executable_p
521
560
 
522
561
# Sed expression to map a string onto a valid CPP name.
523
562
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525
564
# Sed expression to map a string onto a valid variable name.
526
565
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
566
 
528
 
 
529
 
 
530
 
# Check that we are running under the correct shell.
531
567
SHELL=${CONFIG_SHELL-/bin/sh}
532
568
 
533
 
case X$lt_ECHO in
534
 
X*--fallback-echo)
535
 
  # Remove one level of quotation (which was required for Make).
536
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537
 
  ;;
538
 
esac
539
 
 
540
 
ECHO=${lt_ECHO-echo}
541
 
if test "X$1" = X--no-reexec; then
542
 
  # Discard the --no-reexec flag, and continue.
543
 
  shift
544
 
elif test "X$1" = X--fallback-echo; then
545
 
  # Avoid inline document here, it may be left over
546
 
  :
547
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
 
  # Yippee, $ECHO works!
549
 
  :
550
 
else
551
 
  # Restart under the correct shell.
552
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
553
 
fi
554
 
 
555
 
if test "X$1" = X--fallback-echo; then
556
 
  # used as fallback echo
557
 
  shift
558
 
  cat <<_LT_EOF
559
 
$*
560
 
_LT_EOF
561
 
  exit 0
562
 
fi
563
 
 
564
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
565
 
# if CDPATH is set.
566
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
 
 
568
 
if test -z "$lt_ECHO"; then
569
 
  if test "X${echo_test_string+set}" != Xset; then
570
 
    # find a string as large as possible, as long as the shell can cope with it
571
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575
 
      then
576
 
        break
577
 
      fi
578
 
    done
579
 
  fi
580
 
 
581
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
584
 
    :
585
 
  else
586
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
587
 
    # backslashes.  This makes it impossible to quote backslashes using
588
 
    #   echo "$something" | sed 's/\\/\\\\/g'
589
 
    #
590
 
    # So, first we look for a working echo in the user's PATH.
591
 
 
592
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
 
    for dir in $PATH /usr/ucb; do
594
 
      IFS="$lt_save_ifs"
595
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
599
 
        ECHO="$dir/echo"
600
 
        break
601
 
      fi
602
 
    done
603
 
    IFS="$lt_save_ifs"
604
 
 
605
 
    if test "X$ECHO" = Xecho; then
606
 
      # We didn't find a better echo, so look for alternatives.
607
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
        # This shell has a builtin print -r that does the trick.
611
 
        ECHO='print -r'
612
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
614
 
        # If we have ksh, try running configure again with it.
615
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
 
        export ORIGINAL_CONFIG_SHELL
617
 
        CONFIG_SHELL=/bin/ksh
618
 
        export CONFIG_SHELL
619
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620
 
      else
621
 
        # Try using printf.
622
 
        ECHO='printf %s\n'
623
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
626
 
          # Cool, printf works
627
 
          :
628
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
 
             test "X$echo_testing_string" = 'X\t' &&
630
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
632
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633
 
          export CONFIG_SHELL
634
 
          SHELL="$CONFIG_SHELL"
635
 
          export SHELL
636
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
 
             test "X$echo_testing_string" = 'X\t' &&
639
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
641
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
642
 
        else
643
 
          # maybe with a smaller string...
644
 
          prev=:
645
 
 
646
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648
 
            then
649
 
              break
650
 
            fi
651
 
            prev="$cmd"
652
 
          done
653
 
 
654
 
          if test "$prev" != 'sed 50q "$0"'; then
655
 
            echo_test_string=`eval $prev`
656
 
            export echo_test_string
657
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658
 
          else
659
 
            # Oops.  We lost completely, so just stick with echo.
660
 
            ECHO=echo
661
 
          fi
662
 
        fi
663
 
      fi
664
 
    fi
665
 
  fi
666
 
fi
667
 
 
668
 
# Copy echo and quote the copy suitably for passing to libtool from
669
 
# the Makefile, instead of quoting the original, which is used later.
670
 
lt_ECHO=$ECHO
671
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673
 
fi
674
 
 
675
 
 
676
 
 
677
569
 
678
570
test -n "$DJDIR" || exec 7<&0 </dev/null
679
571
exec 6>&1
698
590
# Identity of this package.
699
591
PACKAGE_NAME='opusfile'
700
592
PACKAGE_TARNAME='opusfile'
701
 
PACKAGE_VERSION='0.2'
702
 
PACKAGE_STRING='opusfile 0.2'
703
 
PACKAGE_BUGREPORT=''
 
593
PACKAGE_VERSION='0.2-57-g56be23f'
 
594
PACKAGE_STRING='opusfile 0.2-57-g56be23f'
 
595
PACKAGE_BUGREPORT='opus@xiph.org'
704
596
PACKAGE_URL=''
705
597
 
 
598
ac_unique_file="src/opusfile.c"
706
599
# Factoring default headers for most tests.
707
600
ac_includes_default="\
708
601
#include <stdio.h>
746
639
HAVE_DOXYGEN_FALSE
747
640
HAVE_DOXYGEN_TRUE
748
641
HAVE_DOXYGEN
749
 
ac_cv_search_lrintf
 
642
lrintf_lib
750
643
DEPS_LIBS
751
644
DEPS_CFLAGS
752
 
PKG_CONFIG_LIBDIR
753
 
PKG_CONFIG_PATH
754
 
PKG_CONFIG
755
645
openssl
 
646
OP_ENABLE_HTTP_FALSE
 
647
OP_ENABLE_HTTP_TRUE
 
648
URL_DEPS_LIBS
 
649
URL_DEPS_CFLAGS
 
650
PKG_CONFIG_LIBDIR
 
651
PKG_CONFIG_PATH
 
652
PKG_CONFIG
 
653
OP_WIN32_FALSE
 
654
OP_WIN32_TRUE
756
655
OP_LT_AGE
757
656
OP_LT_REVISION
758
657
OP_LT_CURRENT
759
658
AM_BACKSLASH
760
659
AM_DEFAULT_VERBOSITY
 
660
AM_DEFAULT_V
 
661
AM_V
761
662
OTOOL64
762
663
OTOOL
763
664
LIPO
764
665
NMEDIT
765
666
DSYMUTIL
766
 
lt_ECHO
 
667
MANIFEST_TOOL
767
668
RANLIB
 
669
ac_ct_AR
768
670
AR
 
671
DLLTOOL
769
672
OBJDUMP
770
673
LN_S
771
674
NM
789
692
am__fastdepCC_FALSE
790
693
am__fastdepCC_TRUE
791
694
CCDEPMODE
 
695
am__nodep
792
696
AMDEPBACKSLASH
793
697
AMDEP_FALSE
794
698
AMDEP_TRUE
877
781
with_pic
878
782
enable_fast_install
879
783
with_gnu_ld
 
784
with_sysroot
880
785
enable_libtool_lock
881
786
enable_silent_rules
882
787
enable_assertions
897
802
PKG_CONFIG
898
803
PKG_CONFIG_PATH
899
804
PKG_CONFIG_LIBDIR
 
805
URL_DEPS_CFLAGS
 
806
URL_DEPS_LIBS
900
807
DEPS_CFLAGS
901
808
DEPS_LIBS'
902
809
 
1303
1210
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1304
1211
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1305
1212
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1306
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1213
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1307
1214
    ;;
1308
1215
 
1309
1216
  esac
1354
1261
if test "x$host_alias" != x; then
1355
1262
  if test "x$build_alias" = x; then
1356
1263
    cross_compiling=maybe
1357
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1358
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1359
1264
  elif test "x$build_alias" != "x$host_alias"; then
1360
1265
    cross_compiling=yes
1361
1266
  fi
1441
1346
  # Omit some internal or obsolete options to make the list less imposing.
1442
1347
  # This message is too long to be a string in the A/UX 3.1 sh.
1443
1348
  cat <<_ACEOF
1444
 
\`configure' configures opusfile 0.2 to adapt to many kinds of systems.
 
1349
\`configure' configures opusfile 0.2-57-g56be23f to adapt to many kinds of systems.
1445
1350
 
1446
1351
Usage: $0 [OPTION]... [VAR=VALUE]...
1447
1352
 
1511
1416
 
1512
1417
if test -n "$ac_init_help"; then
1513
1418
  case $ac_init_help in
1514
 
     short | recursive ) echo "Configuration of opusfile 0.2:";;
 
1419
     short | recursive ) echo "Configuration of opusfile 0.2-57-g56be23f:";;
1515
1420
   esac
1516
1421
  cat <<\_ACEOF
1517
1422
 
1540
1445
Optional Packages:
1541
1446
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1542
1447
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1543
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1448
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1544
1449
                          both]
1545
1450
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1451
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1452
                        (or the compiler's sysroot if not specified).
1546
1453
 
1547
1454
Some influential environment variables:
1548
1455
  CC          C compiler command
1558
1465
              directories to add to pkg-config's search path
1559
1466
  PKG_CONFIG_LIBDIR
1560
1467
              path overriding pkg-config's built-in search path
 
1468
  URL_DEPS_CFLAGS
 
1469
              C compiler flags for URL_DEPS, overriding pkg-config
 
1470
  URL_DEPS_LIBS
 
1471
              linker flags for URL_DEPS, overriding pkg-config
1561
1472
  DEPS_CFLAGS C compiler flags for DEPS, overriding pkg-config
1562
1473
  DEPS_LIBS   linker flags for DEPS, overriding pkg-config
1563
1474
 
1564
1475
Use these variables to override the choices made by `configure' or to help
1565
1476
it to find libraries and programs with nonstandard names/locations.
1566
1477
 
1567
 
Report bugs to the package provider.
 
1478
Report bugs to <opus@xiph.org>.
1568
1479
_ACEOF
1569
1480
ac_status=$?
1570
1481
fi
1627
1538
test -n "$ac_init_help" && exit $ac_status
1628
1539
if $ac_init_version; then
1629
1540
  cat <<\_ACEOF
1630
 
opusfile configure 0.2
1631
 
generated by GNU Autoconf 2.67
 
1541
opusfile configure 0.2-57-g56be23f
 
1542
generated by GNU Autoconf 2.69
1632
1543
 
1633
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
1544
Copyright (C) 2012 Free Software Foundation, Inc.
1634
1545
This configure script is free software; the Free Software Foundation
1635
1546
gives unlimited permission to copy, distribute and modify it.
1636
1547
_ACEOF
1674
1585
 
1675
1586
        ac_retval=1
1676
1587
fi
1677
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1588
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1678
1589
  as_fn_set_status $ac_retval
1679
1590
 
1680
1591
} # ac_fn_c_try_compile
1711
1622
 
1712
1623
    ac_retval=1
1713
1624
fi
1714
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1625
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715
1626
  as_fn_set_status $ac_retval
1716
1627
 
1717
1628
} # ac_fn_c_try_cpp
1724
1635
ac_fn_c_check_header_mongrel ()
1725
1636
{
1726
1637
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1638
  if eval \${$3+:} false; then :
1728
1639
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729
1640
$as_echo_n "checking for $2... " >&6; }
1730
 
if eval "test \"\${$3+set}\"" = set; then :
 
1641
if eval \${$3+:} false; then :
1731
1642
  $as_echo_n "(cached) " >&6
1732
1643
fi
1733
1644
eval ac_res=\$$3
1786
1697
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1787
1698
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1788
1699
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1700
( $as_echo "## ---------------------------- ##
 
1701
## Report this to opus@xiph.org ##
 
1702
## ---------------------------- ##"
 
1703
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1789
1704
    ;;
1790
1705
esac
1791
1706
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792
1707
$as_echo_n "checking for $2... " >&6; }
1793
 
if eval "test \"\${$3+set}\"" = set; then :
 
1708
if eval \${$3+:} false; then :
1794
1709
  $as_echo_n "(cached) " >&6
1795
1710
else
1796
1711
  eval "$3=\$ac_header_compiler"
1799
1714
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1800
1715
$as_echo "$ac_res" >&6; }
1801
1716
fi
1802
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1717
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803
1718
 
1804
1719
} # ac_fn_c_check_header_mongrel
1805
1720
 
1840
1755
       ac_retval=$ac_status
1841
1756
fi
1842
1757
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1843
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1758
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1844
1759
  as_fn_set_status $ac_retval
1845
1760
 
1846
1761
} # ac_fn_c_try_run
1854
1769
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1855
1770
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1856
1771
$as_echo_n "checking for $2... " >&6; }
1857
 
if eval "test \"\${$3+set}\"" = set; then :
 
1772
if eval \${$3+:} false; then :
1858
1773
  $as_echo_n "(cached) " >&6
1859
1774
else
1860
1775
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1872
1787
eval ac_res=\$$3
1873
1788
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1874
1789
$as_echo "$ac_res" >&6; }
1875
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1790
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1876
1791
 
1877
1792
} # ac_fn_c_check_header_compile
1878
1793
 
1903
1818
         test ! -s conftest.err
1904
1819
       } && test -s conftest$ac_exeext && {
1905
1820
         test "$cross_compiling" = yes ||
1906
 
         $as_test_x conftest$ac_exeext
 
1821
         test -x conftest$ac_exeext
1907
1822
       }; then :
1908
1823
  ac_retval=0
1909
1824
else
1917
1832
  # interfere with the next link command; also delete a directory that is
1918
1833
  # left behind by Apple's compiler.  We do this before executing the actions.
1919
1834
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1920
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1835
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1921
1836
  as_fn_set_status $ac_retval
1922
1837
 
1923
1838
} # ac_fn_c_try_link
1930
1845
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1931
1846
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1932
1847
$as_echo_n "checking for $2... " >&6; }
1933
 
if eval "test \"\${$3+set}\"" = set; then :
 
1848
if eval \${$3+:} false; then :
1934
1849
  $as_echo_n "(cached) " >&6
1935
1850
else
1936
1851
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985
1900
eval ac_res=\$$3
1986
1901
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1987
1902
$as_echo "$ac_res" >&6; }
1988
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1903
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1989
1904
 
1990
1905
} # ac_fn_c_check_func
1991
1906
cat >config.log <<_ACEOF
1992
1907
This file contains any messages produced by compilers while
1993
1908
running configure, to aid debugging if configure makes a mistake.
1994
1909
 
1995
 
It was created by opusfile $as_me 0.2, which was
1996
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
1910
It was created by opusfile $as_me 0.2-57-g56be23f, which was
 
1911
generated by GNU Autoconf 2.69.  Invocation command line was
1997
1912
 
1998
1913
  $ $0 $@
1999
1914
 
2251
2166
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2252
2167
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2253
2168
as_fn_error $? "failed to load site script $ac_site_file
2254
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2169
See \`config.log' for more details" "$LINENO" 5; }
2255
2170
  fi
2256
2171
done
2257
2172
 
2341
2256
 
2342
2257
 
2343
2258
 
 
2259
 
2344
2260
ac_ext=c
2345
2261
ac_cpp='$CPP $CPPFLAGS'
2346
2262
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2351
2267
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2352
2268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2353
2269
$as_echo_n "checking for $ac_word... " >&6; }
2354
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2270
if ${ac_cv_prog_CC+:} false; then :
2355
2271
  $as_echo_n "(cached) " >&6
2356
2272
else
2357
2273
  if test -n "$CC"; then
2363
2279
  IFS=$as_save_IFS
2364
2280
  test -z "$as_dir" && as_dir=.
2365
2281
    for ac_exec_ext in '' $ac_executable_extensions; do
2366
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2282
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2367
2283
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2368
2284
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2369
2285
    break 2
2391
2307
set dummy gcc; ac_word=$2
2392
2308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2393
2309
$as_echo_n "checking for $ac_word... " >&6; }
2394
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2310
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2395
2311
  $as_echo_n "(cached) " >&6
2396
2312
else
2397
2313
  if test -n "$ac_ct_CC"; then
2403
2319
  IFS=$as_save_IFS
2404
2320
  test -z "$as_dir" && as_dir=.
2405
2321
    for ac_exec_ext in '' $ac_executable_extensions; do
2406
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2322
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2407
2323
    ac_cv_prog_ac_ct_CC="gcc"
2408
2324
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2409
2325
    break 2
2444
2360
set dummy ${ac_tool_prefix}cc; ac_word=$2
2445
2361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2446
2362
$as_echo_n "checking for $ac_word... " >&6; }
2447
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2363
if ${ac_cv_prog_CC+:} false; then :
2448
2364
  $as_echo_n "(cached) " >&6
2449
2365
else
2450
2366
  if test -n "$CC"; then
2456
2372
  IFS=$as_save_IFS
2457
2373
  test -z "$as_dir" && as_dir=.
2458
2374
    for ac_exec_ext in '' $ac_executable_extensions; do
2459
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2375
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2460
2376
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2461
2377
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2462
2378
    break 2
2484
2400
set dummy cc; ac_word=$2
2485
2401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2486
2402
$as_echo_n "checking for $ac_word... " >&6; }
2487
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2403
if ${ac_cv_prog_CC+:} false; then :
2488
2404
  $as_echo_n "(cached) " >&6
2489
2405
else
2490
2406
  if test -n "$CC"; then
2497
2413
  IFS=$as_save_IFS
2498
2414
  test -z "$as_dir" && as_dir=.
2499
2415
    for ac_exec_ext in '' $ac_executable_extensions; do
2500
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2416
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2501
2417
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2502
2418
       ac_prog_rejected=yes
2503
2419
       continue
2543
2459
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2544
2460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2545
2461
$as_echo_n "checking for $ac_word... " >&6; }
2546
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2462
if ${ac_cv_prog_CC+:} false; then :
2547
2463
  $as_echo_n "(cached) " >&6
2548
2464
else
2549
2465
  if test -n "$CC"; then
2555
2471
  IFS=$as_save_IFS
2556
2472
  test -z "$as_dir" && as_dir=.
2557
2473
    for ac_exec_ext in '' $ac_executable_extensions; do
2558
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2474
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2559
2475
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2560
2476
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2561
2477
    break 2
2587
2503
set dummy $ac_prog; ac_word=$2
2588
2504
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2589
2505
$as_echo_n "checking for $ac_word... " >&6; }
2590
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2506
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2591
2507
  $as_echo_n "(cached) " >&6
2592
2508
else
2593
2509
  if test -n "$ac_ct_CC"; then
2599
2515
  IFS=$as_save_IFS
2600
2516
  test -z "$as_dir" && as_dir=.
2601
2517
    for ac_exec_ext in '' $ac_executable_extensions; do
2602
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2518
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2603
2519
    ac_cv_prog_ac_ct_CC="$ac_prog"
2604
2520
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2605
2521
    break 2
2642
2558
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2643
2559
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2644
2560
as_fn_error $? "no acceptable C compiler found in \$PATH
2645
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2561
See \`config.log' for more details" "$LINENO" 5; }
2646
2562
 
2647
2563
# Provide some information about the compiler.
2648
2564
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2757
2673
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2758
2674
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2759
2675
as_fn_error 77 "C compiler cannot create executables
2760
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2676
See \`config.log' for more details" "$LINENO" 5; }
2761
2677
else
2762
2678
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2763
2679
$as_echo "yes" >&6; }
2800
2716
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2801
2717
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2802
2718
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2803
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2719
See \`config.log' for more details" "$LINENO" 5; }
2804
2720
fi
2805
2721
rm -f conftest conftest$ac_cv_exeext
2806
2722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2859
2775
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2860
2776
as_fn_error $? "cannot run C compiled programs.
2861
2777
If you meant to cross compile, use \`--host'.
2862
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2778
See \`config.log' for more details" "$LINENO" 5; }
2863
2779
    fi
2864
2780
  fi
2865
2781
fi
2870
2786
ac_clean_files=$ac_clean_files_save
2871
2787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2872
2788
$as_echo_n "checking for suffix of object files... " >&6; }
2873
 
if test "${ac_cv_objext+set}" = set; then :
 
2789
if ${ac_cv_objext+:} false; then :
2874
2790
  $as_echo_n "(cached) " >&6
2875
2791
else
2876
2792
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911
2827
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2912
2828
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2913
2829
as_fn_error $? "cannot compute suffix of object files: cannot compile
2914
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2830
See \`config.log' for more details" "$LINENO" 5; }
2915
2831
fi
2916
2832
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2917
2833
fi
2921
2837
ac_objext=$OBJEXT
2922
2838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2923
2839
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2924
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
2840
if ${ac_cv_c_compiler_gnu+:} false; then :
2925
2841
  $as_echo_n "(cached) " >&6
2926
2842
else
2927
2843
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958
2874
ac_save_CFLAGS=$CFLAGS
2959
2875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2960
2876
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2961
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
2877
if ${ac_cv_prog_cc_g+:} false; then :
2962
2878
  $as_echo_n "(cached) " >&6
2963
2879
else
2964
2880
  ac_save_c_werror_flag=$ac_c_werror_flag
3036
2952
fi
3037
2953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3038
2954
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3039
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
2955
if ${ac_cv_prog_cc_c89+:} false; then :
3040
2956
  $as_echo_n "(cached) " >&6
3041
2957
else
3042
2958
  ac_cv_prog_cc_c89=no
3045
2961
/* end confdefs.h.  */
3046
2962
#include <stdarg.h>
3047
2963
#include <stdio.h>
3048
 
#include <sys/types.h>
3049
 
#include <sys/stat.h>
 
2964
struct stat;
3050
2965
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3051
2966
struct buf { int x; };
3052
2967
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3144
3059
  CPP=
3145
3060
fi
3146
3061
if test -z "$CPP"; then
3147
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
3062
  if ${ac_cv_prog_CPP+:} false; then :
3148
3063
  $as_echo_n "(cached) " >&6
3149
3064
else
3150
3065
      # Double quotes because CPP needs to be expanded
3260
3175
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3261
3176
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3262
3177
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3263
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3178
See \`config.log' for more details" "$LINENO" 5; }
3264
3179
fi
3265
3180
 
3266
3181
ac_ext=c
3272
3187
 
3273
3188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3274
3189
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3275
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
3190
if ${ac_cv_path_GREP+:} false; then :
3276
3191
  $as_echo_n "(cached) " >&6
3277
3192
else
3278
3193
  if test -z "$GREP"; then
3286
3201
    for ac_prog in grep ggrep; do
3287
3202
    for ac_exec_ext in '' $ac_executable_extensions; do
3288
3203
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3289
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3204
      as_fn_executable_p "$ac_path_GREP" || continue
3290
3205
# Check for GNU ac_path_GREP and select it if it is found.
3291
3206
  # Check for GNU $ac_path_GREP
3292
3207
case `"$ac_path_GREP" --version 2>&1` in
3335
3250
 
3336
3251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3337
3252
$as_echo_n "checking for egrep... " >&6; }
3338
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
3253
if ${ac_cv_path_EGREP+:} false; then :
3339
3254
  $as_echo_n "(cached) " >&6
3340
3255
else
3341
3256
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3352
3267
    for ac_prog in egrep; do
3353
3268
    for ac_exec_ext in '' $ac_executable_extensions; do
3354
3269
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3355
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3270
      as_fn_executable_p "$ac_path_EGREP" || continue
3356
3271
# Check for GNU ac_path_EGREP and select it if it is found.
3357
3272
  # Check for GNU $ac_path_EGREP
3358
3273
case `"$ac_path_EGREP" --version 2>&1` in
3402
3317
 
3403
3318
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3404
3319
$as_echo_n "checking for ANSI C header files... " >&6; }
3405
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
3320
if ${ac_cv_header_stdc+:} false; then :
3406
3321
  $as_echo_n "(cached) " >&6
3407
3322
else
3408
3323
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3531
3446
 
3532
3447
 
3533
3448
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3534
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
 
3449
if test "x$ac_cv_header_minix_config_h" = xyes; then :
3535
3450
  MINIX=yes
3536
3451
else
3537
3452
  MINIX=
3553
3468
 
3554
3469
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3555
3470
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3556
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
 
3471
if ${ac_cv_safe_to_define___extensions__+:} false; then :
3557
3472
  $as_echo_n "(cached) " >&6
3558
3473
else
3559
3474
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560
3475
/* end confdefs.h.  */
3561
3476
 
3562
 
#         define __EXTENSIONS__ 1
3563
 
          $ac_includes_default
 
3477
#         define __EXTENSIONS__ 1
 
3478
          $ac_includes_default
3564
3479
int
3565
3480
main ()
3566
3481
{
3599
3514
 
3600
3515
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3601
3516
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3602
 
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
 
3517
if ${ac_cv_sys_largefile_CC+:} false; then :
3603
3518
  $as_echo_n "(cached) " >&6
3604
3519
else
3605
3520
  ac_cv_sys_largefile_CC=no
3650
3565
 
3651
3566
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3652
3567
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3653
 
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
 
3568
if ${ac_cv_sys_file_offset_bits+:} false; then :
3654
3569
  $as_echo_n "(cached) " >&6
3655
3570
else
3656
3571
  while :; do
3719
3634
  if test $ac_cv_sys_file_offset_bits = unknown; then
3720
3635
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
3721
3636
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
3722
 
if test "${ac_cv_sys_large_files+set}" = set; then :
 
3637
if ${ac_cv_sys_large_files+:} false; then :
3723
3638
  $as_echo_n "(cached) " >&6
3724
3639
else
3725
3640
  while :; do
3786
3701
esac
3787
3702
rm -rf conftest*
3788
3703
  fi
 
3704
 
 
3705
 
3789
3706
fi
3790
3707
 
3791
3708
 
3837
3754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3838
3755
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3839
3756
if test -z "$INSTALL"; then
3840
 
if test "${ac_cv_path_install+set}" = set; then :
 
3757
if ${ac_cv_path_install+:} false; then :
3841
3758
  $as_echo_n "(cached) " >&6
3842
3759
else
3843
3760
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3857
3774
    # by default.
3858
3775
    for ac_prog in ginstall scoinst install; do
3859
3776
      for ac_exec_ext in '' $ac_executable_extensions; do
3860
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
3777
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3861
3778
          if test $ac_prog = install &&
3862
3779
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3863
3780
            # AIX install.  It has an incompatible calling convention.
3924
3841
'
3925
3842
case `pwd` in
3926
3843
  *[\\\"\#\$\&\'\`$am_lf]*)
3927
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
3844
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3928
3845
esac
3929
3846
case $srcdir in
3930
3847
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3931
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
3848
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3932
3849
esac
3933
3850
 
3934
3851
# Do `set' in a subshell so we don't clobber the current shell's
4014
3931
set dummy ${ac_tool_prefix}strip; ac_word=$2
4015
3932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4016
3933
$as_echo_n "checking for $ac_word... " >&6; }
4017
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
3934
if ${ac_cv_prog_STRIP+:} false; then :
4018
3935
  $as_echo_n "(cached) " >&6
4019
3936
else
4020
3937
  if test -n "$STRIP"; then
4026
3943
  IFS=$as_save_IFS
4027
3944
  test -z "$as_dir" && as_dir=.
4028
3945
    for ac_exec_ext in '' $ac_executable_extensions; do
4029
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3946
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4030
3947
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4031
3948
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4032
3949
    break 2
4054
3971
set dummy strip; ac_word=$2
4055
3972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4056
3973
$as_echo_n "checking for $ac_word... " >&6; }
4057
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
3974
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4058
3975
  $as_echo_n "(cached) " >&6
4059
3976
else
4060
3977
  if test -n "$ac_ct_STRIP"; then
4066
3983
  IFS=$as_save_IFS
4067
3984
  test -z "$as_dir" && as_dir=.
4068
3985
    for ac_exec_ext in '' $ac_executable_extensions; do
4069
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3986
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4070
3987
    ac_cv_prog_ac_ct_STRIP="strip"
4071
3988
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4072
3989
    break 2
4107
4024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4108
4025
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4109
4026
if test -z "$MKDIR_P"; then
4110
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
4027
  if ${ac_cv_path_mkdir+:} false; then :
4111
4028
  $as_echo_n "(cached) " >&6
4112
4029
else
4113
4030
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4117
4034
  test -z "$as_dir" && as_dir=.
4118
4035
    for ac_prog in mkdir gmkdir; do
4119
4036
         for ac_exec_ext in '' $ac_executable_extensions; do
4120
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
4037
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4121
4038
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4122
4039
             'mkdir (GNU coreutils) '* | \
4123
4040
             'mkdir (coreutils) '* | \
4158
4075
set dummy $ac_prog; ac_word=$2
4159
4076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4160
4077
$as_echo_n "checking for $ac_word... " >&6; }
4161
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
4078
if ${ac_cv_prog_AWK+:} false; then :
4162
4079
  $as_echo_n "(cached) " >&6
4163
4080
else
4164
4081
  if test -n "$AWK"; then
4170
4087
  IFS=$as_save_IFS
4171
4088
  test -z "$as_dir" && as_dir=.
4172
4089
    for ac_exec_ext in '' $ac_executable_extensions; do
4173
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4090
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4174
4091
    ac_cv_prog_AWK="$ac_prog"
4175
4092
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4176
4093
    break 2
4198
4115
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4199
4116
set x ${MAKE-make}
4200
4117
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4201
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
4118
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4202
4119
  $as_echo_n "(cached) " >&6
4203
4120
else
4204
4121
  cat >conftest.make <<\_ACEOF
4286
4203
if test "x$enable_dependency_tracking" != xno; then
4287
4204
  am_depcomp="$ac_aux_dir/depcomp"
4288
4205
  AMDEPBACKSLASH='\'
 
4206
  am__nodep='_no'
4289
4207
fi
4290
4208
 if test "x$enable_dependency_tracking" != xno; then
4291
4209
  AMDEP_TRUE=
4318
4236
 
4319
4237
# Define the identity of the package.
4320
4238
 PACKAGE='opusfile'
4321
 
 VERSION='0.2'
4322
 
 
4323
 
 
4324
 
cat >>confdefs.h <<_ACEOF
4325
 
#define PACKAGE "$PACKAGE"
4326
 
_ACEOF
4327
 
 
4328
 
 
4329
 
cat >>confdefs.h <<_ACEOF
4330
 
#define VERSION "$VERSION"
4331
 
_ACEOF
 
4239
 VERSION='0.2-57-g56be23f'
 
4240
 
4332
4241
 
4333
4242
# Some tools Automake needs.
4334
4243
 
4348
4257
 
4349
4258
# We need awk for the "check" target.  The system "awk" is bad on
4350
4259
# some platforms.
4351
 
# Always define AMTAR for backward compatibility.
4352
 
 
4353
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
4354
 
 
4355
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
4260
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
4261
# in the wild :-(  We should find a proper way to deprecate it ...
 
4262
AMTAR='$${TAR-tar}'
 
4263
 
 
4264
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4356
4265
 
4357
4266
 
4358
4267
 
4361
4270
 
4362
4271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4363
4272
$as_echo_n "checking dependency style of $depcc... " >&6; }
4364
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4273
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4365
4274
  $as_echo_n "(cached) " >&6
4366
4275
else
4367
4276
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4370
4279
  # instance it was reported that on HP-UX the gcc test will end up
4371
4280
  # making a dummy file named `D' -- because `-MD' means `put the output
4372
4281
  # in D'.
 
4282
  rm -rf conftest.dir
4373
4283
  mkdir conftest.dir
4374
4284
  # Copy depcomp to subdir because otherwise we won't find it if we're
4375
4285
  # using a relative directory.
4429
4339
        break
4430
4340
      fi
4431
4341
      ;;
4432
 
    msvisualcpp | msvcmsys)
 
4342
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4433
4343
      # This compiler won't grok `-c -o', but also, the minuso test has
4434
4344
      # not run yet.  These depmodes are late enough in the game, and
4435
4345
      # so weak that their functioning should not be impacted.
4486
4396
 
4487
4397
 
4488
4398
 
4489
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
4490
 
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
 
4399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
4400
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4491
4401
    # Check whether --enable-maintainer-mode was given.
4492
4402
if test "${enable_maintainer_mode+set}" = set; then :
4493
4403
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4516
4426
 
4517
4427
 
4518
4428
 
4519
 
macro_version='2.2.6b'
4520
 
macro_revision='1.3017'
 
4429
macro_version='2.4.2'
 
4430
macro_revision='1.3337'
4521
4431
 
4522
4432
 
4523
4433
 
4539
4449
 
4540
4450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4541
4451
$as_echo_n "checking build system type... " >&6; }
4542
 
if test "${ac_cv_build+set}" = set; then :
 
4452
if ${ac_cv_build+:} false; then :
4543
4453
  $as_echo_n "(cached) " >&6
4544
4454
else
4545
4455
  ac_build_alias=$build_alias
4555
4465
$as_echo "$ac_cv_build" >&6; }
4556
4466
case $ac_cv_build in
4557
4467
*-*-*) ;;
4558
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
4468
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4559
4469
esac
4560
4470
build=$ac_cv_build
4561
4471
ac_save_IFS=$IFS; IFS='-'
4573
4483
 
4574
4484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4575
4485
$as_echo_n "checking host system type... " >&6; }
4576
 
if test "${ac_cv_host+set}" = set; then :
 
4486
if ${ac_cv_host+:} false; then :
4577
4487
  $as_echo_n "(cached) " >&6
4578
4488
else
4579
4489
  if test "x$host_alias" = x; then
4588
4498
$as_echo "$ac_cv_host" >&6; }
4589
4499
case $ac_cv_host in
4590
4500
*-*-*) ;;
4591
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
4501
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4592
4502
esac
4593
4503
host=$ac_cv_host
4594
4504
ac_save_IFS=$IFS; IFS='-'
4604
4514
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4605
4515
 
4606
4516
 
 
4517
# Backslashify metacharacters that are still active within
 
4518
# double-quoted strings.
 
4519
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
4520
 
 
4521
# Same as above, but do not quote variable references.
 
4522
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
4523
 
 
4524
# Sed substitution to delay expansion of an escaped shell variable in a
 
4525
# double_quote_subst'ed string.
 
4526
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
4527
 
 
4528
# Sed substitution to delay expansion of an escaped single quote.
 
4529
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
4530
 
 
4531
# Sed substitution to avoid accidental globbing in evaled expressions
 
4532
no_glob_subst='s/\*/\\\*/g'
 
4533
 
 
4534
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4535
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
4536
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
4537
 
 
4538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
4539
$as_echo_n "checking how to print strings... " >&6; }
 
4540
# Test print first, because it will be a builtin if present.
 
4541
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
4542
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4543
  ECHO='print -r --'
 
4544
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4545
  ECHO='printf %s\n'
 
4546
else
 
4547
  # Use this function as a fallback that always works.
 
4548
  func_fallback_echo ()
 
4549
  {
 
4550
    eval 'cat <<_LTECHO_EOF
 
4551
$1
 
4552
_LTECHO_EOF'
 
4553
  }
 
4554
  ECHO='func_fallback_echo'
 
4555
fi
 
4556
 
 
4557
# func_echo_all arg...
 
4558
# Invoke $ECHO with all args, space-separated.
 
4559
func_echo_all ()
 
4560
{
 
4561
    $ECHO ""
 
4562
}
 
4563
 
 
4564
case "$ECHO" in
 
4565
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
4566
$as_echo "printf" >&6; } ;;
 
4567
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
4568
$as_echo "print -r" >&6; } ;;
 
4569
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
4570
$as_echo "cat" >&6; } ;;
 
4571
esac
 
4572
 
 
4573
 
 
4574
 
 
4575
 
 
4576
 
 
4577
 
 
4578
 
 
4579
 
 
4580
 
 
4581
 
 
4582
 
 
4583
 
 
4584
 
 
4585
 
4607
4586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4608
4587
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4609
 
if test "${ac_cv_path_SED+set}" = set; then :
 
4588
if ${ac_cv_path_SED+:} false; then :
4610
4589
  $as_echo_n "(cached) " >&6
4611
4590
else
4612
4591
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4626
4605
    for ac_prog in sed gsed; do
4627
4606
    for ac_exec_ext in '' $ac_executable_extensions; do
4628
4607
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4629
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4608
      as_fn_executable_p "$ac_path_SED" || continue
4630
4609
# Check for GNU ac_path_SED and select it if it is found.
4631
4610
  # Check for GNU $ac_path_SED
4632
4611
case `"$ac_path_SED" --version 2>&1` in
4688
4667
 
4689
4668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4690
4669
$as_echo_n "checking for fgrep... " >&6; }
4691
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4670
if ${ac_cv_path_FGREP+:} false; then :
4692
4671
  $as_echo_n "(cached) " >&6
4693
4672
else
4694
4673
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4705
4684
    for ac_prog in fgrep; do
4706
4685
    for ac_exec_ext in '' $ac_executable_extensions; do
4707
4686
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4708
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4687
      as_fn_executable_p "$ac_path_FGREP" || continue
4709
4688
# Check for GNU ac_path_FGREP and select it if it is found.
4710
4689
  # Check for GNU $ac_path_FGREP
4711
4690
case `"$ac_path_FGREP" --version 2>&1` in
4819
4798
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4820
4799
$as_echo_n "checking for non-GNU ld... " >&6; }
4821
4800
fi
4822
 
if test "${lt_cv_path_LD+set}" = set; then :
 
4801
if ${lt_cv_path_LD+:} false; then :
4823
4802
  $as_echo_n "(cached) " >&6
4824
4803
else
4825
4804
  if test -z "$LD"; then
4859
4838
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4860
4839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4861
4840
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4862
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4841
if ${lt_cv_prog_gnu_ld+:} false; then :
4863
4842
  $as_echo_n "(cached) " >&6
4864
4843
else
4865
4844
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4886
4865
 
4887
4866
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4888
4867
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4889
 
if test "${lt_cv_path_NM+set}" = set; then :
 
4868
if ${lt_cv_path_NM+:} false; then :
4890
4869
  $as_echo_n "(cached) " >&6
4891
4870
else
4892
4871
  if test -n "$NM"; then
4939
4918
  NM="$lt_cv_path_NM"
4940
4919
else
4941
4920
  # Didn't find any BSD compatible name lister, look for dumpbin.
4942
 
  if test -n "$ac_tool_prefix"; then
4943
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4921
  if test -n "$DUMPBIN"; then :
 
4922
    # Let the user override the test.
 
4923
  else
 
4924
    if test -n "$ac_tool_prefix"; then
 
4925
  for ac_prog in dumpbin "link -dump"
4944
4926
  do
4945
4927
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4946
4928
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4947
4929
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948
4930
$as_echo_n "checking for $ac_word... " >&6; }
4949
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4931
if ${ac_cv_prog_DUMPBIN+:} false; then :
4950
4932
  $as_echo_n "(cached) " >&6
4951
4933
else
4952
4934
  if test -n "$DUMPBIN"; then
4958
4940
  IFS=$as_save_IFS
4959
4941
  test -z "$as_dir" && as_dir=.
4960
4942
    for ac_exec_ext in '' $ac_executable_extensions; do
4961
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4943
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4962
4944
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4963
4945
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964
4946
    break 2
4984
4966
fi
4985
4967
if test -z "$DUMPBIN"; then
4986
4968
  ac_ct_DUMPBIN=$DUMPBIN
4987
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4969
  for ac_prog in dumpbin "link -dump"
4988
4970
do
4989
4971
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4990
4972
set dummy $ac_prog; ac_word=$2
4991
4973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4992
4974
$as_echo_n "checking for $ac_word... " >&6; }
4993
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4975
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4994
4976
  $as_echo_n "(cached) " >&6
4995
4977
else
4996
4978
  if test -n "$ac_ct_DUMPBIN"; then
5002
4984
  IFS=$as_save_IFS
5003
4985
  test -z "$as_dir" && as_dir=.
5004
4986
    for ac_exec_ext in '' $ac_executable_extensions; do
5005
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4987
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5006
4988
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5007
4989
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5008
4990
    break 2
5039
5021
  fi
5040
5022
fi
5041
5023
 
 
5024
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5025
    *COFF*)
 
5026
      DUMPBIN="$DUMPBIN -symbols"
 
5027
      ;;
 
5028
    *)
 
5029
      DUMPBIN=:
 
5030
      ;;
 
5031
    esac
 
5032
  fi
5042
5033
 
5043
5034
  if test "$DUMPBIN" != ":"; then
5044
5035
    NM="$DUMPBIN"
5053
5044
 
5054
5045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5055
5046
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5056
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
5047
if ${lt_cv_nm_interface+:} false; then :
5057
5048
  $as_echo_n "(cached) " >&6
5058
5049
else
5059
5050
  lt_cv_nm_interface="BSD nm"
5060
5051
  echo "int some_variable = 0;" > conftest.$ac_ext
5061
 
  (eval echo "\"\$as_me:5061: $ac_compile\"" >&5)
 
5052
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5062
5053
  (eval "$ac_compile" 2>conftest.err)
5063
5054
  cat conftest.err >&5
5064
 
  (eval echo "\"\$as_me:5064: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5055
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5065
5056
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5066
5057
  cat conftest.err >&5
5067
 
  (eval echo "\"\$as_me:5067: output\"" >&5)
 
5058
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5068
5059
  cat conftest.out >&5
5069
5060
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5070
5061
    lt_cv_nm_interface="MS dumpbin"
5088
5079
# find the maximum length of command line arguments
5089
5080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5090
5081
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5091
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
5082
if ${lt_cv_sys_max_cmd_len+:} false; then :
5092
5083
  $as_echo_n "(cached) " >&6
5093
5084
else
5094
5085
    i=0
5121
5112
    lt_cv_sys_max_cmd_len=8192;
5122
5113
    ;;
5123
5114
 
 
5115
  mint*)
 
5116
    # On MiNT this can take a long time and run out of memory.
 
5117
    lt_cv_sys_max_cmd_len=8192;
 
5118
    ;;
 
5119
 
5124
5120
  amigaos*)
5125
5121
    # On AmigaOS with pdksh, this test takes hours, literally.
5126
5122
    # So we just punt and use a minimum line length of 8192.
5146
5142
    lt_cv_sys_max_cmd_len=196608
5147
5143
    ;;
5148
5144
 
 
5145
  os2*)
 
5146
    # The test takes a long time on OS/2.
 
5147
    lt_cv_sys_max_cmd_len=8192
 
5148
    ;;
 
5149
 
5149
5150
  osf*)
5150
5151
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5151
5152
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5172
5173
    ;;
5173
5174
  *)
5174
5175
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5175
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5176
    if test -n "$lt_cv_sys_max_cmd_len" && \
 
5177
        test undefined != "$lt_cv_sys_max_cmd_len"; then
5176
5178
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5177
5179
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5178
5180
    else
5185
5187
      # If test is not a shell built-in, we'll probably end up computing a
5186
5188
      # maximum length that is only half of the actual maximum length, but
5187
5189
      # we can't tell.
5188
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5189
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5190
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
5191
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5190
5192
              test $i != 17 # 1/2 MB should be enough
5191
5193
      do
5192
5194
        i=`expr $i + 1`
5228
5230
# Try some XSI features
5229
5231
xsi_shell=no
5230
5232
( _lt_dummy="a/b/c"
5231
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5232
 
      = c,a/b,, \
 
5233
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
5234
      = c,a/b,b/c, \
5233
5235
    && eval 'test $(( 1 + 1 )) -eq 2 \
5234
5236
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5235
5237
  && xsi_shell=yes
5278
5280
 
5279
5281
 
5280
5282
 
 
5283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5284
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5285
if ${lt_cv_to_host_file_cmd+:} false; then :
 
5286
  $as_echo_n "(cached) " >&6
 
5287
else
 
5288
  case $host in
 
5289
  *-*-mingw* )
 
5290
    case $build in
 
5291
      *-*-mingw* ) # actually msys
 
5292
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5293
        ;;
 
5294
      *-*-cygwin* )
 
5295
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5296
        ;;
 
5297
      * ) # otherwise, assume *nix
 
5298
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5299
        ;;
 
5300
    esac
 
5301
    ;;
 
5302
  *-*-cygwin* )
 
5303
    case $build in
 
5304
      *-*-mingw* ) # actually msys
 
5305
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5306
        ;;
 
5307
      *-*-cygwin* )
 
5308
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5309
        ;;
 
5310
      * ) # otherwise, assume *nix
 
5311
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5312
        ;;
 
5313
    esac
 
5314
    ;;
 
5315
  * ) # unhandled hosts (and "normal" native builds)
 
5316
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5317
    ;;
 
5318
esac
 
5319
 
 
5320
fi
 
5321
 
 
5322
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5323
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5324
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5325
 
 
5326
 
 
5327
 
 
5328
 
 
5329
 
 
5330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5331
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5332
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5333
  $as_echo_n "(cached) " >&6
 
5334
else
 
5335
  #assume ordinary cross tools, or native build.
 
5336
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5337
case $host in
 
5338
  *-*-mingw* )
 
5339
    case $build in
 
5340
      *-*-mingw* ) # actually msys
 
5341
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5342
        ;;
 
5343
    esac
 
5344
    ;;
 
5345
esac
 
5346
 
 
5347
fi
 
5348
 
 
5349
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5351
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5352
 
 
5353
 
 
5354
 
 
5355
 
 
5356
 
5281
5357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5282
5358
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5283
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5359
if ${lt_cv_ld_reload_flag+:} false; then :
5284
5360
  $as_echo_n "(cached) " >&6
5285
5361
else
5286
5362
  lt_cv_ld_reload_flag='-r'
5294
5370
esac
5295
5371
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5296
5372
case $host_os in
 
5373
  cygwin* | mingw* | pw32* | cegcc*)
 
5374
    if test "$GCC" != yes; then
 
5375
      reload_cmds=false
 
5376
    fi
 
5377
    ;;
5297
5378
  darwin*)
5298
5379
    if test "$GCC" = yes; then
5299
5380
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5316
5397
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5317
5398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5318
5399
$as_echo_n "checking for $ac_word... " >&6; }
5319
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5400
if ${ac_cv_prog_OBJDUMP+:} false; then :
5320
5401
  $as_echo_n "(cached) " >&6
5321
5402
else
5322
5403
  if test -n "$OBJDUMP"; then
5328
5409
  IFS=$as_save_IFS
5329
5410
  test -z "$as_dir" && as_dir=.
5330
5411
    for ac_exec_ext in '' $ac_executable_extensions; do
5331
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5412
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5332
5413
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5333
5414
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5334
5415
    break 2
5356
5437
set dummy objdump; ac_word=$2
5357
5438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5358
5439
$as_echo_n "checking for $ac_word... " >&6; }
5359
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5440
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5360
5441
  $as_echo_n "(cached) " >&6
5361
5442
else
5362
5443
  if test -n "$ac_ct_OBJDUMP"; then
5368
5449
  IFS=$as_save_IFS
5369
5450
  test -z "$as_dir" && as_dir=.
5370
5451
    for ac_exec_ext in '' $ac_executable_extensions; do
5371
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5452
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5372
5453
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5373
5454
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374
5455
    break 2
5415
5496
 
5416
5497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5417
5498
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5418
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5499
if ${lt_cv_deplibs_check_method+:} false; then :
5419
5500
  $as_echo_n "(cached) " >&6
5420
5501
else
5421
5502
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5457
5538
  # Base MSYS/MinGW do not provide the 'file' command needed by
5458
5539
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5459
5540
  # unless we find 'file', for example because we are cross-compiling.
5460
 
  if ( file / ) >/dev/null 2>&1; then
 
5541
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5542
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5461
5543
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5462
5544
    lt_cv_file_magic_cmd='func_win32_libid'
5463
5545
  else
5464
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5546
    # Keep this pattern in sync with the one in func_win32_libid.
 
5547
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5465
5548
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5466
5549
  fi
5467
5550
  ;;
5468
5551
 
5469
 
cegcc)
 
5552
cegcc*)
5470
5553
  # use the weaker test based on 'objdump'. See mingw*.
5471
5554
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5472
5555
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5492
5575
  fi
5493
5576
  ;;
5494
5577
 
5495
 
gnu*)
 
5578
haiku*)
5496
5579
  lt_cv_deplibs_check_method=pass_all
5497
5580
  ;;
5498
5581
 
5504
5587
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5505
5588
    ;;
5506
5589
  hppa*64*)
5507
 
    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]'
 
5590
    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]'
5508
5591
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5509
5592
    ;;
5510
5593
  *)
5511
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5594
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5512
5595
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5513
5596
    ;;
5514
5597
  esac
5529
5612
  lt_cv_deplibs_check_method=pass_all
5530
5613
  ;;
5531
5614
 
5532
 
# This must be Linux ELF.
5533
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
5615
# This must be glibc/ELF.
 
5616
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5534
5617
  lt_cv_deplibs_check_method=pass_all
5535
5618
  ;;
5536
5619
 
5611
5694
fi
5612
5695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5613
5696
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5697
 
 
5698
file_magic_glob=
 
5699
want_nocaseglob=no
 
5700
if test "$build" = "$host"; then
 
5701
  case $host_os in
 
5702
  mingw* | pw32*)
 
5703
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5704
      want_nocaseglob=yes
 
5705
    else
 
5706
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5707
    fi
 
5708
    ;;
 
5709
  esac
 
5710
fi
 
5711
 
5614
5712
file_magic_cmd=$lt_cv_file_magic_cmd
5615
5713
deplibs_check_method=$lt_cv_deplibs_check_method
5616
5714
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5626
5724
 
5627
5725
 
5628
5726
 
5629
 
if test -n "$ac_tool_prefix"; then
5630
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5631
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5632
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633
 
$as_echo_n "checking for $ac_word... " >&6; }
5634
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
5727
 
 
5728
 
 
5729
 
 
5730
 
 
5731
 
 
5732
 
 
5733
 
 
5734
 
 
5735
 
 
5736
 
 
5737
if test -n "$ac_tool_prefix"; then
 
5738
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5739
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5741
$as_echo_n "checking for $ac_word... " >&6; }
 
5742
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5743
  $as_echo_n "(cached) " >&6
 
5744
else
 
5745
  if test -n "$DLLTOOL"; then
 
5746
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5747
else
 
5748
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5749
for as_dir in $PATH
 
5750
do
 
5751
  IFS=$as_save_IFS
 
5752
  test -z "$as_dir" && as_dir=.
 
5753
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5754
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5755
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5756
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5757
    break 2
 
5758
  fi
 
5759
done
 
5760
  done
 
5761
IFS=$as_save_IFS
 
5762
 
 
5763
fi
 
5764
fi
 
5765
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5766
if test -n "$DLLTOOL"; then
 
5767
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5768
$as_echo "$DLLTOOL" >&6; }
 
5769
else
 
5770
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5771
$as_echo "no" >&6; }
 
5772
fi
 
5773
 
 
5774
 
 
5775
fi
 
5776
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5777
  ac_ct_DLLTOOL=$DLLTOOL
 
5778
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5779
set dummy dlltool; ac_word=$2
 
5780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5781
$as_echo_n "checking for $ac_word... " >&6; }
 
5782
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5783
  $as_echo_n "(cached) " >&6
 
5784
else
 
5785
  if test -n "$ac_ct_DLLTOOL"; then
 
5786
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5787
else
 
5788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5789
for as_dir in $PATH
 
5790
do
 
5791
  IFS=$as_save_IFS
 
5792
  test -z "$as_dir" && as_dir=.
 
5793
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5794
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5795
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5796
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5797
    break 2
 
5798
  fi
 
5799
done
 
5800
  done
 
5801
IFS=$as_save_IFS
 
5802
 
 
5803
fi
 
5804
fi
 
5805
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5806
if test -n "$ac_ct_DLLTOOL"; then
 
5807
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5808
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5809
else
 
5810
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5811
$as_echo "no" >&6; }
 
5812
fi
 
5813
 
 
5814
  if test "x$ac_ct_DLLTOOL" = x; then
 
5815
    DLLTOOL="false"
 
5816
  else
 
5817
    case $cross_compiling:$ac_tool_warned in
 
5818
yes:)
 
5819
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5820
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5821
ac_tool_warned=yes ;;
 
5822
esac
 
5823
    DLLTOOL=$ac_ct_DLLTOOL
 
5824
  fi
 
5825
else
 
5826
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5827
fi
 
5828
 
 
5829
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5830
 
 
5831
 
 
5832
 
 
5833
 
 
5834
 
 
5835
 
 
5836
 
 
5837
 
 
5838
 
 
5839
 
 
5840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5841
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5842
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5843
  $as_echo_n "(cached) " >&6
 
5844
else
 
5845
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5846
 
 
5847
case $host_os in
 
5848
cygwin* | mingw* | pw32* | cegcc*)
 
5849
  # two different shell functions defined in ltmain.sh
 
5850
  # decide which to use based on capabilities of $DLLTOOL
 
5851
  case `$DLLTOOL --help 2>&1` in
 
5852
  *--identify-strict*)
 
5853
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5854
    ;;
 
5855
  *)
 
5856
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5857
    ;;
 
5858
  esac
 
5859
  ;;
 
5860
*)
 
5861
  # fallback: assume linklib IS sharedlib
 
5862
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5863
  ;;
 
5864
esac
 
5865
 
 
5866
fi
 
5867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5868
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5869
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5870
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5871
 
 
5872
 
 
5873
 
 
5874
 
 
5875
 
 
5876
 
 
5877
 
 
5878
if test -n "$ac_tool_prefix"; then
 
5879
  for ac_prog in ar
 
5880
  do
 
5881
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5882
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5884
$as_echo_n "checking for $ac_word... " >&6; }
 
5885
if ${ac_cv_prog_AR+:} false; then :
5635
5886
  $as_echo_n "(cached) " >&6
5636
5887
else
5637
5888
  if test -n "$AR"; then
5643
5894
  IFS=$as_save_IFS
5644
5895
  test -z "$as_dir" && as_dir=.
5645
5896
    for ac_exec_ext in '' $ac_executable_extensions; do
5646
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5647
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5897
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5898
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5648
5899
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649
5900
    break 2
5650
5901
  fi
5664
5915
fi
5665
5916
 
5666
5917
 
 
5918
    test -n "$AR" && break
 
5919
  done
5667
5920
fi
5668
 
if test -z "$ac_cv_prog_AR"; then
 
5921
if test -z "$AR"; then
5669
5922
  ac_ct_AR=$AR
5670
 
  # Extract the first word of "ar", so it can be a program name with args.
5671
 
set dummy ar; ac_word=$2
 
5923
  for ac_prog in ar
 
5924
do
 
5925
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5926
set dummy $ac_prog; ac_word=$2
5672
5927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673
5928
$as_echo_n "checking for $ac_word... " >&6; }
5674
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5929
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5675
5930
  $as_echo_n "(cached) " >&6
5676
5931
else
5677
5932
  if test -n "$ac_ct_AR"; then
5683
5938
  IFS=$as_save_IFS
5684
5939
  test -z "$as_dir" && as_dir=.
5685
5940
    for ac_exec_ext in '' $ac_executable_extensions; do
5686
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5687
 
    ac_cv_prog_ac_ct_AR="ar"
 
5941
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5942
    ac_cv_prog_ac_ct_AR="$ac_prog"
5688
5943
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689
5944
    break 2
5690
5945
  fi
5703
5958
$as_echo "no" >&6; }
5704
5959
fi
5705
5960
 
 
5961
 
 
5962
  test -n "$ac_ct_AR" && break
 
5963
done
 
5964
 
5706
5965
  if test "x$ac_ct_AR" = x; then
5707
5966
    AR="false"
5708
5967
  else
5714
5973
esac
5715
5974
    AR=$ac_ct_AR
5716
5975
  fi
5717
 
else
5718
 
  AR="$ac_cv_prog_AR"
5719
 
fi
5720
 
 
5721
 
test -z "$AR" && AR=ar
5722
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5723
 
 
5724
 
 
5725
 
 
5726
 
 
 
5976
fi
 
5977
 
 
5978
: ${AR=ar}
 
5979
: ${AR_FLAGS=cru}
 
5980
 
 
5981
 
 
5982
 
 
5983
 
 
5984
 
 
5985
 
 
5986
 
 
5987
 
 
5988
 
 
5989
 
 
5990
 
 
5991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5992
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5993
if ${lt_cv_ar_at_file+:} false; then :
 
5994
  $as_echo_n "(cached) " >&6
 
5995
else
 
5996
  lt_cv_ar_at_file=no
 
5997
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5998
/* end confdefs.h.  */
 
5999
 
 
6000
int
 
6001
main ()
 
6002
{
 
6003
 
 
6004
  ;
 
6005
  return 0;
 
6006
}
 
6007
_ACEOF
 
6008
if ac_fn_c_try_compile "$LINENO"; then :
 
6009
  echo conftest.$ac_objext > conftest.lst
 
6010
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
6011
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6012
  (eval $lt_ar_try) 2>&5
 
6013
  ac_status=$?
 
6014
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6015
  test $ac_status = 0; }
 
6016
      if test "$ac_status" -eq 0; then
 
6017
        # Ensure the archiver fails upon bogus file names.
 
6018
        rm -f conftest.$ac_objext libconftest.a
 
6019
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6020
  (eval $lt_ar_try) 2>&5
 
6021
  ac_status=$?
 
6022
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6023
  test $ac_status = 0; }
 
6024
        if test "$ac_status" -ne 0; then
 
6025
          lt_cv_ar_at_file=@
 
6026
        fi
 
6027
      fi
 
6028
      rm -f conftest.* libconftest.a
 
6029
 
 
6030
fi
 
6031
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6032
 
 
6033
fi
 
6034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6035
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6036
 
 
6037
if test "x$lt_cv_ar_at_file" = xno; then
 
6038
  archiver_list_spec=
 
6039
else
 
6040
  archiver_list_spec=$lt_cv_ar_at_file
 
6041
fi
5727
6042
 
5728
6043
 
5729
6044
 
5736
6051
set dummy ${ac_tool_prefix}strip; ac_word=$2
5737
6052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5738
6053
$as_echo_n "checking for $ac_word... " >&6; }
5739
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
6054
if ${ac_cv_prog_STRIP+:} false; then :
5740
6055
  $as_echo_n "(cached) " >&6
5741
6056
else
5742
6057
  if test -n "$STRIP"; then
5748
6063
  IFS=$as_save_IFS
5749
6064
  test -z "$as_dir" && as_dir=.
5750
6065
    for ac_exec_ext in '' $ac_executable_extensions; do
5751
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6066
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5752
6067
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5753
6068
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754
6069
    break 2
5776
6091
set dummy strip; ac_word=$2
5777
6092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778
6093
$as_echo_n "checking for $ac_word... " >&6; }
5779
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
6094
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5780
6095
  $as_echo_n "(cached) " >&6
5781
6096
else
5782
6097
  if test -n "$ac_ct_STRIP"; then
5788
6103
  IFS=$as_save_IFS
5789
6104
  test -z "$as_dir" && as_dir=.
5790
6105
    for ac_exec_ext in '' $ac_executable_extensions; do
5791
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6106
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5792
6107
    ac_cv_prog_ac_ct_STRIP="strip"
5793
6108
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794
6109
    break 2
5835
6150
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5836
6151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837
6152
$as_echo_n "checking for $ac_word... " >&6; }
5838
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6153
if ${ac_cv_prog_RANLIB+:} false; then :
5839
6154
  $as_echo_n "(cached) " >&6
5840
6155
else
5841
6156
  if test -n "$RANLIB"; then
5847
6162
  IFS=$as_save_IFS
5848
6163
  test -z "$as_dir" && as_dir=.
5849
6164
    for ac_exec_ext in '' $ac_executable_extensions; do
5850
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6165
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851
6166
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5852
6167
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853
6168
    break 2
5875
6190
set dummy ranlib; ac_word=$2
5876
6191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5877
6192
$as_echo_n "checking for $ac_word... " >&6; }
5878
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6193
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5879
6194
  $as_echo_n "(cached) " >&6
5880
6195
else
5881
6196
  if test -n "$ac_ct_RANLIB"; then
5887
6202
  IFS=$as_save_IFS
5888
6203
  test -z "$as_dir" && as_dir=.
5889
6204
    for ac_exec_ext in '' $ac_executable_extensions; do
5890
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6205
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5891
6206
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5892
6207
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5893
6208
    break 2
5937
6252
if test -n "$RANLIB"; then
5938
6253
  case $host_os in
5939
6254
  openbsd*)
5940
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6255
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5941
6256
    ;;
5942
6257
  *)
5943
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6258
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5944
6259
    ;;
5945
6260
  esac
5946
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6261
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5947
6262
fi
5948
6263
 
 
6264
case $host_os in
 
6265
  darwin*)
 
6266
    lock_old_archive_extraction=yes ;;
 
6267
  *)
 
6268
    lock_old_archive_extraction=no ;;
 
6269
esac
 
6270
 
 
6271
 
 
6272
 
 
6273
 
 
6274
 
 
6275
 
5949
6276
 
5950
6277
 
5951
6278
 
5992
6319
# Check for command to grab the raw symbol name followed by C symbol from nm.
5993
6320
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5994
6321
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5995
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6322
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5996
6323
  $as_echo_n "(cached) " >&6
5997
6324
else
5998
6325
 
6053
6380
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6054
6381
 
6055
6382
# Transform an extracted symbol line into symbol name and symbol address
6056
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6057
 
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'"
 
6383
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6384
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'"
6058
6385
 
6059
6386
# Handle CRLF in mingw tool chain
6060
6387
opt_cr=
6078
6405
    # which start with @ or ?.
6079
6406
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6080
6407
"     {last_section=section; section=\$ 3};"\
 
6408
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6081
6409
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6082
6410
"     \$ 0!~/External *\|/{next};"\
6083
6411
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6090
6418
  else
6091
6419
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6092
6420
  fi
 
6421
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6093
6422
 
6094
6423
  # Check to see that the pipe works correctly.
6095
6424
  pipe_works=no
6115
6444
  test $ac_status = 0; }; then
6116
6445
    # Now try to grab the symbols.
6117
6446
    nlist=conftest.nm
6118
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6119
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6447
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6448
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6120
6449
  ac_status=$?
6121
6450
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6122
6451
  test $ac_status = 0; } && test -s "$nlist"; then
6131
6460
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6132
6461
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6133
6462
          cat <<_LT_EOF > conftest.$ac_ext
 
6463
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6464
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6465
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6466
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6467
# define LT_DLSYM_CONST
 
6468
#elif defined(__osf__)
 
6469
/* This system does not cope well with relocations in const data.  */
 
6470
# define LT_DLSYM_CONST
 
6471
#else
 
6472
# define LT_DLSYM_CONST const
 
6473
#endif
 
6474
 
6134
6475
#ifdef __cplusplus
6135
6476
extern "C" {
6136
6477
#endif
6142
6483
          cat <<_LT_EOF >> conftest.$ac_ext
6143
6484
 
6144
6485
/* The mapping between symbol names and symbols.  */
6145
 
const struct {
 
6486
LT_DLSYM_CONST struct {
6146
6487
  const char *name;
6147
6488
  void       *address;
6148
6489
}
6168
6509
_LT_EOF
6169
6510
          # Now try linking the two files.
6170
6511
          mv conftest.$ac_objext conftstm.$ac_objext
6171
 
          lt_save_LIBS="$LIBS"
6172
 
          lt_save_CFLAGS="$CFLAGS"
 
6512
          lt_globsym_save_LIBS=$LIBS
 
6513
          lt_globsym_save_CFLAGS=$CFLAGS
6173
6514
          LIBS="conftstm.$ac_objext"
6174
6515
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6175
6516
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6179
6520
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6180
6521
            pipe_works=yes
6181
6522
          fi
6182
 
          LIBS="$lt_save_LIBS"
6183
 
          CFLAGS="$lt_save_CFLAGS"
 
6523
          LIBS=$lt_globsym_save_LIBS
 
6524
          CFLAGS=$lt_globsym_save_CFLAGS
6184
6525
        else
6185
6526
          echo "cannot find nm_test_func in $nlist" >&5
6186
6527
        fi
6217
6558
$as_echo "ok" >&6; }
6218
6559
fi
6219
6560
 
6220
 
 
6221
 
 
6222
 
 
6223
 
 
6224
 
 
6225
 
 
6226
 
 
6227
 
 
6228
 
 
6229
 
 
6230
 
 
6231
 
 
6232
 
 
6233
 
 
6234
 
 
6235
 
 
 
6561
# Response file support.
 
6562
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6563
  nm_file_list_spec='@'
 
6564
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6565
  nm_file_list_spec='@'
 
6566
fi
 
6567
 
 
6568
 
 
6569
 
 
6570
 
 
6571
 
 
6572
 
 
6573
 
 
6574
 
 
6575
 
 
6576
 
 
6577
 
 
6578
 
 
6579
 
 
6580
 
 
6581
 
 
6582
 
 
6583
 
 
6584
 
 
6585
 
 
6586
 
 
6587
 
 
6588
 
 
6589
 
 
6590
 
 
6591
 
 
6592
 
 
6593
 
 
6594
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6595
$as_echo_n "checking for sysroot... " >&6; }
 
6596
 
 
6597
# Check whether --with-sysroot was given.
 
6598
if test "${with_sysroot+set}" = set; then :
 
6599
  withval=$with_sysroot;
 
6600
else
 
6601
  with_sysroot=no
 
6602
fi
 
6603
 
 
6604
 
 
6605
lt_sysroot=
 
6606
case ${with_sysroot} in #(
 
6607
 yes)
 
6608
   if test "$GCC" = yes; then
 
6609
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6610
   fi
 
6611
   ;; #(
 
6612
 /*)
 
6613
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6614
   ;; #(
 
6615
 no|'')
 
6616
   ;; #(
 
6617
 *)
 
6618
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6619
$as_echo "${with_sysroot}" >&6; }
 
6620
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6621
   ;;
 
6622
esac
 
6623
 
 
6624
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6625
$as_echo "${lt_sysroot:-no}" >&6; }
6236
6626
 
6237
6627
 
6238
6628
 
6269
6659
  ;;
6270
6660
*-*-irix6*)
6271
6661
  # Find out which ABI we are using.
6272
 
  echo '#line 6272 "configure"' > conftest.$ac_ext
 
6662
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6273
6663
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6274
6664
  (eval $ac_compile) 2>&5
6275
6665
  ac_status=$?
6320
6710
            LD="${LD-ld} -m elf_i386_fbsd"
6321
6711
            ;;
6322
6712
          x86_64-*linux*)
6323
 
            LD="${LD-ld} -m elf_i386"
 
6713
            case `/usr/bin/file conftest.o` in
 
6714
              *x86-64*)
 
6715
                LD="${LD-ld} -m elf32_x86_64"
 
6716
                ;;
 
6717
              *)
 
6718
                LD="${LD-ld} -m elf_i386"
 
6719
                ;;
 
6720
            esac
6324
6721
            ;;
6325
6722
          ppc64-*linux*|powerpc64-*linux*)
6326
6723
            LD="${LD-ld} -m elf32ppclinux"
6363
6760
  CFLAGS="$CFLAGS -belf"
6364
6761
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6365
6762
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6366
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6763
if ${lt_cv_cc_needs_belf+:} false; then :
6367
6764
  $as_echo_n "(cached) " >&6
6368
6765
else
6369
6766
  ac_ext=c
6404
6801
    CFLAGS="$SAVE_CFLAGS"
6405
6802
  fi
6406
6803
  ;;
6407
 
sparc*-*solaris*)
 
6804
*-*solaris*)
6408
6805
  # Find out which ABI we are using.
6409
6806
  echo 'int i;' > conftest.$ac_ext
6410
6807
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6415
6812
    case `/usr/bin/file conftest.o` in
6416
6813
    *64-bit*)
6417
6814
      case $lt_cv_prog_gnu_ld in
6418
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6815
      yes*)
 
6816
        case $host in
 
6817
        i?86-*-solaris*)
 
6818
          LD="${LD-ld} -m elf_x86_64"
 
6819
          ;;
 
6820
        sparc*-*-solaris*)
 
6821
          LD="${LD-ld} -m elf64_sparc"
 
6822
          ;;
 
6823
        esac
 
6824
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
6825
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
6826
          LD="${LD-ld}_sol2"
 
6827
        fi
 
6828
        ;;
6419
6829
      *)
6420
6830
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6421
6831
          LD="${LD-ld} -64"
6431
6841
 
6432
6842
need_locks="$enable_libtool_lock"
6433
6843
 
 
6844
if test -n "$ac_tool_prefix"; then
 
6845
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6846
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6848
$as_echo_n "checking for $ac_word... " >&6; }
 
6849
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6850
  $as_echo_n "(cached) " >&6
 
6851
else
 
6852
  if test -n "$MANIFEST_TOOL"; then
 
6853
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6854
else
 
6855
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6856
for as_dir in $PATH
 
6857
do
 
6858
  IFS=$as_save_IFS
 
6859
  test -z "$as_dir" && as_dir=.
 
6860
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6861
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6862
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6863
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6864
    break 2
 
6865
  fi
 
6866
done
 
6867
  done
 
6868
IFS=$as_save_IFS
 
6869
 
 
6870
fi
 
6871
fi
 
6872
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6873
if test -n "$MANIFEST_TOOL"; then
 
6874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6875
$as_echo "$MANIFEST_TOOL" >&6; }
 
6876
else
 
6877
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6878
$as_echo "no" >&6; }
 
6879
fi
 
6880
 
 
6881
 
 
6882
fi
 
6883
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6884
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6885
  # Extract the first word of "mt", so it can be a program name with args.
 
6886
set dummy mt; ac_word=$2
 
6887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6888
$as_echo_n "checking for $ac_word... " >&6; }
 
6889
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6890
  $as_echo_n "(cached) " >&6
 
6891
else
 
6892
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6893
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6894
else
 
6895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6896
for as_dir in $PATH
 
6897
do
 
6898
  IFS=$as_save_IFS
 
6899
  test -z "$as_dir" && as_dir=.
 
6900
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6901
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6902
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6903
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6904
    break 2
 
6905
  fi
 
6906
done
 
6907
  done
 
6908
IFS=$as_save_IFS
 
6909
 
 
6910
fi
 
6911
fi
 
6912
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6913
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6914
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6915
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6916
else
 
6917
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6918
$as_echo "no" >&6; }
 
6919
fi
 
6920
 
 
6921
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6922
    MANIFEST_TOOL=":"
 
6923
  else
 
6924
    case $cross_compiling:$ac_tool_warned in
 
6925
yes:)
 
6926
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6927
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6928
ac_tool_warned=yes ;;
 
6929
esac
 
6930
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6931
  fi
 
6932
else
 
6933
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6934
fi
 
6935
 
 
6936
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6938
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6939
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6940
  $as_echo_n "(cached) " >&6
 
6941
else
 
6942
  lt_cv_path_mainfest_tool=no
 
6943
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6944
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6945
  cat conftest.err >&5
 
6946
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6947
    lt_cv_path_mainfest_tool=yes
 
6948
  fi
 
6949
  rm -f conftest*
 
6950
fi
 
6951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6952
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6953
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6954
  MANIFEST_TOOL=:
 
6955
fi
 
6956
 
 
6957
 
 
6958
 
 
6959
 
 
6960
 
6434
6961
 
6435
6962
  case $host_os in
6436
6963
    rhapsody* | darwin*)
6439
6966
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6440
6967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6441
6968
$as_echo_n "checking for $ac_word... " >&6; }
6442
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6969
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6443
6970
  $as_echo_n "(cached) " >&6
6444
6971
else
6445
6972
  if test -n "$DSYMUTIL"; then
6451
6978
  IFS=$as_save_IFS
6452
6979
  test -z "$as_dir" && as_dir=.
6453
6980
    for ac_exec_ext in '' $ac_executable_extensions; do
6454
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6981
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6455
6982
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6456
6983
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6457
6984
    break 2
6479
7006
set dummy dsymutil; ac_word=$2
6480
7007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6481
7008
$as_echo_n "checking for $ac_word... " >&6; }
6482
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
7009
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6483
7010
  $as_echo_n "(cached) " >&6
6484
7011
else
6485
7012
  if test -n "$ac_ct_DSYMUTIL"; then
6491
7018
  IFS=$as_save_IFS
6492
7019
  test -z "$as_dir" && as_dir=.
6493
7020
    for ac_exec_ext in '' $ac_executable_extensions; do
6494
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7021
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6495
7022
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6496
7023
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6497
7024
    break 2
6531
7058
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6532
7059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533
7060
$as_echo_n "checking for $ac_word... " >&6; }
6534
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
7061
if ${ac_cv_prog_NMEDIT+:} false; then :
6535
7062
  $as_echo_n "(cached) " >&6
6536
7063
else
6537
7064
  if test -n "$NMEDIT"; then
6543
7070
  IFS=$as_save_IFS
6544
7071
  test -z "$as_dir" && as_dir=.
6545
7072
    for ac_exec_ext in '' $ac_executable_extensions; do
6546
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7073
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6547
7074
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6548
7075
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549
7076
    break 2
6571
7098
set dummy nmedit; ac_word=$2
6572
7099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573
7100
$as_echo_n "checking for $ac_word... " >&6; }
6574
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
7101
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6575
7102
  $as_echo_n "(cached) " >&6
6576
7103
else
6577
7104
  if test -n "$ac_ct_NMEDIT"; then
6583
7110
  IFS=$as_save_IFS
6584
7111
  test -z "$as_dir" && as_dir=.
6585
7112
    for ac_exec_ext in '' $ac_executable_extensions; do
6586
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7113
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6587
7114
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6588
7115
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589
7116
    break 2
6623
7150
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6624
7151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625
7152
$as_echo_n "checking for $ac_word... " >&6; }
6626
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
7153
if ${ac_cv_prog_LIPO+:} false; then :
6627
7154
  $as_echo_n "(cached) " >&6
6628
7155
else
6629
7156
  if test -n "$LIPO"; then
6635
7162
  IFS=$as_save_IFS
6636
7163
  test -z "$as_dir" && as_dir=.
6637
7164
    for ac_exec_ext in '' $ac_executable_extensions; do
6638
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7165
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6639
7166
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6640
7167
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6641
7168
    break 2
6663
7190
set dummy lipo; ac_word=$2
6664
7191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665
7192
$as_echo_n "checking for $ac_word... " >&6; }
6666
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
7193
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6667
7194
  $as_echo_n "(cached) " >&6
6668
7195
else
6669
7196
  if test -n "$ac_ct_LIPO"; then
6675
7202
  IFS=$as_save_IFS
6676
7203
  test -z "$as_dir" && as_dir=.
6677
7204
    for ac_exec_ext in '' $ac_executable_extensions; do
6678
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7205
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6679
7206
    ac_cv_prog_ac_ct_LIPO="lipo"
6680
7207
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681
7208
    break 2
6715
7242
set dummy ${ac_tool_prefix}otool; ac_word=$2
6716
7243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6717
7244
$as_echo_n "checking for $ac_word... " >&6; }
6718
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
7245
if ${ac_cv_prog_OTOOL+:} false; then :
6719
7246
  $as_echo_n "(cached) " >&6
6720
7247
else
6721
7248
  if test -n "$OTOOL"; then
6727
7254
  IFS=$as_save_IFS
6728
7255
  test -z "$as_dir" && as_dir=.
6729
7256
    for ac_exec_ext in '' $ac_executable_extensions; do
6730
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7257
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6731
7258
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6732
7259
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6733
7260
    break 2
6755
7282
set dummy otool; ac_word=$2
6756
7283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6757
7284
$as_echo_n "checking for $ac_word... " >&6; }
6758
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7285
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6759
7286
  $as_echo_n "(cached) " >&6
6760
7287
else
6761
7288
  if test -n "$ac_ct_OTOOL"; then
6767
7294
  IFS=$as_save_IFS
6768
7295
  test -z "$as_dir" && as_dir=.
6769
7296
    for ac_exec_ext in '' $ac_executable_extensions; do
6770
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7297
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6771
7298
    ac_cv_prog_ac_ct_OTOOL="otool"
6772
7299
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6773
7300
    break 2
6807
7334
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6808
7335
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6809
7336
$as_echo_n "checking for $ac_word... " >&6; }
6810
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7337
if ${ac_cv_prog_OTOOL64+:} false; then :
6811
7338
  $as_echo_n "(cached) " >&6
6812
7339
else
6813
7340
  if test -n "$OTOOL64"; then
6819
7346
  IFS=$as_save_IFS
6820
7347
  test -z "$as_dir" && as_dir=.
6821
7348
    for ac_exec_ext in '' $ac_executable_extensions; do
6822
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7349
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6823
7350
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6824
7351
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6825
7352
    break 2
6847
7374
set dummy otool64; ac_word=$2
6848
7375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6849
7376
$as_echo_n "checking for $ac_word... " >&6; }
6850
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7377
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6851
7378
  $as_echo_n "(cached) " >&6
6852
7379
else
6853
7380
  if test -n "$ac_ct_OTOOL64"; then
6859
7386
  IFS=$as_save_IFS
6860
7387
  test -z "$as_dir" && as_dir=.
6861
7388
    for ac_exec_ext in '' $ac_executable_extensions; do
6862
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7389
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6863
7390
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6864
7391
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6865
7392
    break 2
6922
7449
 
6923
7450
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6924
7451
$as_echo_n "checking for -single_module linker flag... " >&6; }
6925
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7452
if ${lt_cv_apple_cc_single_mod+:} false; then :
6926
7453
  $as_echo_n "(cached) " >&6
6927
7454
else
6928
7455
  lt_cv_apple_cc_single_mod=no
6938
7465
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6939
7466
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6940
7467
        _lt_result=$?
6941
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7468
        # If there is a non-empty error log, and "single_module"
 
7469
        # appears in it, assume the flag caused a linker warning
 
7470
        if test -s conftest.err && $GREP single_module conftest.err; then
 
7471
          cat conftest.err >&5
 
7472
        # Otherwise, if the output was created with a 0 exit code from
 
7473
        # the compiler, it worked.
 
7474
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6942
7475
          lt_cv_apple_cc_single_mod=yes
6943
7476
        else
6944
7477
          cat conftest.err >&5
6949
7482
fi
6950
7483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6951
7484
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7485
 
6952
7486
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6953
7487
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6954
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7488
if ${lt_cv_ld_exported_symbols_list+:} false; then :
6955
7489
  $as_echo_n "(cached) " >&6
6956
7490
else
6957
7491
  lt_cv_ld_exported_symbols_list=no
6981
7515
fi
6982
7516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6983
7517
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7518
 
 
7519
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7520
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7521
if ${lt_cv_ld_force_load+:} false; then :
 
7522
  $as_echo_n "(cached) " >&6
 
7523
else
 
7524
  lt_cv_ld_force_load=no
 
7525
      cat > conftest.c << _LT_EOF
 
7526
int forced_loaded() { return 2;}
 
7527
_LT_EOF
 
7528
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7529
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7530
      echo "$AR cru libconftest.a conftest.o" >&5
 
7531
      $AR cru libconftest.a conftest.o 2>&5
 
7532
      echo "$RANLIB libconftest.a" >&5
 
7533
      $RANLIB libconftest.a 2>&5
 
7534
      cat > conftest.c << _LT_EOF
 
7535
int main() { return 0;}
 
7536
_LT_EOF
 
7537
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7538
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7539
      _lt_result=$?
 
7540
      if test -s conftest.err && $GREP force_load conftest.err; then
 
7541
        cat conftest.err >&5
 
7542
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
7543
        lt_cv_ld_force_load=yes
 
7544
      else
 
7545
        cat conftest.err >&5
 
7546
      fi
 
7547
        rm -f conftest.err libconftest.a conftest conftest.c
 
7548
        rm -rf conftest.dSYM
 
7549
 
 
7550
fi
 
7551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7552
$as_echo "$lt_cv_ld_force_load" >&6; }
6984
7553
    case $host_os in
6985
7554
    rhapsody* | darwin1.[012])
6986
7555
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7008
7577
    else
7009
7578
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7010
7579
    fi
7011
 
    if test "$DSYMUTIL" != ":"; then
 
7580
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7012
7581
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7013
7582
    else
7014
7583
      _lt_dsymutil=
7020
7589
do :
7021
7590
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7022
7591
"
7023
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7592
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7024
7593
  cat >>confdefs.h <<_ACEOF
7025
7594
#define HAVE_DLFCN_H 1
7026
7595
_ACEOF
7031
7600
 
7032
7601
 
7033
7602
 
 
7603
 
 
7604
 
7034
7605
# Set options
7035
7606
 
7036
7607
 
7106
7677
 
7107
7678
# Check whether --with-pic was given.
7108
7679
if test "${with_pic+set}" = set; then :
7109
 
  withval=$with_pic; pic_mode="$withval"
 
7680
  withval=$with_pic; lt_p=${PACKAGE-default}
 
7681
    case $withval in
 
7682
    yes|no) pic_mode=$withval ;;
 
7683
    *)
 
7684
      pic_mode=default
 
7685
      # Look at the argument we got.  We use all the common list separators.
 
7686
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7687
      for lt_pkg in $withval; do
 
7688
        IFS="$lt_save_ifs"
 
7689
        if test "X$lt_pkg" = "X$lt_p"; then
 
7690
          pic_mode=yes
 
7691
        fi
 
7692
      done
 
7693
      IFS="$lt_save_ifs"
 
7694
      ;;
 
7695
    esac
7110
7696
else
7111
7697
  pic_mode=default
7112
7698
fi
7183
7769
 
7184
7770
 
7185
7771
 
 
7772
 
 
7773
 
 
7774
 
 
7775
 
 
7776
 
7186
7777
test -z "$LN_S" && LN_S="ln -s"
7187
7778
 
7188
7779
 
7204
7795
 
7205
7796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7206
7797
$as_echo_n "checking for objdir... " >&6; }
7207
 
if test "${lt_cv_objdir+set}" = set; then :
 
7798
if ${lt_cv_objdir+:} false; then :
7208
7799
  $as_echo_n "(cached) " >&6
7209
7800
else
7210
7801
  rm -f .libs 2>/dev/null
7232
7823
 
7233
7824
 
7234
7825
 
7235
 
 
7236
 
 
7237
 
 
7238
 
 
7239
 
 
7240
 
 
7241
 
 
7242
 
 
7243
 
 
7244
 
 
7245
 
 
7246
 
 
7247
 
 
7248
7826
case $host_os in
7249
7827
aix3*)
7250
7828
  # AIX sometimes has problems with the GCC collect2 program.  For some
7257
7835
  ;;
7258
7836
esac
7259
7837
 
7260
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7261
 
# metacharacters that are still active within double-quoted strings.
7262
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7263
 
 
7264
 
# Same as above, but do not quote variable references.
7265
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7266
 
 
7267
 
# Sed substitution to delay expansion of an escaped shell variable in a
7268
 
# double_quote_subst'ed string.
7269
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7270
 
 
7271
 
# Sed substitution to delay expansion of an escaped single quote.
7272
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7273
 
 
7274
 
# Sed substitution to avoid accidental globbing in evaled expressions
7275
 
no_glob_subst='s/\*/\\\*/g'
7276
 
 
7277
7838
# Global variables:
7278
7839
ofile=libtool
7279
7840
can_build_shared=yes
7302
7863
    *) break;;
7303
7864
  esac
7304
7865
done
7305
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7866
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7306
7867
 
7307
7868
 
7308
7869
# Only perform the check for file, if the check method requires it
7312
7873
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7313
7874
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7314
7875
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7315
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7876
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7316
7877
  $as_echo_n "(cached) " >&6
7317
7878
else
7318
7879
  case $MAGIC_CMD in
7378
7939
  if test -n "$ac_tool_prefix"; then
7379
7940
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7380
7941
$as_echo_n "checking for file... " >&6; }
7381
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7942
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7382
7943
  $as_echo_n "(cached) " >&6
7383
7944
else
7384
7945
  case $MAGIC_CMD in
7511
8072
lt_prog_compiler_no_builtin_flag=
7512
8073
 
7513
8074
if test "$GCC" = yes; then
7514
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8075
  case $cc_basename in
 
8076
  nvcc*)
 
8077
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8078
  *)
 
8079
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8080
  esac
7515
8081
 
7516
8082
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7517
8083
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7518
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8084
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7519
8085
  $as_echo_n "(cached) " >&6
7520
8086
else
7521
8087
  lt_cv_prog_compiler_rtti_exceptions=no
7531
8097
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7532
8098
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7533
8099
   -e 's:$: $lt_compiler_flag:'`
7534
 
   (eval echo "\"\$as_me:7534: $lt_compile\"" >&5)
 
8100
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7535
8101
   (eval "$lt_compile" 2>conftest.err)
7536
8102
   ac_status=$?
7537
8103
   cat conftest.err >&5
7538
 
   echo "$as_me:7538: \$? = $ac_status" >&5
 
8104
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539
8105
   if (exit $ac_status) && test -s "$ac_outfile"; then
7540
8106
     # The compiler can only warn and ignore the option if not recognized
7541
8107
     # So say no if there are warnings other than the usual output.
7542
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8108
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7543
8109
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7544
8110
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7545
8111
       lt_cv_prog_compiler_rtti_exceptions=yes
7568
8134
lt_prog_compiler_pic=
7569
8135
lt_prog_compiler_static=
7570
8136
 
7571
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7572
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7573
8137
 
7574
8138
  if test "$GCC" = yes; then
7575
8139
    lt_prog_compiler_wl='-Wl,'
7617
8181
      lt_prog_compiler_pic='-fno-common'
7618
8182
      ;;
7619
8183
 
 
8184
    haiku*)
 
8185
      # PIC is the default for Haiku.
 
8186
      # The "-static" flag exists, but is broken.
 
8187
      lt_prog_compiler_static=
 
8188
      ;;
 
8189
 
7620
8190
    hpux*)
7621
8191
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7622
8192
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7659
8229
      lt_prog_compiler_pic='-fPIC'
7660
8230
      ;;
7661
8231
    esac
 
8232
 
 
8233
    case $cc_basename in
 
8234
    nvcc*) # Cuda Compiler Driver 2.2
 
8235
      lt_prog_compiler_wl='-Xlinker '
 
8236
      if test -n "$lt_prog_compiler_pic"; then
 
8237
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
8238
      fi
 
8239
      ;;
 
8240
    esac
7662
8241
  else
7663
8242
    # PORTME Check for flag to pass linker flags through the system compiler.
7664
8243
    case $host_os in
7700
8279
      lt_prog_compiler_static='-non_shared'
7701
8280
      ;;
7702
8281
 
7703
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
8282
    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7704
8283
      case $cc_basename in
7705
8284
      # old Intel for x86_64 which still supported -KPIC.
7706
8285
      ecc*)
7721
8300
        lt_prog_compiler_pic='--shared'
7722
8301
        lt_prog_compiler_static='--static'
7723
8302
        ;;
7724
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8303
      nagfor*)
 
8304
        # NAG Fortran compiler
 
8305
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8306
        lt_prog_compiler_pic='-PIC'
 
8307
        lt_prog_compiler_static='-Bstatic'
 
8308
        ;;
 
8309
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7725
8310
        # Portland Group compilers (*not* the Pentium gcc compiler,
7726
8311
        # which looks to be a dead project)
7727
8312
        lt_prog_compiler_wl='-Wl,'
7733
8318
        # All Alpha code is PIC.
7734
8319
        lt_prog_compiler_static='-non_shared'
7735
8320
        ;;
7736
 
      xl*)
7737
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8321
      xl* | bgxl* | bgf* | mpixl*)
 
8322
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7738
8323
        lt_prog_compiler_wl='-Wl,'
7739
8324
        lt_prog_compiler_pic='-qpic'
7740
8325
        lt_prog_compiler_static='-qstaticlink'
7741
8326
        ;;
7742
8327
      *)
7743
8328
        case `$CC -V 2>&1 | sed 5q` in
 
8329
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
8330
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8331
          lt_prog_compiler_pic='-KPIC'
 
8332
          lt_prog_compiler_static='-Bstatic'
 
8333
          lt_prog_compiler_wl=''
 
8334
          ;;
 
8335
        *Sun\ F* | *Sun*Fortran*)
 
8336
          lt_prog_compiler_pic='-KPIC'
 
8337
          lt_prog_compiler_static='-Bstatic'
 
8338
          lt_prog_compiler_wl='-Qoption ld '
 
8339
          ;;
7744
8340
        *Sun\ C*)
7745
8341
          # Sun C 5.9
7746
8342
          lt_prog_compiler_pic='-KPIC'
7747
8343
          lt_prog_compiler_static='-Bstatic'
7748
8344
          lt_prog_compiler_wl='-Wl,'
7749
8345
          ;;
7750
 
        *Sun\ F*)
7751
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7752
 
          lt_prog_compiler_pic='-KPIC'
 
8346
        *Intel*\ [CF]*Compiler*)
 
8347
          lt_prog_compiler_wl='-Wl,'
 
8348
          lt_prog_compiler_pic='-fPIC'
 
8349
          lt_prog_compiler_static='-static'
 
8350
          ;;
 
8351
        *Portland\ Group*)
 
8352
          lt_prog_compiler_wl='-Wl,'
 
8353
          lt_prog_compiler_pic='-fpic'
7753
8354
          lt_prog_compiler_static='-Bstatic'
7754
 
          lt_prog_compiler_wl=''
7755
8355
          ;;
7756
8356
        esac
7757
8357
        ;;
7783
8383
      lt_prog_compiler_pic='-KPIC'
7784
8384
      lt_prog_compiler_static='-Bstatic'
7785
8385
      case $cc_basename in
7786
 
      f77* | f90* | f95*)
 
8386
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7787
8387
        lt_prog_compiler_wl='-Qoption ld ';;
7788
8388
      *)
7789
8389
        lt_prog_compiler_wl='-Wl,';;
7840
8440
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7841
8441
    ;;
7842
8442
esac
7843
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7844
 
$as_echo "$lt_prog_compiler_pic" >&6; }
7845
 
 
7846
 
 
7847
 
 
7848
 
 
7849
 
 
 
8443
 
 
8444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8445
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8446
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8447
  $as_echo_n "(cached) " >&6
 
8448
else
 
8449
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8450
fi
 
8451
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8452
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8453
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
7850
8454
 
7851
8455
#
7852
8456
# Check to make sure the PIC flag actually works.
7854
8458
if test -n "$lt_prog_compiler_pic"; then
7855
8459
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7856
8460
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7857
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8461
if ${lt_cv_prog_compiler_pic_works+:} false; then :
7858
8462
  $as_echo_n "(cached) " >&6
7859
8463
else
7860
8464
  lt_cv_prog_compiler_pic_works=no
7870
8474
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7871
8475
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7872
8476
   -e 's:$: $lt_compiler_flag:'`
7873
 
   (eval echo "\"\$as_me:7873: $lt_compile\"" >&5)
 
8477
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7874
8478
   (eval "$lt_compile" 2>conftest.err)
7875
8479
   ac_status=$?
7876
8480
   cat conftest.err >&5
7877
 
   echo "$as_me:7877: \$? = $ac_status" >&5
 
8481
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878
8482
   if (exit $ac_status) && test -s "$ac_outfile"; then
7879
8483
     # The compiler can only warn and ignore the option if not recognized
7880
8484
     # So say no if there are warnings other than the usual output.
7881
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8485
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7882
8486
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7883
8487
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7884
8488
       lt_cv_prog_compiler_pic_works=yes
7907
8511
 
7908
8512
 
7909
8513
 
 
8514
 
 
8515
 
 
8516
 
 
8517
 
 
8518
 
7910
8519
#
7911
8520
# Check to make sure the static flag actually works.
7912
8521
#
7913
8522
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7914
8523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7915
8524
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7916
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8525
if ${lt_cv_prog_compiler_static_works+:} false; then :
7917
8526
  $as_echo_n "(cached) " >&6
7918
8527
else
7919
8528
  lt_cv_prog_compiler_static_works=no
7926
8535
     if test -s conftest.err; then
7927
8536
       # Append any errors to the config.log.
7928
8537
       cat conftest.err 1>&5
7929
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8538
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7930
8539
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7931
8540
       if diff conftest.exp conftest.er2 >/dev/null; then
7932
8541
         lt_cv_prog_compiler_static_works=yes
7956
8565
 
7957
8566
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7958
8567
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7959
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8568
if ${lt_cv_prog_compiler_c_o+:} false; then :
7960
8569
  $as_echo_n "(cached) " >&6
7961
8570
else
7962
8571
  lt_cv_prog_compiler_c_o=no
7975
8584
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7976
8585
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7977
8586
   -e 's:$: $lt_compiler_flag:'`
7978
 
   (eval echo "\"\$as_me:7978: $lt_compile\"" >&5)
 
8587
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7979
8588
   (eval "$lt_compile" 2>out/conftest.err)
7980
8589
   ac_status=$?
7981
8590
   cat out/conftest.err >&5
7982
 
   echo "$as_me:7982: \$? = $ac_status" >&5
 
8591
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7983
8592
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7984
8593
   then
7985
8594
     # The compiler can only warn and ignore the option if not recognized
7986
8595
     # So say no if there are warnings
7987
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8596
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7988
8597
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7989
8598
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7990
8599
       lt_cv_prog_compiler_c_o=yes
8011
8620
 
8012
8621
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8013
8622
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8014
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8623
if ${lt_cv_prog_compiler_c_o+:} false; then :
8015
8624
  $as_echo_n "(cached) " >&6
8016
8625
else
8017
8626
  lt_cv_prog_compiler_c_o=no
8030
8639
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8031
8640
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8032
8641
   -e 's:$: $lt_compiler_flag:'`
8033
 
   (eval echo "\"\$as_me:8033: $lt_compile\"" >&5)
 
8642
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8034
8643
   (eval "$lt_compile" 2>out/conftest.err)
8035
8644
   ac_status=$?
8036
8645
   cat out/conftest.err >&5
8037
 
   echo "$as_me:8037: \$? = $ac_status" >&5
 
8646
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038
8647
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8039
8648
   then
8040
8649
     # The compiler can only warn and ignore the option if not recognized
8041
8650
     # So say no if there are warnings
8042
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8651
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8043
8652
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8044
8653
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8045
8654
       lt_cv_prog_compiler_c_o=yes
8105
8714
  hardcode_direct=no
8106
8715
  hardcode_direct_absolute=no
8107
8716
  hardcode_libdir_flag_spec=
8108
 
  hardcode_libdir_flag_spec_ld=
8109
8717
  hardcode_libdir_separator=
8110
8718
  hardcode_minus_L=no
8111
8719
  hardcode_shlibpath_var=unsupported
8149
8757
  openbsd*)
8150
8758
    with_gnu_ld=no
8151
8759
    ;;
8152
 
  linux* | k*bsd*-gnu)
 
8760
  linux* | k*bsd*-gnu | gnu*)
8153
8761
    link_all_deplibs=no
8154
8762
    ;;
8155
8763
  esac
8156
8764
 
8157
8765
  ld_shlibs=yes
 
8766
 
 
8767
  # On some targets, GNU ld is compatible enough with the native linker
 
8768
  # that we're better off using the native interface for both.
 
8769
  lt_use_gnu_ld_interface=no
8158
8770
  if test "$with_gnu_ld" = yes; then
 
8771
    case $host_os in
 
8772
      aix*)
 
8773
        # The AIX port of GNU ld has always aspired to compatibility
 
8774
        # with the native linker.  However, as the warning in the GNU ld
 
8775
        # block says, versions before 2.19.5* couldn't really create working
 
8776
        # shared libraries, regardless of the interface used.
 
8777
        case `$LD -v 2>&1` in
 
8778
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8779
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8780
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8781
          *)
 
8782
            lt_use_gnu_ld_interface=yes
 
8783
            ;;
 
8784
        esac
 
8785
        ;;
 
8786
      *)
 
8787
        lt_use_gnu_ld_interface=yes
 
8788
        ;;
 
8789
    esac
 
8790
  fi
 
8791
 
 
8792
  if test "$lt_use_gnu_ld_interface" = yes; then
8159
8793
    # If archive_cmds runs LD, not CC, wlarc should be empty
8160
8794
    wlarc='${wl}'
8161
8795
 
8189
8823
        ld_shlibs=no
8190
8824
        cat <<_LT_EOF 1>&2
8191
8825
 
8192
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8826
*** Warning: the GNU linker, at least up to release 2.19, is reported
8193
8827
*** to be unable to reliably create shared libraries on AIX.
8194
8828
*** Therefore, libtool is disabling shared libraries support.  If you
8195
 
*** really care for shared libraries, you may want to modify your PATH
8196
 
*** so that a non-GNU linker is found, and then restart.
 
8829
*** really care for shared libraries, you may want to install binutils
 
8830
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8831
*** You will then need to restart the configuration process.
8197
8832
 
8198
8833
_LT_EOF
8199
8834
      fi
8229
8864
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8230
8865
      # as there is no search path for DLLs.
8231
8866
      hardcode_libdir_flag_spec='-L$libdir'
 
8867
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8232
8868
      allow_undefined_flag=unsupported
8233
8869
      always_export_symbols=no
8234
8870
      enable_shared_with_static_runtimes=yes
8235
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8871
      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'
 
8872
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8236
8873
 
8237
8874
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8238
8875
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8250
8887
      fi
8251
8888
      ;;
8252
8889
 
 
8890
    haiku*)
 
8891
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8892
      link_all_deplibs=yes
 
8893
      ;;
 
8894
 
8253
8895
    interix[3-9]*)
8254
8896
      hardcode_direct=no
8255
8897
      hardcode_shlibpath_var=no
8275
8917
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8276
8918
         && test "$tmp_diet" = no
8277
8919
      then
8278
 
        tmp_addflag=
 
8920
        tmp_addflag=' $pic_flag'
8279
8921
        tmp_sharedflag='-shared'
8280
8922
        case $cc_basename,$host_cpu in
8281
8923
        pgcc*)                          # Portland Group C compiler
8282
 
          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'
 
8924
          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'
8283
8925
          tmp_addflag=' $pic_flag'
8284
8926
          ;;
8285
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8286
 
          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'
 
8927
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8928
                                        # Portland Group f77 and f90 compilers
 
8929
          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'
8287
8930
          tmp_addflag=' $pic_flag -Mnomain' ;;
8288
8931
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8289
8932
          tmp_addflag=' -i_dynamic' ;;
8294
8937
        lf95*)                          # Lahey Fortran 8.1
8295
8938
          whole_archive_flag_spec=
8296
8939
          tmp_sharedflag='--shared' ;;
8297
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8940
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8298
8941
          tmp_sharedflag='-qmkshrobj'
8299
8942
          tmp_addflag= ;;
 
8943
        nvcc*)  # Cuda Compiler Driver 2.2
 
8944
          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'
 
8945
          compiler_needs_object=yes
 
8946
          ;;
8300
8947
        esac
8301
8948
        case `$CC -V 2>&1 | sed 5q` in
8302
8949
        *Sun\ C*)                       # Sun C 5.9
8303
 
          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'
 
8950
          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'
8304
8951
          compiler_needs_object=yes
8305
8952
          tmp_sharedflag='-G' ;;
8306
8953
        *Sun\ F*)                       # Sun Fortran 8.3
8316
8963
        fi
8317
8964
 
8318
8965
        case $cc_basename in
8319
 
        xlf*)
 
8966
        xlf* | bgf* | bgxlf* | mpixlf*)
8320
8967
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8321
8968
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8322
 
          hardcode_libdir_flag_spec=
8323
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8324
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8969
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8970
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8325
8971
          if test "x$supports_anon_versioning" = xyes; then
8326
8972
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8327
8973
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8328
8974
              echo "local: *; };" >> $output_objdir/$libname.ver~
8329
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8975
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8330
8976
          fi
8331
8977
          ;;
8332
8978
        esac
8340
8986
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8341
8987
        wlarc=
8342
8988
      else
8343
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8344
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8989
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8990
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8345
8991
      fi
8346
8992
      ;;
8347
8993
 
8359
9005
 
8360
9006
_LT_EOF
8361
9007
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8362
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8363
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9008
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9009
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8364
9010
      else
8365
9011
        ld_shlibs=no
8366
9012
      fi
8406
9052
 
8407
9053
    *)
8408
9054
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8409
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8410
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9055
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9056
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8411
9057
      else
8412
9058
        ld_shlibs=no
8413
9059
      fi
8447
9093
      else
8448
9094
        # If we're using GNU nm, then we don't want the "-C" option.
8449
9095
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9096
        # Also, AIX nm treats weak defined symbols like other global
 
9097
        # defined symbols, whereas GNU nm marks them as "W".
8450
9098
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8451
 
          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'
 
9099
          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'
8452
9100
        else
8453
9101
          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'
8454
9102
        fi
8536
9184
        allow_undefined_flag='-berok'
8537
9185
        # Determine the default libpath from the value encoded in an
8538
9186
        # empty executable.
8539
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9187
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9188
  aix_libpath=$lt_cv_aix_libpath
 
9189
else
 
9190
  if ${lt_cv_aix_libpath_+:} false; then :
 
9191
  $as_echo_n "(cached) " >&6
 
9192
else
 
9193
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540
9194
/* end confdefs.h.  */
8541
9195
 
8542
9196
int
8549
9203
_ACEOF
8550
9204
if ac_fn_c_try_link "$LINENO"; then :
8551
9205
 
8552
 
lt_aix_libpath_sed='
8553
 
    /Import File Strings/,/^$/ {
8554
 
        /^0/ {
8555
 
            s/^0  *\(.*\)$/\1/
8556
 
            p
8557
 
        }
8558
 
    }'
8559
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8560
 
# Check for a 64-bit object if we didn't find anything.
8561
 
if test -z "$aix_libpath"; then
8562
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8563
 
fi
 
9206
  lt_aix_libpath_sed='
 
9207
      /Import File Strings/,/^$/ {
 
9208
          /^0/ {
 
9209
              s/^0  *\([^ ]*\) *$/\1/
 
9210
              p
 
9211
          }
 
9212
      }'
 
9213
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9214
  # Check for a 64-bit object if we didn't find anything.
 
9215
  if test -z "$lt_cv_aix_libpath_"; then
 
9216
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9217
  fi
8564
9218
fi
8565
9219
rm -f core conftest.err conftest.$ac_objext \
8566
9220
    conftest$ac_exeext conftest.$ac_ext
8567
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9221
  if test -z "$lt_cv_aix_libpath_"; then
 
9222
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9223
  fi
 
9224
 
 
9225
fi
 
9226
 
 
9227
  aix_libpath=$lt_cv_aix_libpath_
 
9228
fi
8568
9229
 
8569
9230
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8570
 
        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"
 
9231
        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"
8571
9232
      else
8572
9233
        if test "$host_cpu" = ia64; then
8573
9234
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8576
9237
        else
8577
9238
         # Determine the default libpath from the value encoded in an
8578
9239
         # empty executable.
8579
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9240
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9241
  aix_libpath=$lt_cv_aix_libpath
 
9242
else
 
9243
  if ${lt_cv_aix_libpath_+:} false; then :
 
9244
  $as_echo_n "(cached) " >&6
 
9245
else
 
9246
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8580
9247
/* end confdefs.h.  */
8581
9248
 
8582
9249
int
8589
9256
_ACEOF
8590
9257
if ac_fn_c_try_link "$LINENO"; then :
8591
9258
 
8592
 
lt_aix_libpath_sed='
8593
 
    /Import File Strings/,/^$/ {
8594
 
        /^0/ {
8595
 
            s/^0  *\(.*\)$/\1/
8596
 
            p
8597
 
        }
8598
 
    }'
8599
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8600
 
# Check for a 64-bit object if we didn't find anything.
8601
 
if test -z "$aix_libpath"; then
8602
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8603
 
fi
 
9259
  lt_aix_libpath_sed='
 
9260
      /Import File Strings/,/^$/ {
 
9261
          /^0/ {
 
9262
              s/^0  *\([^ ]*\) *$/\1/
 
9263
              p
 
9264
          }
 
9265
      }'
 
9266
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9267
  # Check for a 64-bit object if we didn't find anything.
 
9268
  if test -z "$lt_cv_aix_libpath_"; then
 
9269
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9270
  fi
8604
9271
fi
8605
9272
rm -f core conftest.err conftest.$ac_objext \
8606
9273
    conftest$ac_exeext conftest.$ac_ext
8607
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9274
  if test -z "$lt_cv_aix_libpath_"; then
 
9275
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9276
  fi
 
9277
 
 
9278
fi
 
9279
 
 
9280
  aix_libpath=$lt_cv_aix_libpath_
 
9281
fi
8608
9282
 
8609
9283
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8610
9284
          # Warning - without using the other run time loading flags,
8611
9285
          # -berok will link without error, but may produce a broken library.
8612
9286
          no_undefined_flag=' ${wl}-bernotok'
8613
9287
          allow_undefined_flag=' ${wl}-berok'
8614
 
          # Exported symbols can be pulled into shared objects from archives
8615
 
          whole_archive_flag_spec='$convenience'
 
9288
          if test "$with_gnu_ld" = yes; then
 
9289
            # We only use this code for GNU lds that support --whole-archive.
 
9290
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9291
          else
 
9292
            # Exported symbols can be pulled into shared objects from archives
 
9293
            whole_archive_flag_spec='$convenience'
 
9294
          fi
8616
9295
          archive_cmds_need_lc=yes
8617
9296
          # This is similar to how AIX traditionally builds its shared libraries.
8618
9297
          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'
8644
9323
      # Microsoft Visual C++.
8645
9324
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8646
9325
      # no search path for DLLs.
8647
 
      hardcode_libdir_flag_spec=' '
8648
 
      allow_undefined_flag=unsupported
8649
 
      # Tell ltmain to make .lib files, not .a files.
8650
 
      libext=lib
8651
 
      # Tell ltmain to make .dll files, not .so files.
8652
 
      shrext_cmds=".dll"
8653
 
      # FIXME: Setting linknames here is a bad hack.
8654
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8655
 
      # The linker will automatically build a .lib file if we build a DLL.
8656
 
      old_archive_from_new_cmds='true'
8657
 
      # FIXME: Should let the user specify the lib program.
8658
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8659
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8660
 
      enable_shared_with_static_runtimes=yes
 
9326
      case $cc_basename in
 
9327
      cl*)
 
9328
        # Native MSVC
 
9329
        hardcode_libdir_flag_spec=' '
 
9330
        allow_undefined_flag=unsupported
 
9331
        always_export_symbols=yes
 
9332
        file_list_spec='@'
 
9333
        # Tell ltmain to make .lib files, not .a files.
 
9334
        libext=lib
 
9335
        # Tell ltmain to make .dll files, not .so files.
 
9336
        shrext_cmds=".dll"
 
9337
        # FIXME: Setting linknames here is a bad hack.
 
9338
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9339
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9340
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9341
          else
 
9342
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9343
          fi~
 
9344
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9345
          linknames='
 
9346
        # The linker will not automatically build a static lib if we build a DLL.
 
9347
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9348
        enable_shared_with_static_runtimes=yes
 
9349
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
9350
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9351
        # Don't use ranlib
 
9352
        old_postinstall_cmds='chmod 644 $oldlib'
 
9353
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9354
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9355
          case $lt_outputfile in
 
9356
            *.exe|*.EXE) ;;
 
9357
            *)
 
9358
              lt_outputfile="$lt_outputfile.exe"
 
9359
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9360
              ;;
 
9361
          esac~
 
9362
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9363
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9364
            $RM "$lt_outputfile.manifest";
 
9365
          fi'
 
9366
        ;;
 
9367
      *)
 
9368
        # Assume MSVC wrapper
 
9369
        hardcode_libdir_flag_spec=' '
 
9370
        allow_undefined_flag=unsupported
 
9371
        # Tell ltmain to make .lib files, not .a files.
 
9372
        libext=lib
 
9373
        # Tell ltmain to make .dll files, not .so files.
 
9374
        shrext_cmds=".dll"
 
9375
        # FIXME: Setting linknames here is a bad hack.
 
9376
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9377
        # The linker will automatically build a .lib file if we build a DLL.
 
9378
        old_archive_from_new_cmds='true'
 
9379
        # FIXME: Should let the user specify the lib program.
 
9380
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9381
        enable_shared_with_static_runtimes=yes
 
9382
        ;;
 
9383
      esac
8661
9384
      ;;
8662
9385
 
8663
9386
    darwin* | rhapsody*)
8667
9390
  hardcode_direct=no
8668
9391
  hardcode_automatic=yes
8669
9392
  hardcode_shlibpath_var=unsupported
8670
 
  whole_archive_flag_spec=''
 
9393
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9394
    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\"`'
 
9395
 
 
9396
  else
 
9397
    whole_archive_flag_spec=''
 
9398
  fi
8671
9399
  link_all_deplibs=yes
8672
9400
  allow_undefined_flag="$_lt_dar_allow_undefined"
8673
9401
  case $cc_basename in
8675
9403
     *) _lt_dar_can_shared=$GCC ;;
8676
9404
  esac
8677
9405
  if test "$_lt_dar_can_shared" = "yes"; then
8678
 
    output_verbose_link_cmd=echo
 
9406
    output_verbose_link_cmd=func_echo_all
8679
9407
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8680
9408
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8681
9409
    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}"
8693
9421
      hardcode_shlibpath_var=no
8694
9422
      ;;
8695
9423
 
8696
 
    freebsd1*)
8697
 
      ld_shlibs=no
8698
 
      ;;
8699
 
 
8700
9424
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8701
9425
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8702
9426
    # does not break anything, and helps significantly (at the cost of a little
8709
9433
      ;;
8710
9434
 
8711
9435
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8712
 
    freebsd2*)
 
9436
    freebsd2.*)
8713
9437
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8714
9438
      hardcode_direct=yes
8715
9439
      hardcode_minus_L=yes
8718
9442
 
8719
9443
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8720
9444
    freebsd* | dragonfly*)
8721
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9445
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8722
9446
      hardcode_libdir_flag_spec='-R$libdir'
8723
9447
      hardcode_direct=yes
8724
9448
      hardcode_shlibpath_var=no
8726
9450
 
8727
9451
    hpux9*)
8728
9452
      if test "$GCC" = yes; then
8729
 
        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'
 
9453
        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'
8730
9454
      else
8731
9455
        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'
8732
9456
      fi
8741
9465
      ;;
8742
9466
 
8743
9467
    hpux10*)
8744
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8745
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9468
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9469
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8746
9470
      else
8747
9471
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8748
9472
      fi
8749
9473
      if test "$with_gnu_ld" = no; then
8750
9474
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8751
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
8752
9475
        hardcode_libdir_separator=:
8753
9476
        hardcode_direct=yes
8754
9477
        hardcode_direct_absolute=yes
8760
9483
      ;;
8761
9484
 
8762
9485
    hpux11*)
8763
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9486
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8764
9487
        case $host_cpu in
8765
9488
        hppa*64*)
8766
9489
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8767
9490
          ;;
8768
9491
        ia64*)
8769
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9492
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8770
9493
          ;;
8771
9494
        *)
8772
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9495
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8773
9496
          ;;
8774
9497
        esac
8775
9498
      else
8781
9504
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8782
9505
          ;;
8783
9506
        *)
8784
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9507
 
 
9508
          # Older versions of the 11.00 compiler do not understand -b yet
 
9509
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9510
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9511
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9512
if ${lt_cv_prog_compiler__b+:} false; then :
 
9513
  $as_echo_n "(cached) " >&6
 
9514
else
 
9515
  lt_cv_prog_compiler__b=no
 
9516
   save_LDFLAGS="$LDFLAGS"
 
9517
   LDFLAGS="$LDFLAGS -b"
 
9518
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9519
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9520
     # The linker can only warn and ignore the option if not recognized
 
9521
     # So say no if there are warnings
 
9522
     if test -s conftest.err; then
 
9523
       # Append any errors to the config.log.
 
9524
       cat conftest.err 1>&5
 
9525
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9526
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9527
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9528
         lt_cv_prog_compiler__b=yes
 
9529
       fi
 
9530
     else
 
9531
       lt_cv_prog_compiler__b=yes
 
9532
     fi
 
9533
   fi
 
9534
   $RM -r conftest*
 
9535
   LDFLAGS="$save_LDFLAGS"
 
9536
 
 
9537
fi
 
9538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9539
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9540
 
 
9541
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9542
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9543
else
 
9544
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9545
fi
 
9546
 
8785
9547
          ;;
8786
9548
        esac
8787
9549
      fi
8809
9571
 
8810
9572
    irix5* | irix6* | nonstopux*)
8811
9573
      if test "$GCC" = yes; then
8812
 
        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'
 
9574
        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'
8813
9575
        # Try to use the -exported_symbol ld option, if it does not
8814
9576
        # work, assume that -exports_file does not work either and
8815
9577
        # implicitly export all symbols.
8816
 
        save_LDFLAGS="$LDFLAGS"
8817
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8818
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9578
        # This should be the same for all languages, so no per-tag cache variable.
 
9579
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9580
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9581
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9582
  $as_echo_n "(cached) " >&6
 
9583
else
 
9584
  save_LDFLAGS="$LDFLAGS"
 
9585
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9586
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8819
9587
/* end confdefs.h.  */
8820
 
int foo(void) {}
 
9588
int foo (void) { return 0; }
8821
9589
_ACEOF
8822
9590
if ac_fn_c_try_link "$LINENO"; then :
8823
 
  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'
8824
 
 
 
9591
  lt_cv_irix_exported_symbol=yes
 
9592
else
 
9593
  lt_cv_irix_exported_symbol=no
8825
9594
fi
8826
9595
rm -f core conftest.err conftest.$ac_objext \
8827
9596
    conftest$ac_exeext conftest.$ac_ext
8828
 
        LDFLAGS="$save_LDFLAGS"
 
9597
           LDFLAGS="$save_LDFLAGS"
 
9598
fi
 
9599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9600
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9601
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9602
          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'
 
9603
        fi
8829
9604
      else
8830
 
        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'
8831
 
        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'
 
9605
        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'
 
9606
        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'
8832
9607
      fi
8833
9608
      archive_cmds_need_lc='no'
8834
9609
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8890
9665
      hardcode_libdir_flag_spec='-L$libdir'
8891
9666
      hardcode_minus_L=yes
8892
9667
      allow_undefined_flag=unsupported
8893
 
      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'
 
9668
      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'
8894
9669
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8895
9670
      ;;
8896
9671
 
8897
9672
    osf3*)
8898
9673
      if test "$GCC" = yes; then
8899
9674
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8900
 
        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'
 
9675
        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'
8901
9676
      else
8902
9677
        allow_undefined_flag=' -expect_unresolved \*'
8903
 
        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'
 
9678
        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'
8904
9679
      fi
8905
9680
      archive_cmds_need_lc='no'
8906
9681
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8910
9685
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8911
9686
      if test "$GCC" = yes; then
8912
9687
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8913
 
        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'
 
9688
        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'
8914
9689
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8915
9690
      else
8916
9691
        allow_undefined_flag=' -expect_unresolved \*'
8917
 
        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'
 
9692
        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'
8918
9693
        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~
8919
 
        $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'
 
9694
        $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'
8920
9695
 
8921
9696
        # Both c and cxx compiler support -rpath directly
8922
9697
        hardcode_libdir_flag_spec='-rpath $libdir'
8929
9704
      no_undefined_flag=' -z defs'
8930
9705
      if test "$GCC" = yes; then
8931
9706
        wlarc='${wl}'
8932
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9707
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8933
9708
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8934
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9709
          $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'
8935
9710
      else
8936
9711
        case `$CC -V 2>&1` in
8937
9712
        *"Compilers 5.0"*)
9119
9894
      # to ld, don't add -lc before -lgcc.
9120
9895
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9121
9896
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9122
 
      $RM conftest*
9123
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9897
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
9898
  $as_echo_n "(cached) " >&6
 
9899
else
 
9900
  $RM conftest*
 
9901
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9124
9902
 
9125
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9903
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9126
9904
  (eval $ac_compile) 2>&5
9127
9905
  ac_status=$?
9128
9906
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9129
9907
  test $ac_status = 0; } 2>conftest.err; then
9130
 
        soname=conftest
9131
 
        lib=conftest
9132
 
        libobjs=conftest.$ac_objext
9133
 
        deplibs=
9134
 
        wl=$lt_prog_compiler_wl
9135
 
        pic_flag=$lt_prog_compiler_pic
9136
 
        compiler_flags=-v
9137
 
        linker_flags=-v
9138
 
        verstring=
9139
 
        output_objdir=.
9140
 
        libname=conftest
9141
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9142
 
        allow_undefined_flag=
9143
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9908
          soname=conftest
 
9909
          lib=conftest
 
9910
          libobjs=conftest.$ac_objext
 
9911
          deplibs=
 
9912
          wl=$lt_prog_compiler_wl
 
9913
          pic_flag=$lt_prog_compiler_pic
 
9914
          compiler_flags=-v
 
9915
          linker_flags=-v
 
9916
          verstring=
 
9917
          output_objdir=.
 
9918
          libname=conftest
 
9919
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9920
          allow_undefined_flag=
 
9921
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9144
9922
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9145
9923
  ac_status=$?
9146
9924
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9147
9925
  test $ac_status = 0; }
9148
 
        then
9149
 
          archive_cmds_need_lc=no
9150
 
        else
9151
 
          archive_cmds_need_lc=yes
9152
 
        fi
9153
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9154
 
      else
9155
 
        cat conftest.err 1>&5
9156
 
      fi
9157
 
      $RM conftest*
9158
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9159
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
9926
          then
 
9927
            lt_cv_archive_cmds_need_lc=no
 
9928
          else
 
9929
            lt_cv_archive_cmds_need_lc=yes
 
9930
          fi
 
9931
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9932
        else
 
9933
          cat conftest.err 1>&5
 
9934
        fi
 
9935
        $RM conftest*
 
9936
 
 
9937
fi
 
9938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9939
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9940
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9160
9941
      ;;
9161
9942
    esac
9162
9943
  fi
9314
10095
 
9315
10096
 
9316
10097
 
9317
 
 
9318
 
 
9319
 
 
9320
 
 
9321
 
 
9322
10098
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9323
10099
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9324
10100
 
9327
10103
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9328
10104
    *) lt_awk_arg="/^libraries:/" ;;
9329
10105
  esac
9330
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9331
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10106
  case $host_os in
 
10107
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10108
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10109
  esac
 
10110
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10111
  case $lt_search_path_spec in
 
10112
  *\;*)
9332
10113
    # if the path contains ";" then we assume it to be the separator
9333
10114
    # otherwise default to the standard path separator (i.e. ":") - it is
9334
10115
    # assumed that no part of a normal pathname contains ";" but that should
9335
10116
    # okay in the real world where ";" in dirpaths is itself problematic.
9336
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9337
 
  else
9338
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9339
 
  fi
 
10117
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10118
    ;;
 
10119
  *)
 
10120
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10121
    ;;
 
10122
  esac
9340
10123
  # Ok, now we have the path, separated by spaces, we can step through it
9341
10124
  # and add multilib dir if necessary.
9342
10125
  lt_tmp_lt_search_path_spec=
9349
10132
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9350
10133
    fi
9351
10134
  done
9352
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10135
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9353
10136
BEGIN {RS=" "; FS="/|\n";} {
9354
10137
  lt_foo="";
9355
10138
  lt_count=0;
9369
10152
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9370
10153
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9371
10154
}'`
9372
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10155
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10156
  # for these hosts.
 
10157
  case $host_os in
 
10158
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10159
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10160
  esac
 
10161
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9373
10162
else
9374
10163
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9375
10164
fi
9395
10184
 
9396
10185
case $host_os in
9397
10186
aix3*)
9398
 
  version_type=linux
 
10187
  version_type=linux # correct to gnu/linux during the next big refactor
9399
10188
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9400
10189
  shlibpath_var=LIBPATH
9401
10190
 
9404
10193
  ;;
9405
10194
 
9406
10195
aix[4-9]*)
9407
 
  version_type=linux
 
10196
  version_type=linux # correct to gnu/linux during the next big refactor
9408
10197
  need_lib_prefix=no
9409
10198
  need_version=no
9410
10199
  hardcode_into_libs=yes
9457
10246
  m68k)
9458
10247
    library_names_spec='$libname.ixlibrary $libname.a'
9459
10248
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9460
 
    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'
 
10249
    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'
9461
10250
    ;;
9462
10251
  esac
9463
10252
  ;;
9469
10258
  ;;
9470
10259
 
9471
10260
bsdi[45]*)
9472
 
  version_type=linux
 
10261
  version_type=linux # correct to gnu/linux during the next big refactor
9473
10262
  need_version=no
9474
10263
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9475
10264
  soname_spec='${libname}${release}${shared_ext}$major'
9488
10277
  need_version=no
9489
10278
  need_lib_prefix=no
9490
10279
 
9491
 
  case $GCC,$host_os in
9492
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10280
  case $GCC,$cc_basename in
 
10281
  yes,*)
 
10282
    # gcc
9493
10283
    library_names_spec='$libname.dll.a'
9494
10284
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9495
10285
    postinstall_cmds='base_file=`basename \${file}`~
9510
10300
    cygwin*)
9511
10301
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9512
10302
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9513
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10303
 
 
10304
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9514
10305
      ;;
9515
10306
    mingw* | cegcc*)
9516
10307
      # MinGW DLLs use traditional 'lib' prefix
9517
10308
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9518
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9519
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9520
 
        # It is most probably a Windows format PATH printed by
9521
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9522
 
        # path with ; separators, and with drive letters. We can handle the
9523
 
        # drive letters (cygwin fileutils understands them), so leave them,
9524
 
        # especially as we might pass files found there to a mingw objdump,
9525
 
        # which wouldn't understand a cygwinified path. Ahh.
9526
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9527
 
      else
9528
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9529
 
      fi
9530
10309
      ;;
9531
10310
    pw32*)
9532
10311
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9533
10312
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9534
10313
      ;;
9535
10314
    esac
 
10315
    dynamic_linker='Win32 ld.exe'
 
10316
    ;;
 
10317
 
 
10318
  *,cl*)
 
10319
    # Native MSVC
 
10320
    libname_spec='$name'
 
10321
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10322
    library_names_spec='${libname}.dll.lib'
 
10323
 
 
10324
    case $build_os in
 
10325
    mingw*)
 
10326
      sys_lib_search_path_spec=
 
10327
      lt_save_ifs=$IFS
 
10328
      IFS=';'
 
10329
      for lt_path in $LIB
 
10330
      do
 
10331
        IFS=$lt_save_ifs
 
10332
        # Let DOS variable expansion print the short 8.3 style file name.
 
10333
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10334
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10335
      done
 
10336
      IFS=$lt_save_ifs
 
10337
      # Convert to MSYS style.
 
10338
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10339
      ;;
 
10340
    cygwin*)
 
10341
      # Convert to unix form, then to dos form, then back to unix form
 
10342
      # but this time dos style (no spaces!) so that the unix form looks
 
10343
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10344
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10345
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10346
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10347
      ;;
 
10348
    *)
 
10349
      sys_lib_search_path_spec="$LIB"
 
10350
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10351
        # It is most probably a Windows format PATH.
 
10352
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10353
      else
 
10354
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10355
      fi
 
10356
      # FIXME: find the short name or the path components, as spaces are
 
10357
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10358
      ;;
 
10359
    esac
 
10360
 
 
10361
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10362
    postinstall_cmds='base_file=`basename \${file}`~
 
10363
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10364
      dldir=$destdir/`dirname \$dlpath`~
 
10365
      test -d \$dldir || mkdir -p \$dldir~
 
10366
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10367
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10368
      dlpath=$dir/\$dldll~
 
10369
       $RM \$dlpath'
 
10370
    shlibpath_overrides_runpath=yes
 
10371
    dynamic_linker='Win32 link.exe'
9536
10372
    ;;
9537
10373
 
9538
10374
  *)
 
10375
    # Assume MSVC wrapper
9539
10376
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10377
    dynamic_linker='Win32 ld.exe'
9540
10378
    ;;
9541
10379
  esac
9542
 
  dynamic_linker='Win32 ld.exe'
9543
10380
  # FIXME: first we should search . and the directory the executable is in
9544
10381
  shlibpath_var=PATH
9545
10382
  ;;
9560
10397
  ;;
9561
10398
 
9562
10399
dgux*)
9563
 
  version_type=linux
 
10400
  version_type=linux # correct to gnu/linux during the next big refactor
9564
10401
  need_lib_prefix=no
9565
10402
  need_version=no
9566
10403
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9568
10405
  shlibpath_var=LD_LIBRARY_PATH
9569
10406
  ;;
9570
10407
 
9571
 
freebsd1*)
9572
 
  dynamic_linker=no
9573
 
  ;;
9574
 
 
9575
10408
freebsd* | dragonfly*)
9576
10409
  # DragonFly does not have aout.  When/if they implement a new
9577
10410
  # versioning mechanism, adjust this.
9579
10412
    objformat=`/usr/bin/objformat`
9580
10413
  else
9581
10414
    case $host_os in
9582
 
    freebsd[123]*) objformat=aout ;;
 
10415
    freebsd[23].*) objformat=aout ;;
9583
10416
    *) objformat=elf ;;
9584
10417
    esac
9585
10418
  fi
9597
10430
  esac
9598
10431
  shlibpath_var=LD_LIBRARY_PATH
9599
10432
  case $host_os in
9600
 
  freebsd2*)
 
10433
  freebsd2.*)
9601
10434
    shlibpath_overrides_runpath=yes
9602
10435
    ;;
9603
10436
  freebsd3.[01]* | freebsdelf3.[01]*)
9616
10449
  esac
9617
10450
  ;;
9618
10451
 
9619
 
gnu*)
9620
 
  version_type=linux
 
10452
haiku*)
 
10453
  version_type=linux # correct to gnu/linux during the next big refactor
9621
10454
  need_lib_prefix=no
9622
10455
  need_version=no
 
10456
  dynamic_linker="$host_os runtime_loader"
9623
10457
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9624
10458
  soname_spec='${libname}${release}${shared_ext}$major'
9625
 
  shlibpath_var=LD_LIBRARY_PATH
 
10459
  shlibpath_var=LIBRARY_PATH
 
10460
  shlibpath_overrides_runpath=yes
 
10461
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9626
10462
  hardcode_into_libs=yes
9627
10463
  ;;
9628
10464
 
9668
10504
    soname_spec='${libname}${release}${shared_ext}$major'
9669
10505
    ;;
9670
10506
  esac
9671
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10507
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9672
10508
  postinstall_cmds='chmod 555 $lib'
 
10509
  # or fails outright, so override atomically:
 
10510
  install_override_mode=555
9673
10511
  ;;
9674
10512
 
9675
10513
interix[3-9]*)
9676
 
  version_type=linux
 
10514
  version_type=linux # correct to gnu/linux during the next big refactor
9677
10515
  need_lib_prefix=no
9678
10516
  need_version=no
9679
10517
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9689
10527
    nonstopux*) version_type=nonstopux ;;
9690
10528
    *)
9691
10529
        if test "$lt_cv_prog_gnu_ld" = yes; then
9692
 
                version_type=linux
 
10530
                version_type=linux # correct to gnu/linux during the next big refactor
9693
10531
        else
9694
10532
                version_type=irix
9695
10533
        fi ;;
9726
10564
  dynamic_linker=no
9727
10565
  ;;
9728
10566
 
9729
 
# This must be Linux ELF.
9730
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9731
 
  version_type=linux
 
10567
# This must be glibc/ELF.
 
10568
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 
10569
  version_type=linux # correct to gnu/linux during the next big refactor
9732
10570
  need_lib_prefix=no
9733
10571
  need_version=no
9734
10572
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9736
10574
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9737
10575
  shlibpath_var=LD_LIBRARY_PATH
9738
10576
  shlibpath_overrides_runpath=no
 
10577
 
9739
10578
  # Some binutils ld are patched to set DT_RUNPATH
9740
 
  save_LDFLAGS=$LDFLAGS
9741
 
  save_libdir=$libdir
9742
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9743
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9744
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10579
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10580
  $as_echo_n "(cached) " >&6
 
10581
else
 
10582
  lt_cv_shlibpath_overrides_runpath=no
 
10583
    save_LDFLAGS=$LDFLAGS
 
10584
    save_libdir=$libdir
 
10585
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10586
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10587
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9745
10588
/* end confdefs.h.  */
9746
10589
 
9747
10590
int
9754
10597
_ACEOF
9755
10598
if ac_fn_c_try_link "$LINENO"; then :
9756
10599
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9757
 
  shlibpath_overrides_runpath=yes
 
10600
  lt_cv_shlibpath_overrides_runpath=yes
9758
10601
fi
9759
10602
fi
9760
10603
rm -f core conftest.err conftest.$ac_objext \
9761
10604
    conftest$ac_exeext conftest.$ac_ext
9762
 
  LDFLAGS=$save_LDFLAGS
9763
 
  libdir=$save_libdir
 
10605
    LDFLAGS=$save_LDFLAGS
 
10606
    libdir=$save_libdir
 
10607
 
 
10608
fi
 
10609
 
 
10610
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9764
10611
 
9765
10612
  # This implies no fast_install, which is unacceptable.
9766
10613
  # Some rework will be needed to allow for fast_install
9769
10616
 
9770
10617
  # Append ld.so.conf contents to the search path
9771
10618
  if test -f /etc/ld.so.conf; then
9772
 
    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' ' '`
 
10619
    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' ' '`
9773
10620
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9774
10621
  fi
9775
10622
 
9813
10660
  ;;
9814
10661
 
9815
10662
newsos6)
9816
 
  version_type=linux
 
10663
  version_type=linux # correct to gnu/linux during the next big refactor
9817
10664
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9818
10665
  shlibpath_var=LD_LIBRARY_PATH
9819
10666
  shlibpath_overrides_runpath=yes
9882
10729
  ;;
9883
10730
 
9884
10731
solaris*)
9885
 
  version_type=linux
 
10732
  version_type=linux # correct to gnu/linux during the next big refactor
9886
10733
  need_lib_prefix=no
9887
10734
  need_version=no
9888
10735
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9907
10754
  ;;
9908
10755
 
9909
10756
sysv4 | sysv4.3*)
9910
 
  version_type=linux
 
10757
  version_type=linux # correct to gnu/linux during the next big refactor
9911
10758
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9912
10759
  soname_spec='${libname}${release}${shared_ext}$major'
9913
10760
  shlibpath_var=LD_LIBRARY_PATH
9931
10778
 
9932
10779
sysv4*MP*)
9933
10780
  if test -d /usr/nec ;then
9934
 
    version_type=linux
 
10781
    version_type=linux # correct to gnu/linux during the next big refactor
9935
10782
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9936
10783
    soname_spec='$libname${shared_ext}.$major'
9937
10784
    shlibpath_var=LD_LIBRARY_PATH
9962
10809
 
9963
10810
tpf*)
9964
10811
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9965
 
  version_type=linux
 
10812
  version_type=linux # correct to gnu/linux during the next big refactor
9966
10813
  need_lib_prefix=no
9967
10814
  need_version=no
9968
10815
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9972
10819
  ;;
9973
10820
 
9974
10821
uts4*)
9975
 
  version_type=linux
 
10822
  version_type=linux # correct to gnu/linux during the next big refactor
9976
10823
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9977
10824
  soname_spec='${libname}${release}${shared_ext}$major'
9978
10825
  shlibpath_var=LD_LIBRARY_PATH
10084
10931
 
10085
10932
 
10086
10933
 
 
10934
 
 
10935
 
 
10936
 
 
10937
 
 
10938
 
10087
10939
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10088
10940
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10089
10941
hardcode_action=
10156
11008
  # if libdl is installed we need to link against it
10157
11009
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10158
11010
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10159
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11011
if ${ac_cv_lib_dl_dlopen+:} false; then :
10160
11012
  $as_echo_n "(cached) " >&6
10161
11013
else
10162
11014
  ac_check_lib_save_LIBS=$LIBS
10190
11042
fi
10191
11043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10192
11044
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10193
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11045
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10194
11046
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10195
11047
else
10196
11048
 
10204
11056
 
10205
11057
  *)
10206
11058
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10207
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
11059
if test "x$ac_cv_func_shl_load" = xyes; then :
10208
11060
  lt_cv_dlopen="shl_load"
10209
11061
else
10210
11062
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10211
11063
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10212
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11064
if ${ac_cv_lib_dld_shl_load+:} false; then :
10213
11065
  $as_echo_n "(cached) " >&6
10214
11066
else
10215
11067
  ac_check_lib_save_LIBS=$LIBS
10243
11095
fi
10244
11096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10245
11097
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10246
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11098
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10247
11099
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10248
11100
else
10249
11101
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10250
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
11102
if test "x$ac_cv_func_dlopen" = xyes; then :
10251
11103
  lt_cv_dlopen="dlopen"
10252
11104
else
10253
11105
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10254
11106
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10255
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11107
if ${ac_cv_lib_dl_dlopen+:} false; then :
10256
11108
  $as_echo_n "(cached) " >&6
10257
11109
else
10258
11110
  ac_check_lib_save_LIBS=$LIBS
10286
11138
fi
10287
11139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10288
11140
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10289
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11141
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10290
11142
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10291
11143
else
10292
11144
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10293
11145
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10294
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11146
if ${ac_cv_lib_svld_dlopen+:} false; then :
10295
11147
  $as_echo_n "(cached) " >&6
10296
11148
else
10297
11149
  ac_check_lib_save_LIBS=$LIBS
10325
11177
fi
10326
11178
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10327
11179
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10328
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
11180
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10329
11181
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10330
11182
else
10331
11183
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10332
11184
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10333
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11185
if ${ac_cv_lib_dld_dld_link+:} false; then :
10334
11186
  $as_echo_n "(cached) " >&6
10335
11187
else
10336
11188
  ac_check_lib_save_LIBS=$LIBS
10364
11216
fi
10365
11217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10366
11218
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10367
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11219
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10368
11220
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10369
11221
fi
10370
11222
 
10405
11257
 
10406
11258
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10407
11259
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10408
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11260
if ${lt_cv_dlopen_self+:} false; then :
10409
11261
  $as_echo_n "(cached) " >&6
10410
11262
else
10411
11263
          if test "$cross_compiling" = yes; then :
10414
11266
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10415
11267
  lt_status=$lt_dlunknown
10416
11268
  cat > conftest.$ac_ext <<_LT_EOF
10417
 
#line 10417 "configure"
 
11269
#line $LINENO "configure"
10418
11270
#include "confdefs.h"
10419
11271
 
10420
11272
#if HAVE_DLFCN_H
10455
11307
#  endif
10456
11308
#endif
10457
11309
 
10458
 
void fnord() { int i=42;}
 
11310
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11311
   correspondingly for the symbols needed.  */
 
11312
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11313
int fnord () __attribute__((visibility("default")));
 
11314
#endif
 
11315
 
 
11316
int fnord () { return 42; }
10459
11317
int main ()
10460
11318
{
10461
11319
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10464
11322
  if (self)
10465
11323
    {
10466
11324
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10467
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11325
      else
 
11326
        {
 
11327
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11328
          else puts (dlerror ());
 
11329
        }
10468
11330
      /* dlclose (self); */
10469
11331
    }
10470
11332
  else
10501
11363
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10502
11364
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10503
11365
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10504
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11366
if ${lt_cv_dlopen_self_static+:} false; then :
10505
11367
  $as_echo_n "(cached) " >&6
10506
11368
else
10507
11369
          if test "$cross_compiling" = yes; then :
10510
11372
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10511
11373
  lt_status=$lt_dlunknown
10512
11374
  cat > conftest.$ac_ext <<_LT_EOF
10513
 
#line 10513 "configure"
 
11375
#line $LINENO "configure"
10514
11376
#include "confdefs.h"
10515
11377
 
10516
11378
#if HAVE_DLFCN_H
10551
11413
#  endif
10552
11414
#endif
10553
11415
 
10554
 
void fnord() { int i=42;}
 
11416
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11417
   correspondingly for the symbols needed.  */
 
11418
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11419
int fnord () __attribute__((visibility("default")));
 
11420
#endif
 
11421
 
 
11422
int fnord () { return 42; }
10555
11423
int main ()
10556
11424
{
10557
11425
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10560
11428
  if (self)
10561
11429
    {
10562
11430
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10563
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11431
      else
 
11432
        {
 
11433
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11434
          else puts (dlerror ());
 
11435
        }
10564
11436
      /* dlclose (self); */
10565
11437
    }
10566
11438
  else
10729
11601
 
10730
11602
 
10731
11603
 
 
11604
 
 
11605
 
10732
11606
        ac_config_commands="$ac_config_commands libtool"
10733
11607
 
10734
11608
 
10748
11622
no)  AM_DEFAULT_VERBOSITY=1;;
10749
11623
*)   AM_DEFAULT_VERBOSITY=0;;
10750
11624
esac
 
11625
am_make=${MAKE-make}
 
11626
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
11627
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
11628
if ${am_cv_make_support_nested_variables+:} false; then :
 
11629
  $as_echo_n "(cached) " >&6
 
11630
else
 
11631
  if $as_echo 'TRUE=$(BAR$(V))
 
11632
BAR0=false
 
11633
BAR1=true
 
11634
V=1
 
11635
am__doit:
 
11636
        @$(TRUE)
 
11637
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
11638
  am_cv_make_support_nested_variables=yes
 
11639
else
 
11640
  am_cv_make_support_nested_variables=no
 
11641
fi
 
11642
fi
 
11643
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
11644
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
11645
if test $am_cv_make_support_nested_variables = yes; then
 
11646
    AM_V='$(V)'
 
11647
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
11648
else
 
11649
  AM_V=$AM_DEFAULT_VERBOSITY
 
11650
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
11651
fi
10751
11652
AM_BACKSLASH='\'
10752
11653
 
10753
11654
 
10762
11663
 
10763
11664
 
10764
11665
 
 
11666
 
 
11667
  for flag in -std=c89 -pedantic -Wall -Wextra -Wno-parentheses -Wno-long-long; do
 
11668
 
 
11669
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag flag" >&5
 
11670
$as_echo_n "checking if $CC supports $flag flag... " >&6; }
 
11671
if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
 
11672
  $as_echo_n "(cached) " >&6
 
11673
else
 
11674
 
 
11675
  if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
 
11676
  $as_echo_n "(cached) " >&6
 
11677
else
 
11678
  ac_save_CFLAGS="$CFLAGS"
 
11679
     CFLAGS="$CFLAGS $flag"
 
11680
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11681
/* end confdefs.h.  */
 
11682
int main() { return 0; }
 
11683
_ACEOF
 
11684
if ac_fn_c_try_link "$LINENO"; then :
 
11685
  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='yes'"
 
11686
else
 
11687
  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='no'"
 
11688
fi
 
11689
rm -f core conftest.err conftest.$ac_objext \
 
11690
    conftest$ac_exeext conftest.$ac_ext
 
11691
     CFLAGS="$ac_save_CFLAGS"
 
11692
 
 
11693
fi
 
11694
 
 
11695
 
 
11696
  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
 
11697
 
 
11698
fi
 
11699
 
 
11700
fi
 
11701
eval ac_res=\$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`
 
11702
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
11703
$as_echo "$ac_res" >&6; }
 
11704
 
 
11705
  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
 
11706
  CFLAGS="$CFLAGS $flag";
 
11707
fi
 
11708
 
 
11709
  done
 
11710
 
 
11711
 
 
11712
# Platform-specific tweaks
 
11713
case $host in
 
11714
  *-mingw*)
 
11715
    # -std=c89 causes some warnings under mingw.
 
11716
 
 
11717
  for flag in -U__STRICT_ANSI__; do
 
11718
 
 
11719
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag flag" >&5
 
11720
$as_echo_n "checking if $CC supports $flag flag... " >&6; }
 
11721
if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
 
11722
  $as_echo_n "(cached) " >&6
 
11723
else
 
11724
 
 
11725
  if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
 
11726
  $as_echo_n "(cached) " >&6
 
11727
else
 
11728
  ac_save_CFLAGS="$CFLAGS"
 
11729
     CFLAGS="$CFLAGS $flag"
 
11730
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11731
/* end confdefs.h.  */
 
11732
int main() { return 0; }
 
11733
_ACEOF
 
11734
if ac_fn_c_try_link "$LINENO"; then :
 
11735
  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='yes'"
 
11736
else
 
11737
  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='no'"
 
11738
fi
 
11739
rm -f core conftest.err conftest.$ac_objext \
 
11740
    conftest$ac_exeext conftest.$ac_ext
 
11741
     CFLAGS="$ac_save_CFLAGS"
 
11742
 
 
11743
fi
 
11744
 
 
11745
 
 
11746
  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
 
11747
 
 
11748
fi
 
11749
 
 
11750
fi
 
11751
eval ac_res=\$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`
 
11752
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
11753
$as_echo "$ac_res" >&6; }
 
11754
 
 
11755
  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
 
11756
  CFLAGS="$CFLAGS $flag";
 
11757
fi
 
11758
 
 
11759
  done
 
11760
 
 
11761
    # We need WINNT>=0x501 (WindowsXP) for getaddrinfo/freeaddrinfo.
 
11762
    # It's okay to define this even when HTTP support is disabled, as it only
 
11763
    #  affects header declarations, not linking (unless we actually use some
 
11764
    #  XP-only functions).
 
11765
 
 
11766
cat >>confdefs.h <<_ACEOF
 
11767
#define _WIN32_WINNT 0x501
 
11768
_ACEOF
 
11769
 
 
11770
    host_mingw=true
 
11771
    ;;
 
11772
esac
 
11773
 if test "$host_mingw" = "true"; then
 
11774
  OP_WIN32_TRUE=
 
11775
  OP_WIN32_FALSE='#'
 
11776
else
 
11777
  OP_WIN32_TRUE='#'
 
11778
  OP_WIN32_FALSE=
 
11779
fi
 
11780
 
 
11781
 
10765
11782
# Check whether --enable-assertions was given.
10766
11783
if test "${enable_assertions+set}" = set; then :
10767
11784
  enableval=$enable_assertions;
10770
11787
fi
10771
11788
 
10772
11789
 
10773
 
if test "x$enable_assertions" = "xyes"; then :
 
11790
if test "$enable_assertions" = "yes"; then :
10774
11791
 
10775
11792
 
10776
11793
$as_echo "#define OP_ENABLE_ASSERTIONS 1" >>confdefs.h
10786
11803
fi
10787
11804
 
10788
11805
 
10789
 
if test "x$enable_http" != "xno"; then :
 
11806
if test -z "$OP_WIN32_TRUE"; then :
 
11807
  if test "$enable_http" != "no"; then :
 
11808
  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
 
11809
if test "x$ac_cv_header_winsock2_h" = xyes; then :
 
11810
 
 
11811
else
 
11812
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP support requires a Winsock socket library." >&5
 
11813
$as_echo "$as_me: WARNING: HTTP support requires a Winsock socket library." >&2;}
 
11814
      enable_http=no
 
11815
 
 
11816
fi
 
11817
 
 
11818
 
 
11819
 
 
11820
fi
 
11821
else
 
11822
  if test "$enable_http" != "no"; then :
10790
11823
  ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
10791
 
if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
 
11824
if test "x$ac_cv_header_sys_socket_h" = xyes; then :
10792
11825
 
10793
11826
else
10794
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP support requires a posix socket library." >&5
10795
 
$as_echo "$as_me: WARNING: HTTP support requires a posix socket library." >&2;}
10796
 
    enable_http=no
10797
 
 
10798
 
fi
10799
 
 
10800
 
 
10801
 
 
10802
 
fi
10803
 
 
10804
 
if test "x$enable_http" != "xno"; then :
10805
 
 
10806
 
   openssl="openssl"
10807
 
 
10808
 
$as_echo "#define OP_ENABLE_HTTP 1" >>confdefs.h
10809
 
 
 
11827
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP support requires a POSIX socket library." >&5
 
11828
$as_echo "$as_me: WARNING: HTTP support requires a POSIX socket library." >&2;}
 
11829
      enable_http=no
 
11830
 
 
11831
fi
 
11832
 
 
11833
 
 
11834
 
 
11835
fi
10810
11836
 
10811
11837
fi
10812
11838
 
10823
11849
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10824
11850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10825
11851
$as_echo_n "checking for $ac_word... " >&6; }
10826
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
11852
if ${ac_cv_path_PKG_CONFIG+:} false; then :
10827
11853
  $as_echo_n "(cached) " >&6
10828
11854
else
10829
11855
  case $PKG_CONFIG in
10837
11863
  IFS=$as_save_IFS
10838
11864
  test -z "$as_dir" && as_dir=.
10839
11865
    for ac_exec_ext in '' $ac_executable_extensions; do
10840
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11866
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10841
11867
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10842
11868
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10843
11869
    break 2
10866
11892
set dummy pkg-config; ac_word=$2
10867
11893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10868
11894
$as_echo_n "checking for $ac_word... " >&6; }
10869
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
11895
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
10870
11896
  $as_echo_n "(cached) " >&6
10871
11897
else
10872
11898
  case $ac_pt_PKG_CONFIG in
10880
11906
  IFS=$as_save_IFS
10881
11907
  test -z "$as_dir" && as_dir=.
10882
11908
    for ac_exec_ext in '' $ac_executable_extensions; do
10883
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11909
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10884
11910
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10885
11911
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10886
11912
    break 2
10930
11956
                PKG_CONFIG=""
10931
11957
        fi
10932
11958
fi
 
11959
if test "$enable_http" != "no"; then :
 
11960
 
 
11961
   openssl="openssl"
 
11962
 
 
11963
$as_echo "#define OP_ENABLE_HTTP 1" >>confdefs.h
 
11964
 
 
11965
 
 
11966
pkg_failed=no
 
11967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for URL_DEPS" >&5
 
11968
$as_echo_n "checking for URL_DEPS... " >&6; }
 
11969
 
 
11970
if test -n "$URL_DEPS_CFLAGS"; then
 
11971
    pkg_cv_URL_DEPS_CFLAGS="$URL_DEPS_CFLAGS"
 
11972
 elif test -n "$PKG_CONFIG"; then
 
11973
    if test -n "$PKG_CONFIG" && \
 
11974
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
 
11975
  ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
 
11976
  ac_status=$?
 
11977
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11978
  test $ac_status = 0; }; then
 
11979
  pkg_cv_URL_DEPS_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
 
11980
                      test "x$?" != "x0" && pkg_failed=yes
 
11981
else
 
11982
  pkg_failed=yes
 
11983
fi
 
11984
 else
 
11985
    pkg_failed=untried
 
11986
fi
 
11987
if test -n "$URL_DEPS_LIBS"; then
 
11988
    pkg_cv_URL_DEPS_LIBS="$URL_DEPS_LIBS"
 
11989
 elif test -n "$PKG_CONFIG"; then
 
11990
    if test -n "$PKG_CONFIG" && \
 
11991
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
 
11992
  ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
 
11993
  ac_status=$?
 
11994
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11995
  test $ac_status = 0; }; then
 
11996
  pkg_cv_URL_DEPS_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
 
11997
                      test "x$?" != "x0" && pkg_failed=yes
 
11998
else
 
11999
  pkg_failed=yes
 
12000
fi
 
12001
 else
 
12002
    pkg_failed=untried
 
12003
fi
 
12004
 
 
12005
 
 
12006
 
 
12007
if test $pkg_failed = yes; then
 
12008
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12009
$as_echo "no" >&6; }
 
12010
 
 
12011
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12012
        _pkg_short_errors_supported=yes
 
12013
else
 
12014
        _pkg_short_errors_supported=no
 
12015
fi
 
12016
        if test $_pkg_short_errors_supported = yes; then
 
12017
                URL_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl" 2>&1`
 
12018
        else
 
12019
                URL_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl" 2>&1`
 
12020
        fi
 
12021
        # Put the nasty error message in config.log where it belongs
 
12022
        echo "$URL_DEPS_PKG_ERRORS" >&5
 
12023
 
 
12024
        as_fn_error $? "Package requirements (openssl) were not met:
 
12025
 
 
12026
$URL_DEPS_PKG_ERRORS
 
12027
 
 
12028
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12029
installed software in a non-standard prefix.
 
12030
 
 
12031
Alternatively, you may set the environment variables URL_DEPS_CFLAGS
 
12032
and URL_DEPS_LIBS to avoid the need to call pkg-config.
 
12033
See the pkg-config man page for more details." "$LINENO" 5
 
12034
elif test $pkg_failed = untried; then
 
12035
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12036
$as_echo "no" >&6; }
 
12037
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12038
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12039
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
12040
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12041
path to pkg-config.
 
12042
 
 
12043
Alternatively, you may set the environment variables URL_DEPS_CFLAGS
 
12044
and URL_DEPS_LIBS to avoid the need to call pkg-config.
 
12045
See the pkg-config man page for more details.
 
12046
 
 
12047
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12048
See \`config.log' for more details" "$LINENO" 5; }
 
12049
else
 
12050
        URL_DEPS_CFLAGS=$pkg_cv_URL_DEPS_CFLAGS
 
12051
        URL_DEPS_LIBS=$pkg_cv_URL_DEPS_LIBS
 
12052
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12053
$as_echo "yes" >&6; }
 
12054
 
 
12055
fi
 
12056
 
 
12057
fi
 
12058
 if test "$enable_http" != "no"; then
 
12059
  OP_ENABLE_HTTP_TRUE=
 
12060
  OP_ENABLE_HTTP_FALSE='#'
 
12061
else
 
12062
  OP_ENABLE_HTTP_TRUE='#'
 
12063
  OP_ENABLE_HTTP_FALSE=
 
12064
fi
 
12065
 
 
12066
 
 
12067
 
10933
12068
 
10934
12069
pkg_failed=no
10935
12070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPS" >&5
10939
12074
    pkg_cv_DEPS_CFLAGS="$DEPS_CFLAGS"
10940
12075
 elif test -n "$PKG_CONFIG"; then
10941
12076
    if test -n "$PKG_CONFIG" && \
10942
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.3 opus >= 1.0.1 \${openssl}\""; } >&5
10943
 
  ($PKG_CONFIG --exists --print-errors "ogg >= 1.3 opus >= 1.0.1 ${openssl}") 2>&5
 
12077
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.3 opus >= 1.0.1\""; } >&5
 
12078
  ($PKG_CONFIG --exists --print-errors "ogg >= 1.3 opus >= 1.0.1") 2>&5
10944
12079
  ac_status=$?
10945
12080
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10946
12081
  test $ac_status = 0; }; then
10947
 
  pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.3 opus >= 1.0.1 ${openssl}" 2>/dev/null`
 
12082
  pkg_cv_DEPS_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.3 opus >= 1.0.1" 2>/dev/null`
 
12083
                      test "x$?" != "x0" && pkg_failed=yes
10948
12084
else
10949
12085
  pkg_failed=yes
10950
12086
fi
10955
12091
    pkg_cv_DEPS_LIBS="$DEPS_LIBS"
10956
12092
 elif test -n "$PKG_CONFIG"; then
10957
12093
    if test -n "$PKG_CONFIG" && \
10958
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.3 opus >= 1.0.1 \${openssl}\""; } >&5
10959
 
  ($PKG_CONFIG --exists --print-errors "ogg >= 1.3 opus >= 1.0.1 ${openssl}") 2>&5
 
12094
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.3 opus >= 1.0.1\""; } >&5
 
12095
  ($PKG_CONFIG --exists --print-errors "ogg >= 1.3 opus >= 1.0.1") 2>&5
10960
12096
  ac_status=$?
10961
12097
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10962
12098
  test $ac_status = 0; }; then
10963
 
  pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "ogg >= 1.3 opus >= 1.0.1 ${openssl}" 2>/dev/null`
 
12099
  pkg_cv_DEPS_LIBS=`$PKG_CONFIG --libs "ogg >= 1.3 opus >= 1.0.1" 2>/dev/null`
 
12100
                      test "x$?" != "x0" && pkg_failed=yes
10964
12101
else
10965
12102
  pkg_failed=yes
10966
12103
fi
10980
12117
        _pkg_short_errors_supported=no
10981
12118
fi
10982
12119
        if test $_pkg_short_errors_supported = yes; then
10983
 
                DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ogg >= 1.3 opus >= 1.0.1 ${openssl}" 2>&1`
 
12120
                DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ogg >= 1.3 opus >= 1.0.1" 2>&1`
10984
12121
        else
10985
 
                DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "ogg >= 1.3 opus >= 1.0.1 ${openssl}" 2>&1`
 
12122
                DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ogg >= 1.3 opus >= 1.0.1" 2>&1`
10986
12123
        fi
10987
12124
        # Put the nasty error message in config.log where it belongs
10988
12125
        echo "$DEPS_PKG_ERRORS" >&5
10989
12126
 
10990
 
        as_fn_error $? "Package requirements (ogg >= 1.3 opus >= 1.0.1 ${openssl}) were not met:
 
12127
        as_fn_error $? "Package requirements (ogg >= 1.3 opus >= 1.0.1) were not met:
10991
12128
 
10992
12129
$DEPS_PKG_ERRORS
10993
12130
 
11011
12148
See the pkg-config man page for more details.
11012
12149
 
11013
12150
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11014
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
12151
See \`config.log' for more details" "$LINENO" 5; }
11015
12152
else
11016
12153
        DEPS_CFLAGS=$pkg_cv_DEPS_CFLAGS
11017
12154
        DEPS_LIBS=$pkg_cv_DEPS_LIBS
11035
12172
fi
11036
12173
 
11037
12174
 
11038
 
if test "x$enable_float" = "xno"; then :
 
12175
if test "$enable_float" = "no"; then :
11039
12176
  enable_fixed_point=yes
11040
12177
 
11041
12178
$as_echo "#define OP_DISABLE_FLOAT_API 1" >>confdefs.h
11044
12181
 
11045
12182
fi
11046
12183
 
11047
 
if test "x$enable_fixed_point" = "xyes"; then :
 
12184
if test "$enable_fixed_point" = "yes"; then :
11048
12185
 
11049
12186
$as_echo "#define OP_FIXED_POINT 1" >>confdefs.h
11050
12187
 
11051
12188
else
11052
12189
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lrintf" >&5
11053
12190
$as_echo_n "checking for library containing lrintf... " >&6; }
11054
 
if test "${ac_cv_search_lrintf+set}" = set; then :
 
12191
if ${ac_cv_search_lrintf+:} false; then :
11055
12192
  $as_echo_n "(cached) " >&6
11056
12193
else
11057
12194
  ac_func_search_save_LIBS=$LIBS
11085
12222
fi
11086
12223
rm -f core conftest.err conftest.$ac_objext \
11087
12224
    conftest$ac_exeext
11088
 
  if test "${ac_cv_search_lrintf+set}" = set; then :
 
12225
  if ${ac_cv_search_lrintf+:} false; then :
11089
12226
  break
11090
12227
fi
11091
12228
done
11092
 
if test "${ac_cv_search_lrintf+set}" = set; then :
 
12229
if ${ac_cv_search_lrintf+:} false; then :
11093
12230
 
11094
12231
else
11095
12232
  ac_cv_search_lrintf=no
11114
12251
 
11115
12252
 
11116
12253
fi
 
12254
lrintf_lib="$ac_cv_search_lrintf"
 
12255
if test "$ac_cv_search_lrintf" = "none required"; then :
 
12256
  lrintf_lib=""
 
12257
 
 
12258
fi
11117
12259
 
11118
12260
 
11119
12261
 
11120
12262
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC way to treat warnings as errors" >&5
11121
12263
$as_echo_n "checking for $CC way to treat warnings as errors... " >&6; }
11122
 
if test "${cc_cv_werror+set}" = set; then :
 
12264
if ${cc_cv_werror+:} false; then :
11123
12265
  $as_echo_n "(cached) " >&6
11124
12266
else
11125
12267
 
11126
 
  if test "${cc_cv_cflags__Werror+set}" = set; then :
 
12268
  if ${cc_cv_cflags__Werror+:} false; then :
11127
12269
  $as_echo_n "(cached) " >&6
11128
12270
else
11129
12271
  ac_save_CFLAGS="$CFLAGS"
11148
12290
  cc_cv_werror=-Werror
11149
12291
else
11150
12292
 
11151
 
  if { as_var=`$as_echo "cc_cv_cflags_-errwarn=%all" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then :
 
12293
  if ${cc_cv_cflags__errwarn__all+:} false; then :
11152
12294
  $as_echo_n "(cached) " >&6
11153
12295
else
11154
12296
  ac_save_CFLAGS="$CFLAGS"
11158
12300
int main() { return 0; }
11159
12301
_ACEOF
11160
12302
if ac_fn_c_try_link "$LINENO"; then :
11161
 
  eval "`$as_echo "cc_cv_cflags_-errwarn=%all" | $as_tr_sh`='yes'"
 
12303
  eval "cc_cv_cflags__errwarn__all='yes'"
11162
12304
else
11163
 
  eval "`$as_echo "cc_cv_cflags_-errwarn=%all" | $as_tr_sh`='no'"
 
12305
  eval "cc_cv_cflags__errwarn__all='no'"
11164
12306
fi
11165
12307
rm -f core conftest.err conftest.$ac_objext \
11166
12308
    conftest$ac_exeext conftest.$ac_ext
11169
12311
fi
11170
12312
 
11171
12313
 
11172
 
  if eval test x$`$as_echo "cc_cv_cflags_-errwarn=%all" | $as_tr_sh` = xyes; then :
 
12314
  if eval test x$cc_cv_cflags__errwarn__all = xyes; then :
11173
12315
  cc_cv_werror=-errwarn=%all
11174
12316
fi
11175
12317
 
11185
12327
 
11186
12328
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports __attribute__(( visibility(\"default\") ))" >&5
11187
12329
$as_echo_n "checking if $CC supports __attribute__(( visibility(\"default\") ))... " >&6; }
11188
 
if test "${cc_cv_attribute_visibility_default+set}" = set; then :
 
12330
if ${cc_cv_attribute_visibility_default+:} false; then :
11189
12331
  $as_echo_n "(cached) " >&6
11190
12332
else
11191
12333
  ac_save_CFLAGS="$CFLAGS"
11215
12357
 
11216
12358
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fvisibility=hidden" >&5
11217
12359
$as_echo_n "checking if $CC supports -fvisibility=hidden... " >&6; }
11218
 
if test "${cc_cv_flag_visibility+set}" = set; then :
 
12360
if ${cc_cv_flag_visibility+:} false; then :
11219
12361
  $as_echo_n "(cached) " >&6
11220
12362
else
11221
12363
  cc_flag_visibility_save_CFLAGS="$CFLAGS"
11222
12364
     CFLAGS="$CFLAGS $cc_cv_werror"
11223
12365
 
11224
 
  if { as_var=`$as_echo "cc_cv_cflags_-fvisibility=hidden" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then :
 
12366
  if ${cc_cv_cflags__fvisibility_hidden+:} false; then :
11225
12367
  $as_echo_n "(cached) " >&6
11226
12368
else
11227
12369
  ac_save_CFLAGS="$CFLAGS"
11231
12373
int main() { return 0; }
11232
12374
_ACEOF
11233
12375
if ac_fn_c_try_link "$LINENO"; then :
11234
 
  eval "`$as_echo "cc_cv_cflags_-fvisibility=hidden" | $as_tr_sh`='yes'"
 
12376
  eval "cc_cv_cflags__fvisibility_hidden='yes'"
11235
12377
else
11236
 
  eval "`$as_echo "cc_cv_cflags_-fvisibility=hidden" | $as_tr_sh`='no'"
 
12378
  eval "cc_cv_cflags__fvisibility_hidden='no'"
11237
12379
fi
11238
12380
rm -f core conftest.err conftest.$ac_objext \
11239
12381
    conftest$ac_exeext conftest.$ac_ext
11242
12384
fi
11243
12385
 
11244
12386
 
11245
 
  if eval test x$`$as_echo "cc_cv_cflags_-fvisibility=hidden" | $as_tr_sh` = xyes; then :
 
12387
  if eval test x$cc_cv_cflags__fvisibility_hidden = xyes; then :
11246
12388
  cc_cv_flag_visibility='yes'
11247
12389
else
11248
12390
  cc_cv_flag_visibility='no'
11265
12407
 
11266
12408
 
11267
12409
 
11268
 
 
11269
 
  for flag in -std=c89 -pedantic -Wall -Wextra -Wno-parentheses -Wno-long-long; do
11270
 
 
11271
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag flag" >&5
11272
 
$as_echo_n "checking if $CC supports $flag flag... " >&6; }
11273
 
if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then :
11274
 
  $as_echo_n "(cached) " >&6
11275
 
else
11276
 
 
11277
 
  if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then :
11278
 
  $as_echo_n "(cached) " >&6
11279
 
else
11280
 
  ac_save_CFLAGS="$CFLAGS"
11281
 
     CFLAGS="$CFLAGS $flag"
11282
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283
 
/* end confdefs.h.  */
11284
 
int main() { return 0; }
11285
 
_ACEOF
11286
 
if ac_fn_c_try_link "$LINENO"; then :
11287
 
  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='yes'"
11288
 
else
11289
 
  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='no'"
11290
 
fi
11291
 
rm -f core conftest.err conftest.$ac_objext \
11292
 
    conftest$ac_exeext conftest.$ac_ext
11293
 
     CFLAGS="$ac_save_CFLAGS"
11294
 
 
11295
 
fi
11296
 
 
11297
 
 
11298
 
  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
11299
 
 
11300
 
fi
11301
 
 
11302
 
fi
11303
 
eval ac_res=\$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`
11304
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11305
 
$as_echo "$ac_res" >&6; }
11306
 
 
11307
 
  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
11308
 
  CFLAGS="$CFLAGS $flag";
11309
 
fi
11310
 
 
11311
 
  done
11312
 
 
11313
 
 
11314
 
# Platform-specific tweaks
11315
 
case $host in
11316
 
  *-mingw*)
11317
 
    # -std=c89 causes some warnings under mingw.
11318
 
 
11319
 
  for flag in -U__STRICT_ANSI__; do
11320
 
 
11321
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag flag" >&5
11322
 
$as_echo_n "checking if $CC supports $flag flag... " >&6; }
11323
 
if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then :
11324
 
  $as_echo_n "(cached) " >&6
11325
 
else
11326
 
 
11327
 
  if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval "test \"\${$as_var+set}\" = set"; }; then :
11328
 
  $as_echo_n "(cached) " >&6
11329
 
else
11330
 
  ac_save_CFLAGS="$CFLAGS"
11331
 
     CFLAGS="$CFLAGS $flag"
11332
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333
 
/* end confdefs.h.  */
11334
 
int main() { return 0; }
11335
 
_ACEOF
11336
 
if ac_fn_c_try_link "$LINENO"; then :
11337
 
  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='yes'"
11338
 
else
11339
 
  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='no'"
11340
 
fi
11341
 
rm -f core conftest.err conftest.$ac_objext \
11342
 
    conftest$ac_exeext conftest.$ac_ext
11343
 
     CFLAGS="$ac_save_CFLAGS"
11344
 
 
11345
 
fi
11346
 
 
11347
 
 
11348
 
  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
11349
 
 
11350
 
fi
11351
 
 
11352
 
fi
11353
 
eval ac_res=\$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`
11354
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11355
 
$as_echo "$ac_res" >&6; }
11356
 
 
11357
 
  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
11358
 
  CFLAGS="$CFLAGS $flag";
11359
 
fi
11360
 
 
11361
 
  done
11362
 
 
11363
 
    ;;
11364
 
esac
11365
 
 
11366
12410
# Check whether --enable-doc was given.
11367
12411
if test "${enable_doc+set}" = set; then :
11368
12412
  enableval=$enable_doc;
11375
12419
set dummy doxygen; ac_word=$2
11376
12420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11377
12421
$as_echo_n "checking for $ac_word... " >&6; }
11378
 
if test "${ac_cv_prog_HAVE_DOXYGEN+set}" = set; then :
 
12422
if ${ac_cv_prog_HAVE_DOXYGEN+:} false; then :
11379
12423
  $as_echo_n "(cached) " >&6
11380
12424
else
11381
12425
  if test -n "$HAVE_DOXYGEN"; then
11387
12431
  IFS=$as_save_IFS
11388
12432
  test -z "$as_dir" && as_dir=.
11389
12433
    for ac_exec_ext in '' $ac_executable_extensions; do
11390
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12434
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11391
12435
    ac_cv_prog_HAVE_DOXYGEN="yes"
11392
12436
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11393
12437
    break 2
11422
12466
fi
11423
12467
 
11424
12468
 
11425
 
ac_config_files="$ac_config_files Makefile opusfile.pc opusfile-uninstalled.pc doc/Doxyfile"
 
12469
ac_config_files="$ac_config_files Makefile opusfile.pc opusurl.pc opusfile-uninstalled.pc opusurl-uninstalled.pc doc/Doxyfile"
11426
12470
 
11427
12471
cat >confcache <<\_ACEOF
11428
12472
# This file is a shell script that caches the results of configure
11488
12532
     :end' >>confcache
11489
12533
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11490
12534
  if test -w "$cache_file"; then
11491
 
    test "x$cache_file" != "x/dev/null" &&
 
12535
    if test "x$cache_file" != "x/dev/null"; then
11492
12536
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11493
12537
$as_echo "$as_me: updating cache $cache_file" >&6;}
11494
 
    cat confcache >$cache_file
 
12538
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
12539
        cat confcache >"$cache_file"
 
12540
      else
 
12541
        case $cache_file in #(
 
12542
        */* | ?:*)
 
12543
          mv -f confcache "$cache_file"$$ &&
 
12544
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
12545
        *)
 
12546
          mv -f confcache "$cache_file" ;;
 
12547
        esac
 
12548
      fi
 
12549
    fi
11495
12550
  else
11496
12551
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11497
12552
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11578
12633
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
11579
12634
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11580
12635
fi
 
12636
if test -z "${OP_WIN32_TRUE}" && test -z "${OP_WIN32_FALSE}"; then
 
12637
  as_fn_error $? "conditional \"OP_WIN32\" was never defined.
 
12638
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
12639
fi
 
12640
if test -z "${OP_ENABLE_HTTP_TRUE}" && test -z "${OP_ENABLE_HTTP_FALSE}"; then
 
12641
  as_fn_error $? "conditional \"OP_ENABLE_HTTP\" was never defined.
 
12642
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
12643
fi
11581
12644
if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
11582
12645
  as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
11583
12646
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11584
12647
fi
11585
12648
 
11586
 
: ${CONFIG_STATUS=./config.status}
 
12649
: "${CONFIG_STATUS=./config.status}"
11587
12650
ac_write_fail=0
11588
12651
ac_clean_files_save=$ac_clean_files
11589
12652
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11684
12747
IFS=" ""        $as_nl"
11685
12748
 
11686
12749
# Find who we are.  Look in the path if we contain no directory separator.
 
12750
as_myself=
11687
12751
case $0 in #((
11688
12752
  *[\\/]* ) as_myself=$0 ;;
11689
12753
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11879
12943
    # ... but there are two gotchas:
11880
12944
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11881
12945
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11882
 
    # In both cases, we have to default to `cp -p'.
 
12946
    # In both cases, we have to default to `cp -pR'.
11883
12947
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11884
 
      as_ln_s='cp -p'
 
12948
      as_ln_s='cp -pR'
11885
12949
  elif ln conf$$.file conf$$ 2>/dev/null; then
11886
12950
    as_ln_s=ln
11887
12951
  else
11888
 
    as_ln_s='cp -p'
 
12952
    as_ln_s='cp -pR'
11889
12953
  fi
11890
12954
else
11891
 
  as_ln_s='cp -p'
 
12955
  as_ln_s='cp -pR'
11892
12956
fi
11893
12957
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11894
12958
rmdir conf$$.dir 2>/dev/null
11948
13012
  as_mkdir_p=false
11949
13013
fi
11950
13014
 
11951
 
if test -x / >/dev/null 2>&1; then
11952
 
  as_test_x='test -x'
11953
 
else
11954
 
  if ls -dL / >/dev/null 2>&1; then
11955
 
    as_ls_L_option=L
11956
 
  else
11957
 
    as_ls_L_option=
11958
 
  fi
11959
 
  as_test_x='
11960
 
    eval sh -c '\''
11961
 
      if test -d "$1"; then
11962
 
        test -d "$1/.";
11963
 
      else
11964
 
        case $1 in #(
11965
 
        -*)set "./$1";;
11966
 
        esac;
11967
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11968
 
        ???[sx]*):;;*)false;;esac;fi
11969
 
    '\'' sh
11970
 
  '
11971
 
fi
11972
 
as_executable_p=$as_test_x
 
13015
 
 
13016
# as_fn_executable_p FILE
 
13017
# -----------------------
 
13018
# Test if FILE is an executable regular file.
 
13019
as_fn_executable_p ()
 
13020
{
 
13021
  test -f "$1" && test -x "$1"
 
13022
} # as_fn_executable_p
 
13023
as_test_x='test -x'
 
13024
as_executable_p=as_fn_executable_p
11973
13025
 
11974
13026
# Sed expression to map a string onto a valid CPP name.
11975
13027
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11990
13042
# report actual input values of CONFIG_FILES etc. instead of their
11991
13043
# values after options handling.
11992
13044
ac_log="
11993
 
This file was extended by opusfile $as_me 0.2, which was
11994
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
13045
This file was extended by opusfile $as_me 0.2-57-g56be23f, which was
 
13046
generated by GNU Autoconf 2.69.  Invocation command line was
11995
13047
 
11996
13048
  CONFIG_FILES    = $CONFIG_FILES
11997
13049
  CONFIG_HEADERS  = $CONFIG_HEADERS
12041
13093
Configuration commands:
12042
13094
$config_commands
12043
13095
 
12044
 
Report bugs to the package provider."
 
13096
Report bugs to <opus@xiph.org>."
12045
13097
 
12046
13098
_ACEOF
12047
13099
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12048
13100
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12049
13101
ac_cs_version="\\
12050
 
opusfile config.status 0.2
12051
 
configured by $0, generated by GNU Autoconf 2.67,
 
13102
opusfile config.status 0.2-57-g56be23f
 
13103
configured by $0, generated by GNU Autoconf 2.69,
12052
13104
  with options \\"\$ac_cs_config\\"
12053
13105
 
12054
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
13106
Copyright (C) 2012 Free Software Foundation, Inc.
12055
13107
This config.status script is free software; the Free Software Foundation
12056
13108
gives unlimited permission to copy, distribute and modify it."
12057
13109
 
12131
13183
_ACEOF
12132
13184
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12133
13185
if \$ac_cs_recheck; then
12134
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
13186
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12135
13187
  shift
12136
13188
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12137
13189
  CONFIG_SHELL='$SHELL'
12165
13217
sed_quote_subst='$sed_quote_subst'
12166
13218
double_quote_subst='$double_quote_subst'
12167
13219
delay_variable_subst='$delay_variable_subst'
12168
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12169
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12170
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12171
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12172
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12173
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12174
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12175
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12176
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12177
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12178
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12179
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12180
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12181
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12182
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12183
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12184
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12185
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12186
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12187
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12188
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12189
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12190
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12191
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12192
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12193
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12194
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12195
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12196
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12197
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12198
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12199
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12200
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12201
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12202
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12203
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12204
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12205
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12206
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12207
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12208
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12209
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12210
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12211
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12212
 
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"`'
12213
 
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"`'
12214
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12215
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12216
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12217
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12218
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12219
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12220
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12221
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12222
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12223
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12224
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12225
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12226
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12227
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12228
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12229
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12230
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12231
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12232
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12233
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12234
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12235
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12236
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12237
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12238
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12239
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12240
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12241
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12242
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12243
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12244
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12245
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12246
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12247
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12248
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12249
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12250
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12251
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12252
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12253
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12254
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12255
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12256
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12257
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12258
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12259
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12260
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12261
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12262
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12263
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12264
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12265
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12266
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12267
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12268
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12269
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12270
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12271
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12272
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12273
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12274
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12275
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12276
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12277
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12278
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12279
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12280
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12281
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12282
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12283
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12284
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12285
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
13220
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
13221
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
13222
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
13223
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
13224
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
13225
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
13226
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
13227
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
13228
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
13229
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
13230
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
13231
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
13232
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
13233
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
13234
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
13235
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
13236
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
13237
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
13238
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
13239
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
13240
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
13241
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
13242
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
13243
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
13244
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
13245
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
13246
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
13247
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
13248
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
13249
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
13250
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
13251
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
13252
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
13253
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
13254
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
13255
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
13256
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
13257
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
13258
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
13259
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
13260
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
13261
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
13262
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
13263
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
13264
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
13265
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13266
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13267
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
13268
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
13269
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
13270
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
13271
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
13272
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
13273
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
13274
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
13275
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
13276
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"`'
 
13277
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
13278
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
13279
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
13280
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
13281
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
13282
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
13283
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
13284
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
13285
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
13286
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
13287
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
13288
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
13289
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
13290
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
13291
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
13292
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
13293
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
13294
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
13295
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
13296
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
13297
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
13298
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13299
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13300
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
13301
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
13302
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
13303
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
13304
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
13305
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
13306
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
13307
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
13308
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
13309
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
13310
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13311
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
13312
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
13313
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
13314
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
13315
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
13316
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
13317
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
13318
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
13319
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
13320
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
13321
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
13322
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
13323
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
13324
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
13325
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
13326
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
13327
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
13328
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
13329
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
13330
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
13331
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
13332
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
13333
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
13334
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
13335
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
13336
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
13337
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13338
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13339
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
13340
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
13341
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
13342
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
13343
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
13344
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
13345
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
13346
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
13347
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
13348
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
13349
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12286
13350
 
12287
13351
LTCC='$LTCC'
12288
13352
LTCFLAGS='$LTCFLAGS'
12289
13353
compiler='$compiler_DEFAULT'
12290
13354
 
 
13355
# A function that is used when there is no print builtin or printf.
 
13356
func_fallback_echo ()
 
13357
{
 
13358
  eval 'cat <<_LTECHO_EOF
 
13359
\$1
 
13360
_LTECHO_EOF'
 
13361
}
 
13362
 
12291
13363
# Quote evaled strings.
12292
 
for var in SED \
 
13364
for var in SHELL \
 
13365
ECHO \
 
13366
PATH_SEPARATOR \
 
13367
SED \
12293
13368
GREP \
12294
13369
EGREP \
12295
13370
FGREP \
12302
13377
OBJDUMP \
12303
13378
deplibs_check_method \
12304
13379
file_magic_cmd \
 
13380
file_magic_glob \
 
13381
want_nocaseglob \
 
13382
DLLTOOL \
 
13383
sharedlib_from_linklib_cmd \
12305
13384
AR \
12306
13385
AR_FLAGS \
 
13386
archiver_list_spec \
12307
13387
STRIP \
12308
13388
RANLIB \
12309
13389
CC \
12313
13393
lt_cv_sys_global_symbol_to_cdecl \
12314
13394
lt_cv_sys_global_symbol_to_c_name_address \
12315
13395
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12316
 
SHELL \
12317
 
ECHO \
 
13396
nm_file_list_spec \
12318
13397
lt_prog_compiler_no_builtin_flag \
 
13398
lt_prog_compiler_pic \
12319
13399
lt_prog_compiler_wl \
12320
 
lt_prog_compiler_pic \
12321
13400
lt_prog_compiler_static \
12322
13401
lt_cv_prog_compiler_c_o \
12323
13402
need_locks \
 
13403
MANIFEST_TOOL \
12324
13404
DSYMUTIL \
12325
13405
NMEDIT \
12326
13406
LIPO \
12334
13414
allow_undefined_flag \
12335
13415
no_undefined_flag \
12336
13416
hardcode_libdir_flag_spec \
12337
 
hardcode_libdir_flag_spec_ld \
12338
13417
hardcode_libdir_separator \
12339
 
fix_srcfile_path \
12340
13418
exclude_expsyms \
12341
13419
include_expsyms \
12342
13420
file_list_spec \
12344
13422
libname_spec \
12345
13423
library_names_spec \
12346
13424
soname_spec \
 
13425
install_override_mode \
12347
13426
finish_eval \
12348
13427
old_striplib \
12349
13428
striplib; do
12350
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13429
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12351
13430
    *[\\\\\\\`\\"\\\$]*)
12352
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
13431
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12353
13432
      ;;
12354
13433
    *)
12355
13434
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12371
13450
module_expsym_cmds \
12372
13451
export_symbols_cmds \
12373
13452
prelink_cmds \
 
13453
postlink_cmds \
12374
13454
postinstall_cmds \
12375
13455
postuninstall_cmds \
12376
13456
finish_cmds \
12377
13457
sys_lib_search_path_spec \
12378
13458
sys_lib_dlsearch_path_spec; do
12379
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13459
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12380
13460
    *[\\\\\\\`\\"\\\$]*)
12381
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
13461
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12382
13462
      ;;
12383
13463
    *)
12384
13464
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12386
13466
    esac
12387
13467
done
12388
13468
 
12389
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
12390
 
case \$lt_ECHO in
12391
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12392
 
  ;;
12393
 
esac
12394
 
 
12395
13469
ac_aux_dir='$ac_aux_dir'
12396
13470
xsi_shell='$xsi_shell'
12397
13471
lt_shell_append='$lt_shell_append'
12424
13498
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12425
13499
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12426
13500
    "opusfile.pc") CONFIG_FILES="$CONFIG_FILES opusfile.pc" ;;
 
13501
    "opusurl.pc") CONFIG_FILES="$CONFIG_FILES opusurl.pc" ;;
12427
13502
    "opusfile-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES opusfile-uninstalled.pc" ;;
 
13503
    "opusurl-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES opusurl-uninstalled.pc" ;;
12428
13504
    "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
12429
13505
 
12430
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
13506
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12431
13507
  esac
12432
13508
done
12433
13509
 
12449
13525
# after its creation but before its name has been assigned to `$tmp'.
12450
13526
$debug ||
12451
13527
{
12452
 
  tmp=
 
13528
  tmp= ac_tmp=
12453
13529
  trap 'exit_status=$?
12454
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
13530
  : "${ac_tmp:=$tmp}"
 
13531
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12455
13532
' 0
12456
13533
  trap 'as_fn_exit 1' 1 2 13 15
12457
13534
}
12459
13536
 
12460
13537
{
12461
13538
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12462
 
  test -n "$tmp" && test -d "$tmp"
 
13539
  test -d "$tmp"
12463
13540
}  ||
12464
13541
{
12465
13542
  tmp=./conf$$-$RANDOM
12466
13543
  (umask 077 && mkdir "$tmp")
12467
13544
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
13545
ac_tmp=$tmp
12468
13546
 
12469
13547
# Set up the scripts for CONFIG_FILES section.
12470
13548
# No need to generate them if there are no CONFIG_FILES.
12486
13564
  ac_cs_awk_cr=$ac_cr
12487
13565
fi
12488
13566
 
12489
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
13567
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12490
13568
_ACEOF
12491
13569
 
12492
13570
 
12514
13592
rm -f conf$$subs.sh
12515
13593
 
12516
13594
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12517
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
13595
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12518
13596
_ACEOF
12519
13597
sed -n '
12520
13598
h
12562
13640
rm -f conf$$subs.awk
12563
13641
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12564
13642
_ACAWK
12565
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
13643
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12566
13644
  for (key in S) S_is_set[key] = 1
12567
13645
  FS = ""
12568
13646
 
12594
13672
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12595
13673
else
12596
13674
  cat
12597
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
13675
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12598
13676
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12599
13677
_ACEOF
12600
13678
 
12634
13712
  esac
12635
13713
  case $ac_mode$ac_tag in
12636
13714
  :[FHL]*:*);;
12637
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
13715
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12638
13716
  :[FH]-) ac_tag=-:-;;
12639
13717
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12640
13718
  esac
12653
13731
    for ac_f
12654
13732
    do
12655
13733
      case $ac_f in
12656
 
      -) ac_f="$tmp/stdin";;
 
13734
      -) ac_f="$ac_tmp/stdin";;
12657
13735
      *) # Look for the file first in the build tree, then in the source tree
12658
13736
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
12659
13737
         # because $ac_f cannot contain `:'.
12662
13740
           [\\/$]*) false;;
12663
13741
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12664
13742
           esac ||
12665
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
13743
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12666
13744
      esac
12667
13745
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12668
13746
      as_fn_append ac_file_inputs " '$ac_f'"
12688
13766
    esac
12689
13767
 
12690
13768
    case $ac_tag in
12691
 
    *:-:* | *:-) cat >"$tmp/stdin" \
12692
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
13769
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
13770
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12693
13771
    esac
12694
13772
    ;;
12695
13773
  esac
12825
13903
s&@MKDIR_P@&$ac_MKDIR_P&;t t
12826
13904
$ac_datarootdir_hack
12827
13905
"
12828
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12829
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
13906
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
13907
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12830
13908
 
12831
13909
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12832
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12833
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
13910
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
13911
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
13912
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
12834
13913
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12835
13914
which seems to be undefined.  Please make sure it is defined" >&5
12836
13915
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12837
13916
which seems to be undefined.  Please make sure it is defined" >&2;}
12838
13917
 
12839
 
  rm -f "$tmp/stdin"
 
13918
  rm -f "$ac_tmp/stdin"
12840
13919
  case $ac_file in
12841
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
12842
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
13920
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
13921
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12843
13922
  esac \
12844
13923
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12845
13924
 ;;
12968
14047
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12969
14048
#
12970
14049
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12971
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
14050
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
14051
#                 Foundation, Inc.
12972
14052
#   Written by Gordon Matzigkeit, 1996
12973
14053
#
12974
14054
#   This file is part of GNU Libtool.
13016
14096
# Whether or not to optimize for fast installation.
13017
14097
fast_install=$enable_fast_install
13018
14098
 
 
14099
# Shell to use when invoking shell scripts.
 
14100
SHELL=$lt_SHELL
 
14101
 
 
14102
# An echo program that protects backslashes.
 
14103
ECHO=$lt_ECHO
 
14104
 
 
14105
# The PATH separator for the build system.
 
14106
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
14107
 
13019
14108
# The host system.
13020
14109
host_alias=$host_alias
13021
14110
host=$host
13065
14154
# turn newlines into spaces.
13066
14155
NL2SP=$lt_lt_NL2SP
13067
14156
 
13068
 
# How to create reloadable object files.
13069
 
reload_flag=$lt_reload_flag
13070
 
reload_cmds=$lt_reload_cmds
 
14157
# convert \$build file names to \$host format.
 
14158
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
14159
 
 
14160
# convert \$build files to toolchain format.
 
14161
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13071
14162
 
13072
14163
# An object symbol dumper.
13073
14164
OBJDUMP=$lt_OBJDUMP
13075
14166
# Method to check whether dependent libraries are shared objects.
13076
14167
deplibs_check_method=$lt_deplibs_check_method
13077
14168
 
13078
 
# Command to use when deplibs_check_method == "file_magic".
 
14169
# Command to use when deplibs_check_method = "file_magic".
13079
14170
file_magic_cmd=$lt_file_magic_cmd
13080
14171
 
 
14172
# How to find potential files when deplibs_check_method = "file_magic".
 
14173
file_magic_glob=$lt_file_magic_glob
 
14174
 
 
14175
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
14176
want_nocaseglob=$lt_want_nocaseglob
 
14177
 
 
14178
# DLL creation program.
 
14179
DLLTOOL=$lt_DLLTOOL
 
14180
 
 
14181
# Command to associate shared and link libraries.
 
14182
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
14183
 
13081
14184
# The archiver.
13082
14185
AR=$lt_AR
 
14186
 
 
14187
# Flags to create an archive.
13083
14188
AR_FLAGS=$lt_AR_FLAGS
13084
14189
 
 
14190
# How to feed a file listing to the archiver.
 
14191
archiver_list_spec=$lt_archiver_list_spec
 
14192
 
13085
14193
# A symbol stripping program.
13086
14194
STRIP=$lt_STRIP
13087
14195
 
13090
14198
old_postinstall_cmds=$lt_old_postinstall_cmds
13091
14199
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13092
14200
 
 
14201
# Whether to use a lock for old archive extraction.
 
14202
lock_old_archive_extraction=$lock_old_archive_extraction
 
14203
 
13093
14204
# A C compiler.
13094
14205
LTCC=$lt_CC
13095
14206
 
13108
14219
# Transform the output of nm in a C name address pair when lib prefix is needed.
13109
14220
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13110
14221
 
 
14222
# Specify filename containing input files for \$NM.
 
14223
nm_file_list_spec=$lt_nm_file_list_spec
 
14224
 
 
14225
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
14226
lt_sysroot=$lt_sysroot
 
14227
 
13111
14228
# The name of the directory that contains temporary libtool files.
13112
14229
objdir=$objdir
13113
14230
 
13114
 
# Shell to use when invoking shell scripts.
13115
 
SHELL=$lt_SHELL
13116
 
 
13117
 
# An echo program that does not interpret backslashes.
13118
 
ECHO=$lt_ECHO
13119
 
 
13120
14231
# Used to examine libraries when file_magic_cmd begins with "file".
13121
14232
MAGIC_CMD=$MAGIC_CMD
13122
14233
 
13123
14234
# Must we lock files when doing compilation?
13124
14235
need_locks=$lt_need_locks
13125
14236
 
 
14237
# Manifest tool.
 
14238
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
14239
 
13126
14240
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13127
14241
DSYMUTIL=$lt_DSYMUTIL
13128
14242
 
13179
14293
# The coded name of the library, if different from the real name.
13180
14294
soname_spec=$lt_soname_spec
13181
14295
 
 
14296
# Permission mode override for installation of shared libraries.
 
14297
install_override_mode=$lt_install_override_mode
 
14298
 
13182
14299
# Command to use after installation of a shared archive.
13183
14300
postinstall_cmds=$lt_postinstall_cmds
13184
14301
 
13218
14335
# The linker used to build libraries.
13219
14336
LD=$lt_LD
13220
14337
 
 
14338
# How to create reloadable object files.
 
14339
reload_flag=$lt_reload_flag
 
14340
reload_cmds=$lt_reload_cmds
 
14341
 
13221
14342
# Commands used to build an old-style archive.
13222
14343
old_archive_cmds=$lt_old_archive_cmds
13223
14344
 
13230
14351
# Compiler flag to turn off builtin functions.
13231
14352
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13232
14353
 
 
14354
# Additional compiler flags for building library objects.
 
14355
pic_flag=$lt_lt_prog_compiler_pic
 
14356
 
13233
14357
# How to pass a linker flag through the compiler.
13234
14358
wl=$lt_lt_prog_compiler_wl
13235
14359
 
13236
 
# Additional compiler flags for building library objects.
13237
 
pic_flag=$lt_lt_prog_compiler_pic
13238
 
 
13239
14360
# Compiler flag to prevent dynamic linking.
13240
14361
link_static_flag=$lt_lt_prog_compiler_static
13241
14362
 
13285
14406
# This must work even if \$libdir does not exist
13286
14407
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13287
14408
 
13288
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
13289
 
# during linking.  This must work even if \$libdir does not exist.
13290
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13291
 
 
13292
14409
# Whether we need a single "-rpath" flag with a separated argument.
13293
14410
hardcode_libdir_separator=$lt_hardcode_libdir_separator
13294
14411
 
13322
14439
# Whether libtool must link a program against all its dependency libraries.
13323
14440
link_all_deplibs=$link_all_deplibs
13324
14441
 
13325
 
# Fix the shell variable \$srcfile for the compiler.
13326
 
fix_srcfile_path=$lt_fix_srcfile_path
13327
 
 
13328
14442
# Set to "yes" if exported symbols are required.
13329
14443
always_export_symbols=$always_export_symbols
13330
14444
 
13340
14454
# Commands necessary for linking programs (against libraries) with templates.
13341
14455
prelink_cmds=$lt_prelink_cmds
13342
14456
 
 
14457
# Commands necessary for finishing linking programs.
 
14458
postlink_cmds=$lt_postlink_cmds
 
14459
 
13343
14460
# Specify filename containing input files.
13344
14461
file_list_spec=$lt_file_list_spec
13345
14462
 
13372
14489
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
13373
14490
  # text mode, it properly converts lines to CR/LF.  This bash problem
13374
14491
  # is reportedly fixed, but why not run on old versions too?
13375
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13376
 
    || (rm -f "$cfgfile"; exit 1)
13377
 
 
13378
 
  case $xsi_shell in
13379
 
  yes)
13380
 
    cat << \_LT_EOF >> "$cfgfile"
13381
 
 
13382
 
# func_dirname file append nondir_replacement
13383
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13384
 
# otherwise set result to NONDIR_REPLACEMENT.
13385
 
func_dirname ()
13386
 
{
13387
 
  case ${1} in
13388
 
    */*) func_dirname_result="${1%/*}${2}" ;;
13389
 
    *  ) func_dirname_result="${3}" ;;
13390
 
  esac
13391
 
}
13392
 
 
13393
 
# func_basename file
13394
 
func_basename ()
13395
 
{
13396
 
  func_basename_result="${1##*/}"
13397
 
}
13398
 
 
13399
 
# func_dirname_and_basename file append nondir_replacement
13400
 
# perform func_basename and func_dirname in a single function
13401
 
# call:
13402
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
13403
 
#             add APPEND to the result, otherwise set result
13404
 
#             to NONDIR_REPLACEMENT.
13405
 
#             value returned in "$func_dirname_result"
13406
 
#   basename: Compute filename of FILE.
13407
 
#             value retuned in "$func_basename_result"
13408
 
# Implementation must be kept synchronized with func_dirname
13409
 
# and func_basename. For efficiency, we do not delegate to
13410
 
# those functions but instead duplicate the functionality here.
13411
 
func_dirname_and_basename ()
13412
 
{
13413
 
  case ${1} in
13414
 
    */*) func_dirname_result="${1%/*}${2}" ;;
13415
 
    *  ) func_dirname_result="${3}" ;;
13416
 
  esac
13417
 
  func_basename_result="${1##*/}"
13418
 
}
13419
 
 
13420
 
# func_stripname prefix suffix name
13421
 
# strip PREFIX and SUFFIX off of NAME.
13422
 
# PREFIX and SUFFIX must not contain globbing or regex special
13423
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
13424
 
# dot (in which case that matches only a dot).
13425
 
func_stripname ()
13426
 
{
13427
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13428
 
  # positional parameters, so assign one to ordinary parameter first.
13429
 
  func_stripname_result=${3}
13430
 
  func_stripname_result=${func_stripname_result#"${1}"}
13431
 
  func_stripname_result=${func_stripname_result%"${2}"}
13432
 
}
13433
 
 
13434
 
# func_opt_split
13435
 
func_opt_split ()
13436
 
{
13437
 
  func_opt_split_opt=${1%%=*}
13438
 
  func_opt_split_arg=${1#*=}
13439
 
}
13440
 
 
13441
 
# func_lo2o object
13442
 
func_lo2o ()
13443
 
{
13444
 
  case ${1} in
13445
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13446
 
    *)    func_lo2o_result=${1} ;;
13447
 
  esac
13448
 
}
13449
 
 
13450
 
# func_xform libobj-or-source
13451
 
func_xform ()
13452
 
{
13453
 
  func_xform_result=${1%.*}.lo
13454
 
}
13455
 
 
13456
 
# func_arith arithmetic-term...
13457
 
func_arith ()
13458
 
{
13459
 
  func_arith_result=$(( $* ))
13460
 
}
13461
 
 
13462
 
# func_len string
13463
 
# STRING may not start with a hyphen.
13464
 
func_len ()
13465
 
{
13466
 
  func_len_result=${#1}
13467
 
}
13468
 
 
13469
 
_LT_EOF
13470
 
    ;;
13471
 
  *) # Bourne compatible functions.
13472
 
    cat << \_LT_EOF >> "$cfgfile"
13473
 
 
13474
 
# func_dirname file append nondir_replacement
13475
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
13476
 
# otherwise set result to NONDIR_REPLACEMENT.
13477
 
func_dirname ()
13478
 
{
13479
 
  # Extract subdirectory from the argument.
13480
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13481
 
  if test "X$func_dirname_result" = "X${1}"; then
13482
 
    func_dirname_result="${3}"
13483
 
  else
13484
 
    func_dirname_result="$func_dirname_result${2}"
13485
 
  fi
13486
 
}
13487
 
 
13488
 
# func_basename file
13489
 
func_basename ()
13490
 
{
13491
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13492
 
}
13493
 
 
13494
 
 
13495
 
# func_stripname prefix suffix name
13496
 
# strip PREFIX and SUFFIX off of NAME.
13497
 
# PREFIX and SUFFIX must not contain globbing or regex special
13498
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
13499
 
# dot (in which case that matches only a dot).
13500
 
# func_strip_suffix prefix name
13501
 
func_stripname ()
13502
 
{
13503
 
  case ${2} in
13504
 
    .*) func_stripname_result=`$ECHO "X${3}" \
13505
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13506
 
    *)  func_stripname_result=`$ECHO "X${3}" \
13507
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13508
 
  esac
13509
 
}
13510
 
 
13511
 
# sed scripts:
13512
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13513
 
my_sed_long_arg='1s/^-[^=]*=//'
13514
 
 
13515
 
# func_opt_split
13516
 
func_opt_split ()
13517
 
{
13518
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13519
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13520
 
}
13521
 
 
13522
 
# func_lo2o object
13523
 
func_lo2o ()
13524
 
{
13525
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13526
 
}
13527
 
 
13528
 
# func_xform libobj-or-source
13529
 
func_xform ()
13530
 
{
13531
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13532
 
}
13533
 
 
13534
 
# func_arith arithmetic-term...
13535
 
func_arith ()
13536
 
{
13537
 
  func_arith_result=`expr "$@"`
13538
 
}
13539
 
 
13540
 
# func_len string
13541
 
# STRING may not start with a hyphen.
13542
 
func_len ()
13543
 
{
13544
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13545
 
}
13546
 
 
13547
 
_LT_EOF
13548
 
esac
13549
 
 
13550
 
case $lt_shell_append in
13551
 
  yes)
13552
 
    cat << \_LT_EOF >> "$cfgfile"
13553
 
 
13554
 
# func_append var value
13555
 
# Append VALUE to the end of shell variable VAR.
13556
 
func_append ()
13557
 
{
13558
 
  eval "$1+=\$2"
13559
 
}
13560
 
_LT_EOF
13561
 
    ;;
13562
 
  *)
13563
 
    cat << \_LT_EOF >> "$cfgfile"
13564
 
 
13565
 
# func_append var value
13566
 
# Append VALUE to the end of shell variable VAR.
13567
 
func_append ()
13568
 
{
13569
 
  eval "$1=\$$1\$2"
13570
 
}
13571
 
 
13572
 
_LT_EOF
13573
 
    ;;
13574
 
  esac
13575
 
 
13576
 
 
13577
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13578
 
    || (rm -f "$cfgfile"; exit 1)
13579
 
 
13580
 
  mv -f "$cfgfile" "$ofile" ||
 
14492
  sed '$q' "$ltmain" >> "$cfgfile" \
 
14493
     || (rm -f "$cfgfile"; exit 1)
 
14494
 
 
14495
  if test x"$xsi_shell" = xyes; then
 
14496
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
14497
func_dirname ()\
 
14498
{\
 
14499
\    case ${1} in\
 
14500
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
14501
\      *  ) func_dirname_result="${3}" ;;\
 
14502
\    esac\
 
14503
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
14504
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14505
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14506
test 0 -eq $? || _lt_function_replace_fail=:
 
14507
 
 
14508
 
 
14509
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
14510
func_basename ()\
 
14511
{\
 
14512
\    func_basename_result="${1##*/}"\
 
14513
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
14514
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14515
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14516
test 0 -eq $? || _lt_function_replace_fail=:
 
14517
 
 
14518
 
 
14519
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
14520
func_dirname_and_basename ()\
 
14521
{\
 
14522
\    case ${1} in\
 
14523
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
14524
\      *  ) func_dirname_result="${3}" ;;\
 
14525
\    esac\
 
14526
\    func_basename_result="${1##*/}"\
 
14527
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
14528
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14529
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14530
test 0 -eq $? || _lt_function_replace_fail=:
 
14531
 
 
14532
 
 
14533
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
14534
func_stripname ()\
 
14535
{\
 
14536
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
14537
\    # positional parameters, so assign one to ordinary parameter first.\
 
14538
\    func_stripname_result=${3}\
 
14539
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
14540
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
14541
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
14542
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14543
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14544
test 0 -eq $? || _lt_function_replace_fail=:
 
14545
 
 
14546
 
 
14547
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
14548
func_split_long_opt ()\
 
14549
{\
 
14550
\    func_split_long_opt_name=${1%%=*}\
 
14551
\    func_split_long_opt_arg=${1#*=}\
 
14552
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
14553
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14554
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14555
test 0 -eq $? || _lt_function_replace_fail=:
 
14556
 
 
14557
 
 
14558
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
14559
func_split_short_opt ()\
 
14560
{\
 
14561
\    func_split_short_opt_arg=${1#??}\
 
14562
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
14563
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
14564
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14565
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14566
test 0 -eq $? || _lt_function_replace_fail=:
 
14567
 
 
14568
 
 
14569
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
14570
func_lo2o ()\
 
14571
{\
 
14572
\    case ${1} in\
 
14573
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
14574
\      *)    func_lo2o_result=${1} ;;\
 
14575
\    esac\
 
14576
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
14577
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14578
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14579
test 0 -eq $? || _lt_function_replace_fail=:
 
14580
 
 
14581
 
 
14582
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
14583
func_xform ()\
 
14584
{\
 
14585
    func_xform_result=${1%.*}.lo\
 
14586
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
14587
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14588
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14589
test 0 -eq $? || _lt_function_replace_fail=:
 
14590
 
 
14591
 
 
14592
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
14593
func_arith ()\
 
14594
{\
 
14595
    func_arith_result=$(( $* ))\
 
14596
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
14597
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14598
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14599
test 0 -eq $? || _lt_function_replace_fail=:
 
14600
 
 
14601
 
 
14602
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
14603
func_len ()\
 
14604
{\
 
14605
    func_len_result=${#1}\
 
14606
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
14607
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14608
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14609
test 0 -eq $? || _lt_function_replace_fail=:
 
14610
 
 
14611
fi
 
14612
 
 
14613
if test x"$lt_shell_append" = xyes; then
 
14614
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
14615
func_append ()\
 
14616
{\
 
14617
    eval "${1}+=\\${2}"\
 
14618
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
14619
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14620
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14621
test 0 -eq $? || _lt_function_replace_fail=:
 
14622
 
 
14623
 
 
14624
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
14625
func_append_quoted ()\
 
14626
{\
 
14627
\    func_quote_for_eval "${2}"\
 
14628
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
14629
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
14630
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14631
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14632
test 0 -eq $? || _lt_function_replace_fail=:
 
14633
 
 
14634
 
 
14635
  # Save a `func_append' function call where possible by direct use of '+='
 
14636
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
14637
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14638
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14639
  test 0 -eq $? || _lt_function_replace_fail=:
 
14640
else
 
14641
  # Save a `func_append' function call even when '+=' is not available
 
14642
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
14643
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14644
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14645
  test 0 -eq $? || _lt_function_replace_fail=:
 
14646
fi
 
14647
 
 
14648
if test x"$_lt_function_replace_fail" = x":"; then
 
14649
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
14650
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
14651
fi
 
14652
 
 
14653
 
 
14654
   mv -f "$cfgfile" "$ofile" ||
13581
14655
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13582
14656
  chmod +x "$ofile"
13583
14657
 
13623
14697
 
13624
14698
{ $as_echo "$as_me:${as_lineno-$LINENO}:
13625
14699
------------------------------------------------------------------------
13626
 
  $PACKAGE $VERSION: Automatic configuration OK.
 
14700
  $PACKAGE_NAME $PACKAGE_VERSION: Automatic configuration OK.
13627
14701
 
13628
14702
    Assertions ................... ${enable_assertions}
13629
14703
 
13638
14712
" >&5
13639
14713
$as_echo "$as_me:
13640
14714
------------------------------------------------------------------------
13641
 
  $PACKAGE $VERSION: Automatic configuration OK.
 
14715
  $PACKAGE_NAME $PACKAGE_VERSION: Automatic configuration OK.
13642
14716
 
13643
14717
    Assertions ................... ${enable_assertions}
13644
14718