~ubuntu-branches/ubuntu/trusty/cloog/trusty

« back to all changes in this revision

Viewing changes to isl/configure

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-01-13 04:29:53 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20130113042953-yffow2nvsub33dcd
New upstream version.

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 isl 0.08.
 
3
# Generated by GNU Autoconf 2.69 for isl 0.11.1.
4
4
#
5
5
# Report bugs to <isl-development@googlegroups.com>.
6
6
#
7
7
#
8
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
 
# Foundation, Inc.
 
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
9
#
12
10
#
13
11
# This configure script is free software; the Free Software Foundation
91
89
IFS=" ""        $as_nl"
92
90
 
93
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
94
93
case $0 in #((
95
94
  *[\\/]* ) as_myself=$0 ;;
96
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
135
134
# CDPATH.
136
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
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;}
138
162
if test "x$CONFIG_SHELL" = x; then
139
163
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
164
  emulate sh
168
192
else
169
193
  exitcode=1; echo positional parameters were not saved.
170
194
fi
171
 
test x\$exitcode = x0 || exit 1"
 
195
test x\$exitcode = x0 || exit 1
 
196
test -x / || exit 1"
172
197
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
198
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
199
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
200
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
201
 
 
202
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
203
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
204
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
205
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
206
    PATH=/empty FPATH=/empty; export PATH FPATH
 
207
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
208
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
176
209
test \$(( 1 + 1 )) = 2 || exit 1"
177
210
  if (eval "$as_required") 2>/dev/null; then :
178
211
  as_have_required=yes
213
246
 
214
247
 
215
248
      if test "x$CONFIG_SHELL" != x; then :
216
 
  # We cannot yet assume a decent shell, so we have to provide a
217
 
        # neutralization value for shells without unset; and this also
218
 
        # works around shells that cannot unset nonexistent variables.
219
 
        BASH_ENV=/dev/null
220
 
        ENV=/dev/null
221
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
 
        export CONFIG_SHELL
223
 
        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
224
268
fi
225
269
 
226
270
    if test x$as_have_required = xno; then :
323
367
 
324
368
 
325
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
326
378
# as_fn_append VAR VALUE
327
379
# ----------------------
328
380
# Append the text in VALUE to the end of the definition contained in VAR. Take
444
496
  chmod +x "$as_me.lineno" ||
445
497
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
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
447
503
  # Don't try to exec as it changes $[0], causing all sort of problems
448
504
  # (the dirname of $[0] is not the place where we might find the
449
505
  # original and so on.  Autoconf is especially sensitive to this).
478
534
    # ... but there are two gotchas:
479
535
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480
536
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481
 
    # In both cases, we have to default to `cp -p'.
 
537
    # In both cases, we have to default to `cp -pR'.
482
538
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483
 
      as_ln_s='cp -p'
 
539
      as_ln_s='cp -pR'
484
540
  elif ln conf$$.file conf$$ 2>/dev/null; then
485
541
    as_ln_s=ln
486
542
  else
487
 
    as_ln_s='cp -p'
 
543
    as_ln_s='cp -pR'
488
544
  fi
489
545
else
490
 
  as_ln_s='cp -p'
 
546
  as_ln_s='cp -pR'
491
547
fi
492
548
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493
549
rmdir conf$$.dir 2>/dev/null
499
555
  as_mkdir_p=false
500
556
fi
501
557
 
502
 
if test -x / >/dev/null 2>&1; then
503
 
  as_test_x='test -x'
504
 
else
505
 
  if ls -dL / >/dev/null 2>&1; then
506
 
    as_ls_L_option=L
507
 
  else
508
 
    as_ls_L_option=
509
 
  fi
510
 
  as_test_x='
511
 
    eval sh -c '\''
512
 
      if test -d "$1"; then
513
 
        test -d "$1/.";
514
 
      else
515
 
        case $1 in #(
516
 
        -*)set "./$1";;
517
 
        esac;
518
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519
 
        ???[sx]*):;;*)false;;esac;fi
520
 
    '\'' sh
521
 
  '
522
 
fi
523
 
as_executable_p=$as_test_x
 
558
as_test_x='test -x'
 
559
as_executable_p=as_fn_executable_p
524
560
 
525
561
# Sed expression to map a string onto a valid CPP name.
526
562
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
564
# Sed expression to map a string onto a valid variable name.
529
565
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
566
 
531
 
 
532
 
 
533
 
# Check that we are running under the correct shell.
534
567
SHELL=${CONFIG_SHELL-/bin/sh}
535
568
 
536
 
case X$lt_ECHO in
537
 
X*--fallback-echo)
538
 
  # Remove one level of quotation (which was required for Make).
539
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540
 
  ;;
541
 
esac
542
 
 
543
 
ECHO=${lt_ECHO-echo}
544
 
if test "X$1" = X--no-reexec; then
545
 
  # Discard the --no-reexec flag, and continue.
546
 
  shift
547
 
elif test "X$1" = X--fallback-echo; then
548
 
  # Avoid inline document here, it may be left over
549
 
  :
550
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
 
  # Yippee, $ECHO works!
552
 
  :
553
 
else
554
 
  # Restart under the correct shell.
555
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
556
 
fi
557
 
 
558
 
if test "X$1" = X--fallback-echo; then
559
 
  # used as fallback echo
560
 
  shift
561
 
  cat <<_LT_EOF
562
 
$*
563
 
_LT_EOF
564
 
  exit 0
565
 
fi
566
 
 
567
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
568
 
# if CDPATH is set.
569
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
 
 
571
 
if test -z "$lt_ECHO"; then
572
 
  if test "X${echo_test_string+set}" != Xset; then
573
 
    # find a string as large as possible, as long as the shell can cope with it
574
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578
 
      then
579
 
        break
580
 
      fi
581
 
    done
582
 
  fi
583
 
 
584
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
587
 
    :
588
 
  else
589
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
590
 
    # backslashes.  This makes it impossible to quote backslashes using
591
 
    #   echo "$something" | sed 's/\\/\\\\/g'
592
 
    #
593
 
    # So, first we look for a working echo in the user's PATH.
594
 
 
595
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
 
    for dir in $PATH /usr/ucb; do
597
 
      IFS="$lt_save_ifs"
598
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
602
 
        ECHO="$dir/echo"
603
 
        break
604
 
      fi
605
 
    done
606
 
    IFS="$lt_save_ifs"
607
 
 
608
 
    if test "X$ECHO" = Xecho; then
609
 
      # We didn't find a better echo, so look for alternatives.
610
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
613
 
        # This shell has a builtin print -r that does the trick.
614
 
        ECHO='print -r'
615
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
617
 
        # If we have ksh, try running configure again with it.
618
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
 
        export ORIGINAL_CONFIG_SHELL
620
 
        CONFIG_SHELL=/bin/ksh
621
 
        export CONFIG_SHELL
622
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623
 
      else
624
 
        # Try using printf.
625
 
        ECHO='printf %s\n'
626
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
629
 
          # Cool, printf works
630
 
          :
631
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
 
             test "X$echo_testing_string" = 'X\t' &&
633
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
635
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636
 
          export CONFIG_SHELL
637
 
          SHELL="$CONFIG_SHELL"
638
 
          export SHELL
639
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
 
             test "X$echo_testing_string" = 'X\t' &&
642
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
644
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
645
 
        else
646
 
          # maybe with a smaller string...
647
 
          prev=:
648
 
 
649
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651
 
            then
652
 
              break
653
 
            fi
654
 
            prev="$cmd"
655
 
          done
656
 
 
657
 
          if test "$prev" != 'sed 50q "$0"'; then
658
 
            echo_test_string=`eval $prev`
659
 
            export echo_test_string
660
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661
 
          else
662
 
            # Oops.  We lost completely, so just stick with echo.
663
 
            ECHO=echo
664
 
          fi
665
 
        fi
666
 
      fi
667
 
    fi
668
 
  fi
669
 
fi
670
 
 
671
 
# Copy echo and quote the copy suitably for passing to libtool from
672
 
# the Makefile, instead of quoting the original, which is used later.
673
 
lt_ECHO=$ECHO
674
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676
 
fi
677
 
 
678
 
 
679
 
 
680
569
 
681
570
test -n "$DJDIR" || exec 7<&0 </dev/null
682
571
exec 6>&1
701
590
# Identity of this package.
702
591
PACKAGE_NAME='isl'
703
592
PACKAGE_TARNAME='isl'
704
 
PACKAGE_VERSION='0.08'
705
 
PACKAGE_STRING='isl 0.08'
 
593
PACKAGE_VERSION='0.11.1'
 
594
PACKAGE_STRING='isl 0.11.1'
706
595
PACKAGE_BUGREPORT='isl-development@googlegroups.com'
707
596
PACKAGE_URL=''
708
597
 
754
643
WARNING_FLAGS
755
644
HAVE_CLANG_FALSE
756
645
HAVE_CLANG_TRUE
 
646
LIB_CLANG_EDIT
757
647
llvm_config_found
758
648
CLANG_LIBS
759
649
CLANG_LDFLAGS
780
670
LIPO
781
671
NMEDIT
782
672
DSYMUTIL
783
 
lt_ECHO
 
673
MANIFEST_TOOL
784
674
RANLIB
 
675
ac_ct_AR
785
676
AR
 
677
DLLTOOL
786
678
OBJDUMP
787
679
LN_S
788
680
NM
812
704
am__fastdepCC_FALSE
813
705
am__fastdepCC_TRUE
814
706
CCDEPMODE
 
707
am__nodep
815
708
AMDEPBACKSLASH
816
709
AMDEP_FALSE
817
710
AMDEP_TRUE
828
721
versioninfo
829
722
AM_BACKSLASH
830
723
AM_DEFAULT_VERBOSITY
 
724
AM_DEFAULT_V
 
725
AM_V
831
726
am__untar
832
727
am__tar
833
728
AMTAR
901
796
with_pic
902
797
enable_fast_install
903
798
with_gnu_ld
 
799
with_sysroot
904
800
enable_libtool_lock
905
801
with_gmp
906
802
with_gmp_prefix
1331
1227
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1332
1228
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1333
1229
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1334
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1230
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1335
1231
    ;;
1336
1232
 
1337
1233
  esac
1382
1278
if test "x$host_alias" != x; then
1383
1279
  if test "x$build_alias" = x; then
1384
1280
    cross_compiling=maybe
1385
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1386
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1387
1281
  elif test "x$build_alias" != "x$host_alias"; then
1388
1282
    cross_compiling=yes
1389
1283
  fi
1469
1363
  # Omit some internal or obsolete options to make the list less imposing.
1470
1364
  # This message is too long to be a string in the A/UX 3.1 sh.
1471
1365
  cat <<_ACEOF
1472
 
\`configure' configures isl 0.08 to adapt to many kinds of systems.
 
1366
\`configure' configures isl 0.11.1 to adapt to many kinds of systems.
1473
1367
 
1474
1368
Usage: $0 [OPTION]... [VAR=VALUE]...
1475
1369
 
1539
1433
 
1540
1434
if test -n "$ac_init_help"; then
1541
1435
  case $ac_init_help in
1542
 
     short | recursive ) echo "Configuration of isl 0.08:";;
 
1436
     short | recursive ) echo "Configuration of isl 0.11.1:";;
1543
1437
   esac
1544
1438
  cat <<\_ACEOF
1545
1439
 
1565
1459
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1566
1460
  --with-gcc-arch=<arch>  use architecture <arch> for gcc -march/-mtune,
1567
1461
                          instead of guessing
1568
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1462
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1569
1463
                          both]
1570
1464
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1465
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1466
                        (or the compiler's sysroot if not specified).
1571
1467
  --with-gmp=system|build Which gmp to use [default=system]
1572
1468
  --with-gmp-prefix=DIR   Prefix of gmp installation
1573
1469
  --with-gmp-exec-prefix=DIR
1665
1561
test -n "$ac_init_help" && exit $ac_status
1666
1562
if $ac_init_version; then
1667
1563
  cat <<\_ACEOF
1668
 
isl configure 0.08
1669
 
generated by GNU Autoconf 2.67
 
1564
isl configure 0.11.1
 
1565
generated by GNU Autoconf 2.69
1670
1566
 
1671
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
1567
Copyright (C) 2012 Free Software Foundation, Inc.
1672
1568
This configure script is free software; the Free Software Foundation
1673
1569
gives unlimited permission to copy, distribute and modify it.
1674
1570
_ACEOF
1712
1608
 
1713
1609
        ac_retval=1
1714
1610
fi
1715
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1611
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716
1612
  as_fn_set_status $ac_retval
1717
1613
 
1718
1614
} # ac_fn_c_try_compile
1750
1646
 
1751
1647
        ac_retval=1
1752
1648
fi
1753
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1649
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754
1650
  as_fn_set_status $ac_retval
1755
1651
 
1756
1652
} # ac_fn_cxx_try_compile
1792
1688
       ac_retval=$ac_status
1793
1689
fi
1794
1690
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1795
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1691
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796
1692
  as_fn_set_status $ac_retval
1797
1693
 
1798
1694
} # ac_fn_c_try_run
1824
1720
         test ! -s conftest.err
1825
1721
       } && test -s conftest$ac_exeext && {
1826
1722
         test "$cross_compiling" = yes ||
1827
 
         $as_test_x conftest$ac_exeext
 
1723
         test -x conftest$ac_exeext
1828
1724
       }; then :
1829
1725
  ac_retval=0
1830
1726
else
1838
1734
  # interfere with the next link command; also delete a directory that is
1839
1735
  # left behind by Apple's compiler.  We do this before executing the actions.
1840
1736
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1841
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1737
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842
1738
  as_fn_set_status $ac_retval
1843
1739
 
1844
1740
} # ac_fn_c_try_link
1852
1748
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853
1749
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854
1750
$as_echo_n "checking for $2... " >&6; }
1855
 
if eval "test \"\${$3+set}\"" = set; then :
 
1751
if eval \${$3+:} false; then :
1856
1752
  $as_echo_n "(cached) " >&6
1857
1753
else
1858
1754
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870
1766
eval ac_res=\$$3
1871
1767
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872
1768
$as_echo "$ac_res" >&6; }
1873
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1769
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874
1770
 
1875
1771
} # ac_fn_c_check_header_compile
1876
1772
 
1906
1802
 
1907
1803
    ac_retval=1
1908
1804
fi
1909
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1805
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910
1806
  as_fn_set_status $ac_retval
1911
1807
 
1912
1808
} # ac_fn_c_try_cpp
1919
1815
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920
1816
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921
1817
$as_echo_n "checking for $2... " >&6; }
1922
 
if eval "test \"\${$3+set}\"" = set; then :
 
1818
if eval \${$3+:} false; then :
1923
1819
  $as_echo_n "(cached) " >&6
1924
1820
else
1925
1821
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1974
1870
eval ac_res=\$$3
1975
1871
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976
1872
$as_echo "$ac_res" >&6; }
1977
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1873
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978
1874
 
1979
1875
} # ac_fn_c_check_func
1980
1876
 
2010
1906
 
2011
1907
    ac_retval=1
2012
1908
fi
2013
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1909
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2014
1910
  as_fn_set_status $ac_retval
2015
1911
 
2016
1912
} # ac_fn_cxx_try_cpp
2042
1938
         test ! -s conftest.err
2043
1939
       } && test -s conftest$ac_exeext && {
2044
1940
         test "$cross_compiling" = yes ||
2045
 
         $as_test_x conftest$ac_exeext
 
1941
         test -x conftest$ac_exeext
2046
1942
       }; then :
2047
1943
  ac_retval=0
2048
1944
else
2056
1952
  # interfere with the next link command; also delete a directory that is
2057
1953
  # left behind by Apple's compiler.  We do this before executing the actions.
2058
1954
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2059
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1955
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2060
1956
  as_fn_set_status $ac_retval
2061
1957
 
2062
1958
} # ac_fn_cxx_try_link
2070
1966
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2071
1967
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2072
1968
$as_echo_n "checking for $2... " >&6; }
2073
 
if eval "test \"\${$3+set}\"" = set; then :
 
1969
if eval \${$3+:} false; then :
2074
1970
  $as_echo_n "(cached) " >&6
2075
1971
else
2076
1972
  eval "$3=no"
2111
2007
eval ac_res=\$$3
2112
2008
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113
2009
$as_echo "$ac_res" >&6; }
2114
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2010
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2115
2011
 
2116
2012
} # ac_fn_c_check_type
2117
2013
 
2132
2028
main ()
2133
2029
{
2134
2030
static int test_array [1 - 2 * !(($2) >= 0)];
2135
 
test_array [0] = 0
 
2031
test_array [0] = 0;
 
2032
return test_array [0];
2136
2033
 
2137
2034
  ;
2138
2035
  return 0;
2148
2045
main ()
2149
2046
{
2150
2047
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2151
 
test_array [0] = 0
 
2048
test_array [0] = 0;
 
2049
return test_array [0];
2152
2050
 
2153
2051
  ;
2154
2052
  return 0;
2174
2072
main ()
2175
2073
{
2176
2074
static int test_array [1 - 2 * !(($2) < 0)];
2177
 
test_array [0] = 0
 
2075
test_array [0] = 0;
 
2076
return test_array [0];
2178
2077
 
2179
2078
  ;
2180
2079
  return 0;
2190
2089
main ()
2191
2090
{
2192
2091
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2193
 
test_array [0] = 0
 
2092
test_array [0] = 0;
 
2093
return test_array [0];
2194
2094
 
2195
2095
  ;
2196
2096
  return 0;
2224
2124
main ()
2225
2125
{
2226
2126
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2227
 
test_array [0] = 0
 
2127
test_array [0] = 0;
 
2128
return test_array [0];
2228
2129
 
2229
2130
  ;
2230
2131
  return 0;
2288
2189
rm -f conftest.val
2289
2190
 
2290
2191
  fi
2291
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2192
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2292
2193
  as_fn_set_status $ac_retval
2293
2194
 
2294
2195
} # ac_fn_c_compute_int
2304
2205
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2305
2206
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2306
2207
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2307
 
if eval "test \"\${$3+set}\"" = set; then :
 
2208
if eval \${$3+:} false; then :
2308
2209
  $as_echo_n "(cached) " >&6
2309
2210
else
2310
2211
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2335
2236
eval ac_res=\$$3
2336
2237
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2337
2238
$as_echo "$ac_res" >&6; }
2338
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2239
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2339
2240
 
2340
2241
} # ac_fn_c_check_decl
2341
2242
 
2348
2249
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2349
2250
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2350
2251
$as_echo_n "checking for $2.$3... " >&6; }
2351
 
if eval "test \"\${$4+set}\"" = set; then :
 
2252
if eval \${$4+:} false; then :
2352
2253
  $as_echo_n "(cached) " >&6
2353
2254
else
2354
2255
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2392
2293
eval ac_res=\$$4
2393
2294
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2394
2295
$as_echo "$ac_res" >&6; }
2395
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2296
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2396
2297
 
2397
2298
} # ac_fn_c_check_member
2398
2299
 
2404
2305
ac_fn_cxx_check_header_mongrel ()
2405
2306
{
2406
2307
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2407
 
  if eval "test \"\${$3+set}\"" = set; then :
 
2308
  if eval \${$3+:} false; then :
2408
2309
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2409
2310
$as_echo_n "checking for $2... " >&6; }
2410
 
if eval "test \"\${$3+set}\"" = set; then :
 
2311
if eval \${$3+:} false; then :
2411
2312
  $as_echo_n "(cached) " >&6
2412
2313
fi
2413
2314
eval ac_res=\$$3
2474
2375
esac
2475
2376
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2476
2377
$as_echo_n "checking for $2... " >&6; }
2477
 
if eval "test \"\${$3+set}\"" = set; then :
 
2378
if eval \${$3+:} false; then :
2478
2379
  $as_echo_n "(cached) " >&6
2479
2380
else
2480
2381
  eval "$3=\$ac_header_compiler"
2483
2384
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2484
2385
$as_echo "$ac_res" >&6; }
2485
2386
fi
2486
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2387
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2487
2388
 
2488
2389
} # ac_fn_cxx_check_header_mongrel
2489
2390
cat >config.log <<_ACEOF
2490
2391
This file contains any messages produced by compilers while
2491
2392
running configure, to aid debugging if configure makes a mistake.
2492
2393
 
2493
 
It was created by isl $as_me 0.08, which was
2494
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
2394
It was created by isl $as_me 0.11.1, which was
 
2395
generated by GNU Autoconf 2.69.  Invocation command line was
2495
2396
 
2496
2397
  $ $0 $@
2497
2398
 
2749
2650
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2750
2651
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2751
2652
as_fn_error $? "failed to load site script $ac_site_file
2752
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2653
See \`config.log' for more details" "$LINENO" 5; }
2753
2654
  fi
2754
2655
done
2755
2656
 
2887
2788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2888
2789
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2889
2790
if test -z "$INSTALL"; then
2890
 
if test "${ac_cv_path_install+set}" = set; then :
 
2791
if ${ac_cv_path_install+:} false; then :
2891
2792
  $as_echo_n "(cached) " >&6
2892
2793
else
2893
2794
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907
2808
    # by default.
2908
2809
    for ac_prog in ginstall scoinst install; do
2909
2810
      for ac_exec_ext in '' $ac_executable_extensions; do
2910
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2811
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2911
2812
          if test $ac_prog = install &&
2912
2813
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2913
2814
            # AIX install.  It has an incompatible calling convention.
2974
2875
'
2975
2876
case `pwd` in
2976
2877
  *[\\\"\#\$\&\'\`$am_lf]*)
2977
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
2878
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2978
2879
esac
2979
2880
case $srcdir in
2980
2881
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2981
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
2882
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2982
2883
esac
2983
2884
 
2984
2885
# Do `set' in a subshell so we don't clobber the current shell's
3064
2965
set dummy ${ac_tool_prefix}strip; ac_word=$2
3065
2966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3066
2967
$as_echo_n "checking for $ac_word... " >&6; }
3067
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2968
if ${ac_cv_prog_STRIP+:} false; then :
3068
2969
  $as_echo_n "(cached) " >&6
3069
2970
else
3070
2971
  if test -n "$STRIP"; then
3076
2977
  IFS=$as_save_IFS
3077
2978
  test -z "$as_dir" && as_dir=.
3078
2979
    for ac_exec_ext in '' $ac_executable_extensions; do
3079
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2980
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3080
2981
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3081
2982
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3082
2983
    break 2
3104
3005
set dummy strip; ac_word=$2
3105
3006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3106
3007
$as_echo_n "checking for $ac_word... " >&6; }
3107
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
3008
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3108
3009
  $as_echo_n "(cached) " >&6
3109
3010
else
3110
3011
  if test -n "$ac_ct_STRIP"; then
3116
3017
  IFS=$as_save_IFS
3117
3018
  test -z "$as_dir" && as_dir=.
3118
3019
    for ac_exec_ext in '' $ac_executable_extensions; do
3119
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3020
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3120
3021
    ac_cv_prog_ac_ct_STRIP="strip"
3121
3022
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122
3023
    break 2
3157
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3158
3059
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3159
3060
if test -z "$MKDIR_P"; then
3160
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
3061
  if ${ac_cv_path_mkdir+:} false; then :
3161
3062
  $as_echo_n "(cached) " >&6
3162
3063
else
3163
3064
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3167
3068
  test -z "$as_dir" && as_dir=.
3168
3069
    for ac_prog in mkdir gmkdir; do
3169
3070
         for ac_exec_ext in '' $ac_executable_extensions; do
3170
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
3071
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3171
3072
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3172
3073
             'mkdir (GNU coreutils) '* | \
3173
3074
             'mkdir (coreutils) '* | \
3208
3109
set dummy $ac_prog; ac_word=$2
3209
3110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3210
3111
$as_echo_n "checking for $ac_word... " >&6; }
3211
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3112
if ${ac_cv_prog_AWK+:} false; then :
3212
3113
  $as_echo_n "(cached) " >&6
3213
3114
else
3214
3115
  if test -n "$AWK"; then
3220
3121
  IFS=$as_save_IFS
3221
3122
  test -z "$as_dir" && as_dir=.
3222
3123
    for ac_exec_ext in '' $ac_executable_extensions; do
3223
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3124
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3224
3125
    ac_cv_prog_AWK="$ac_prog"
3225
3126
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3226
3127
    break 2
3248
3149
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3249
3150
set x ${MAKE-make}
3250
3151
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3251
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
3152
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3252
3153
  $as_echo_n "(cached) " >&6
3253
3154
else
3254
3155
  cat >conftest.make <<\_ACEOF
3306
3207
 
3307
3208
# Define the identity of the package.
3308
3209
 PACKAGE='isl'
3309
 
 VERSION='0.08'
 
3210
 VERSION='0.11.1'
3310
3211
 
3311
3212
 
3312
3213
cat >>confdefs.h <<_ACEOF
3336
3237
 
3337
3238
# We need awk for the "check" target.  The system "awk" is bad on
3338
3239
# some platforms.
3339
 
# Always define AMTAR for backward compatibility.
3340
 
 
3341
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
3342
 
 
3343
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
3240
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
3241
# in the wild :-(  We should find a proper way to deprecate it ...
 
3242
AMTAR='$${TAR-tar}'
 
3243
 
 
3244
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3344
3245
 
3345
3246
 
3346
3247
 
3356
3257
no)  AM_DEFAULT_VERBOSITY=1;;
3357
3258
*)   AM_DEFAULT_VERBOSITY=0;;
3358
3259
esac
 
3260
am_make=${MAKE-make}
 
3261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
3262
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
3263
if ${am_cv_make_support_nested_variables+:} false; then :
 
3264
  $as_echo_n "(cached) " >&6
 
3265
else
 
3266
  if $as_echo 'TRUE=$(BAR$(V))
 
3267
BAR0=false
 
3268
BAR1=true
 
3269
V=1
 
3270
am__doit:
 
3271
        @$(TRUE)
 
3272
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
3273
  am_cv_make_support_nested_variables=yes
 
3274
else
 
3275
  am_cv_make_support_nested_variables=no
 
3276
fi
 
3277
fi
 
3278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
3279
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
3280
if test $am_cv_make_support_nested_variables = yes; then
 
3281
    AM_V='$(V)'
 
3282
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
3283
else
 
3284
  AM_V=$AM_DEFAULT_VERBOSITY
 
3285
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
3286
fi
3359
3287
AM_BACKSLASH='\'
3360
3288
 
3361
3289
 
3362
 
versioninfo=8:0:0
 
3290
versioninfo=11:1:1
 
3291
 
 
3292
if test "x$prefix" != "xNONE"; then
 
3293
        prefix_wd=`cd $prefix && pwd`
 
3294
        srcdir_wd=`cd $srcdir && pwd`
 
3295
        wd=`pwd`
 
3296
        if test "x$prefix_wd" = "x$srcdir_wd"; then
 
3297
                as_fn_error $? "Installation in source directory not supported" "$LINENO" 5
 
3298
        fi
 
3299
        if test "x$prefix_wd" = "x$wd"; then
 
3300
                as_fn_error $? "Installation in build directory not supported" "$LINENO" 5
 
3301
        fi
 
3302
fi
3363
3303
 
3364
3304
ac_ext=c
3365
3305
ac_cpp='$CPP $CPPFLAGS'
3371
3311
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3372
3312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3373
3313
$as_echo_n "checking for $ac_word... " >&6; }
3374
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3314
if ${ac_cv_prog_CC+:} false; then :
3375
3315
  $as_echo_n "(cached) " >&6
3376
3316
else
3377
3317
  if test -n "$CC"; then
3383
3323
  IFS=$as_save_IFS
3384
3324
  test -z "$as_dir" && as_dir=.
3385
3325
    for ac_exec_ext in '' $ac_executable_extensions; do
3386
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3326
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3387
3327
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3388
3328
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3389
3329
    break 2
3411
3351
set dummy gcc; ac_word=$2
3412
3352
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413
3353
$as_echo_n "checking for $ac_word... " >&6; }
3414
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3354
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3415
3355
  $as_echo_n "(cached) " >&6
3416
3356
else
3417
3357
  if test -n "$ac_ct_CC"; then
3423
3363
  IFS=$as_save_IFS
3424
3364
  test -z "$as_dir" && as_dir=.
3425
3365
    for ac_exec_ext in '' $ac_executable_extensions; do
3426
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3366
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3427
3367
    ac_cv_prog_ac_ct_CC="gcc"
3428
3368
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429
3369
    break 2
3464
3404
set dummy ${ac_tool_prefix}cc; ac_word=$2
3465
3405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3466
3406
$as_echo_n "checking for $ac_word... " >&6; }
3467
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3407
if ${ac_cv_prog_CC+:} false; then :
3468
3408
  $as_echo_n "(cached) " >&6
3469
3409
else
3470
3410
  if test -n "$CC"; then
3476
3416
  IFS=$as_save_IFS
3477
3417
  test -z "$as_dir" && as_dir=.
3478
3418
    for ac_exec_ext in '' $ac_executable_extensions; do
3479
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3419
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3480
3420
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3481
3421
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3482
3422
    break 2
3504
3444
set dummy cc; ac_word=$2
3505
3445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3506
3446
$as_echo_n "checking for $ac_word... " >&6; }
3507
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3447
if ${ac_cv_prog_CC+:} false; then :
3508
3448
  $as_echo_n "(cached) " >&6
3509
3449
else
3510
3450
  if test -n "$CC"; then
3517
3457
  IFS=$as_save_IFS
3518
3458
  test -z "$as_dir" && as_dir=.
3519
3459
    for ac_exec_ext in '' $ac_executable_extensions; do
3520
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3460
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3521
3461
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3522
3462
       ac_prog_rejected=yes
3523
3463
       continue
3563
3503
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3564
3504
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3565
3505
$as_echo_n "checking for $ac_word... " >&6; }
3566
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3506
if ${ac_cv_prog_CC+:} false; then :
3567
3507
  $as_echo_n "(cached) " >&6
3568
3508
else
3569
3509
  if test -n "$CC"; then
3575
3515
  IFS=$as_save_IFS
3576
3516
  test -z "$as_dir" && as_dir=.
3577
3517
    for ac_exec_ext in '' $ac_executable_extensions; do
3578
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3518
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3579
3519
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3580
3520
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3581
3521
    break 2
3607
3547
set dummy $ac_prog; ac_word=$2
3608
3548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3609
3549
$as_echo_n "checking for $ac_word... " >&6; }
3610
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3550
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3611
3551
  $as_echo_n "(cached) " >&6
3612
3552
else
3613
3553
  if test -n "$ac_ct_CC"; then
3619
3559
  IFS=$as_save_IFS
3620
3560
  test -z "$as_dir" && as_dir=.
3621
3561
    for ac_exec_ext in '' $ac_executable_extensions; do
3622
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3562
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3623
3563
    ac_cv_prog_ac_ct_CC="$ac_prog"
3624
3564
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3625
3565
    break 2
3662
3602
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3663
3603
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3664
3604
as_fn_error $? "no acceptable C compiler found in \$PATH
3665
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3605
See \`config.log' for more details" "$LINENO" 5; }
3666
3606
 
3667
3607
# Provide some information about the compiler.
3668
3608
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3777
3717
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3778
3718
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3779
3719
as_fn_error 77 "C compiler cannot create executables
3780
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3720
See \`config.log' for more details" "$LINENO" 5; }
3781
3721
else
3782
3722
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3783
3723
$as_echo "yes" >&6; }
3820
3760
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3821
3761
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3822
3762
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3823
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3763
See \`config.log' for more details" "$LINENO" 5; }
3824
3764
fi
3825
3765
rm -f conftest conftest$ac_cv_exeext
3826
3766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3879
3819
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3880
3820
as_fn_error $? "cannot run C compiled programs.
3881
3821
If you meant to cross compile, use \`--host'.
3882
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3822
See \`config.log' for more details" "$LINENO" 5; }
3883
3823
    fi
3884
3824
  fi
3885
3825
fi
3890
3830
ac_clean_files=$ac_clean_files_save
3891
3831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3892
3832
$as_echo_n "checking for suffix of object files... " >&6; }
3893
 
if test "${ac_cv_objext+set}" = set; then :
 
3833
if ${ac_cv_objext+:} false; then :
3894
3834
  $as_echo_n "(cached) " >&6
3895
3835
else
3896
3836
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3931
3871
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3932
3872
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3933
3873
as_fn_error $? "cannot compute suffix of object files: cannot compile
3934
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3874
See \`config.log' for more details" "$LINENO" 5; }
3935
3875
fi
3936
3876
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3937
3877
fi
3941
3881
ac_objext=$OBJEXT
3942
3882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3943
3883
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3944
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3884
if ${ac_cv_c_compiler_gnu+:} false; then :
3945
3885
  $as_echo_n "(cached) " >&6
3946
3886
else
3947
3887
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3978
3918
ac_save_CFLAGS=$CFLAGS
3979
3919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3980
3920
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3981
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3921
if ${ac_cv_prog_cc_g+:} false; then :
3982
3922
  $as_echo_n "(cached) " >&6
3983
3923
else
3984
3924
  ac_save_c_werror_flag=$ac_c_werror_flag
4056
3996
fi
4057
3997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4058
3998
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4059
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3999
if ${ac_cv_prog_cc_c89+:} false; then :
4060
4000
  $as_echo_n "(cached) " >&6
4061
4001
else
4062
4002
  ac_cv_prog_cc_c89=no
4065
4005
/* end confdefs.h.  */
4066
4006
#include <stdarg.h>
4067
4007
#include <stdio.h>
4068
 
#include <sys/types.h>
4069
 
#include <sys/stat.h>
 
4008
struct stat;
4070
4009
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4071
4010
struct buf { int x; };
4072
4011
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4202
4141
if test "x$enable_dependency_tracking" != xno; then
4203
4142
  am_depcomp="$ac_aux_dir/depcomp"
4204
4143
  AMDEPBACKSLASH='\'
 
4144
  am__nodep='_no'
4205
4145
fi
4206
4146
 if test "x$enable_dependency_tracking" != xno; then
4207
4147
  AMDEP_TRUE=
4217
4157
 
4218
4158
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4219
4159
$as_echo_n "checking dependency style of $depcc... " >&6; }
4220
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4160
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4221
4161
  $as_echo_n "(cached) " >&6
4222
4162
else
4223
4163
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4226
4166
  # instance it was reported that on HP-UX the gcc test will end up
4227
4167
  # making a dummy file named `D' -- because `-MD' means `put the output
4228
4168
  # in D'.
 
4169
  rm -rf conftest.dir
4229
4170
  mkdir conftest.dir
4230
4171
  # Copy depcomp to subdir because otherwise we won't find it if we're
4231
4172
  # using a relative directory.
4285
4226
        break
4286
4227
      fi
4287
4228
      ;;
4288
 
    msvisualcpp | msvcmsys)
 
4229
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4289
4230
      # This compiler won't grok `-c -o', but also, the minuso test has
4290
4231
      # not run yet.  These depmodes are late enough in the game, and
4291
4232
      # so weak that their functioning should not be impacted.
4356
4297
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4357
4298
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4358
4299
$as_echo_n "checking for $ac_word... " >&6; }
4359
 
if test "${ac_cv_prog_CXX+set}" = set; then :
 
4300
if ${ac_cv_prog_CXX+:} false; then :
4360
4301
  $as_echo_n "(cached) " >&6
4361
4302
else
4362
4303
  if test -n "$CXX"; then
4368
4309
  IFS=$as_save_IFS
4369
4310
  test -z "$as_dir" && as_dir=.
4370
4311
    for ac_exec_ext in '' $ac_executable_extensions; do
4371
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4312
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4372
4313
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4373
4314
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4374
4315
    break 2
4400
4341
set dummy $ac_prog; ac_word=$2
4401
4342
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402
4343
$as_echo_n "checking for $ac_word... " >&6; }
4403
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
4344
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4404
4345
  $as_echo_n "(cached) " >&6
4405
4346
else
4406
4347
  if test -n "$ac_ct_CXX"; then
4412
4353
  IFS=$as_save_IFS
4413
4354
  test -z "$as_dir" && as_dir=.
4414
4355
    for ac_exec_ext in '' $ac_executable_extensions; do
4415
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4356
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4416
4357
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4417
4358
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4418
4359
    break 2
4478
4419
 
4479
4420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4480
4421
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4481
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
4422
if ${ac_cv_cxx_compiler_gnu+:} false; then :
4482
4423
  $as_echo_n "(cached) " >&6
4483
4424
else
4484
4425
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4515
4456
ac_save_CXXFLAGS=$CXXFLAGS
4516
4457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4517
4458
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4518
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
4459
if ${ac_cv_prog_cxx_g+:} false; then :
4519
4460
  $as_echo_n "(cached) " >&6
4520
4461
else
4521
4462
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4601
4542
 
4602
4543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4603
4544
$as_echo_n "checking dependency style of $depcc... " >&6; }
4604
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
4545
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4605
4546
  $as_echo_n "(cached) " >&6
4606
4547
else
4607
4548
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4610
4551
  # instance it was reported that on HP-UX the gcc test will end up
4611
4552
  # making a dummy file named `D' -- because `-MD' means `put the output
4612
4553
  # in D'.
 
4554
  rm -rf conftest.dir
4613
4555
  mkdir conftest.dir
4614
4556
  # Copy depcomp to subdir because otherwise we won't find it if we're
4615
4557
  # using a relative directory.
4669
4611
        break
4670
4612
      fi
4671
4613
      ;;
4672
 
    msvisualcpp | msvcmsys)
 
4614
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4673
4615
      # This compiler won't grok `-c -o', but also, the minuso test has
4674
4616
      # not run yet.  These depmodes are late enough in the game, and
4675
4617
      # so weak that their functioning should not be impacted.
4729
4671
 
4730
4672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
4731
4673
$as_echo_n "checking for C compiler vendor... " >&6; }
4732
 
if test "${ax_cv_c_compiler_vendor+set}" = set; then :
 
4674
if ${ax_cv_c_compiler_vendor+:} false; then :
4733
4675
  $as_echo_n "(cached) " >&6
4734
4676
else
4735
4677
  ax_cv_c_compiler_vendor=unknown
4767
4709
 
4768
4710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4769
4711
$as_echo_n "checking build system type... " >&6; }
4770
 
if test "${ac_cv_build+set}" = set; then :
 
4712
if ${ac_cv_build+:} false; then :
4771
4713
  $as_echo_n "(cached) " >&6
4772
4714
else
4773
4715
  ac_build_alias=$build_alias
4783
4725
$as_echo "$ac_cv_build" >&6; }
4784
4726
case $ac_cv_build in
4785
4727
*-*-*) ;;
4786
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
4728
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4787
4729
esac
4788
4730
build=$ac_cv_build
4789
4731
ac_save_IFS=$IFS; IFS='-'
4801
4743
 
4802
4744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4803
4745
$as_echo_n "checking host system type... " >&6; }
4804
 
if test "${ac_cv_host+set}" = set; then :
 
4746
if ${ac_cv_host+:} false; then :
4805
4747
  $as_echo_n "(cached) " >&6
4806
4748
else
4807
4749
  if test "x$host_alias" = x; then
4816
4758
$as_echo "$ac_cv_host" >&6; }
4817
4759
case $ac_cv_host in
4818
4760
*-*-*) ;;
4819
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
4761
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4820
4762
esac
4821
4763
host=$ac_cv_host
4822
4764
ac_save_IFS=$IFS; IFS='-'
4928
4870
 
4929
4871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0 output" >&5
4930
4872
$as_echo_n "checking for x86 cpuid 0 output... " >&6; }
4931
 
if test "${ax_cv_gcc_x86_cpuid_0+set}" = set; then :
 
4873
if ${ax_cv_gcc_x86_cpuid_0+:} false; then :
4932
4874
  $as_echo_n "(cached) " >&6
4933
4875
else
4934
4876
  if test "$cross_compiling" = yes; then :
4983
4925
 
4984
4926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 1 output" >&5
4985
4927
$as_echo_n "checking for x86 cpuid 1 output... " >&6; }
4986
 
if test "${ax_cv_gcc_x86_cpuid_1+set}" = set; then :
 
4928
if ${ax_cv_gcc_x86_cpuid_1+:} false; then :
4987
4929
  $as_echo_n "(cached) " >&6
4988
4930
else
4989
4931
  if test "$cross_compiling" = yes; then :
5090
5032
     # -malign-double for x86 systems
5091
5033
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -malign-double" >&5
5092
5034
$as_echo_n "checking whether C compiler accepts -malign-double... " >&6; }
5093
 
if test "${ax_cv_c_flags__malign_double+set}" = set; then :
 
5035
if ${ax_cv_c_flags__malign_double+:} false; then :
5094
5036
  $as_echo_n "(cached) " >&6
5095
5037
else
5096
5038
 
5129
5071
     #  -fstrict-aliasing for gcc-2.95+
5130
5072
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstrict-aliasing" >&5
5131
5073
$as_echo_n "checking whether C compiler accepts -fstrict-aliasing... " >&6; }
5132
 
if test "${ax_cv_c_flags__fstrict_aliasing+set}" = set; then :
 
5074
if ${ax_cv_c_flags__fstrict_aliasing+:} false; then :
5133
5075
  $as_echo_n "(cached) " >&6
5134
5076
else
5135
5077
 
5168
5110
     # note that we enable "unsafe" fp optimization with other compilers, too
5169
5111
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -ffast-math" >&5
5170
5112
$as_echo_n "checking whether C compiler accepts -ffast-math... " >&6; }
5171
 
if test "${ax_cv_c_flags__ffast_math+set}" = set; then :
 
5113
if ${ax_cv_c_flags__ffast_math+:} false; then :
5172
5114
  $as_echo_n "(cached) " >&6
5173
5115
else
5174
5116
 
5220
5162
$as_echo_n "checking for gcc architecture flag... " >&6; }
5221
5163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5222
5164
$as_echo "" >&6; }
5223
 
if test "${ax_cv_gcc_archflag+set}" = set; then :
 
5165
if ${ax_cv_gcc_archflag+:} false; then :
5224
5166
  $as_echo_n "(cached) " >&6
5225
5167
else
5226
5168
 
5242
5184
 
5243
5185
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0 output" >&5
5244
5186
$as_echo_n "checking for x86 cpuid 0 output... " >&6; }
5245
 
if test "${ax_cv_gcc_x86_cpuid_0+set}" = set; then :
 
5187
if ${ax_cv_gcc_x86_cpuid_0+:} false; then :
5246
5188
  $as_echo_n "(cached) " >&6
5247
5189
else
5248
5190
  if test "$cross_compiling" = yes; then :
5297
5239
 
5298
5240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 1 output" >&5
5299
5241
$as_echo_n "checking for x86 cpuid 1 output... " >&6; }
5300
 
if test "${ax_cv_gcc_x86_cpuid_1+set}" = set; then :
 
5242
if ${ax_cv_gcc_x86_cpuid_1+:} false; then :
5301
5243
  $as_echo_n "(cached) " >&6
5302
5244
else
5303
5245
  if test "$cross_compiling" = yes; then :
5380
5322
 
5381
5323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0x80000006 output" >&5
5382
5324
$as_echo_n "checking for x86 cpuid 0x80000006 output... " >&6; }
5383
 
if test "${ax_cv_gcc_x86_cpuid_0x80000006+set}" = set; then :
 
5325
if ${ax_cv_gcc_x86_cpuid_0x80000006+:} false; then :
5384
5326
  $as_echo_n "(cached) " >&6
5385
5327
else
5386
5328
  if test "$cross_compiling" = yes; then :
5457
5399
set dummy prtdiag; ac_word=$2
5458
5400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5459
5401
$as_echo_n "checking for $ac_word... " >&6; }
5460
 
if test "${ac_cv_path_PRTDIAG+set}" = set; then :
 
5402
if ${ac_cv_path_PRTDIAG+:} false; then :
5461
5403
  $as_echo_n "(cached) " >&6
5462
5404
else
5463
5405
  case $PRTDIAG in
5472
5414
  IFS=$as_save_IFS
5473
5415
  test -z "$as_dir" && as_dir=.
5474
5416
    for ac_exec_ext in '' $ac_executable_extensions; do
5475
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5417
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5476
5418
    ac_cv_path_PRTDIAG="$as_dir/$ac_word$ac_exec_ext"
5477
5419
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478
5420
    break 2
5667
5609
 
5668
5610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports function __attribute__((__warn_unused_result__))" >&5
5669
5611
$as_echo_n "checking whether the compiler supports function __attribute__((__warn_unused_result__))... " >&6; }
5670
 
if test "${ax_cv_gcc_warn_unused_result+set}" = set; then :
 
5612
if ${ax_cv_gcc_warn_unused_result+:} false; then :
5671
5613
  $as_echo_n "(cached) " >&6
5672
5614
else
5673
5615
 
5701
5643
 
5702
5644
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
5703
5645
$as_echo_n "checking for __attribute__... " >&6; }
5704
 
if test "${ax_cv___attribute__+set}" = set; then :
 
5646
if ${ax_cv___attribute__+:} false; then :
5705
5647
  $as_echo_n "(cached) " >&6
5706
5648
else
5707
5649
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5747
5689
 
5748
5690
 
5749
5691
 
5750
 
macro_version='2.2.6b'
5751
 
macro_revision='1.3017'
 
5692
macro_version='2.4.2'
 
5693
macro_revision='1.3337'
5752
5694
 
5753
5695
 
5754
5696
 
5764
5706
 
5765
5707
ltmain="$ac_aux_dir/ltmain.sh"
5766
5708
 
 
5709
# Backslashify metacharacters that are still active within
 
5710
# double-quoted strings.
 
5711
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
5712
 
 
5713
# Same as above, but do not quote variable references.
 
5714
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
5715
 
 
5716
# Sed substitution to delay expansion of an escaped shell variable in a
 
5717
# double_quote_subst'ed string.
 
5718
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
5719
 
 
5720
# Sed substitution to delay expansion of an escaped single quote.
 
5721
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
5722
 
 
5723
# Sed substitution to avoid accidental globbing in evaled expressions
 
5724
no_glob_subst='s/\*/\\\*/g'
 
5725
 
 
5726
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5727
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
5728
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
5729
 
 
5730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
5731
$as_echo_n "checking how to print strings... " >&6; }
 
5732
# Test print first, because it will be a builtin if present.
 
5733
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
5734
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5735
  ECHO='print -r --'
 
5736
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5737
  ECHO='printf %s\n'
 
5738
else
 
5739
  # Use this function as a fallback that always works.
 
5740
  func_fallback_echo ()
 
5741
  {
 
5742
    eval 'cat <<_LTECHO_EOF
 
5743
$1
 
5744
_LTECHO_EOF'
 
5745
  }
 
5746
  ECHO='func_fallback_echo'
 
5747
fi
 
5748
 
 
5749
# func_echo_all arg...
 
5750
# Invoke $ECHO with all args, space-separated.
 
5751
func_echo_all ()
 
5752
{
 
5753
    $ECHO ""
 
5754
}
 
5755
 
 
5756
case "$ECHO" in
 
5757
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
5758
$as_echo "printf" >&6; } ;;
 
5759
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
5760
$as_echo "print -r" >&6; } ;;
 
5761
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
5762
$as_echo "cat" >&6; } ;;
 
5763
esac
 
5764
 
 
5765
 
 
5766
 
 
5767
 
 
5768
 
 
5769
 
 
5770
 
 
5771
 
 
5772
 
 
5773
 
 
5774
 
 
5775
 
 
5776
 
 
5777
 
5767
5778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5768
5779
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5769
 
if test "${ac_cv_path_SED+set}" = set; then :
 
5780
if ${ac_cv_path_SED+:} false; then :
5770
5781
  $as_echo_n "(cached) " >&6
5771
5782
else
5772
5783
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5786
5797
    for ac_prog in sed gsed; do
5787
5798
    for ac_exec_ext in '' $ac_executable_extensions; do
5788
5799
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5789
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5800
      as_fn_executable_p "$ac_path_SED" || continue
5790
5801
# Check for GNU ac_path_SED and select it if it is found.
5791
5802
  # Check for GNU $ac_path_SED
5792
5803
case `"$ac_path_SED" --version 2>&1` in
5848
5859
 
5849
5860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5850
5861
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5851
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
5862
if ${ac_cv_path_GREP+:} false; then :
5852
5863
  $as_echo_n "(cached) " >&6
5853
5864
else
5854
5865
  if test -z "$GREP"; then
5862
5873
    for ac_prog in grep ggrep; do
5863
5874
    for ac_exec_ext in '' $ac_executable_extensions; do
5864
5875
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5865
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5876
      as_fn_executable_p "$ac_path_GREP" || continue
5866
5877
# Check for GNU ac_path_GREP and select it if it is found.
5867
5878
  # Check for GNU $ac_path_GREP
5868
5879
case `"$ac_path_GREP" --version 2>&1` in
5911
5922
 
5912
5923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5913
5924
$as_echo_n "checking for egrep... " >&6; }
5914
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
5925
if ${ac_cv_path_EGREP+:} false; then :
5915
5926
  $as_echo_n "(cached) " >&6
5916
5927
else
5917
5928
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5928
5939
    for ac_prog in egrep; do
5929
5940
    for ac_exec_ext in '' $ac_executable_extensions; do
5930
5941
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5931
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5942
      as_fn_executable_p "$ac_path_EGREP" || continue
5932
5943
# Check for GNU ac_path_EGREP and select it if it is found.
5933
5944
  # Check for GNU $ac_path_EGREP
5934
5945
case `"$ac_path_EGREP" --version 2>&1` in
5978
5989
 
5979
5990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5980
5991
$as_echo_n "checking for fgrep... " >&6; }
5981
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
5992
if ${ac_cv_path_FGREP+:} false; then :
5982
5993
  $as_echo_n "(cached) " >&6
5983
5994
else
5984
5995
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5995
6006
    for ac_prog in fgrep; do
5996
6007
    for ac_exec_ext in '' $ac_executable_extensions; do
5997
6008
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5998
 
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
6009
      as_fn_executable_p "$ac_path_FGREP" || continue
5999
6010
# Check for GNU ac_path_FGREP and select it if it is found.
6000
6011
  # Check for GNU $ac_path_FGREP
6001
6012
case `"$ac_path_FGREP" --version 2>&1` in
6109
6120
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6110
6121
$as_echo_n "checking for non-GNU ld... " >&6; }
6111
6122
fi
6112
 
if test "${lt_cv_path_LD+set}" = set; then :
 
6123
if ${lt_cv_path_LD+:} false; then :
6113
6124
  $as_echo_n "(cached) " >&6
6114
6125
else
6115
6126
  if test -z "$LD"; then
6149
6160
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6150
6161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6151
6162
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6152
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
6163
if ${lt_cv_prog_gnu_ld+:} false; then :
6153
6164
  $as_echo_n "(cached) " >&6
6154
6165
else
6155
6166
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6176
6187
 
6177
6188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6178
6189
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6179
 
if test "${lt_cv_path_NM+set}" = set; then :
 
6190
if ${lt_cv_path_NM+:} false; then :
6180
6191
  $as_echo_n "(cached) " >&6
6181
6192
else
6182
6193
  if test -n "$NM"; then
6229
6240
  NM="$lt_cv_path_NM"
6230
6241
else
6231
6242
  # Didn't find any BSD compatible name lister, look for dumpbin.
6232
 
  if test -n "$ac_tool_prefix"; then
6233
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6243
  if test -n "$DUMPBIN"; then :
 
6244
    # Let the user override the test.
 
6245
  else
 
6246
    if test -n "$ac_tool_prefix"; then
 
6247
  for ac_prog in dumpbin "link -dump"
6234
6248
  do
6235
6249
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6236
6250
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6237
6251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238
6252
$as_echo_n "checking for $ac_word... " >&6; }
6239
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
6253
if ${ac_cv_prog_DUMPBIN+:} false; then :
6240
6254
  $as_echo_n "(cached) " >&6
6241
6255
else
6242
6256
  if test -n "$DUMPBIN"; then
6248
6262
  IFS=$as_save_IFS
6249
6263
  test -z "$as_dir" && as_dir=.
6250
6264
    for ac_exec_ext in '' $ac_executable_extensions; do
6251
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6265
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6252
6266
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6253
6267
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6254
6268
    break 2
6274
6288
fi
6275
6289
if test -z "$DUMPBIN"; then
6276
6290
  ac_ct_DUMPBIN=$DUMPBIN
6277
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6291
  for ac_prog in dumpbin "link -dump"
6278
6292
do
6279
6293
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6280
6294
set dummy $ac_prog; ac_word=$2
6281
6295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6282
6296
$as_echo_n "checking for $ac_word... " >&6; }
6283
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
6297
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6284
6298
  $as_echo_n "(cached) " >&6
6285
6299
else
6286
6300
  if test -n "$ac_ct_DUMPBIN"; then
6292
6306
  IFS=$as_save_IFS
6293
6307
  test -z "$as_dir" && as_dir=.
6294
6308
    for ac_exec_ext in '' $ac_executable_extensions; do
6295
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6309
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6296
6310
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6297
6311
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6298
6312
    break 2
6329
6343
  fi
6330
6344
fi
6331
6345
 
 
6346
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
6347
    *COFF*)
 
6348
      DUMPBIN="$DUMPBIN -symbols"
 
6349
      ;;
 
6350
    *)
 
6351
      DUMPBIN=:
 
6352
      ;;
 
6353
    esac
 
6354
  fi
6332
6355
 
6333
6356
  if test "$DUMPBIN" != ":"; then
6334
6357
    NM="$DUMPBIN"
6343
6366
 
6344
6367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6345
6368
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6346
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
6369
if ${lt_cv_nm_interface+:} false; then :
6347
6370
  $as_echo_n "(cached) " >&6
6348
6371
else
6349
6372
  lt_cv_nm_interface="BSD nm"
6350
6373
  echo "int some_variable = 0;" > conftest.$ac_ext
6351
 
  (eval echo "\"\$as_me:6351: $ac_compile\"" >&5)
 
6374
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6352
6375
  (eval "$ac_compile" 2>conftest.err)
6353
6376
  cat conftest.err >&5
6354
 
  (eval echo "\"\$as_me:6354: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6377
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6355
6378
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6356
6379
  cat conftest.err >&5
6357
 
  (eval echo "\"\$as_me:6357: output\"" >&5)
 
6380
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6358
6381
  cat conftest.out >&5
6359
6382
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6360
6383
    lt_cv_nm_interface="MS dumpbin"
6378
6401
# find the maximum length of command line arguments
6379
6402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6380
6403
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6381
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
6404
if ${lt_cv_sys_max_cmd_len+:} false; then :
6382
6405
  $as_echo_n "(cached) " >&6
6383
6406
else
6384
6407
    i=0
6411
6434
    lt_cv_sys_max_cmd_len=8192;
6412
6435
    ;;
6413
6436
 
 
6437
  mint*)
 
6438
    # On MiNT this can take a long time and run out of memory.
 
6439
    lt_cv_sys_max_cmd_len=8192;
 
6440
    ;;
 
6441
 
6414
6442
  amigaos*)
6415
6443
    # On AmigaOS with pdksh, this test takes hours, literally.
6416
6444
    # So we just punt and use a minimum line length of 8192.
6436
6464
    lt_cv_sys_max_cmd_len=196608
6437
6465
    ;;
6438
6466
 
 
6467
  os2*)
 
6468
    # The test takes a long time on OS/2.
 
6469
    lt_cv_sys_max_cmd_len=8192
 
6470
    ;;
 
6471
 
6439
6472
  osf*)
6440
6473
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6441
6474
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6475
6508
      # If test is not a shell built-in, we'll probably end up computing a
6476
6509
      # maximum length that is only half of the actual maximum length, but
6477
6510
      # we can't tell.
6478
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6479
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6511
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
6512
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6480
6513
              test $i != 17 # 1/2 MB should be enough
6481
6514
      do
6482
6515
        i=`expr $i + 1`
6518
6551
# Try some XSI features
6519
6552
xsi_shell=no
6520
6553
( _lt_dummy="a/b/c"
6521
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6522
 
      = c,a/b,, \
 
6554
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
6555
      = c,a/b,b/c, \
6523
6556
    && eval 'test $(( 1 + 1 )) -eq 2 \
6524
6557
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6525
6558
  && xsi_shell=yes
6568
6601
 
6569
6602
 
6570
6603
 
 
6604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
6605
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
6606
if ${lt_cv_to_host_file_cmd+:} false; then :
 
6607
  $as_echo_n "(cached) " >&6
 
6608
else
 
6609
  case $host in
 
6610
  *-*-mingw* )
 
6611
    case $build in
 
6612
      *-*-mingw* ) # actually msys
 
6613
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
6614
        ;;
 
6615
      *-*-cygwin* )
 
6616
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
6617
        ;;
 
6618
      * ) # otherwise, assume *nix
 
6619
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
6620
        ;;
 
6621
    esac
 
6622
    ;;
 
6623
  *-*-cygwin* )
 
6624
    case $build in
 
6625
      *-*-mingw* ) # actually msys
 
6626
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
6627
        ;;
 
6628
      *-*-cygwin* )
 
6629
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
6630
        ;;
 
6631
      * ) # otherwise, assume *nix
 
6632
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
6633
        ;;
 
6634
    esac
 
6635
    ;;
 
6636
  * ) # unhandled hosts (and "normal" native builds)
 
6637
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
6638
    ;;
 
6639
esac
 
6640
 
 
6641
fi
 
6642
 
 
6643
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
6644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
6645
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
6646
 
 
6647
 
 
6648
 
 
6649
 
 
6650
 
 
6651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
6652
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
6653
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
6654
  $as_echo_n "(cached) " >&6
 
6655
else
 
6656
  #assume ordinary cross tools, or native build.
 
6657
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
6658
case $host in
 
6659
  *-*-mingw* )
 
6660
    case $build in
 
6661
      *-*-mingw* ) # actually msys
 
6662
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
6663
        ;;
 
6664
    esac
 
6665
    ;;
 
6666
esac
 
6667
 
 
6668
fi
 
6669
 
 
6670
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
6671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
6672
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
6673
 
 
6674
 
 
6675
 
 
6676
 
 
6677
 
6571
6678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6572
6679
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6573
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
6680
if ${lt_cv_ld_reload_flag+:} false; then :
6574
6681
  $as_echo_n "(cached) " >&6
6575
6682
else
6576
6683
  lt_cv_ld_reload_flag='-r'
6584
6691
esac
6585
6692
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6586
6693
case $host_os in
 
6694
  cygwin* | mingw* | pw32* | cegcc*)
 
6695
    if test "$GCC" != yes; then
 
6696
      reload_cmds=false
 
6697
    fi
 
6698
    ;;
6587
6699
  darwin*)
6588
6700
    if test "$GCC" = yes; then
6589
6701
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6606
6718
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6607
6719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608
6720
$as_echo_n "checking for $ac_word... " >&6; }
6609
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
6721
if ${ac_cv_prog_OBJDUMP+:} false; then :
6610
6722
  $as_echo_n "(cached) " >&6
6611
6723
else
6612
6724
  if test -n "$OBJDUMP"; then
6618
6730
  IFS=$as_save_IFS
6619
6731
  test -z "$as_dir" && as_dir=.
6620
6732
    for ac_exec_ext in '' $ac_executable_extensions; do
6621
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6733
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6622
6734
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6623
6735
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624
6736
    break 2
6646
6758
set dummy objdump; ac_word=$2
6647
6759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648
6760
$as_echo_n "checking for $ac_word... " >&6; }
6649
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
6761
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6650
6762
  $as_echo_n "(cached) " >&6
6651
6763
else
6652
6764
  if test -n "$ac_ct_OBJDUMP"; then
6658
6770
  IFS=$as_save_IFS
6659
6771
  test -z "$as_dir" && as_dir=.
6660
6772
    for ac_exec_ext in '' $ac_executable_extensions; do
6661
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6773
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6662
6774
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6663
6775
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664
6776
    break 2
6705
6817
 
6706
6818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6707
6819
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6708
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6820
if ${lt_cv_deplibs_check_method+:} false; then :
6709
6821
  $as_echo_n "(cached) " >&6
6710
6822
else
6711
6823
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6747
6859
  # Base MSYS/MinGW do not provide the 'file' command needed by
6748
6860
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6749
6861
  # unless we find 'file', for example because we are cross-compiling.
6750
 
  if ( file / ) >/dev/null 2>&1; then
 
6862
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
6863
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6751
6864
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6752
6865
    lt_cv_file_magic_cmd='func_win32_libid'
6753
6866
  else
6754
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6867
    # Keep this pattern in sync with the one in func_win32_libid.
 
6868
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6755
6869
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6756
6870
  fi
6757
6871
  ;;
6758
6872
 
6759
 
cegcc)
 
6873
cegcc*)
6760
6874
  # use the weaker test based on 'objdump'. See mingw*.
6761
6875
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6762
6876
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6786
6900
  lt_cv_deplibs_check_method=pass_all
6787
6901
  ;;
6788
6902
 
 
6903
haiku*)
 
6904
  lt_cv_deplibs_check_method=pass_all
 
6905
  ;;
 
6906
 
6789
6907
hpux10.20* | hpux11*)
6790
6908
  lt_cv_file_magic_cmd=/usr/bin/file
6791
6909
  case $host_cpu in
6794
6912
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6795
6913
    ;;
6796
6914
  hppa*64*)
6797
 
    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]'
 
6915
    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]'
6798
6916
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6799
6917
    ;;
6800
6918
  *)
6801
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
6919
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6802
6920
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6803
6921
    ;;
6804
6922
  esac
6819
6937
  lt_cv_deplibs_check_method=pass_all
6820
6938
  ;;
6821
6939
 
6822
 
# This must be Linux ELF.
 
6940
# This must be glibc/ELF.
6823
6941
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6824
6942
  lt_cv_deplibs_check_method=pass_all
6825
6943
  ;;
6901
7019
fi
6902
7020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6903
7021
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
7022
 
 
7023
file_magic_glob=
 
7024
want_nocaseglob=no
 
7025
if test "$build" = "$host"; then
 
7026
  case $host_os in
 
7027
  mingw* | pw32*)
 
7028
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
7029
      want_nocaseglob=yes
 
7030
    else
 
7031
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
7032
    fi
 
7033
    ;;
 
7034
  esac
 
7035
fi
 
7036
 
6904
7037
file_magic_cmd=$lt_cv_file_magic_cmd
6905
7038
deplibs_check_method=$lt_cv_deplibs_check_method
6906
7039
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6916
7049
 
6917
7050
 
6918
7051
 
6919
 
if test -n "$ac_tool_prefix"; then
6920
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6921
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6922
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6923
 
$as_echo_n "checking for $ac_word... " >&6; }
6924
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
7052
 
 
7053
 
 
7054
 
 
7055
 
 
7056
 
 
7057
 
 
7058
 
 
7059
 
 
7060
 
 
7061
 
 
7062
if test -n "$ac_tool_prefix"; then
 
7063
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
7064
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
7065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7066
$as_echo_n "checking for $ac_word... " >&6; }
 
7067
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
7068
  $as_echo_n "(cached) " >&6
 
7069
else
 
7070
  if test -n "$DLLTOOL"; then
 
7071
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
7072
else
 
7073
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7074
for as_dir in $PATH
 
7075
do
 
7076
  IFS=$as_save_IFS
 
7077
  test -z "$as_dir" && as_dir=.
 
7078
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7079
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7080
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
7081
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7082
    break 2
 
7083
  fi
 
7084
done
 
7085
  done
 
7086
IFS=$as_save_IFS
 
7087
 
 
7088
fi
 
7089
fi
 
7090
DLLTOOL=$ac_cv_prog_DLLTOOL
 
7091
if test -n "$DLLTOOL"; then
 
7092
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
7093
$as_echo "$DLLTOOL" >&6; }
 
7094
else
 
7095
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7096
$as_echo "no" >&6; }
 
7097
fi
 
7098
 
 
7099
 
 
7100
fi
 
7101
if test -z "$ac_cv_prog_DLLTOOL"; then
 
7102
  ac_ct_DLLTOOL=$DLLTOOL
 
7103
  # Extract the first word of "dlltool", so it can be a program name with args.
 
7104
set dummy dlltool; ac_word=$2
 
7105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7106
$as_echo_n "checking for $ac_word... " >&6; }
 
7107
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
7108
  $as_echo_n "(cached) " >&6
 
7109
else
 
7110
  if test -n "$ac_ct_DLLTOOL"; then
 
7111
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
7112
else
 
7113
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7114
for as_dir in $PATH
 
7115
do
 
7116
  IFS=$as_save_IFS
 
7117
  test -z "$as_dir" && as_dir=.
 
7118
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7119
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7120
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
7121
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7122
    break 2
 
7123
  fi
 
7124
done
 
7125
  done
 
7126
IFS=$as_save_IFS
 
7127
 
 
7128
fi
 
7129
fi
 
7130
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
7131
if test -n "$ac_ct_DLLTOOL"; then
 
7132
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
7133
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
7134
else
 
7135
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7136
$as_echo "no" >&6; }
 
7137
fi
 
7138
 
 
7139
  if test "x$ac_ct_DLLTOOL" = x; then
 
7140
    DLLTOOL="false"
 
7141
  else
 
7142
    case $cross_compiling:$ac_tool_warned in
 
7143
yes:)
 
7144
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7145
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7146
ac_tool_warned=yes ;;
 
7147
esac
 
7148
    DLLTOOL=$ac_ct_DLLTOOL
 
7149
  fi
 
7150
else
 
7151
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
7152
fi
 
7153
 
 
7154
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
7155
 
 
7156
 
 
7157
 
 
7158
 
 
7159
 
 
7160
 
 
7161
 
 
7162
 
 
7163
 
 
7164
 
 
7165
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
7166
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
7167
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
7168
  $as_echo_n "(cached) " >&6
 
7169
else
 
7170
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
7171
 
 
7172
case $host_os in
 
7173
cygwin* | mingw* | pw32* | cegcc*)
 
7174
  # two different shell functions defined in ltmain.sh
 
7175
  # decide which to use based on capabilities of $DLLTOOL
 
7176
  case `$DLLTOOL --help 2>&1` in
 
7177
  *--identify-strict*)
 
7178
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
7179
    ;;
 
7180
  *)
 
7181
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
7182
    ;;
 
7183
  esac
 
7184
  ;;
 
7185
*)
 
7186
  # fallback: assume linklib IS sharedlib
 
7187
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
7188
  ;;
 
7189
esac
 
7190
 
 
7191
fi
 
7192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
7193
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
7194
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
7195
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
7196
 
 
7197
 
 
7198
 
 
7199
 
 
7200
 
 
7201
 
 
7202
 
 
7203
if test -n "$ac_tool_prefix"; then
 
7204
  for ac_prog in ar
 
7205
  do
 
7206
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7207
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7209
$as_echo_n "checking for $ac_word... " >&6; }
 
7210
if ${ac_cv_prog_AR+:} false; then :
6925
7211
  $as_echo_n "(cached) " >&6
6926
7212
else
6927
7213
  if test -n "$AR"; then
6933
7219
  IFS=$as_save_IFS
6934
7220
  test -z "$as_dir" && as_dir=.
6935
7221
    for ac_exec_ext in '' $ac_executable_extensions; do
6936
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6937
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
7222
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7223
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6938
7224
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6939
7225
    break 2
6940
7226
  fi
6954
7240
fi
6955
7241
 
6956
7242
 
 
7243
    test -n "$AR" && break
 
7244
  done
6957
7245
fi
6958
 
if test -z "$ac_cv_prog_AR"; then
 
7246
if test -z "$AR"; then
6959
7247
  ac_ct_AR=$AR
6960
 
  # Extract the first word of "ar", so it can be a program name with args.
6961
 
set dummy ar; ac_word=$2
 
7248
  for ac_prog in ar
 
7249
do
 
7250
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7251
set dummy $ac_prog; ac_word=$2
6962
7252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963
7253
$as_echo_n "checking for $ac_word... " >&6; }
6964
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
7254
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6965
7255
  $as_echo_n "(cached) " >&6
6966
7256
else
6967
7257
  if test -n "$ac_ct_AR"; then
6973
7263
  IFS=$as_save_IFS
6974
7264
  test -z "$as_dir" && as_dir=.
6975
7265
    for ac_exec_ext in '' $ac_executable_extensions; do
6976
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6977
 
    ac_cv_prog_ac_ct_AR="ar"
 
7266
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7267
    ac_cv_prog_ac_ct_AR="$ac_prog"
6978
7268
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6979
7269
    break 2
6980
7270
  fi
6993
7283
$as_echo "no" >&6; }
6994
7284
fi
6995
7285
 
 
7286
 
 
7287
  test -n "$ac_ct_AR" && break
 
7288
done
 
7289
 
6996
7290
  if test "x$ac_ct_AR" = x; then
6997
7291
    AR="false"
6998
7292
  else
7004
7298
esac
7005
7299
    AR=$ac_ct_AR
7006
7300
  fi
7007
 
else
7008
 
  AR="$ac_cv_prog_AR"
7009
 
fi
7010
 
 
7011
 
test -z "$AR" && AR=ar
7012
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7013
 
 
7014
 
 
7015
 
 
7016
 
 
 
7301
fi
 
7302
 
 
7303
: ${AR=ar}
 
7304
: ${AR_FLAGS=cru}
 
7305
 
 
7306
 
 
7307
 
 
7308
 
 
7309
 
 
7310
 
 
7311
 
 
7312
 
 
7313
 
 
7314
 
 
7315
 
 
7316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
7317
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
7318
if ${lt_cv_ar_at_file+:} false; then :
 
7319
  $as_echo_n "(cached) " >&6
 
7320
else
 
7321
  lt_cv_ar_at_file=no
 
7322
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7323
/* end confdefs.h.  */
 
7324
 
 
7325
int
 
7326
main ()
 
7327
{
 
7328
 
 
7329
  ;
 
7330
  return 0;
 
7331
}
 
7332
_ACEOF
 
7333
if ac_fn_c_try_compile "$LINENO"; then :
 
7334
  echo conftest.$ac_objext > conftest.lst
 
7335
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
7336
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7337
  (eval $lt_ar_try) 2>&5
 
7338
  ac_status=$?
 
7339
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7340
  test $ac_status = 0; }
 
7341
      if test "$ac_status" -eq 0; then
 
7342
        # Ensure the archiver fails upon bogus file names.
 
7343
        rm -f conftest.$ac_objext libconftest.a
 
7344
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7345
  (eval $lt_ar_try) 2>&5
 
7346
  ac_status=$?
 
7347
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7348
  test $ac_status = 0; }
 
7349
        if test "$ac_status" -ne 0; then
 
7350
          lt_cv_ar_at_file=@
 
7351
        fi
 
7352
      fi
 
7353
      rm -f conftest.* libconftest.a
 
7354
 
 
7355
fi
 
7356
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7357
 
 
7358
fi
 
7359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
7360
$as_echo "$lt_cv_ar_at_file" >&6; }
 
7361
 
 
7362
if test "x$lt_cv_ar_at_file" = xno; then
 
7363
  archiver_list_spec=
 
7364
else
 
7365
  archiver_list_spec=$lt_cv_ar_at_file
 
7366
fi
7017
7367
 
7018
7368
 
7019
7369
 
7026
7376
set dummy ${ac_tool_prefix}strip; ac_word=$2
7027
7377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7028
7378
$as_echo_n "checking for $ac_word... " >&6; }
7029
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
7379
if ${ac_cv_prog_STRIP+:} false; then :
7030
7380
  $as_echo_n "(cached) " >&6
7031
7381
else
7032
7382
  if test -n "$STRIP"; then
7038
7388
  IFS=$as_save_IFS
7039
7389
  test -z "$as_dir" && as_dir=.
7040
7390
    for ac_exec_ext in '' $ac_executable_extensions; do
7041
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7391
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7042
7392
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7043
7393
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7044
7394
    break 2
7066
7416
set dummy strip; ac_word=$2
7067
7417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7068
7418
$as_echo_n "checking for $ac_word... " >&6; }
7069
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
7419
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7070
7420
  $as_echo_n "(cached) " >&6
7071
7421
else
7072
7422
  if test -n "$ac_ct_STRIP"; then
7078
7428
  IFS=$as_save_IFS
7079
7429
  test -z "$as_dir" && as_dir=.
7080
7430
    for ac_exec_ext in '' $ac_executable_extensions; do
7081
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7431
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7082
7432
    ac_cv_prog_ac_ct_STRIP="strip"
7083
7433
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7084
7434
    break 2
7125
7475
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7126
7476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7127
7477
$as_echo_n "checking for $ac_word... " >&6; }
7128
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
7478
if ${ac_cv_prog_RANLIB+:} false; then :
7129
7479
  $as_echo_n "(cached) " >&6
7130
7480
else
7131
7481
  if test -n "$RANLIB"; then
7137
7487
  IFS=$as_save_IFS
7138
7488
  test -z "$as_dir" && as_dir=.
7139
7489
    for ac_exec_ext in '' $ac_executable_extensions; do
7140
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7490
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7141
7491
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7142
7492
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7143
7493
    break 2
7165
7515
set dummy ranlib; ac_word=$2
7166
7516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167
7517
$as_echo_n "checking for $ac_word... " >&6; }
7168
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
7518
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7169
7519
  $as_echo_n "(cached) " >&6
7170
7520
else
7171
7521
  if test -n "$ac_ct_RANLIB"; then
7177
7527
  IFS=$as_save_IFS
7178
7528
  test -z "$as_dir" && as_dir=.
7179
7529
    for ac_exec_ext in '' $ac_executable_extensions; do
7180
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7530
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7181
7531
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7182
7532
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7183
7533
    break 2
7227
7577
if test -n "$RANLIB"; then
7228
7578
  case $host_os in
7229
7579
  openbsd*)
7230
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
7580
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7231
7581
    ;;
7232
7582
  *)
7233
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
7583
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7234
7584
    ;;
7235
7585
  esac
7236
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
7586
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7237
7587
fi
7238
7588
 
 
7589
case $host_os in
 
7590
  darwin*)
 
7591
    lock_old_archive_extraction=yes ;;
 
7592
  *)
 
7593
    lock_old_archive_extraction=no ;;
 
7594
esac
 
7595
 
 
7596
 
 
7597
 
 
7598
 
 
7599
 
 
7600
 
7239
7601
 
7240
7602
 
7241
7603
 
7282
7644
# Check for command to grab the raw symbol name followed by C symbol from nm.
7283
7645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7284
7646
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7285
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
7647
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7286
7648
  $as_echo_n "(cached) " >&6
7287
7649
else
7288
7650
 
7343
7705
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7344
7706
 
7345
7707
# Transform an extracted symbol line into symbol name and symbol address
7346
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7347
 
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'"
 
7708
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7709
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'"
7348
7710
 
7349
7711
# Handle CRLF in mingw tool chain
7350
7712
opt_cr=
7368
7730
    # which start with @ or ?.
7369
7731
    lt_cv_sys_global_symbol_pipe="$AWK '"\
7370
7732
"     {last_section=section; section=\$ 3};"\
 
7733
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7371
7734
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7372
7735
"     \$ 0!~/External *\|/{next};"\
7373
7736
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7380
7743
  else
7381
7744
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7382
7745
  fi
 
7746
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7383
7747
 
7384
7748
  # Check to see that the pipe works correctly.
7385
7749
  pipe_works=no
7405
7769
  test $ac_status = 0; }; then
7406
7770
    # Now try to grab the symbols.
7407
7771
    nlist=conftest.nm
7408
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7409
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
7772
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
7773
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7410
7774
  ac_status=$?
7411
7775
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7412
7776
  test $ac_status = 0; } && test -s "$nlist"; then
7421
7785
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7422
7786
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7423
7787
          cat <<_LT_EOF > conftest.$ac_ext
 
7788
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
7789
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
7790
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
7791
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
7792
# define LT_DLSYM_CONST
 
7793
#elif defined(__osf__)
 
7794
/* This system does not cope well with relocations in const data.  */
 
7795
# define LT_DLSYM_CONST
 
7796
#else
 
7797
# define LT_DLSYM_CONST const
 
7798
#endif
 
7799
 
7424
7800
#ifdef __cplusplus
7425
7801
extern "C" {
7426
7802
#endif
7432
7808
          cat <<_LT_EOF >> conftest.$ac_ext
7433
7809
 
7434
7810
/* The mapping between symbol names and symbols.  */
7435
 
const struct {
 
7811
LT_DLSYM_CONST struct {
7436
7812
  const char *name;
7437
7813
  void       *address;
7438
7814
}
7458
7834
_LT_EOF
7459
7835
          # Now try linking the two files.
7460
7836
          mv conftest.$ac_objext conftstm.$ac_objext
7461
 
          lt_save_LIBS="$LIBS"
7462
 
          lt_save_CFLAGS="$CFLAGS"
 
7837
          lt_globsym_save_LIBS=$LIBS
 
7838
          lt_globsym_save_CFLAGS=$CFLAGS
7463
7839
          LIBS="conftstm.$ac_objext"
7464
7840
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7465
7841
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7469
7845
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7470
7846
            pipe_works=yes
7471
7847
          fi
7472
 
          LIBS="$lt_save_LIBS"
7473
 
          CFLAGS="$lt_save_CFLAGS"
 
7848
          LIBS=$lt_globsym_save_LIBS
 
7849
          CFLAGS=$lt_globsym_save_CFLAGS
7474
7850
        else
7475
7851
          echo "cannot find nm_test_func in $nlist" >&5
7476
7852
        fi
7507
7883
$as_echo "ok" >&6; }
7508
7884
fi
7509
7885
 
7510
 
 
7511
 
 
7512
 
 
7513
 
 
7514
 
 
7515
 
 
7516
 
 
7517
 
 
7518
 
 
7519
 
 
7520
 
 
7521
 
 
7522
 
 
7523
 
 
7524
 
 
7525
 
 
 
7886
# Response file support.
 
7887
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7888
  nm_file_list_spec='@'
 
7889
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
7890
  nm_file_list_spec='@'
 
7891
fi
 
7892
 
 
7893
 
 
7894
 
 
7895
 
 
7896
 
 
7897
 
 
7898
 
 
7899
 
 
7900
 
 
7901
 
 
7902
 
 
7903
 
 
7904
 
 
7905
 
 
7906
 
 
7907
 
 
7908
 
 
7909
 
 
7910
 
 
7911
 
 
7912
 
 
7913
 
 
7914
 
 
7915
 
 
7916
 
 
7917
 
 
7918
 
 
7919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
7920
$as_echo_n "checking for sysroot... " >&6; }
 
7921
 
 
7922
# Check whether --with-sysroot was given.
 
7923
if test "${with_sysroot+set}" = set; then :
 
7924
  withval=$with_sysroot;
 
7925
else
 
7926
  with_sysroot=no
 
7927
fi
 
7928
 
 
7929
 
 
7930
lt_sysroot=
 
7931
case ${with_sysroot} in #(
 
7932
 yes)
 
7933
   if test "$GCC" = yes; then
 
7934
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
7935
   fi
 
7936
   ;; #(
 
7937
 /*)
 
7938
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
7939
   ;; #(
 
7940
 no|'')
 
7941
   ;; #(
 
7942
 *)
 
7943
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
7944
$as_echo "${with_sysroot}" >&6; }
 
7945
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
7946
   ;;
 
7947
esac
 
7948
 
 
7949
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
7950
$as_echo "${lt_sysroot:-no}" >&6; }
7526
7951
 
7527
7952
 
7528
7953
 
7559
7984
  ;;
7560
7985
*-*-irix6*)
7561
7986
  # Find out which ABI we are using.
7562
 
  echo '#line 7562 "configure"' > conftest.$ac_ext
 
7987
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7563
7988
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7564
7989
  (eval $ac_compile) 2>&5
7565
7990
  ac_status=$?
7653
8078
  CFLAGS="$CFLAGS -belf"
7654
8079
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7655
8080
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7656
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
8081
if ${lt_cv_cc_needs_belf+:} false; then :
7657
8082
  $as_echo_n "(cached) " >&6
7658
8083
else
7659
8084
  ac_ext=c
7694
8119
    CFLAGS="$SAVE_CFLAGS"
7695
8120
  fi
7696
8121
  ;;
7697
 
sparc*-*solaris*)
 
8122
*-*solaris*)
7698
8123
  # Find out which ABI we are using.
7699
8124
  echo 'int i;' > conftest.$ac_ext
7700
8125
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7705
8130
    case `/usr/bin/file conftest.o` in
7706
8131
    *64-bit*)
7707
8132
      case $lt_cv_prog_gnu_ld in
7708
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
8133
      yes*)
 
8134
        case $host in
 
8135
        i?86-*-solaris*)
 
8136
          LD="${LD-ld} -m elf_x86_64"
 
8137
          ;;
 
8138
        sparc*-*-solaris*)
 
8139
          LD="${LD-ld} -m elf64_sparc"
 
8140
          ;;
 
8141
        esac
 
8142
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
8143
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
8144
          LD="${LD-ld}_sol2"
 
8145
        fi
 
8146
        ;;
7709
8147
      *)
7710
8148
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7711
8149
          LD="${LD-ld} -64"
7721
8159
 
7722
8160
need_locks="$enable_libtool_lock"
7723
8161
 
 
8162
if test -n "$ac_tool_prefix"; then
 
8163
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
8164
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
8165
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8166
$as_echo_n "checking for $ac_word... " >&6; }
 
8167
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
8168
  $as_echo_n "(cached) " >&6
 
8169
else
 
8170
  if test -n "$MANIFEST_TOOL"; then
 
8171
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
8172
else
 
8173
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8174
for as_dir in $PATH
 
8175
do
 
8176
  IFS=$as_save_IFS
 
8177
  test -z "$as_dir" && as_dir=.
 
8178
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8179
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8180
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
8181
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8182
    break 2
 
8183
  fi
 
8184
done
 
8185
  done
 
8186
IFS=$as_save_IFS
 
8187
 
 
8188
fi
 
8189
fi
 
8190
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
8191
if test -n "$MANIFEST_TOOL"; then
 
8192
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
8193
$as_echo "$MANIFEST_TOOL" >&6; }
 
8194
else
 
8195
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8196
$as_echo "no" >&6; }
 
8197
fi
 
8198
 
 
8199
 
 
8200
fi
 
8201
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
8202
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
8203
  # Extract the first word of "mt", so it can be a program name with args.
 
8204
set dummy mt; ac_word=$2
 
8205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8206
$as_echo_n "checking for $ac_word... " >&6; }
 
8207
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
8208
  $as_echo_n "(cached) " >&6
 
8209
else
 
8210
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8211
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
8212
else
 
8213
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8214
for as_dir in $PATH
 
8215
do
 
8216
  IFS=$as_save_IFS
 
8217
  test -z "$as_dir" && as_dir=.
 
8218
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8219
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8220
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
8221
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8222
    break 2
 
8223
  fi
 
8224
done
 
8225
  done
 
8226
IFS=$as_save_IFS
 
8227
 
 
8228
fi
 
8229
fi
 
8230
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
8231
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8232
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
8233
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
8234
else
 
8235
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8236
$as_echo "no" >&6; }
 
8237
fi
 
8238
 
 
8239
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
8240
    MANIFEST_TOOL=":"
 
8241
  else
 
8242
    case $cross_compiling:$ac_tool_warned in
 
8243
yes:)
 
8244
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8245
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8246
ac_tool_warned=yes ;;
 
8247
esac
 
8248
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
8249
  fi
 
8250
else
 
8251
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
8252
fi
 
8253
 
 
8254
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
8255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
8256
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
8257
if ${lt_cv_path_mainfest_tool+:} false; then :
 
8258
  $as_echo_n "(cached) " >&6
 
8259
else
 
8260
  lt_cv_path_mainfest_tool=no
 
8261
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
8262
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
8263
  cat conftest.err >&5
 
8264
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
8265
    lt_cv_path_mainfest_tool=yes
 
8266
  fi
 
8267
  rm -f conftest*
 
8268
fi
 
8269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
8270
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
8271
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
8272
  MANIFEST_TOOL=:
 
8273
fi
 
8274
 
 
8275
 
 
8276
 
 
8277
 
 
8278
 
7724
8279
 
7725
8280
  case $host_os in
7726
8281
    rhapsody* | darwin*)
7729
8284
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7730
8285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7731
8286
$as_echo_n "checking for $ac_word... " >&6; }
7732
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
8287
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7733
8288
  $as_echo_n "(cached) " >&6
7734
8289
else
7735
8290
  if test -n "$DSYMUTIL"; then
7741
8296
  IFS=$as_save_IFS
7742
8297
  test -z "$as_dir" && as_dir=.
7743
8298
    for ac_exec_ext in '' $ac_executable_extensions; do
7744
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8299
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7745
8300
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7746
8301
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7747
8302
    break 2
7769
8324
set dummy dsymutil; ac_word=$2
7770
8325
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7771
8326
$as_echo_n "checking for $ac_word... " >&6; }
7772
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
8327
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7773
8328
  $as_echo_n "(cached) " >&6
7774
8329
else
7775
8330
  if test -n "$ac_ct_DSYMUTIL"; then
7781
8336
  IFS=$as_save_IFS
7782
8337
  test -z "$as_dir" && as_dir=.
7783
8338
    for ac_exec_ext in '' $ac_executable_extensions; do
7784
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8339
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7785
8340
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7786
8341
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7787
8342
    break 2
7821
8376
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7822
8377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7823
8378
$as_echo_n "checking for $ac_word... " >&6; }
7824
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
8379
if ${ac_cv_prog_NMEDIT+:} false; then :
7825
8380
  $as_echo_n "(cached) " >&6
7826
8381
else
7827
8382
  if test -n "$NMEDIT"; then
7833
8388
  IFS=$as_save_IFS
7834
8389
  test -z "$as_dir" && as_dir=.
7835
8390
    for ac_exec_ext in '' $ac_executable_extensions; do
7836
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8391
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7837
8392
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7838
8393
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7839
8394
    break 2
7861
8416
set dummy nmedit; ac_word=$2
7862
8417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7863
8418
$as_echo_n "checking for $ac_word... " >&6; }
7864
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
8419
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7865
8420
  $as_echo_n "(cached) " >&6
7866
8421
else
7867
8422
  if test -n "$ac_ct_NMEDIT"; then
7873
8428
  IFS=$as_save_IFS
7874
8429
  test -z "$as_dir" && as_dir=.
7875
8430
    for ac_exec_ext in '' $ac_executable_extensions; do
7876
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8431
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7877
8432
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7878
8433
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7879
8434
    break 2
7913
8468
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7914
8469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915
8470
$as_echo_n "checking for $ac_word... " >&6; }
7916
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
8471
if ${ac_cv_prog_LIPO+:} false; then :
7917
8472
  $as_echo_n "(cached) " >&6
7918
8473
else
7919
8474
  if test -n "$LIPO"; then
7925
8480
  IFS=$as_save_IFS
7926
8481
  test -z "$as_dir" && as_dir=.
7927
8482
    for ac_exec_ext in '' $ac_executable_extensions; do
7928
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8483
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7929
8484
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7930
8485
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7931
8486
    break 2
7953
8508
set dummy lipo; ac_word=$2
7954
8509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955
8510
$as_echo_n "checking for $ac_word... " >&6; }
7956
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
8511
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7957
8512
  $as_echo_n "(cached) " >&6
7958
8513
else
7959
8514
  if test -n "$ac_ct_LIPO"; then
7965
8520
  IFS=$as_save_IFS
7966
8521
  test -z "$as_dir" && as_dir=.
7967
8522
    for ac_exec_ext in '' $ac_executable_extensions; do
7968
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8523
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7969
8524
    ac_cv_prog_ac_ct_LIPO="lipo"
7970
8525
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7971
8526
    break 2
8005
8560
set dummy ${ac_tool_prefix}otool; ac_word=$2
8006
8561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8007
8562
$as_echo_n "checking for $ac_word... " >&6; }
8008
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
8563
if ${ac_cv_prog_OTOOL+:} false; then :
8009
8564
  $as_echo_n "(cached) " >&6
8010
8565
else
8011
8566
  if test -n "$OTOOL"; then
8017
8572
  IFS=$as_save_IFS
8018
8573
  test -z "$as_dir" && as_dir=.
8019
8574
    for ac_exec_ext in '' $ac_executable_extensions; do
8020
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8575
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8021
8576
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8022
8577
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8023
8578
    break 2
8045
8600
set dummy otool; ac_word=$2
8046
8601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8047
8602
$as_echo_n "checking for $ac_word... " >&6; }
8048
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
8603
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8049
8604
  $as_echo_n "(cached) " >&6
8050
8605
else
8051
8606
  if test -n "$ac_ct_OTOOL"; then
8057
8612
  IFS=$as_save_IFS
8058
8613
  test -z "$as_dir" && as_dir=.
8059
8614
    for ac_exec_ext in '' $ac_executable_extensions; do
8060
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8615
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8061
8616
    ac_cv_prog_ac_ct_OTOOL="otool"
8062
8617
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8063
8618
    break 2
8097
8652
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8098
8653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8099
8654
$as_echo_n "checking for $ac_word... " >&6; }
8100
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
8655
if ${ac_cv_prog_OTOOL64+:} false; then :
8101
8656
  $as_echo_n "(cached) " >&6
8102
8657
else
8103
8658
  if test -n "$OTOOL64"; then
8109
8664
  IFS=$as_save_IFS
8110
8665
  test -z "$as_dir" && as_dir=.
8111
8666
    for ac_exec_ext in '' $ac_executable_extensions; do
8112
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8667
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8113
8668
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8114
8669
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8115
8670
    break 2
8137
8692
set dummy otool64; ac_word=$2
8138
8693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8139
8694
$as_echo_n "checking for $ac_word... " >&6; }
8140
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
8695
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8141
8696
  $as_echo_n "(cached) " >&6
8142
8697
else
8143
8698
  if test -n "$ac_ct_OTOOL64"; then
8149
8704
  IFS=$as_save_IFS
8150
8705
  test -z "$as_dir" && as_dir=.
8151
8706
    for ac_exec_ext in '' $ac_executable_extensions; do
8152
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8707
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8153
8708
    ac_cv_prog_ac_ct_OTOOL64="otool64"
8154
8709
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8155
8710
    break 2
8212
8767
 
8213
8768
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8214
8769
$as_echo_n "checking for -single_module linker flag... " >&6; }
8215
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
8770
if ${lt_cv_apple_cc_single_mod+:} false; then :
8216
8771
  $as_echo_n "(cached) " >&6
8217
8772
else
8218
8773
  lt_cv_apple_cc_single_mod=no
8228
8783
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8229
8784
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8230
8785
        _lt_result=$?
8231
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
8786
        # If there is a non-empty error log, and "single_module"
 
8787
        # appears in it, assume the flag caused a linker warning
 
8788
        if test -s conftest.err && $GREP single_module conftest.err; then
 
8789
          cat conftest.err >&5
 
8790
        # Otherwise, if the output was created with a 0 exit code from
 
8791
        # the compiler, it worked.
 
8792
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8232
8793
          lt_cv_apple_cc_single_mod=yes
8233
8794
        else
8234
8795
          cat conftest.err >&5
8239
8800
fi
8240
8801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8241
8802
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
8803
 
8242
8804
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8243
8805
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8244
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
8806
if ${lt_cv_ld_exported_symbols_list+:} false; then :
8245
8807
  $as_echo_n "(cached) " >&6
8246
8808
else
8247
8809
  lt_cv_ld_exported_symbols_list=no
8271
8833
fi
8272
8834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8273
8835
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
8836
 
 
8837
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
8838
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
8839
if ${lt_cv_ld_force_load+:} false; then :
 
8840
  $as_echo_n "(cached) " >&6
 
8841
else
 
8842
  lt_cv_ld_force_load=no
 
8843
      cat > conftest.c << _LT_EOF
 
8844
int forced_loaded() { return 2;}
 
8845
_LT_EOF
 
8846
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
8847
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
8848
      echo "$AR cru libconftest.a conftest.o" >&5
 
8849
      $AR cru libconftest.a conftest.o 2>&5
 
8850
      echo "$RANLIB libconftest.a" >&5
 
8851
      $RANLIB libconftest.a 2>&5
 
8852
      cat > conftest.c << _LT_EOF
 
8853
int main() { return 0;}
 
8854
_LT_EOF
 
8855
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
8856
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
8857
      _lt_result=$?
 
8858
      if test -s conftest.err && $GREP force_load conftest.err; then
 
8859
        cat conftest.err >&5
 
8860
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
8861
        lt_cv_ld_force_load=yes
 
8862
      else
 
8863
        cat conftest.err >&5
 
8864
      fi
 
8865
        rm -f conftest.err libconftest.a conftest conftest.c
 
8866
        rm -rf conftest.dSYM
 
8867
 
 
8868
fi
 
8869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
8870
$as_echo "$lt_cv_ld_force_load" >&6; }
8274
8871
    case $host_os in
8275
8872
    rhapsody* | darwin1.[012])
8276
8873
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8298
8895
    else
8299
8896
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8300
8897
    fi
8301
 
    if test "$DSYMUTIL" != ":"; then
 
8898
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8302
8899
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8303
8900
    else
8304
8901
      _lt_dsymutil=
8318
8915
  CPP=
8319
8916
fi
8320
8917
if test -z "$CPP"; then
8321
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
8918
  if ${ac_cv_prog_CPP+:} false; then :
8322
8919
  $as_echo_n "(cached) " >&6
8323
8920
else
8324
8921
      # Double quotes because CPP needs to be expanded
8434
9031
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8435
9032
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8436
9033
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8437
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
9034
See \`config.log' for more details" "$LINENO" 5; }
8438
9035
fi
8439
9036
 
8440
9037
ac_ext=c
8446
9043
 
8447
9044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8448
9045
$as_echo_n "checking for ANSI C header files... " >&6; }
8449
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
9046
if ${ac_cv_header_stdc+:} false; then :
8450
9047
  $as_echo_n "(cached) " >&6
8451
9048
else
8452
9049
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8577
9174
do :
8578
9175
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8579
9176
"
8580
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
9177
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8581
9178
  cat >>confdefs.h <<_ACEOF
8582
9179
#define HAVE_DLFCN_H 1
8583
9180
_ACEOF
8588
9185
 
8589
9186
 
8590
9187
 
8591
 
ac_ext=cpp
8592
 
ac_cpp='$CXXCPP $CPPFLAGS'
8593
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8594
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8595
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8596
 
if test -z "$CXX"; then
8597
 
  if test -n "$CCC"; then
8598
 
    CXX=$CCC
8599
 
  else
8600
 
    if test -n "$ac_tool_prefix"; then
8601
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8602
 
  do
8603
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8604
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8605
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8606
 
$as_echo_n "checking for $ac_word... " >&6; }
8607
 
if test "${ac_cv_prog_CXX+set}" = set; then :
8608
 
  $as_echo_n "(cached) " >&6
8609
 
else
8610
 
  if test -n "$CXX"; then
8611
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
8612
 
else
8613
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8614
 
for as_dir in $PATH
8615
 
do
8616
 
  IFS=$as_save_IFS
8617
 
  test -z "$as_dir" && as_dir=.
8618
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8619
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8620
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8621
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8622
 
    break 2
8623
 
  fi
8624
 
done
8625
 
  done
8626
 
IFS=$as_save_IFS
8627
 
 
8628
 
fi
8629
 
fi
8630
 
CXX=$ac_cv_prog_CXX
8631
 
if test -n "$CXX"; then
8632
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
8633
 
$as_echo "$CXX" >&6; }
8634
 
else
8635
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8636
 
$as_echo "no" >&6; }
8637
 
fi
8638
 
 
8639
 
 
8640
 
    test -n "$CXX" && break
8641
 
  done
8642
 
fi
8643
 
if test -z "$CXX"; then
8644
 
  ac_ct_CXX=$CXX
8645
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8646
 
do
8647
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
8648
 
set dummy $ac_prog; ac_word=$2
8649
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8650
 
$as_echo_n "checking for $ac_word... " >&6; }
8651
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
8652
 
  $as_echo_n "(cached) " >&6
8653
 
else
8654
 
  if test -n "$ac_ct_CXX"; then
8655
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8656
 
else
8657
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8658
 
for as_dir in $PATH
8659
 
do
8660
 
  IFS=$as_save_IFS
8661
 
  test -z "$as_dir" && as_dir=.
8662
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8663
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8664
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
8665
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8666
 
    break 2
8667
 
  fi
8668
 
done
8669
 
  done
8670
 
IFS=$as_save_IFS
8671
 
 
8672
 
fi
8673
 
fi
8674
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8675
 
if test -n "$ac_ct_CXX"; then
8676
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
8677
 
$as_echo "$ac_ct_CXX" >&6; }
8678
 
else
8679
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8680
 
$as_echo "no" >&6; }
8681
 
fi
8682
 
 
8683
 
 
8684
 
  test -n "$ac_ct_CXX" && break
8685
 
done
8686
 
 
8687
 
  if test "x$ac_ct_CXX" = x; then
8688
 
    CXX="g++"
8689
 
  else
8690
 
    case $cross_compiling:$ac_tool_warned in
8691
 
yes:)
8692
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8693
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8694
 
ac_tool_warned=yes ;;
8695
 
esac
8696
 
    CXX=$ac_ct_CXX
8697
 
  fi
8698
 
fi
8699
 
 
8700
 
  fi
8701
 
fi
8702
 
# Provide some information about the compiler.
8703
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
8704
 
set X $ac_compile
8705
 
ac_compiler=$2
8706
 
for ac_option in --version -v -V -qversion; do
8707
 
  { { ac_try="$ac_compiler $ac_option >&5"
8708
 
case "(($ac_try" in
8709
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8710
 
  *) ac_try_echo=$ac_try;;
8711
 
esac
8712
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8713
 
$as_echo "$ac_try_echo"; } >&5
8714
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8715
 
  ac_status=$?
8716
 
  if test -s conftest.err; then
8717
 
    sed '10a\
8718
 
... rest of stderr output deleted ...
8719
 
         10q' conftest.err >conftest.er1
8720
 
    cat conftest.er1 >&5
8721
 
  fi
8722
 
  rm -f conftest.er1 conftest.err
8723
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8724
 
  test $ac_status = 0; }
8725
 
done
8726
 
 
8727
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
8728
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
8729
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
8730
 
  $as_echo_n "(cached) " >&6
8731
 
else
8732
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8733
 
/* end confdefs.h.  */
8734
 
 
8735
 
int
8736
 
main ()
8737
 
{
8738
 
#ifndef __GNUC__
8739
 
       choke me
8740
 
#endif
8741
 
 
8742
 
  ;
8743
 
  return 0;
8744
 
}
8745
 
_ACEOF
8746
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8747
 
  ac_compiler_gnu=yes
8748
 
else
8749
 
  ac_compiler_gnu=no
8750
 
fi
8751
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8752
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8753
 
 
8754
 
fi
8755
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
8756
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
8757
 
if test $ac_compiler_gnu = yes; then
8758
 
  GXX=yes
8759
 
else
8760
 
  GXX=
8761
 
fi
8762
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
8763
 
ac_save_CXXFLAGS=$CXXFLAGS
8764
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
8765
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
8766
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
8767
 
  $as_echo_n "(cached) " >&6
8768
 
else
8769
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8770
 
   ac_cxx_werror_flag=yes
8771
 
   ac_cv_prog_cxx_g=no
8772
 
   CXXFLAGS="-g"
8773
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8774
 
/* end confdefs.h.  */
8775
 
 
8776
 
int
8777
 
main ()
8778
 
{
8779
 
 
8780
 
  ;
8781
 
  return 0;
8782
 
}
8783
 
_ACEOF
8784
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8785
 
  ac_cv_prog_cxx_g=yes
8786
 
else
8787
 
  CXXFLAGS=""
8788
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8789
 
/* end confdefs.h.  */
8790
 
 
8791
 
int
8792
 
main ()
8793
 
{
8794
 
 
8795
 
  ;
8796
 
  return 0;
8797
 
}
8798
 
_ACEOF
8799
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8800
 
 
8801
 
else
8802
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8803
 
         CXXFLAGS="-g"
8804
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8805
 
/* end confdefs.h.  */
8806
 
 
8807
 
int
8808
 
main ()
8809
 
{
8810
 
 
8811
 
  ;
8812
 
  return 0;
8813
 
}
8814
 
_ACEOF
8815
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8816
 
  ac_cv_prog_cxx_g=yes
8817
 
fi
8818
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8819
 
fi
8820
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8821
 
fi
8822
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8823
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8824
 
fi
8825
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
8826
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
8827
 
if test "$ac_test_CXXFLAGS" = set; then
8828
 
  CXXFLAGS=$ac_save_CXXFLAGS
8829
 
elif test $ac_cv_prog_cxx_g = yes; then
8830
 
  if test "$GXX" = yes; then
8831
 
    CXXFLAGS="-g -O2"
8832
 
  else
8833
 
    CXXFLAGS="-g"
8834
 
  fi
8835
 
else
8836
 
  if test "$GXX" = yes; then
8837
 
    CXXFLAGS="-O2"
8838
 
  else
8839
 
    CXXFLAGS=
8840
 
  fi
8841
 
fi
8842
 
ac_ext=c
8843
 
ac_cpp='$CPP $CPPFLAGS'
8844
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8845
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8846
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8847
 
 
8848
 
depcc="$CXX"  am_compiler_list=
8849
 
 
8850
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8851
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
8852
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
8853
 
  $as_echo_n "(cached) " >&6
8854
 
else
8855
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8856
 
  # We make a subdir and do the tests there.  Otherwise we can end up
8857
 
  # making bogus files that we don't know about and never remove.  For
8858
 
  # instance it was reported that on HP-UX the gcc test will end up
8859
 
  # making a dummy file named `D' -- because `-MD' means `put the output
8860
 
  # in D'.
8861
 
  mkdir conftest.dir
8862
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
8863
 
  # using a relative directory.
8864
 
  cp "$am_depcomp" conftest.dir
8865
 
  cd conftest.dir
8866
 
  # We will build objects and dependencies in a subdirectory because
8867
 
  # it helps to detect inapplicable dependency modes.  For instance
8868
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
8869
 
  # side effect of compilation, but ICC will put the dependencies in
8870
 
  # the current directory while Tru64 will put them in the object
8871
 
  # directory.
8872
 
  mkdir sub
8873
 
 
8874
 
  am_cv_CXX_dependencies_compiler_type=none
8875
 
  if test "$am_compiler_list" = ""; then
8876
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8877
 
  fi
8878
 
  am__universal=false
8879
 
  case " $depcc " in #(
8880
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
8881
 
     esac
8882
 
 
8883
 
  for depmode in $am_compiler_list; do
8884
 
    # Setup a source with many dependencies, because some compilers
8885
 
    # like to wrap large dependency lists on column 80 (with \), and
8886
 
    # we should not choose a depcomp mode which is confused by this.
8887
 
    #
8888
 
    # We need to recreate these files for each test, as the compiler may
8889
 
    # overwrite some of them when testing with obscure command lines.
8890
 
    # This happens at least with the AIX C compiler.
8891
 
    : > sub/conftest.c
8892
 
    for i in 1 2 3 4 5 6; do
8893
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
8894
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8895
 
      # Solaris 8's {/usr,}/bin/sh.
8896
 
      touch sub/conftst$i.h
8897
 
    done
8898
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8899
 
 
8900
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
8901
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
8902
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
8903
 
    # versions had trouble with output in subdirs
8904
 
    am__obj=sub/conftest.${OBJEXT-o}
8905
 
    am__minus_obj="-o $am__obj"
8906
 
    case $depmode in
8907
 
    gcc)
8908
 
      # This depmode causes a compiler race in universal mode.
8909
 
      test "$am__universal" = false || continue
8910
 
      ;;
8911
 
    nosideeffect)
8912
 
      # after this tag, mechanisms are not by side-effect, so they'll
8913
 
      # only be used when explicitly requested
8914
 
      if test "x$enable_dependency_tracking" = xyes; then
8915
 
        continue
8916
 
      else
8917
 
        break
8918
 
      fi
8919
 
      ;;
8920
 
    msvisualcpp | msvcmsys)
8921
 
      # This compiler won't grok `-c -o', but also, the minuso test has
8922
 
      # not run yet.  These depmodes are late enough in the game, and
8923
 
      # so weak that their functioning should not be impacted.
8924
 
      am__obj=conftest.${OBJEXT-o}
8925
 
      am__minus_obj=
8926
 
      ;;
8927
 
    none) break ;;
8928
 
    esac
8929
 
    if depmode=$depmode \
8930
 
       source=sub/conftest.c object=$am__obj \
8931
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8932
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8933
 
         >/dev/null 2>conftest.err &&
8934
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8935
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8936
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8937
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8938
 
      # icc doesn't choke on unknown options, it will just issue warnings
8939
 
      # or remarks (even with -Werror).  So we grep stderr for any message
8940
 
      # that says an option was ignored or not supported.
8941
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
8942
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
8943
 
      # The diagnosis changed in icc 8.0:
8944
 
      #   icc: Command line remark: option '-MP' not supported
8945
 
      if (grep 'ignoring option' conftest.err ||
8946
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8947
 
        am_cv_CXX_dependencies_compiler_type=$depmode
8948
 
        break
8949
 
      fi
8950
 
    fi
8951
 
  done
8952
 
 
8953
 
  cd ..
8954
 
  rm -rf conftest.dir
8955
 
else
8956
 
  am_cv_CXX_dependencies_compiler_type=none
8957
 
fi
8958
 
 
8959
 
fi
8960
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
8961
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8962
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8963
 
 
8964
 
 if
8965
 
  test "x$enable_dependency_tracking" != xno \
8966
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8967
 
  am__fastdepCXX_TRUE=
8968
 
  am__fastdepCXX_FALSE='#'
8969
 
else
8970
 
  am__fastdepCXX_TRUE='#'
8971
 
  am__fastdepCXX_FALSE=
8972
 
fi
8973
 
 
8974
 
 
8975
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8976
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8977
 
    (test "X$CXX" != "Xg++"))) ; then
8978
 
  ac_ext=cpp
8979
 
ac_cpp='$CXXCPP $CPPFLAGS'
8980
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8981
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8982
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8983
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8984
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8985
 
if test -z "$CXXCPP"; then
8986
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
8987
 
  $as_echo_n "(cached) " >&6
8988
 
else
8989
 
      # Double quotes because CXXCPP needs to be expanded
8990
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
8991
 
    do
8992
 
      ac_preproc_ok=false
8993
 
for ac_cxx_preproc_warn_flag in '' yes
8994
 
do
8995
 
  # Use a header file that comes with gcc, so configuring glibc
8996
 
  # with a fresh cross-compiler works.
8997
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8998
 
  # <limits.h> exists even on freestanding compilers.
8999
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
9000
 
  # not just through cpp. "Syntax error" is here to catch this case.
9001
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9002
 
/* end confdefs.h.  */
9003
 
#ifdef __STDC__
9004
 
# include <limits.h>
9005
 
#else
9006
 
# include <assert.h>
9007
 
#endif
9008
 
                     Syntax error
9009
 
_ACEOF
9010
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
9011
 
 
9012
 
else
9013
 
  # Broken: fails on valid input.
9014
 
continue
9015
 
fi
9016
 
rm -f conftest.err conftest.i conftest.$ac_ext
9017
 
 
9018
 
  # OK, works on sane cases.  Now check whether nonexistent headers
9019
 
  # can be detected and how.
9020
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9021
 
/* end confdefs.h.  */
9022
 
#include <ac_nonexistent.h>
9023
 
_ACEOF
9024
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
9025
 
  # Broken: success on invalid input.
9026
 
continue
9027
 
else
9028
 
  # Passes both tests.
9029
 
ac_preproc_ok=:
9030
 
break
9031
 
fi
9032
 
rm -f conftest.err conftest.i conftest.$ac_ext
9033
 
 
9034
 
done
9035
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9036
 
rm -f conftest.i conftest.err conftest.$ac_ext
9037
 
if $ac_preproc_ok; then :
9038
 
  break
9039
 
fi
9040
 
 
9041
 
    done
9042
 
    ac_cv_prog_CXXCPP=$CXXCPP
9043
 
 
9044
 
fi
9045
 
  CXXCPP=$ac_cv_prog_CXXCPP
9046
 
else
9047
 
  ac_cv_prog_CXXCPP=$CXXCPP
9048
 
fi
9049
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
9050
 
$as_echo "$CXXCPP" >&6; }
9051
 
ac_preproc_ok=false
9052
 
for ac_cxx_preproc_warn_flag in '' yes
9053
 
do
9054
 
  # Use a header file that comes with gcc, so configuring glibc
9055
 
  # with a fresh cross-compiler works.
9056
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9057
 
  # <limits.h> exists even on freestanding compilers.
9058
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
9059
 
  # not just through cpp. "Syntax error" is here to catch this case.
9060
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9061
 
/* end confdefs.h.  */
9062
 
#ifdef __STDC__
9063
 
# include <limits.h>
9064
 
#else
9065
 
# include <assert.h>
9066
 
#endif
9067
 
                     Syntax error
9068
 
_ACEOF
9069
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
9070
 
 
9071
 
else
9072
 
  # Broken: fails on valid input.
9073
 
continue
9074
 
fi
9075
 
rm -f conftest.err conftest.i conftest.$ac_ext
9076
 
 
9077
 
  # OK, works on sane cases.  Now check whether nonexistent headers
9078
 
  # can be detected and how.
9079
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9080
 
/* end confdefs.h.  */
9081
 
#include <ac_nonexistent.h>
9082
 
_ACEOF
9083
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
9084
 
  # Broken: success on invalid input.
9085
 
continue
9086
 
else
9087
 
  # Passes both tests.
9088
 
ac_preproc_ok=:
9089
 
break
9090
 
fi
9091
 
rm -f conftest.err conftest.i conftest.$ac_ext
9092
 
 
9093
 
done
9094
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9095
 
rm -f conftest.i conftest.err conftest.$ac_ext
9096
 
if $ac_preproc_ok; then :
9097
 
 
9098
 
else
9099
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9100
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9101
 
_lt_caught_CXX_error=yes; }
9102
 
fi
9103
 
 
9104
 
ac_ext=c
9105
 
ac_cpp='$CPP $CPPFLAGS'
9106
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9107
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9108
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9109
 
 
9110
 
else
9111
 
  _lt_caught_CXX_error=yes
9112
 
fi
 
9188
 
 
9189
func_stripname_cnf ()
 
9190
{
 
9191
  case ${2} in
 
9192
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
9193
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 
9194
  esac
 
9195
} # func_stripname_cnf
9113
9196
 
9114
9197
 
9115
9198
 
9190
9273
 
9191
9274
# Check whether --with-pic was given.
9192
9275
if test "${with_pic+set}" = set; then :
9193
 
  withval=$with_pic; pic_mode="$withval"
 
9276
  withval=$with_pic; lt_p=${PACKAGE-default}
 
9277
    case $withval in
 
9278
    yes|no) pic_mode=$withval ;;
 
9279
    *)
 
9280
      pic_mode=default
 
9281
      # Look at the argument we got.  We use all the common list separators.
 
9282
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9283
      for lt_pkg in $withval; do
 
9284
        IFS="$lt_save_ifs"
 
9285
        if test "X$lt_pkg" = "X$lt_p"; then
 
9286
          pic_mode=yes
 
9287
        fi
 
9288
      done
 
9289
      IFS="$lt_save_ifs"
 
9290
      ;;
 
9291
    esac
9194
9292
else
9195
9293
  pic_mode=default
9196
9294
fi
9267
9365
 
9268
9366
 
9269
9367
 
 
9368
 
 
9369
 
 
9370
 
 
9371
 
 
9372
 
9270
9373
test -z "$LN_S" && LN_S="ln -s"
9271
9374
 
9272
9375
 
9288
9391
 
9289
9392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9290
9393
$as_echo_n "checking for objdir... " >&6; }
9291
 
if test "${lt_cv_objdir+set}" = set; then :
 
9394
if ${lt_cv_objdir+:} false; then :
9292
9395
  $as_echo_n "(cached) " >&6
9293
9396
else
9294
9397
  rm -f .libs 2>/dev/null
9316
9419
 
9317
9420
 
9318
9421
 
9319
 
 
9320
 
 
9321
 
 
9322
 
 
9323
 
 
9324
 
 
9325
 
 
9326
 
 
9327
 
 
9328
 
 
9329
 
 
9330
 
 
9331
 
 
9332
9422
case $host_os in
9333
9423
aix3*)
9334
9424
  # AIX sometimes has problems with the GCC collect2 program.  For some
9341
9431
  ;;
9342
9432
esac
9343
9433
 
9344
 
# Sed substitution that helps us do robust quoting.  It backslashifies
9345
 
# metacharacters that are still active within double-quoted strings.
9346
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9347
 
 
9348
 
# Same as above, but do not quote variable references.
9349
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
9350
 
 
9351
 
# Sed substitution to delay expansion of an escaped shell variable in a
9352
 
# double_quote_subst'ed string.
9353
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9354
 
 
9355
 
# Sed substitution to delay expansion of an escaped single quote.
9356
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9357
 
 
9358
 
# Sed substitution to avoid accidental globbing in evaled expressions
9359
 
no_glob_subst='s/\*/\\\*/g'
9360
 
 
9361
9434
# Global variables:
9362
9435
ofile=libtool
9363
9436
can_build_shared=yes
9386
9459
    *) break;;
9387
9460
  esac
9388
9461
done
9389
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
9462
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9390
9463
 
9391
9464
 
9392
9465
# Only perform the check for file, if the check method requires it
9396
9469
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9397
9470
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9398
9471
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9399
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
9472
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9400
9473
  $as_echo_n "(cached) " >&6
9401
9474
else
9402
9475
  case $MAGIC_CMD in
9462
9535
  if test -n "$ac_tool_prefix"; then
9463
9536
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9464
9537
$as_echo_n "checking for file... " >&6; }
9465
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
9538
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9466
9539
  $as_echo_n "(cached) " >&6
9467
9540
else
9468
9541
  case $MAGIC_CMD in
9595
9668
lt_prog_compiler_no_builtin_flag=
9596
9669
 
9597
9670
if test "$GCC" = yes; then
9598
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
9671
  case $cc_basename in
 
9672
  nvcc*)
 
9673
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
9674
  *)
 
9675
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
9676
  esac
9599
9677
 
9600
9678
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9601
9679
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9602
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
9680
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9603
9681
  $as_echo_n "(cached) " >&6
9604
9682
else
9605
9683
  lt_cv_prog_compiler_rtti_exceptions=no
9615
9693
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9616
9694
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9617
9695
   -e 's:$: $lt_compiler_flag:'`
9618
 
   (eval echo "\"\$as_me:9618: $lt_compile\"" >&5)
 
9696
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9619
9697
   (eval "$lt_compile" 2>conftest.err)
9620
9698
   ac_status=$?
9621
9699
   cat conftest.err >&5
9622
 
   echo "$as_me:9622: \$? = $ac_status" >&5
 
9700
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623
9701
   if (exit $ac_status) && test -s "$ac_outfile"; then
9624
9702
     # The compiler can only warn and ignore the option if not recognized
9625
9703
     # So say no if there are warnings other than the usual output.
9626
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9704
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9627
9705
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9628
9706
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9629
9707
       lt_cv_prog_compiler_rtti_exceptions=yes
9652
9730
lt_prog_compiler_pic=
9653
9731
lt_prog_compiler_static=
9654
9732
 
9655
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9656
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9657
9733
 
9658
9734
  if test "$GCC" = yes; then
9659
9735
    lt_prog_compiler_wl='-Wl,'
9701
9777
      lt_prog_compiler_pic='-fno-common'
9702
9778
      ;;
9703
9779
 
 
9780
    haiku*)
 
9781
      # PIC is the default for Haiku.
 
9782
      # The "-static" flag exists, but is broken.
 
9783
      lt_prog_compiler_static=
 
9784
      ;;
 
9785
 
9704
9786
    hpux*)
9705
9787
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9706
9788
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9743
9825
      lt_prog_compiler_pic='-fPIC'
9744
9826
      ;;
9745
9827
    esac
 
9828
 
 
9829
    case $cc_basename in
 
9830
    nvcc*) # Cuda Compiler Driver 2.2
 
9831
      lt_prog_compiler_wl='-Xlinker '
 
9832
      if test -n "$lt_prog_compiler_pic"; then
 
9833
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
9834
      fi
 
9835
      ;;
 
9836
    esac
9746
9837
  else
9747
9838
    # PORTME Check for flag to pass linker flags through the system compiler.
9748
9839
    case $host_os in
9805
9896
        lt_prog_compiler_pic='--shared'
9806
9897
        lt_prog_compiler_static='--static'
9807
9898
        ;;
9808
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
9899
      nagfor*)
 
9900
        # NAG Fortran compiler
 
9901
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
9902
        lt_prog_compiler_pic='-PIC'
 
9903
        lt_prog_compiler_static='-Bstatic'
 
9904
        ;;
 
9905
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9809
9906
        # Portland Group compilers (*not* the Pentium gcc compiler,
9810
9907
        # which looks to be a dead project)
9811
9908
        lt_prog_compiler_wl='-Wl,'
9817
9914
        # All Alpha code is PIC.
9818
9915
        lt_prog_compiler_static='-non_shared'
9819
9916
        ;;
9820
 
      xl*)
9821
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
9917
      xl* | bgxl* | bgf* | mpixl*)
 
9918
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9822
9919
        lt_prog_compiler_wl='-Wl,'
9823
9920
        lt_prog_compiler_pic='-qpic'
9824
9921
        lt_prog_compiler_static='-qstaticlink'
9825
9922
        ;;
9826
9923
      *)
9827
9924
        case `$CC -V 2>&1 | sed 5q` in
 
9925
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
9926
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
9927
          lt_prog_compiler_pic='-KPIC'
 
9928
          lt_prog_compiler_static='-Bstatic'
 
9929
          lt_prog_compiler_wl=''
 
9930
          ;;
 
9931
        *Sun\ F* | *Sun*Fortran*)
 
9932
          lt_prog_compiler_pic='-KPIC'
 
9933
          lt_prog_compiler_static='-Bstatic'
 
9934
          lt_prog_compiler_wl='-Qoption ld '
 
9935
          ;;
9828
9936
        *Sun\ C*)
9829
9937
          # Sun C 5.9
9830
9938
          lt_prog_compiler_pic='-KPIC'
9831
9939
          lt_prog_compiler_static='-Bstatic'
9832
9940
          lt_prog_compiler_wl='-Wl,'
9833
9941
          ;;
9834
 
        *Sun\ F*)
9835
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9836
 
          lt_prog_compiler_pic='-KPIC'
 
9942
        *Intel*\ [CF]*Compiler*)
 
9943
          lt_prog_compiler_wl='-Wl,'
 
9944
          lt_prog_compiler_pic='-fPIC'
 
9945
          lt_prog_compiler_static='-static'
 
9946
          ;;
 
9947
        *Portland\ Group*)
 
9948
          lt_prog_compiler_wl='-Wl,'
 
9949
          lt_prog_compiler_pic='-fpic'
9837
9950
          lt_prog_compiler_static='-Bstatic'
9838
 
          lt_prog_compiler_wl=''
9839
9951
          ;;
9840
9952
        esac
9841
9953
        ;;
9867
9979
      lt_prog_compiler_pic='-KPIC'
9868
9980
      lt_prog_compiler_static='-Bstatic'
9869
9981
      case $cc_basename in
9870
 
      f77* | f90* | f95*)
 
9982
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9871
9983
        lt_prog_compiler_wl='-Qoption ld ';;
9872
9984
      *)
9873
9985
        lt_prog_compiler_wl='-Wl,';;
9924
10036
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9925
10037
    ;;
9926
10038
esac
9927
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9928
 
$as_echo "$lt_prog_compiler_pic" >&6; }
9929
 
 
9930
 
 
9931
 
 
9932
 
 
9933
 
 
 
10039
 
 
10040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
10041
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
10042
if ${lt_cv_prog_compiler_pic+:} false; then :
 
10043
  $as_echo_n "(cached) " >&6
 
10044
else
 
10045
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
10046
fi
 
10047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
10048
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
10049
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9934
10050
 
9935
10051
#
9936
10052
# Check to make sure the PIC flag actually works.
9938
10054
if test -n "$lt_prog_compiler_pic"; then
9939
10055
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9940
10056
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9941
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
10057
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9942
10058
  $as_echo_n "(cached) " >&6
9943
10059
else
9944
10060
  lt_cv_prog_compiler_pic_works=no
9954
10070
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9955
10071
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9956
10072
   -e 's:$: $lt_compiler_flag:'`
9957
 
   (eval echo "\"\$as_me:9957: $lt_compile\"" >&5)
 
10073
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9958
10074
   (eval "$lt_compile" 2>conftest.err)
9959
10075
   ac_status=$?
9960
10076
   cat conftest.err >&5
9961
 
   echo "$as_me:9961: \$? = $ac_status" >&5
 
10077
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962
10078
   if (exit $ac_status) && test -s "$ac_outfile"; then
9963
10079
     # The compiler can only warn and ignore the option if not recognized
9964
10080
     # So say no if there are warnings other than the usual output.
9965
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
10081
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9966
10082
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9967
10083
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9968
10084
       lt_cv_prog_compiler_pic_works=yes
9991
10107
 
9992
10108
 
9993
10109
 
 
10110
 
 
10111
 
 
10112
 
 
10113
 
 
10114
 
9994
10115
#
9995
10116
# Check to make sure the static flag actually works.
9996
10117
#
9997
10118
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9998
10119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9999
10120
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10000
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
10121
if ${lt_cv_prog_compiler_static_works+:} false; then :
10001
10122
  $as_echo_n "(cached) " >&6
10002
10123
else
10003
10124
  lt_cv_prog_compiler_static_works=no
10010
10131
     if test -s conftest.err; then
10011
10132
       # Append any errors to the config.log.
10012
10133
       cat conftest.err 1>&5
10013
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
10134
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10014
10135
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10015
10136
       if diff conftest.exp conftest.er2 >/dev/null; then
10016
10137
         lt_cv_prog_compiler_static_works=yes
10040
10161
 
10041
10162
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10042
10163
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10043
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
10164
if ${lt_cv_prog_compiler_c_o+:} false; then :
10044
10165
  $as_echo_n "(cached) " >&6
10045
10166
else
10046
10167
  lt_cv_prog_compiler_c_o=no
10059
10180
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10060
10181
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10061
10182
   -e 's:$: $lt_compiler_flag:'`
10062
 
   (eval echo "\"\$as_me:10062: $lt_compile\"" >&5)
 
10183
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10063
10184
   (eval "$lt_compile" 2>out/conftest.err)
10064
10185
   ac_status=$?
10065
10186
   cat out/conftest.err >&5
10066
 
   echo "$as_me:10066: \$? = $ac_status" >&5
 
10187
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10067
10188
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10068
10189
   then
10069
10190
     # The compiler can only warn and ignore the option if not recognized
10070
10191
     # So say no if there are warnings
10071
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
10192
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10072
10193
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10073
10194
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10074
10195
       lt_cv_prog_compiler_c_o=yes
10095
10216
 
10096
10217
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10097
10218
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10098
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
10219
if ${lt_cv_prog_compiler_c_o+:} false; then :
10099
10220
  $as_echo_n "(cached) " >&6
10100
10221
else
10101
10222
  lt_cv_prog_compiler_c_o=no
10114
10235
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10115
10236
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10116
10237
   -e 's:$: $lt_compiler_flag:'`
10117
 
   (eval echo "\"\$as_me:10117: $lt_compile\"" >&5)
 
10238
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10118
10239
   (eval "$lt_compile" 2>out/conftest.err)
10119
10240
   ac_status=$?
10120
10241
   cat out/conftest.err >&5
10121
 
   echo "$as_me:10121: \$? = $ac_status" >&5
 
10242
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122
10243
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10123
10244
   then
10124
10245
     # The compiler can only warn and ignore the option if not recognized
10125
10246
     # So say no if there are warnings
10126
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
10247
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10127
10248
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10128
10249
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10129
10250
       lt_cv_prog_compiler_c_o=yes
10189
10310
  hardcode_direct=no
10190
10311
  hardcode_direct_absolute=no
10191
10312
  hardcode_libdir_flag_spec=
10192
 
  hardcode_libdir_flag_spec_ld=
10193
10313
  hardcode_libdir_separator=
10194
10314
  hardcode_minus_L=no
10195
10315
  hardcode_shlibpath_var=unsupported
10233
10353
  openbsd*)
10234
10354
    with_gnu_ld=no
10235
10355
    ;;
10236
 
  linux* | k*bsd*-gnu)
 
10356
  linux* | k*bsd*-gnu | gnu*)
10237
10357
    link_all_deplibs=no
10238
10358
    ;;
10239
10359
  esac
10240
10360
 
10241
10361
  ld_shlibs=yes
 
10362
 
 
10363
  # On some targets, GNU ld is compatible enough with the native linker
 
10364
  # that we're better off using the native interface for both.
 
10365
  lt_use_gnu_ld_interface=no
10242
10366
  if test "$with_gnu_ld" = yes; then
 
10367
    case $host_os in
 
10368
      aix*)
 
10369
        # The AIX port of GNU ld has always aspired to compatibility
 
10370
        # with the native linker.  However, as the warning in the GNU ld
 
10371
        # block says, versions before 2.19.5* couldn't really create working
 
10372
        # shared libraries, regardless of the interface used.
 
10373
        case `$LD -v 2>&1` in
 
10374
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
10375
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
10376
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
10377
          *)
 
10378
            lt_use_gnu_ld_interface=yes
 
10379
            ;;
 
10380
        esac
 
10381
        ;;
 
10382
      *)
 
10383
        lt_use_gnu_ld_interface=yes
 
10384
        ;;
 
10385
    esac
 
10386
  fi
 
10387
 
 
10388
  if test "$lt_use_gnu_ld_interface" = yes; then
10243
10389
    # If archive_cmds runs LD, not CC, wlarc should be empty
10244
10390
    wlarc='${wl}'
10245
10391
 
10273
10419
        ld_shlibs=no
10274
10420
        cat <<_LT_EOF 1>&2
10275
10421
 
10276
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
10422
*** Warning: the GNU linker, at least up to release 2.19, is reported
10277
10423
*** to be unable to reliably create shared libraries on AIX.
10278
10424
*** Therefore, libtool is disabling shared libraries support.  If you
10279
 
*** really care for shared libraries, you may want to modify your PATH
10280
 
*** so that a non-GNU linker is found, and then restart.
 
10425
*** really care for shared libraries, you may want to install binutils
 
10426
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
10427
*** You will then need to restart the configuration process.
10281
10428
 
10282
10429
_LT_EOF
10283
10430
      fi
10313
10460
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10314
10461
      # as there is no search path for DLLs.
10315
10462
      hardcode_libdir_flag_spec='-L$libdir'
 
10463
      export_dynamic_flag_spec='${wl}--export-all-symbols'
10316
10464
      allow_undefined_flag=unsupported
10317
10465
      always_export_symbols=no
10318
10466
      enable_shared_with_static_runtimes=yes
10319
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10467
      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'
 
10468
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10320
10469
 
10321
10470
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10322
10471
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10334
10483
      fi
10335
10484
      ;;
10336
10485
 
 
10486
    haiku*)
 
10487
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10488
      link_all_deplibs=yes
 
10489
      ;;
 
10490
 
10337
10491
    interix[3-9]*)
10338
10492
      hardcode_direct=no
10339
10493
      hardcode_shlibpath_var=no
10359
10513
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10360
10514
         && test "$tmp_diet" = no
10361
10515
      then
10362
 
        tmp_addflag=
 
10516
        tmp_addflag=' $pic_flag'
10363
10517
        tmp_sharedflag='-shared'
10364
10518
        case $cc_basename,$host_cpu in
10365
10519
        pgcc*)                          # Portland Group C compiler
10366
 
          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'
 
10520
          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'
10367
10521
          tmp_addflag=' $pic_flag'
10368
10522
          ;;
10369
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
10370
 
          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'
 
10523
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
10524
                                        # Portland Group f77 and f90 compilers
 
10525
          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'
10371
10526
          tmp_addflag=' $pic_flag -Mnomain' ;;
10372
10527
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10373
10528
          tmp_addflag=' -i_dynamic' ;;
10378
10533
        lf95*)                          # Lahey Fortran 8.1
10379
10534
          whole_archive_flag_spec=
10380
10535
          tmp_sharedflag='--shared' ;;
10381
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
10536
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10382
10537
          tmp_sharedflag='-qmkshrobj'
10383
10538
          tmp_addflag= ;;
 
10539
        nvcc*)  # Cuda Compiler Driver 2.2
 
10540
          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'
 
10541
          compiler_needs_object=yes
 
10542
          ;;
10384
10543
        esac
10385
10544
        case `$CC -V 2>&1 | sed 5q` in
10386
10545
        *Sun\ C*)                       # Sun C 5.9
10387
 
          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'
 
10546
          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'
10388
10547
          compiler_needs_object=yes
10389
10548
          tmp_sharedflag='-G' ;;
10390
10549
        *Sun\ F*)                       # Sun Fortran 8.3
10400
10559
        fi
10401
10560
 
10402
10561
        case $cc_basename in
10403
 
        xlf*)
 
10562
        xlf* | bgf* | bgxlf* | mpixlf*)
10404
10563
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10405
10564
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10406
 
          hardcode_libdir_flag_spec=
10407
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
10408
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
10565
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10566
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10409
10567
          if test "x$supports_anon_versioning" = xyes; then
10410
10568
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10411
10569
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10412
10570
              echo "local: *; };" >> $output_objdir/$libname.ver~
10413
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
10571
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10414
10572
          fi
10415
10573
          ;;
10416
10574
        esac
10424
10582
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10425
10583
        wlarc=
10426
10584
      else
10427
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10428
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10585
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10586
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10429
10587
      fi
10430
10588
      ;;
10431
10589
 
10443
10601
 
10444
10602
_LT_EOF
10445
10603
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10446
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10447
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10604
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10605
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10448
10606
      else
10449
10607
        ld_shlibs=no
10450
10608
      fi
10490
10648
 
10491
10649
    *)
10492
10650
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10493
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10494
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10651
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10652
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10495
10653
      else
10496
10654
        ld_shlibs=no
10497
10655
      fi
10531
10689
      else
10532
10690
        # If we're using GNU nm, then we don't want the "-C" option.
10533
10691
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
10692
        # Also, AIX nm treats weak defined symbols like other global
 
10693
        # defined symbols, whereas GNU nm marks them as "W".
10534
10694
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10535
 
          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'
 
10695
          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'
10536
10696
        else
10537
10697
          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'
10538
10698
        fi
10620
10780
        allow_undefined_flag='-berok'
10621
10781
        # Determine the default libpath from the value encoded in an
10622
10782
        # empty executable.
10623
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10783
        if test "${lt_cv_aix_libpath+set}" = set; then
 
10784
  aix_libpath=$lt_cv_aix_libpath
 
10785
else
 
10786
  if ${lt_cv_aix_libpath_+:} false; then :
 
10787
  $as_echo_n "(cached) " >&6
 
10788
else
 
10789
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624
10790
/* end confdefs.h.  */
10625
10791
 
10626
10792
int
10633
10799
_ACEOF
10634
10800
if ac_fn_c_try_link "$LINENO"; then :
10635
10801
 
10636
 
lt_aix_libpath_sed='
10637
 
    /Import File Strings/,/^$/ {
10638
 
        /^0/ {
10639
 
            s/^0  *\(.*\)$/\1/
10640
 
            p
10641
 
        }
10642
 
    }'
10643
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10644
 
# Check for a 64-bit object if we didn't find anything.
10645
 
if test -z "$aix_libpath"; then
10646
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10647
 
fi
 
10802
  lt_aix_libpath_sed='
 
10803
      /Import File Strings/,/^$/ {
 
10804
          /^0/ {
 
10805
              s/^0  *\([^ ]*\) *$/\1/
 
10806
              p
 
10807
          }
 
10808
      }'
 
10809
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10810
  # Check for a 64-bit object if we didn't find anything.
 
10811
  if test -z "$lt_cv_aix_libpath_"; then
 
10812
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10813
  fi
10648
10814
fi
10649
10815
rm -f core conftest.err conftest.$ac_objext \
10650
10816
    conftest$ac_exeext conftest.$ac_ext
10651
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10817
  if test -z "$lt_cv_aix_libpath_"; then
 
10818
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10819
  fi
 
10820
 
 
10821
fi
 
10822
 
 
10823
  aix_libpath=$lt_cv_aix_libpath_
 
10824
fi
10652
10825
 
10653
10826
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10654
 
        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"
 
10827
        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"
10655
10828
      else
10656
10829
        if test "$host_cpu" = ia64; then
10657
10830
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10660
10833
        else
10661
10834
         # Determine the default libpath from the value encoded in an
10662
10835
         # empty executable.
10663
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10836
         if test "${lt_cv_aix_libpath+set}" = set; then
 
10837
  aix_libpath=$lt_cv_aix_libpath
 
10838
else
 
10839
  if ${lt_cv_aix_libpath_+:} false; then :
 
10840
  $as_echo_n "(cached) " >&6
 
10841
else
 
10842
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10664
10843
/* end confdefs.h.  */
10665
10844
 
10666
10845
int
10673
10852
_ACEOF
10674
10853
if ac_fn_c_try_link "$LINENO"; then :
10675
10854
 
10676
 
lt_aix_libpath_sed='
10677
 
    /Import File Strings/,/^$/ {
10678
 
        /^0/ {
10679
 
            s/^0  *\(.*\)$/\1/
10680
 
            p
10681
 
        }
10682
 
    }'
10683
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10684
 
# Check for a 64-bit object if we didn't find anything.
10685
 
if test -z "$aix_libpath"; then
10686
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10687
 
fi
 
10855
  lt_aix_libpath_sed='
 
10856
      /Import File Strings/,/^$/ {
 
10857
          /^0/ {
 
10858
              s/^0  *\([^ ]*\) *$/\1/
 
10859
              p
 
10860
          }
 
10861
      }'
 
10862
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10863
  # Check for a 64-bit object if we didn't find anything.
 
10864
  if test -z "$lt_cv_aix_libpath_"; then
 
10865
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10866
  fi
10688
10867
fi
10689
10868
rm -f core conftest.err conftest.$ac_objext \
10690
10869
    conftest$ac_exeext conftest.$ac_ext
10691
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10870
  if test -z "$lt_cv_aix_libpath_"; then
 
10871
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10872
  fi
 
10873
 
 
10874
fi
 
10875
 
 
10876
  aix_libpath=$lt_cv_aix_libpath_
 
10877
fi
10692
10878
 
10693
10879
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10694
10880
          # Warning - without using the other run time loading flags,
10695
10881
          # -berok will link without error, but may produce a broken library.
10696
10882
          no_undefined_flag=' ${wl}-bernotok'
10697
10883
          allow_undefined_flag=' ${wl}-berok'
10698
 
          # Exported symbols can be pulled into shared objects from archives
10699
 
          whole_archive_flag_spec='$convenience'
 
10884
          if test "$with_gnu_ld" = yes; then
 
10885
            # We only use this code for GNU lds that support --whole-archive.
 
10886
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
10887
          else
 
10888
            # Exported symbols can be pulled into shared objects from archives
 
10889
            whole_archive_flag_spec='$convenience'
 
10890
          fi
10700
10891
          archive_cmds_need_lc=yes
10701
10892
          # This is similar to how AIX traditionally builds its shared libraries.
10702
10893
          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'
10728
10919
      # Microsoft Visual C++.
10729
10920
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10730
10921
      # no search path for DLLs.
10731
 
      hardcode_libdir_flag_spec=' '
10732
 
      allow_undefined_flag=unsupported
10733
 
      # Tell ltmain to make .lib files, not .a files.
10734
 
      libext=lib
10735
 
      # Tell ltmain to make .dll files, not .so files.
10736
 
      shrext_cmds=".dll"
10737
 
      # FIXME: Setting linknames here is a bad hack.
10738
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10739
 
      # The linker will automatically build a .lib file if we build a DLL.
10740
 
      old_archive_from_new_cmds='true'
10741
 
      # FIXME: Should let the user specify the lib program.
10742
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10743
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10744
 
      enable_shared_with_static_runtimes=yes
 
10922
      case $cc_basename in
 
10923
      cl*)
 
10924
        # Native MSVC
 
10925
        hardcode_libdir_flag_spec=' '
 
10926
        allow_undefined_flag=unsupported
 
10927
        always_export_symbols=yes
 
10928
        file_list_spec='@'
 
10929
        # Tell ltmain to make .lib files, not .a files.
 
10930
        libext=lib
 
10931
        # Tell ltmain to make .dll files, not .so files.
 
10932
        shrext_cmds=".dll"
 
10933
        # FIXME: Setting linknames here is a bad hack.
 
10934
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
10935
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10936
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
10937
          else
 
10938
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
10939
          fi~
 
10940
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
10941
          linknames='
 
10942
        # The linker will not automatically build a static lib if we build a DLL.
 
10943
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
10944
        enable_shared_with_static_runtimes=yes
 
10945
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
10946
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10947
        # Don't use ranlib
 
10948
        old_postinstall_cmds='chmod 644 $oldlib'
 
10949
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
10950
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
10951
          case $lt_outputfile in
 
10952
            *.exe|*.EXE) ;;
 
10953
            *)
 
10954
              lt_outputfile="$lt_outputfile.exe"
 
10955
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
10956
              ;;
 
10957
          esac~
 
10958
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
10959
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
10960
            $RM "$lt_outputfile.manifest";
 
10961
          fi'
 
10962
        ;;
 
10963
      *)
 
10964
        # Assume MSVC wrapper
 
10965
        hardcode_libdir_flag_spec=' '
 
10966
        allow_undefined_flag=unsupported
 
10967
        # Tell ltmain to make .lib files, not .a files.
 
10968
        libext=lib
 
10969
        # Tell ltmain to make .dll files, not .so files.
 
10970
        shrext_cmds=".dll"
 
10971
        # FIXME: Setting linknames here is a bad hack.
 
10972
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
10973
        # The linker will automatically build a .lib file if we build a DLL.
 
10974
        old_archive_from_new_cmds='true'
 
10975
        # FIXME: Should let the user specify the lib program.
 
10976
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
10977
        enable_shared_with_static_runtimes=yes
 
10978
        ;;
 
10979
      esac
10745
10980
      ;;
10746
10981
 
10747
10982
    darwin* | rhapsody*)
10751
10986
  hardcode_direct=no
10752
10987
  hardcode_automatic=yes
10753
10988
  hardcode_shlibpath_var=unsupported
10754
 
  whole_archive_flag_spec=''
 
10989
  if test "$lt_cv_ld_force_load" = "yes"; then
 
10990
    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\"`'
 
10991
 
 
10992
  else
 
10993
    whole_archive_flag_spec=''
 
10994
  fi
10755
10995
  link_all_deplibs=yes
10756
10996
  allow_undefined_flag="$_lt_dar_allow_undefined"
10757
10997
  case $cc_basename in
10759
10999
     *) _lt_dar_can_shared=$GCC ;;
10760
11000
  esac
10761
11001
  if test "$_lt_dar_can_shared" = "yes"; then
10762
 
    output_verbose_link_cmd=echo
 
11002
    output_verbose_link_cmd=func_echo_all
10763
11003
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10764
11004
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10765
11005
    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}"
10777
11017
      hardcode_shlibpath_var=no
10778
11018
      ;;
10779
11019
 
10780
 
    freebsd1*)
10781
 
      ld_shlibs=no
10782
 
      ;;
10783
 
 
10784
11020
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10785
11021
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10786
11022
    # does not break anything, and helps significantly (at the cost of a little
10793
11029
      ;;
10794
11030
 
10795
11031
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10796
 
    freebsd2*)
 
11032
    freebsd2.*)
10797
11033
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10798
11034
      hardcode_direct=yes
10799
11035
      hardcode_minus_L=yes
10802
11038
 
10803
11039
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10804
11040
    freebsd* | dragonfly*)
10805
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
11041
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10806
11042
      hardcode_libdir_flag_spec='-R$libdir'
10807
11043
      hardcode_direct=yes
10808
11044
      hardcode_shlibpath_var=no
10810
11046
 
10811
11047
    hpux9*)
10812
11048
      if test "$GCC" = yes; then
10813
 
        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'
 
11049
        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'
10814
11050
      else
10815
11051
        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'
10816
11052
      fi
10825
11061
      ;;
10826
11062
 
10827
11063
    hpux10*)
10828
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10829
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11064
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
11065
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10830
11066
      else
10831
11067
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10832
11068
      fi
10833
11069
      if test "$with_gnu_ld" = no; then
10834
11070
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10835
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
10836
11071
        hardcode_libdir_separator=:
10837
11072
        hardcode_direct=yes
10838
11073
        hardcode_direct_absolute=yes
10844
11079
      ;;
10845
11080
 
10846
11081
    hpux11*)
10847
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
11082
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10848
11083
        case $host_cpu in
10849
11084
        hppa*64*)
10850
11085
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10851
11086
          ;;
10852
11087
        ia64*)
10853
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11088
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10854
11089
          ;;
10855
11090
        *)
10856
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11091
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10857
11092
          ;;
10858
11093
        esac
10859
11094
      else
10865
11100
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10866
11101
          ;;
10867
11102
        *)
10868
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11103
 
 
11104
          # Older versions of the 11.00 compiler do not understand -b yet
 
11105
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
11106
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
11107
$as_echo_n "checking if $CC understands -b... " >&6; }
 
11108
if ${lt_cv_prog_compiler__b+:} false; then :
 
11109
  $as_echo_n "(cached) " >&6
 
11110
else
 
11111
  lt_cv_prog_compiler__b=no
 
11112
   save_LDFLAGS="$LDFLAGS"
 
11113
   LDFLAGS="$LDFLAGS -b"
 
11114
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
11115
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
11116
     # The linker can only warn and ignore the option if not recognized
 
11117
     # So say no if there are warnings
 
11118
     if test -s conftest.err; then
 
11119
       # Append any errors to the config.log.
 
11120
       cat conftest.err 1>&5
 
11121
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
11122
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11123
       if diff conftest.exp conftest.er2 >/dev/null; then
 
11124
         lt_cv_prog_compiler__b=yes
 
11125
       fi
 
11126
     else
 
11127
       lt_cv_prog_compiler__b=yes
 
11128
     fi
 
11129
   fi
 
11130
   $RM -r conftest*
 
11131
   LDFLAGS="$save_LDFLAGS"
 
11132
 
 
11133
fi
 
11134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
11135
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
11136
 
 
11137
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
11138
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11139
else
 
11140
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11141
fi
 
11142
 
10869
11143
          ;;
10870
11144
        esac
10871
11145
      fi
10893
11167
 
10894
11168
    irix5* | irix6* | nonstopux*)
10895
11169
      if test "$GCC" = yes; then
10896
 
        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'
 
11170
        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'
10897
11171
        # Try to use the -exported_symbol ld option, if it does not
10898
11172
        # work, assume that -exports_file does not work either and
10899
11173
        # implicitly export all symbols.
10900
 
        save_LDFLAGS="$LDFLAGS"
10901
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10902
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11174
        # This should be the same for all languages, so no per-tag cache variable.
 
11175
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
11176
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
11177
if ${lt_cv_irix_exported_symbol+:} false; then :
 
11178
  $as_echo_n "(cached) " >&6
 
11179
else
 
11180
  save_LDFLAGS="$LDFLAGS"
 
11181
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
11182
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10903
11183
/* end confdefs.h.  */
10904
 
int foo(void) {}
 
11184
int foo (void) { return 0; }
10905
11185
_ACEOF
10906
11186
if ac_fn_c_try_link "$LINENO"; then :
10907
 
  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'
10908
 
 
 
11187
  lt_cv_irix_exported_symbol=yes
 
11188
else
 
11189
  lt_cv_irix_exported_symbol=no
10909
11190
fi
10910
11191
rm -f core conftest.err conftest.$ac_objext \
10911
11192
    conftest$ac_exeext conftest.$ac_ext
10912
 
        LDFLAGS="$save_LDFLAGS"
 
11193
           LDFLAGS="$save_LDFLAGS"
 
11194
fi
 
11195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
11196
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
11197
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
11198
          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'
 
11199
        fi
10913
11200
      else
10914
 
        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'
10915
 
        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'
 
11201
        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'
 
11202
        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'
10916
11203
      fi
10917
11204
      archive_cmds_need_lc='no'
10918
11205
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10974
11261
      hardcode_libdir_flag_spec='-L$libdir'
10975
11262
      hardcode_minus_L=yes
10976
11263
      allow_undefined_flag=unsupported
10977
 
      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'
 
11264
      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'
10978
11265
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10979
11266
      ;;
10980
11267
 
10981
11268
    osf3*)
10982
11269
      if test "$GCC" = yes; then
10983
11270
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10984
 
        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'
 
11271
        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'
10985
11272
      else
10986
11273
        allow_undefined_flag=' -expect_unresolved \*'
10987
 
        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'
 
11274
        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'
10988
11275
      fi
10989
11276
      archive_cmds_need_lc='no'
10990
11277
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10994
11281
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10995
11282
      if test "$GCC" = yes; then
10996
11283
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10997
 
        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'
 
11284
        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'
10998
11285
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10999
11286
      else
11000
11287
        allow_undefined_flag=' -expect_unresolved \*'
11001
 
        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'
 
11288
        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'
11002
11289
        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~
11003
 
        $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'
 
11290
        $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'
11004
11291
 
11005
11292
        # Both c and cxx compiler support -rpath directly
11006
11293
        hardcode_libdir_flag_spec='-rpath $libdir'
11013
11300
      no_undefined_flag=' -z defs'
11014
11301
      if test "$GCC" = yes; then
11015
11302
        wlarc='${wl}'
11016
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11303
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11017
11304
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11018
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11305
          $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'
11019
11306
      else
11020
11307
        case `$CC -V 2>&1` in
11021
11308
        *"Compilers 5.0"*)
11203
11490
      # to ld, don't add -lc before -lgcc.
11204
11491
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11205
11492
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11206
 
      $RM conftest*
11207
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11493
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
11494
  $as_echo_n "(cached) " >&6
 
11495
else
 
11496
  $RM conftest*
 
11497
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11208
11498
 
11209
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
11499
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11210
11500
  (eval $ac_compile) 2>&5
11211
11501
  ac_status=$?
11212
11502
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11213
11503
  test $ac_status = 0; } 2>conftest.err; then
11214
 
        soname=conftest
11215
 
        lib=conftest
11216
 
        libobjs=conftest.$ac_objext
11217
 
        deplibs=
11218
 
        wl=$lt_prog_compiler_wl
11219
 
        pic_flag=$lt_prog_compiler_pic
11220
 
        compiler_flags=-v
11221
 
        linker_flags=-v
11222
 
        verstring=
11223
 
        output_objdir=.
11224
 
        libname=conftest
11225
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
11226
 
        allow_undefined_flag=
11227
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
11504
          soname=conftest
 
11505
          lib=conftest
 
11506
          libobjs=conftest.$ac_objext
 
11507
          deplibs=
 
11508
          wl=$lt_prog_compiler_wl
 
11509
          pic_flag=$lt_prog_compiler_pic
 
11510
          compiler_flags=-v
 
11511
          linker_flags=-v
 
11512
          verstring=
 
11513
          output_objdir=.
 
11514
          libname=conftest
 
11515
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
11516
          allow_undefined_flag=
 
11517
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11228
11518
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11229
11519
  ac_status=$?
11230
11520
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11231
11521
  test $ac_status = 0; }
11232
 
        then
11233
 
          archive_cmds_need_lc=no
11234
 
        else
11235
 
          archive_cmds_need_lc=yes
11236
 
        fi
11237
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
11238
 
      else
11239
 
        cat conftest.err 1>&5
11240
 
      fi
11241
 
      $RM conftest*
11242
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
11243
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
11522
          then
 
11523
            lt_cv_archive_cmds_need_lc=no
 
11524
          else
 
11525
            lt_cv_archive_cmds_need_lc=yes
 
11526
          fi
 
11527
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
11528
        else
 
11529
          cat conftest.err 1>&5
 
11530
        fi
 
11531
        $RM conftest*
 
11532
 
 
11533
fi
 
11534
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
11535
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
11536
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11244
11537
      ;;
11245
11538
    esac
11246
11539
  fi
11398
11691
 
11399
11692
 
11400
11693
 
11401
 
 
11402
 
 
11403
 
 
11404
 
 
11405
 
 
11406
11694
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11407
11695
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11408
11696
 
11411
11699
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11412
11700
    *) lt_awk_arg="/^libraries:/" ;;
11413
11701
  esac
11414
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11415
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
11702
  case $host_os in
 
11703
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
11704
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
11705
  esac
 
11706
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
11707
  case $lt_search_path_spec in
 
11708
  *\;*)
11416
11709
    # if the path contains ";" then we assume it to be the separator
11417
11710
    # otherwise default to the standard path separator (i.e. ":") - it is
11418
11711
    # assumed that no part of a normal pathname contains ";" but that should
11419
11712
    # okay in the real world where ";" in dirpaths is itself problematic.
11420
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11421
 
  else
11422
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11423
 
  fi
 
11713
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
11714
    ;;
 
11715
  *)
 
11716
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
11717
    ;;
 
11718
  esac
11424
11719
  # Ok, now we have the path, separated by spaces, we can step through it
11425
11720
  # and add multilib dir if necessary.
11426
11721
  lt_tmp_lt_search_path_spec=
11433
11728
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11434
11729
    fi
11435
11730
  done
11436
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
11731
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11437
11732
BEGIN {RS=" "; FS="/|\n";} {
11438
11733
  lt_foo="";
11439
11734
  lt_count=0;
11453
11748
  if (lt_foo != "") { lt_freq[lt_foo]++; }
11454
11749
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11455
11750
}'`
11456
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
11751
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
11752
  # for these hosts.
 
11753
  case $host_os in
 
11754
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
11755
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
11756
  esac
 
11757
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11457
11758
else
11458
11759
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11459
11760
fi
11479
11780
 
11480
11781
case $host_os in
11481
11782
aix3*)
11482
 
  version_type=linux
 
11783
  version_type=linux # correct to gnu/linux during the next big refactor
11483
11784
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11484
11785
  shlibpath_var=LIBPATH
11485
11786
 
11488
11789
  ;;
11489
11790
 
11490
11791
aix[4-9]*)
11491
 
  version_type=linux
 
11792
  version_type=linux # correct to gnu/linux during the next big refactor
11492
11793
  need_lib_prefix=no
11493
11794
  need_version=no
11494
11795
  hardcode_into_libs=yes
11541
11842
  m68k)
11542
11843
    library_names_spec='$libname.ixlibrary $libname.a'
11543
11844
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11544
 
    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'
 
11845
    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'
11545
11846
    ;;
11546
11847
  esac
11547
11848
  ;;
11553
11854
  ;;
11554
11855
 
11555
11856
bsdi[45]*)
11556
 
  version_type=linux
 
11857
  version_type=linux # correct to gnu/linux during the next big refactor
11557
11858
  need_version=no
11558
11859
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11559
11860
  soname_spec='${libname}${release}${shared_ext}$major'
11572
11873
  need_version=no
11573
11874
  need_lib_prefix=no
11574
11875
 
11575
 
  case $GCC,$host_os in
11576
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
11876
  case $GCC,$cc_basename in
 
11877
  yes,*)
 
11878
    # gcc
11577
11879
    library_names_spec='$libname.dll.a'
11578
11880
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11579
11881
    postinstall_cmds='base_file=`basename \${file}`~
11594
11896
    cygwin*)
11595
11897
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11596
11898
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11597
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
11899
 
 
11900
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11598
11901
      ;;
11599
11902
    mingw* | cegcc*)
11600
11903
      # MinGW DLLs use traditional 'lib' prefix
11601
11904
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11602
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11603
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11604
 
        # It is most probably a Windows format PATH printed by
11605
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11606
 
        # path with ; separators, and with drive letters. We can handle the
11607
 
        # drive letters (cygwin fileutils understands them), so leave them,
11608
 
        # especially as we might pass files found there to a mingw objdump,
11609
 
        # which wouldn't understand a cygwinified path. Ahh.
11610
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11611
 
      else
11612
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11613
 
      fi
11614
11905
      ;;
11615
11906
    pw32*)
11616
11907
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11617
11908
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11618
11909
      ;;
11619
11910
    esac
 
11911
    dynamic_linker='Win32 ld.exe'
 
11912
    ;;
 
11913
 
 
11914
  *,cl*)
 
11915
    # Native MSVC
 
11916
    libname_spec='$name'
 
11917
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11918
    library_names_spec='${libname}.dll.lib'
 
11919
 
 
11920
    case $build_os in
 
11921
    mingw*)
 
11922
      sys_lib_search_path_spec=
 
11923
      lt_save_ifs=$IFS
 
11924
      IFS=';'
 
11925
      for lt_path in $LIB
 
11926
      do
 
11927
        IFS=$lt_save_ifs
 
11928
        # Let DOS variable expansion print the short 8.3 style file name.
 
11929
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
11930
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
11931
      done
 
11932
      IFS=$lt_save_ifs
 
11933
      # Convert to MSYS style.
 
11934
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
11935
      ;;
 
11936
    cygwin*)
 
11937
      # Convert to unix form, then to dos form, then back to unix form
 
11938
      # but this time dos style (no spaces!) so that the unix form looks
 
11939
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
11940
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
11941
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
11942
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11943
      ;;
 
11944
    *)
 
11945
      sys_lib_search_path_spec="$LIB"
 
11946
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
11947
        # It is most probably a Windows format PATH.
 
11948
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11949
      else
 
11950
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11951
      fi
 
11952
      # FIXME: find the short name or the path components, as spaces are
 
11953
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
11954
      ;;
 
11955
    esac
 
11956
 
 
11957
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11958
    postinstall_cmds='base_file=`basename \${file}`~
 
11959
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11960
      dldir=$destdir/`dirname \$dlpath`~
 
11961
      test -d \$dldir || mkdir -p \$dldir~
 
11962
      $install_prog $dir/$dlname \$dldir/$dlname'
 
11963
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11964
      dlpath=$dir/\$dldll~
 
11965
       $RM \$dlpath'
 
11966
    shlibpath_overrides_runpath=yes
 
11967
    dynamic_linker='Win32 link.exe'
11620
11968
    ;;
11621
11969
 
11622
11970
  *)
 
11971
    # Assume MSVC wrapper
11623
11972
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
11973
    dynamic_linker='Win32 ld.exe'
11624
11974
    ;;
11625
11975
  esac
11626
 
  dynamic_linker='Win32 ld.exe'
11627
11976
  # FIXME: first we should search . and the directory the executable is in
11628
11977
  shlibpath_var=PATH
11629
11978
  ;;
11644
11993
  ;;
11645
11994
 
11646
11995
dgux*)
11647
 
  version_type=linux
 
11996
  version_type=linux # correct to gnu/linux during the next big refactor
11648
11997
  need_lib_prefix=no
11649
11998
  need_version=no
11650
11999
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11652
12001
  shlibpath_var=LD_LIBRARY_PATH
11653
12002
  ;;
11654
12003
 
11655
 
freebsd1*)
11656
 
  dynamic_linker=no
11657
 
  ;;
11658
 
 
11659
12004
freebsd* | dragonfly*)
11660
12005
  # DragonFly does not have aout.  When/if they implement a new
11661
12006
  # versioning mechanism, adjust this.
11663
12008
    objformat=`/usr/bin/objformat`
11664
12009
  else
11665
12010
    case $host_os in
11666
 
    freebsd[123]*) objformat=aout ;;
 
12011
    freebsd[23].*) objformat=aout ;;
11667
12012
    *) objformat=elf ;;
11668
12013
    esac
11669
12014
  fi
11681
12026
  esac
11682
12027
  shlibpath_var=LD_LIBRARY_PATH
11683
12028
  case $host_os in
11684
 
  freebsd2*)
 
12029
  freebsd2.*)
11685
12030
    shlibpath_overrides_runpath=yes
11686
12031
    ;;
11687
12032
  freebsd3.[01]* | freebsdelf3.[01]*)
11701
12046
  ;;
11702
12047
 
11703
12048
gnu*)
11704
 
  version_type=linux
 
12049
  version_type=linux # correct to gnu/linux during the next big refactor
11705
12050
  need_lib_prefix=no
11706
12051
  need_version=no
11707
12052
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11708
12053
  soname_spec='${libname}${release}${shared_ext}$major'
11709
12054
  shlibpath_var=LD_LIBRARY_PATH
 
12055
  shlibpath_overrides_runpath=no
 
12056
  hardcode_into_libs=yes
 
12057
  ;;
 
12058
 
 
12059
haiku*)
 
12060
  version_type=linux # correct to gnu/linux during the next big refactor
 
12061
  need_lib_prefix=no
 
12062
  need_version=no
 
12063
  dynamic_linker="$host_os runtime_loader"
 
12064
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
12065
  soname_spec='${libname}${release}${shared_ext}$major'
 
12066
  shlibpath_var=LIBRARY_PATH
 
12067
  shlibpath_overrides_runpath=yes
 
12068
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11710
12069
  hardcode_into_libs=yes
11711
12070
  ;;
11712
12071
 
11752
12111
    soname_spec='${libname}${release}${shared_ext}$major'
11753
12112
    ;;
11754
12113
  esac
11755
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
12114
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11756
12115
  postinstall_cmds='chmod 555 $lib'
 
12116
  # or fails outright, so override atomically:
 
12117
  install_override_mode=555
11757
12118
  ;;
11758
12119
 
11759
12120
interix[3-9]*)
11760
 
  version_type=linux
 
12121
  version_type=linux # correct to gnu/linux during the next big refactor
11761
12122
  need_lib_prefix=no
11762
12123
  need_version=no
11763
12124
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11773
12134
    nonstopux*) version_type=nonstopux ;;
11774
12135
    *)
11775
12136
        if test "$lt_cv_prog_gnu_ld" = yes; then
11776
 
                version_type=linux
 
12137
                version_type=linux # correct to gnu/linux during the next big refactor
11777
12138
        else
11778
12139
                version_type=irix
11779
12140
        fi ;;
11810
12171
  dynamic_linker=no
11811
12172
  ;;
11812
12173
 
11813
 
# This must be Linux ELF.
 
12174
# This must be glibc/ELF.
11814
12175
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11815
 
  version_type=linux
 
12176
  version_type=linux # correct to gnu/linux during the next big refactor
11816
12177
  need_lib_prefix=no
11817
12178
  need_version=no
11818
12179
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11820
12181
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11821
12182
  shlibpath_var=LD_LIBRARY_PATH
11822
12183
  shlibpath_overrides_runpath=no
 
12184
 
11823
12185
  # Some binutils ld are patched to set DT_RUNPATH
11824
 
  save_LDFLAGS=$LDFLAGS
11825
 
  save_libdir=$libdir
11826
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11827
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11828
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12186
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
12187
  $as_echo_n "(cached) " >&6
 
12188
else
 
12189
  lt_cv_shlibpath_overrides_runpath=no
 
12190
    save_LDFLAGS=$LDFLAGS
 
12191
    save_libdir=$libdir
 
12192
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
12193
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
12194
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11829
12195
/* end confdefs.h.  */
11830
12196
 
11831
12197
int
11838
12204
_ACEOF
11839
12205
if ac_fn_c_try_link "$LINENO"; then :
11840
12206
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11841
 
  shlibpath_overrides_runpath=yes
 
12207
  lt_cv_shlibpath_overrides_runpath=yes
11842
12208
fi
11843
12209
fi
11844
12210
rm -f core conftest.err conftest.$ac_objext \
11845
12211
    conftest$ac_exeext conftest.$ac_ext
11846
 
  LDFLAGS=$save_LDFLAGS
11847
 
  libdir=$save_libdir
 
12212
    LDFLAGS=$save_LDFLAGS
 
12213
    libdir=$save_libdir
 
12214
 
 
12215
fi
 
12216
 
 
12217
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11848
12218
 
11849
12219
  # This implies no fast_install, which is unacceptable.
11850
12220
  # Some rework will be needed to allow for fast_install
11853
12223
 
11854
12224
  # Append ld.so.conf contents to the search path
11855
12225
  if test -f /etc/ld.so.conf; then
11856
 
    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' ' '`
 
12226
    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' ' '`
11857
12227
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11858
12228
  fi
11859
12229
 
11897
12267
  ;;
11898
12268
 
11899
12269
newsos6)
11900
 
  version_type=linux
 
12270
  version_type=linux # correct to gnu/linux during the next big refactor
11901
12271
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11902
12272
  shlibpath_var=LD_LIBRARY_PATH
11903
12273
  shlibpath_overrides_runpath=yes
11966
12336
  ;;
11967
12337
 
11968
12338
solaris*)
11969
 
  version_type=linux
 
12339
  version_type=linux # correct to gnu/linux during the next big refactor
11970
12340
  need_lib_prefix=no
11971
12341
  need_version=no
11972
12342
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11991
12361
  ;;
11992
12362
 
11993
12363
sysv4 | sysv4.3*)
11994
 
  version_type=linux
 
12364
  version_type=linux # correct to gnu/linux during the next big refactor
11995
12365
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11996
12366
  soname_spec='${libname}${release}${shared_ext}$major'
11997
12367
  shlibpath_var=LD_LIBRARY_PATH
12015
12385
 
12016
12386
sysv4*MP*)
12017
12387
  if test -d /usr/nec ;then
12018
 
    version_type=linux
 
12388
    version_type=linux # correct to gnu/linux during the next big refactor
12019
12389
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12020
12390
    soname_spec='$libname${shared_ext}.$major'
12021
12391
    shlibpath_var=LD_LIBRARY_PATH
12046
12416
 
12047
12417
tpf*)
12048
12418
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12049
 
  version_type=linux
 
12419
  version_type=linux # correct to gnu/linux during the next big refactor
12050
12420
  need_lib_prefix=no
12051
12421
  need_version=no
12052
12422
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12056
12426
  ;;
12057
12427
 
12058
12428
uts4*)
12059
 
  version_type=linux
 
12429
  version_type=linux # correct to gnu/linux during the next big refactor
12060
12430
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12061
12431
  soname_spec='${libname}${release}${shared_ext}$major'
12062
12432
  shlibpath_var=LD_LIBRARY_PATH
12168
12538
 
12169
12539
 
12170
12540
 
 
12541
 
 
12542
 
 
12543
 
 
12544
 
 
12545
 
12171
12546
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12172
12547
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12173
12548
hardcode_action=
12240
12615
  # if libdl is installed we need to link against it
12241
12616
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12242
12617
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12243
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12618
if ${ac_cv_lib_dl_dlopen+:} false; then :
12244
12619
  $as_echo_n "(cached) " >&6
12245
12620
else
12246
12621
  ac_check_lib_save_LIBS=$LIBS
12274
12649
fi
12275
12650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12276
12651
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12277
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12652
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12278
12653
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12279
12654
else
12280
12655
 
12288
12663
 
12289
12664
  *)
12290
12665
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12291
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
12666
if test "x$ac_cv_func_shl_load" = xyes; then :
12292
12667
  lt_cv_dlopen="shl_load"
12293
12668
else
12294
12669
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12295
12670
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12296
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
12671
if ${ac_cv_lib_dld_shl_load+:} false; then :
12297
12672
  $as_echo_n "(cached) " >&6
12298
12673
else
12299
12674
  ac_check_lib_save_LIBS=$LIBS
12327
12702
fi
12328
12703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12329
12704
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12330
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
12705
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12331
12706
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12332
12707
else
12333
12708
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12334
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
12709
if test "x$ac_cv_func_dlopen" = xyes; then :
12335
12710
  lt_cv_dlopen="dlopen"
12336
12711
else
12337
12712
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12338
12713
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12339
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12714
if ${ac_cv_lib_dl_dlopen+:} false; then :
12340
12715
  $as_echo_n "(cached) " >&6
12341
12716
else
12342
12717
  ac_check_lib_save_LIBS=$LIBS
12370
12745
fi
12371
12746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12372
12747
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12373
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12748
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12374
12749
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12375
12750
else
12376
12751
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12377
12752
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12378
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
12753
if ${ac_cv_lib_svld_dlopen+:} false; then :
12379
12754
  $as_echo_n "(cached) " >&6
12380
12755
else
12381
12756
  ac_check_lib_save_LIBS=$LIBS
12409
12784
fi
12410
12785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12411
12786
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12412
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
12787
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12413
12788
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12414
12789
else
12415
12790
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12416
12791
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12417
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
12792
if ${ac_cv_lib_dld_dld_link+:} false; then :
12418
12793
  $as_echo_n "(cached) " >&6
12419
12794
else
12420
12795
  ac_check_lib_save_LIBS=$LIBS
12448
12823
fi
12449
12824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12450
12825
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12451
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
12826
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12452
12827
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12453
12828
fi
12454
12829
 
12489
12864
 
12490
12865
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12491
12866
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12492
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
12867
if ${lt_cv_dlopen_self+:} false; then :
12493
12868
  $as_echo_n "(cached) " >&6
12494
12869
else
12495
12870
          if test "$cross_compiling" = yes; then :
12498
12873
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12499
12874
  lt_status=$lt_dlunknown
12500
12875
  cat > conftest.$ac_ext <<_LT_EOF
12501
 
#line 12501 "configure"
 
12876
#line $LINENO "configure"
12502
12877
#include "confdefs.h"
12503
12878
 
12504
12879
#if HAVE_DLFCN_H
12539
12914
#  endif
12540
12915
#endif
12541
12916
 
12542
 
void fnord() { int i=42;}
 
12917
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12918
   correspondingly for the symbols needed.  */
 
12919
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12920
int fnord () __attribute__((visibility("default")));
 
12921
#endif
 
12922
 
 
12923
int fnord () { return 42; }
12543
12924
int main ()
12544
12925
{
12545
12926
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12548
12929
  if (self)
12549
12930
    {
12550
12931
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12551
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
12932
      else
 
12933
        {
 
12934
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12935
          else puts (dlerror ());
 
12936
        }
12552
12937
      /* dlclose (self); */
12553
12938
    }
12554
12939
  else
12585
12970
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12586
12971
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12587
12972
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12588
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
12973
if ${lt_cv_dlopen_self_static+:} false; then :
12589
12974
  $as_echo_n "(cached) " >&6
12590
12975
else
12591
12976
          if test "$cross_compiling" = yes; then :
12594
12979
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12595
12980
  lt_status=$lt_dlunknown
12596
12981
  cat > conftest.$ac_ext <<_LT_EOF
12597
 
#line 12597 "configure"
 
12982
#line $LINENO "configure"
12598
12983
#include "confdefs.h"
12599
12984
 
12600
12985
#if HAVE_DLFCN_H
12635
13020
#  endif
12636
13021
#endif
12637
13022
 
12638
 
void fnord() { int i=42;}
 
13023
/* When -fvisbility=hidden is used, assume the code has been annotated
 
13024
   correspondingly for the symbols needed.  */
 
13025
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
13026
int fnord () __attribute__((visibility("default")));
 
13027
#endif
 
13028
 
 
13029
int fnord () { return 42; }
12639
13030
int main ()
12640
13031
{
12641
13032
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12644
13035
  if (self)
12645
13036
    {
12646
13037
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12647
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
13038
      else
 
13039
        {
 
13040
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
13041
          else puts (dlerror ());
 
13042
        }
12648
13043
      /* dlclose (self); */
12649
13044
    }
12650
13045
  else
12801
13196
 
12802
13197
CC="$lt_save_CC"
12803
13198
 
 
13199
      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
13200
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
13201
    (test "X$CXX" != "Xg++"))) ; then
 
13202
  ac_ext=cpp
 
13203
ac_cpp='$CXXCPP $CPPFLAGS'
 
13204
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13205
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13206
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
13207
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
13208
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
13209
if test -z "$CXXCPP"; then
 
13210
  if ${ac_cv_prog_CXXCPP+:} false; then :
 
13211
  $as_echo_n "(cached) " >&6
 
13212
else
 
13213
      # Double quotes because CXXCPP needs to be expanded
 
13214
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
13215
    do
 
13216
      ac_preproc_ok=false
 
13217
for ac_cxx_preproc_warn_flag in '' yes
 
13218
do
 
13219
  # Use a header file that comes with gcc, so configuring glibc
 
13220
  # with a fresh cross-compiler works.
 
13221
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
13222
  # <limits.h> exists even on freestanding compilers.
 
13223
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
13224
  # not just through cpp. "Syntax error" is here to catch this case.
 
13225
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13226
/* end confdefs.h.  */
 
13227
#ifdef __STDC__
 
13228
# include <limits.h>
 
13229
#else
 
13230
# include <assert.h>
 
13231
#endif
 
13232
                     Syntax error
 
13233
_ACEOF
 
13234
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
13235
 
 
13236
else
 
13237
  # Broken: fails on valid input.
 
13238
continue
 
13239
fi
 
13240
rm -f conftest.err conftest.i conftest.$ac_ext
 
13241
 
 
13242
  # OK, works on sane cases.  Now check whether nonexistent headers
 
13243
  # can be detected and how.
 
13244
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13245
/* end confdefs.h.  */
 
13246
#include <ac_nonexistent.h>
 
13247
_ACEOF
 
13248
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
13249
  # Broken: success on invalid input.
 
13250
continue
 
13251
else
 
13252
  # Passes both tests.
 
13253
ac_preproc_ok=:
 
13254
break
 
13255
fi
 
13256
rm -f conftest.err conftest.i conftest.$ac_ext
 
13257
 
 
13258
done
 
13259
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
13260
rm -f conftest.i conftest.err conftest.$ac_ext
 
13261
if $ac_preproc_ok; then :
 
13262
  break
 
13263
fi
 
13264
 
 
13265
    done
 
13266
    ac_cv_prog_CXXCPP=$CXXCPP
 
13267
 
 
13268
fi
 
13269
  CXXCPP=$ac_cv_prog_CXXCPP
 
13270
else
 
13271
  ac_cv_prog_CXXCPP=$CXXCPP
 
13272
fi
 
13273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
13274
$as_echo "$CXXCPP" >&6; }
 
13275
ac_preproc_ok=false
 
13276
for ac_cxx_preproc_warn_flag in '' yes
 
13277
do
 
13278
  # Use a header file that comes with gcc, so configuring glibc
 
13279
  # with a fresh cross-compiler works.
 
13280
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
13281
  # <limits.h> exists even on freestanding compilers.
 
13282
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
13283
  # not just through cpp. "Syntax error" is here to catch this case.
 
13284
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13285
/* end confdefs.h.  */
 
13286
#ifdef __STDC__
 
13287
# include <limits.h>
 
13288
#else
 
13289
# include <assert.h>
 
13290
#endif
 
13291
                     Syntax error
 
13292
_ACEOF
 
13293
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
13294
 
 
13295
else
 
13296
  # Broken: fails on valid input.
 
13297
continue
 
13298
fi
 
13299
rm -f conftest.err conftest.i conftest.$ac_ext
 
13300
 
 
13301
  # OK, works on sane cases.  Now check whether nonexistent headers
 
13302
  # can be detected and how.
 
13303
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13304
/* end confdefs.h.  */
 
13305
#include <ac_nonexistent.h>
 
13306
_ACEOF
 
13307
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
13308
  # Broken: success on invalid input.
 
13309
continue
 
13310
else
 
13311
  # Passes both tests.
 
13312
ac_preproc_ok=:
 
13313
break
 
13314
fi
 
13315
rm -f conftest.err conftest.i conftest.$ac_ext
 
13316
 
 
13317
done
 
13318
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
13319
rm -f conftest.i conftest.err conftest.$ac_ext
 
13320
if $ac_preproc_ok; then :
 
13321
 
 
13322
else
 
13323
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13324
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13325
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
 
13326
See \`config.log' for more details" "$LINENO" 5; }
 
13327
fi
 
13328
 
 
13329
ac_ext=c
 
13330
ac_cpp='$CPP $CPPFLAGS'
 
13331
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13332
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13333
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13334
 
 
13335
else
 
13336
  _lt_caught_CXX_error=yes
 
13337
fi
12804
13338
 
12805
13339
ac_ext=cpp
12806
13340
ac_cpp='$CXXCPP $CPPFLAGS'
12817
13351
hardcode_direct_CXX=no
12818
13352
hardcode_direct_absolute_CXX=no
12819
13353
hardcode_libdir_flag_spec_CXX=
12820
 
hardcode_libdir_flag_spec_ld_CXX=
12821
13354
hardcode_libdir_separator_CXX=
12822
13355
hardcode_minus_L_CXX=no
12823
13356
hardcode_shlibpath_var_CXX=unsupported
12827
13360
module_expsym_cmds_CXX=
12828
13361
link_all_deplibs_CXX=unknown
12829
13362
old_archive_cmds_CXX=$old_archive_cmds
 
13363
reload_flag_CXX=$reload_flag
 
13364
reload_cmds_CXX=$reload_cmds
12830
13365
no_undefined_flag_CXX=
12831
13366
whole_archive_flag_spec_CXX=
12832
13367
enable_shared_with_static_runtimes_CXX=no
12882
13417
 
12883
13418
  # Allow CC to be a program name with arguments.
12884
13419
  lt_save_CC=$CC
 
13420
  lt_save_CFLAGS=$CFLAGS
12885
13421
  lt_save_LD=$LD
12886
13422
  lt_save_GCC=$GCC
12887
13423
  GCC=$GXX
12899
13435
  fi
12900
13436
  test -z "${LDCXX+set}" || LD=$LDCXX
12901
13437
  CC=${CXX-"c++"}
 
13438
  CFLAGS=$CXXFLAGS
12902
13439
  compiler=$CC
12903
13440
  compiler_CXX=$CC
12904
13441
  for cc_temp in $compiler""; do
12909
13446
    *) break;;
12910
13447
  esac
12911
13448
done
12912
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
13449
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12913
13450
 
12914
13451
 
12915
13452
  if test -n "$compiler"; then
12972
13509
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12973
13510
$as_echo_n "checking for non-GNU ld... " >&6; }
12974
13511
fi
12975
 
if test "${lt_cv_path_LD+set}" = set; then :
 
13512
if ${lt_cv_path_LD+:} false; then :
12976
13513
  $as_echo_n "(cached) " >&6
12977
13514
else
12978
13515
  if test -z "$LD"; then
13012
13549
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13013
13550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13014
13551
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13015
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
13552
if ${lt_cv_prog_gnu_ld+:} false; then :
13016
13553
  $as_echo_n "(cached) " >&6
13017
13554
else
13018
13555
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
13038
13575
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
13039
13576
      # archiving commands below assume that GNU ld is being used.
13040
13577
      if test "$with_gnu_ld" = yes; then
13041
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13042
 
        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
13578
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
13579
        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13043
13580
 
13044
13581
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13045
13582
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13071
13608
      # Commands to make compiler produce verbose output that lists
13072
13609
      # what "hidden" libraries, object files and flags are used when
13073
13610
      # linking a shared library.
13074
 
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13611
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13075
13612
 
13076
13613
    else
13077
13614
      GXX=no
13181
13718
          allow_undefined_flag_CXX='-berok'
13182
13719
          # Determine the default libpath from the value encoded in an empty
13183
13720
          # executable.
13184
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13721
          if test "${lt_cv_aix_libpath+set}" = set; then
 
13722
  aix_libpath=$lt_cv_aix_libpath
 
13723
else
 
13724
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
13725
  $as_echo_n "(cached) " >&6
 
13726
else
 
13727
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13185
13728
/* end confdefs.h.  */
13186
13729
 
13187
13730
int
13194
13737
_ACEOF
13195
13738
if ac_fn_cxx_try_link "$LINENO"; then :
13196
13739
 
13197
 
lt_aix_libpath_sed='
13198
 
    /Import File Strings/,/^$/ {
13199
 
        /^0/ {
13200
 
            s/^0  *\(.*\)$/\1/
13201
 
            p
13202
 
        }
13203
 
    }'
13204
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13205
 
# Check for a 64-bit object if we didn't find anything.
13206
 
if test -z "$aix_libpath"; then
13207
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13208
 
fi
 
13740
  lt_aix_libpath_sed='
 
13741
      /Import File Strings/,/^$/ {
 
13742
          /^0/ {
 
13743
              s/^0  *\([^ ]*\) *$/\1/
 
13744
              p
 
13745
          }
 
13746
      }'
 
13747
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13748
  # Check for a 64-bit object if we didn't find anything.
 
13749
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13750
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13751
  fi
13209
13752
fi
13210
13753
rm -f core conftest.err conftest.$ac_objext \
13211
13754
    conftest$ac_exeext conftest.$ac_ext
13212
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
13755
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13756
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
13757
  fi
 
13758
 
 
13759
fi
 
13760
 
 
13761
  aix_libpath=$lt_cv_aix_libpath__CXX
 
13762
fi
13213
13763
 
13214
13764
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13215
13765
 
13216
 
          archive_expsym_cmds_CXX='$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"
 
13766
          archive_expsym_cmds_CXX='$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"
13217
13767
        else
13218
13768
          if test "$host_cpu" = ia64; then
13219
13769
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13222
13772
          else
13223
13773
            # Determine the default libpath from the value encoded in an
13224
13774
            # empty executable.
13225
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13775
            if test "${lt_cv_aix_libpath+set}" = set; then
 
13776
  aix_libpath=$lt_cv_aix_libpath
 
13777
else
 
13778
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
13779
  $as_echo_n "(cached) " >&6
 
13780
else
 
13781
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13226
13782
/* end confdefs.h.  */
13227
13783
 
13228
13784
int
13235
13791
_ACEOF
13236
13792
if ac_fn_cxx_try_link "$LINENO"; then :
13237
13793
 
13238
 
lt_aix_libpath_sed='
13239
 
    /Import File Strings/,/^$/ {
13240
 
        /^0/ {
13241
 
            s/^0  *\(.*\)$/\1/
13242
 
            p
13243
 
        }
13244
 
    }'
13245
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13246
 
# Check for a 64-bit object if we didn't find anything.
13247
 
if test -z "$aix_libpath"; then
13248
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13249
 
fi
 
13794
  lt_aix_libpath_sed='
 
13795
      /Import File Strings/,/^$/ {
 
13796
          /^0/ {
 
13797
              s/^0  *\([^ ]*\) *$/\1/
 
13798
              p
 
13799
          }
 
13800
      }'
 
13801
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13802
  # Check for a 64-bit object if we didn't find anything.
 
13803
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13804
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13805
  fi
13250
13806
fi
13251
13807
rm -f core conftest.err conftest.$ac_objext \
13252
13808
    conftest$ac_exeext conftest.$ac_ext
13253
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
13809
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13810
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
13811
  fi
 
13812
 
 
13813
fi
 
13814
 
 
13815
  aix_libpath=$lt_cv_aix_libpath__CXX
 
13816
fi
13254
13817
 
13255
13818
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13256
13819
            # Warning - without using the other run time loading flags,
13257
13820
            # -berok will link without error, but may produce a broken library.
13258
13821
            no_undefined_flag_CXX=' ${wl}-bernotok'
13259
13822
            allow_undefined_flag_CXX=' ${wl}-berok'
13260
 
            # Exported symbols can be pulled into shared objects from archives
13261
 
            whole_archive_flag_spec_CXX='$convenience'
 
13823
            if test "$with_gnu_ld" = yes; then
 
13824
              # We only use this code for GNU lds that support --whole-archive.
 
13825
              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
13826
            else
 
13827
              # Exported symbols can be pulled into shared objects from archives
 
13828
              whole_archive_flag_spec_CXX='$convenience'
 
13829
            fi
13262
13830
            archive_cmds_need_lc_CXX=yes
13263
13831
            # This is similar to how AIX traditionally builds its shared
13264
13832
            # libraries.
13288
13856
        ;;
13289
13857
 
13290
13858
      cygwin* | mingw* | pw32* | cegcc*)
13291
 
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13292
 
        # as there is no search path for DLLs.
13293
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
13294
 
        allow_undefined_flag_CXX=unsupported
13295
 
        always_export_symbols_CXX=no
13296
 
        enable_shared_with_static_runtimes_CXX=yes
 
13859
        case $GXX,$cc_basename in
 
13860
        ,cl* | no,cl*)
 
13861
          # Native MSVC
 
13862
          # hardcode_libdir_flag_spec is actually meaningless, as there is
 
13863
          # no search path for DLLs.
 
13864
          hardcode_libdir_flag_spec_CXX=' '
 
13865
          allow_undefined_flag_CXX=unsupported
 
13866
          always_export_symbols_CXX=yes
 
13867
          file_list_spec_CXX='@'
 
13868
          # Tell ltmain to make .lib files, not .a files.
 
13869
          libext=lib
 
13870
          # Tell ltmain to make .dll files, not .so files.
 
13871
          shrext_cmds=".dll"
 
13872
          # FIXME: Setting linknames here is a bad hack.
 
13873
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
13874
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
13875
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
13876
            else
 
13877
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
13878
            fi~
 
13879
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
13880
            linknames='
 
13881
          # The linker will not automatically build a static lib if we build a DLL.
 
13882
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
 
13883
          enable_shared_with_static_runtimes_CXX=yes
 
13884
          # Don't use ranlib
 
13885
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
 
13886
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
 
13887
            lt_tool_outputfile="@TOOL_OUTPUT@"~
 
13888
            case $lt_outputfile in
 
13889
              *.exe|*.EXE) ;;
 
13890
              *)
 
13891
                lt_outputfile="$lt_outputfile.exe"
 
13892
                lt_tool_outputfile="$lt_tool_outputfile.exe"
 
13893
                ;;
 
13894
            esac~
 
13895
            func_to_tool_file "$lt_outputfile"~
 
13896
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
13897
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
13898
              $RM "$lt_outputfile.manifest";
 
13899
            fi'
 
13900
          ;;
 
13901
        *)
 
13902
          # g++
 
13903
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
13904
          # as there is no search path for DLLs.
 
13905
          hardcode_libdir_flag_spec_CXX='-L$libdir'
 
13906
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
 
13907
          allow_undefined_flag_CXX=unsupported
 
13908
          always_export_symbols_CXX=no
 
13909
          enable_shared_with_static_runtimes_CXX=yes
13297
13910
 
13298
 
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13299
 
          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13300
 
          # If the export-symbols file already is a .def file (1st line
13301
 
          # is EXPORTS), use it as is; otherwise, prepend...
13302
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13303
 
            cp $export_symbols $output_objdir/$soname.def;
13304
 
          else
13305
 
            echo EXPORTS > $output_objdir/$soname.def;
13306
 
            cat $export_symbols >> $output_objdir/$soname.def;
13307
 
          fi~
13308
 
          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13309
 
        else
13310
 
          ld_shlibs_CXX=no
13311
 
        fi
13312
 
        ;;
 
13911
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
13912
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
13913
            # If the export-symbols file already is a .def file (1st line
 
13914
            # is EXPORTS), use it as is; otherwise, prepend...
 
13915
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
13916
              cp $export_symbols $output_objdir/$soname.def;
 
13917
            else
 
13918
              echo EXPORTS > $output_objdir/$soname.def;
 
13919
              cat $export_symbols >> $output_objdir/$soname.def;
 
13920
            fi~
 
13921
            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
13922
          else
 
13923
            ld_shlibs_CXX=no
 
13924
          fi
 
13925
          ;;
 
13926
        esac
 
13927
        ;;
13313
13928
      darwin* | rhapsody*)
13314
13929
 
13315
13930
 
13317
13932
  hardcode_direct_CXX=no
13318
13933
  hardcode_automatic_CXX=yes
13319
13934
  hardcode_shlibpath_var_CXX=unsupported
13320
 
  whole_archive_flag_spec_CXX=''
 
13935
  if test "$lt_cv_ld_force_load" = "yes"; then
 
13936
    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
13937
 
 
13938
  else
 
13939
    whole_archive_flag_spec_CXX=''
 
13940
  fi
13321
13941
  link_all_deplibs_CXX=yes
13322
13942
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13323
13943
  case $cc_basename in
13325
13945
     *) _lt_dar_can_shared=$GCC ;;
13326
13946
  esac
13327
13947
  if test "$_lt_dar_can_shared" = "yes"; then
13328
 
    output_verbose_link_cmd=echo
 
13948
    output_verbose_link_cmd=func_echo_all
13329
13949
    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13330
13950
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13331
13951
    archive_expsym_cmds_CXX="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}"
13359
13979
        esac
13360
13980
        ;;
13361
13981
 
13362
 
      freebsd[12]*)
 
13982
      freebsd2.*)
13363
13983
        # C++ shared libraries reported to be fairly broken before
13364
13984
        # switch to ELF
13365
13985
        ld_shlibs_CXX=no
13378
13998
      gnu*)
13379
13999
        ;;
13380
14000
 
 
14001
      haiku*)
 
14002
        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14003
        link_all_deplibs_CXX=yes
 
14004
        ;;
 
14005
 
13381
14006
      hpux9*)
13382
14007
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13383
14008
        hardcode_libdir_separator_CXX=:
13402
14027
            # explicitly linking system object files so we need to strip them
13403
14028
            # from the output so that they don't get included in the library
13404
14029
            # dependencies.
13405
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
14030
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13406
14031
            ;;
13407
14032
          *)
13408
14033
            if test "$GXX" = yes; then
13409
 
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
14034
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13410
14035
            else
13411
14036
              # FIXME: insert proper C++ library support
13412
14037
              ld_shlibs_CXX=no
13467
14092
            # explicitly linking system object files so we need to strip them
13468
14093
            # from the output so that they don't get included in the library
13469
14094
            # dependencies.
13470
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
14095
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13471
14096
            ;;
13472
14097
          *)
13473
14098
            if test "$GXX" = yes; then
13477
14102
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13478
14103
                    ;;
13479
14104
                  ia64*)
13480
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14105
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13481
14106
                    ;;
13482
14107
                  *)
13483
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
14108
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13484
14109
                    ;;
13485
14110
                esac
13486
14111
              fi
13510
14135
        case $cc_basename in
13511
14136
          CC*)
13512
14137
            # SGI C++
13513
 
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
14138
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13514
14139
 
13515
14140
            # Archives containing C++ object files must be created using
13516
14141
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13521
14146
          *)
13522
14147
            if test "$GXX" = yes; then
13523
14148
              if test "$with_gnu_ld" = no; then
13524
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
 
14149
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
13525
14150
              else
13526
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
 
14151
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13527
14152
              fi
13528
14153
            fi
13529
14154
            link_all_deplibs_CXX=yes
13552
14177
            # explicitly linking system object files so we need to strip them
13553
14178
            # from the output so that they don't get included in the library
13554
14179
            # dependencies.
13555
 
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
14180
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13556
14181
 
13557
14182
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13558
14183
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13589
14214
          pgCC* | pgcpp*)
13590
14215
            # Portland Group C++ compiler
13591
14216
            case `$CC -V` in
13592
 
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
14217
            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13593
14218
              prelink_cmds_CXX='tpldir=Template.dir~
13594
14219
                rm -rf $tpldir~
13595
14220
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13596
 
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
14221
                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13597
14222
              old_archive_cmds_CXX='tpldir=Template.dir~
13598
14223
                rm -rf $tpldir~
13599
14224
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13600
 
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
14225
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13601
14226
                $RANLIB $oldlib'
13602
14227
              archive_cmds_CXX='tpldir=Template.dir~
13603
14228
                rm -rf $tpldir~
13604
14229
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13605
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
14230
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13606
14231
              archive_expsym_cmds_CXX='tpldir=Template.dir~
13607
14232
                rm -rf $tpldir~
13608
14233
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13609
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
14234
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13610
14235
              ;;
13611
 
            *) # Version 6 will use weak symbols
 
14236
            *) # Version 6 and above use weak symbols
13612
14237
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13613
14238
              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13614
14239
              ;;
13616
14241
 
13617
14242
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13618
14243
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13619
 
            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
14244
            whole_archive_flag_spec_CXX='${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'
13620
14245
            ;;
13621
14246
          cxx*)
13622
14247
            # Compaq C++
13635
14260
            # explicitly linking system object files so we need to strip them
13636
14261
            # from the output so that they don't get included in the library
13637
14262
            # dependencies.
13638
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
14263
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13639
14264
            ;;
13640
 
          xl*)
 
14265
          xl* | mpixl* | bgxl*)
13641
14266
            # IBM XL 8.0 on PPC, with GNU ld
13642
14267
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13643
14268
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13657
14282
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13658
14283
              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13659
14284
              hardcode_libdir_flag_spec_CXX='-R$libdir'
13660
 
              whole_archive_flag_spec_CXX='${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'
 
14285
              whole_archive_flag_spec_CXX='${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'
13661
14286
              compiler_needs_object_CXX=yes
13662
14287
 
13663
14288
              # Not sure whether something based on
13664
14289
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13665
14290
              # would be better.
13666
 
              output_verbose_link_cmd='echo'
 
14291
              output_verbose_link_cmd='func_echo_all'
13667
14292
 
13668
14293
              # Archives containing C++ object files must be created using
13669
14294
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13732
14357
            export_dynamic_flag_spec_CXX='${wl}-E'
13733
14358
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13734
14359
          fi
13735
 
          output_verbose_link_cmd=echo
 
14360
          output_verbose_link_cmd=func_echo_all
13736
14361
        else
13737
14362
          ld_shlibs_CXX=no
13738
14363
        fi
13767
14392
            case $host in
13768
14393
              osf3*)
13769
14394
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13770
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
14395
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13771
14396
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13772
14397
                ;;
13773
14398
              *)
13774
14399
                allow_undefined_flag_CXX=' -expect_unresolved \*'
13775
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
14400
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13776
14401
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13777
14402
                  echo "-hidden">> $lib.exp~
13778
 
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
 
14403
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13779
14404
                  $RM $lib.exp'
13780
14405
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13781
14406
                ;;
13791
14416
            # explicitly linking system object files so we need to strip them
13792
14417
            # from the output so that they don't get included in the library
13793
14418
            # dependencies.
13794
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
14419
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13795
14420
            ;;
13796
14421
          *)
13797
14422
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13798
14423
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13799
14424
              case $host in
13800
14425
                osf3*)
13801
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
 
14426
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13802
14427
                  ;;
13803
14428
                *)
13804
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
14429
                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13805
14430
                  ;;
13806
14431
              esac
13807
14432
 
13811
14436
              # Commands to make compiler produce verbose output that lists
13812
14437
              # what "hidden" libraries, object files and flags are used when
13813
14438
              # linking a shared library.
13814
 
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
14439
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13815
14440
 
13816
14441
            else
13817
14442
              # FIXME: insert proper C++ library support
13847
14472
 
13848
14473
      solaris*)
13849
14474
        case $cc_basename in
13850
 
          CC*)
 
14475
          CC* | sunCC*)
13851
14476
            # Sun C++ 4.2, 5.x and Centerline C++
13852
14477
            archive_cmds_need_lc_CXX=yes
13853
14478
            no_undefined_flag_CXX=' -zdefs'
13868
14493
            esac
13869
14494
            link_all_deplibs_CXX=yes
13870
14495
 
13871
 
            output_verbose_link_cmd='echo'
 
14496
            output_verbose_link_cmd='func_echo_all'
13872
14497
 
13873
14498
            # Archives containing C++ object files must be created using
13874
14499
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13888
14513
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13889
14514
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13890
14515
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13891
 
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
14516
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13892
14517
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13893
 
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
14518
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13894
14519
 
13895
14520
                # Commands to make compiler produce verbose output that lists
13896
14521
                # what "hidden" libraries, object files and flags are used when
13897
14522
                # linking a shared library.
13898
 
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
14523
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13899
14524
              else
13900
14525
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
13901
14526
                # platform.
13906
14531
                # Commands to make compiler produce verbose output that lists
13907
14532
                # what "hidden" libraries, object files and flags are used when
13908
14533
                # linking a shared library.
13909
 
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
14534
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13910
14535
              fi
13911
14536
 
13912
14537
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13960
14585
          CC*)
13961
14586
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13962
14587
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
14588
            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
 
14589
              '"$old_archive_cmds_CXX"
 
14590
            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
 
14591
              '"$reload_cmds_CXX"
13963
14592
            ;;
13964
14593
          *)
13965
14594
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14021
14650
};
14022
14651
_LT_EOF
14023
14652
 
 
14653
 
 
14654
_lt_libdeps_save_CFLAGS=$CFLAGS
 
14655
case "$CC $CFLAGS " in #(
 
14656
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 
14657
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
14658
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
 
14659
esac
 
14660
 
14024
14661
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14025
14662
  (eval $ac_compile) 2>&5
14026
14663
  ac_status=$?
14034
14671
  pre_test_object_deps_done=no
14035
14672
 
14036
14673
  for p in `eval "$output_verbose_link_cmd"`; do
14037
 
    case $p in
 
14674
    case ${prev}${p} in
14038
14675
 
14039
14676
    -L* | -R* | -l*)
14040
14677
       # Some compilers place space between "-{L,R}" and the path.
14043
14680
          test $p = "-R"; then
14044
14681
         prev=$p
14045
14682
         continue
14046
 
       else
14047
 
         prev=
14048
14683
       fi
14049
14684
 
 
14685
       # Expand the sysroot to ease extracting the directories later.
 
14686
       if test -z "$prev"; then
 
14687
         case $p in
 
14688
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
 
14689
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
 
14690
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
 
14691
         esac
 
14692
       fi
 
14693
       case $p in
 
14694
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
 
14695
       esac
14050
14696
       if test "$pre_test_object_deps_done" = no; then
14051
 
         case $p in
14052
 
         -L* | -R*)
 
14697
         case ${prev} in
 
14698
         -L | -R)
14053
14699
           # Internal compiler library paths should come after those
14054
14700
           # provided the user.  The postdeps already come after the
14055
14701
           # user supplied libs so there is no need to process them.
14069
14715
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14070
14716
         fi
14071
14717
       fi
 
14718
       prev=
14072
14719
       ;;
14073
14720
 
 
14721
    *.lto.$objext) ;; # Ignore GCC LTO objects
14074
14722
    *.$objext)
14075
14723
       # This assumes that the test object file only shows up
14076
14724
       # once in the compiler output.
14106
14754
fi
14107
14755
 
14108
14756
$RM -f confest.$objext
 
14757
CFLAGS=$_lt_libdeps_save_CFLAGS
14109
14758
 
14110
14759
# PORTME: override above test on systems where it is broken
14111
14760
case $host_os in
14141
14790
 
14142
14791
solaris*)
14143
14792
  case $cc_basename in
14144
 
  CC*)
 
14793
  CC* | sunCC*)
14145
14794
    # The more standards-conforming stlport4 library is
14146
14795
    # incompatible with the Cstd library. Avoid specifying
14147
14796
    # it if it's in CXXFLAGS. Ignore libCrun as
14206
14855
lt_prog_compiler_pic_CXX=
14207
14856
lt_prog_compiler_static_CXX=
14208
14857
 
14209
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14210
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14211
14858
 
14212
14859
  # C++ specific cases for pic, static, wl, etc.
14213
14860
  if test "$GXX" = yes; then
14257
14904
      # DJGPP does not support shared libraries at all
14258
14905
      lt_prog_compiler_pic_CXX=
14259
14906
      ;;
 
14907
    haiku*)
 
14908
      # PIC is the default for Haiku.
 
14909
      # The "-static" flag exists, but is broken.
 
14910
      lt_prog_compiler_static_CXX=
 
14911
      ;;
14260
14912
    interix[3-9]*)
14261
14913
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14262
14914
      # Instead, we relocate shared libraries at runtime.
14306
14958
          ;;
14307
14959
        esac
14308
14960
        ;;
 
14961
      mingw* | cygwin* | os2* | pw32* | cegcc*)
 
14962
        # This hack is so that the source file can tell whether it is being
 
14963
        # built for inclusion in a dll (and should export symbols for example).
 
14964
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
14965
        ;;
14309
14966
      dgux*)
14310
14967
        case $cc_basename in
14311
14968
          ec++*)
14395
15052
            lt_prog_compiler_pic_CXX=
14396
15053
            lt_prog_compiler_static_CXX='-non_shared'
14397
15054
            ;;
14398
 
          xlc* | xlC*)
14399
 
            # IBM XL 8.0 on PPC
 
15055
          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
 
15056
            # IBM XL 8.0, 9.0 on PPC and BlueGene
14400
15057
            lt_prog_compiler_wl_CXX='-Wl,'
14401
15058
            lt_prog_compiler_pic_CXX='-qpic'
14402
15059
            lt_prog_compiler_static_CXX='-qstaticlink'
14458
15115
        ;;
14459
15116
      solaris*)
14460
15117
        case $cc_basename in
14461
 
          CC*)
 
15118
          CC* | sunCC*)
14462
15119
            # Sun C++ 4.2, 5.x and Centerline C++
14463
15120
            lt_prog_compiler_pic_CXX='-KPIC'
14464
15121
            lt_prog_compiler_static_CXX='-Bstatic'
14523
15180
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14524
15181
    ;;
14525
15182
esac
14526
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14527
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14528
 
 
14529
 
 
 
15183
 
 
15184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
15185
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
15186
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
 
15187
  $as_echo_n "(cached) " >&6
 
15188
else
 
15189
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
 
15190
fi
 
15191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
 
15192
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
 
15193
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14530
15194
 
14531
15195
#
14532
15196
# Check to make sure the PIC flag actually works.
14534
15198
if test -n "$lt_prog_compiler_pic_CXX"; then
14535
15199
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14536
15200
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14537
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
15201
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14538
15202
  $as_echo_n "(cached) " >&6
14539
15203
else
14540
15204
  lt_cv_prog_compiler_pic_works_CXX=no
14550
15214
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14551
15215
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14552
15216
   -e 's:$: $lt_compiler_flag:'`
14553
 
   (eval echo "\"\$as_me:14553: $lt_compile\"" >&5)
 
15217
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14554
15218
   (eval "$lt_compile" 2>conftest.err)
14555
15219
   ac_status=$?
14556
15220
   cat conftest.err >&5
14557
 
   echo "$as_me:14557: \$? = $ac_status" >&5
 
15221
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558
15222
   if (exit $ac_status) && test -s "$ac_outfile"; then
14559
15223
     # The compiler can only warn and ignore the option if not recognized
14560
15224
     # So say no if there are warnings other than the usual output.
14561
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
15225
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14562
15226
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14563
15227
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14564
15228
       lt_cv_prog_compiler_pic_works_CXX=yes
14584
15248
 
14585
15249
 
14586
15250
 
 
15251
 
 
15252
 
14587
15253
#
14588
15254
# Check to make sure the static flag actually works.
14589
15255
#
14590
15256
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14591
15257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14592
15258
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14593
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
15259
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14594
15260
  $as_echo_n "(cached) " >&6
14595
15261
else
14596
15262
  lt_cv_prog_compiler_static_works_CXX=no
14603
15269
     if test -s conftest.err; then
14604
15270
       # Append any errors to the config.log.
14605
15271
       cat conftest.err 1>&5
14606
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
15272
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14607
15273
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14608
15274
       if diff conftest.exp conftest.er2 >/dev/null; then
14609
15275
         lt_cv_prog_compiler_static_works_CXX=yes
14630
15296
 
14631
15297
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14632
15298
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14633
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
15299
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14634
15300
  $as_echo_n "(cached) " >&6
14635
15301
else
14636
15302
  lt_cv_prog_compiler_c_o_CXX=no
14649
15315
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14650
15316
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14651
15317
   -e 's:$: $lt_compiler_flag:'`
14652
 
   (eval echo "\"\$as_me:14652: $lt_compile\"" >&5)
 
15318
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14653
15319
   (eval "$lt_compile" 2>out/conftest.err)
14654
15320
   ac_status=$?
14655
15321
   cat out/conftest.err >&5
14656
 
   echo "$as_me:14656: \$? = $ac_status" >&5
 
15322
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657
15323
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14658
15324
   then
14659
15325
     # The compiler can only warn and ignore the option if not recognized
14660
15326
     # So say no if there are warnings
14661
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
15327
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14662
15328
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14663
15329
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14664
15330
       lt_cv_prog_compiler_c_o_CXX=yes
14682
15348
 
14683
15349
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14684
15350
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14685
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
15351
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14686
15352
  $as_echo_n "(cached) " >&6
14687
15353
else
14688
15354
  lt_cv_prog_compiler_c_o_CXX=no
14701
15367
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14702
15368
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14703
15369
   -e 's:$: $lt_compiler_flag:'`
14704
 
   (eval echo "\"\$as_me:14704: $lt_compile\"" >&5)
 
15370
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14705
15371
   (eval "$lt_compile" 2>out/conftest.err)
14706
15372
   ac_status=$?
14707
15373
   cat out/conftest.err >&5
14708
 
   echo "$as_me:14708: \$? = $ac_status" >&5
 
15374
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709
15375
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14710
15376
   then
14711
15377
     # The compiler can only warn and ignore the option if not recognized
14712
15378
     # So say no if there are warnings
14713
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
15379
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14714
15380
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14715
15381
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14716
15382
       lt_cv_prog_compiler_c_o_CXX=yes
14761
15427
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14762
15428
 
14763
15429
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
15430
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14764
15431
  case $host_os in
14765
15432
  aix[4-9]*)
14766
15433
    # If we're using GNU nm, then we don't want the "-C" option.
14767
15434
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
15435
    # Also, AIX nm treats weak defined symbols like other global defined
 
15436
    # symbols, whereas GNU nm marks them as "W".
14768
15437
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14769
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
15438
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14770
15439
    else
14771
15440
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14772
15441
    fi
14773
15442
    ;;
14774
15443
  pw32*)
14775
15444
    export_symbols_cmds_CXX="$ltdll_cmds"
14776
 
  ;;
 
15445
    ;;
14777
15446
  cygwin* | mingw* | cegcc*)
14778
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14779
 
  ;;
14780
 
  linux* | k*bsd*-gnu)
 
15447
    case $cc_basename in
 
15448
    cl*)
 
15449
      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
15450
      ;;
 
15451
    *)
 
15452
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
15453
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
15454
      ;;
 
15455
    esac
 
15456
    ;;
 
15457
  linux* | k*bsd*-gnu | gnu*)
14781
15458
    link_all_deplibs_CXX=no
14782
 
  ;;
 
15459
    ;;
14783
15460
  *)
14784
15461
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14785
 
  ;;
 
15462
    ;;
14786
15463
  esac
14787
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14788
15464
 
14789
15465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14790
15466
$as_echo "$ld_shlibs_CXX" >&6; }
14816
15492
      # to ld, don't add -lc before -lgcc.
14817
15493
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14818
15494
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14819
 
      $RM conftest*
14820
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15495
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
 
15496
  $as_echo_n "(cached) " >&6
 
15497
else
 
15498
  $RM conftest*
 
15499
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14821
15500
 
14822
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
15501
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14823
15502
  (eval $ac_compile) 2>&5
14824
15503
  ac_status=$?
14825
15504
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14826
15505
  test $ac_status = 0; } 2>conftest.err; then
14827
 
        soname=conftest
14828
 
        lib=conftest
14829
 
        libobjs=conftest.$ac_objext
14830
 
        deplibs=
14831
 
        wl=$lt_prog_compiler_wl_CXX
14832
 
        pic_flag=$lt_prog_compiler_pic_CXX
14833
 
        compiler_flags=-v
14834
 
        linker_flags=-v
14835
 
        verstring=
14836
 
        output_objdir=.
14837
 
        libname=conftest
14838
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14839
 
        allow_undefined_flag_CXX=
14840
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
15506
          soname=conftest
 
15507
          lib=conftest
 
15508
          libobjs=conftest.$ac_objext
 
15509
          deplibs=
 
15510
          wl=$lt_prog_compiler_wl_CXX
 
15511
          pic_flag=$lt_prog_compiler_pic_CXX
 
15512
          compiler_flags=-v
 
15513
          linker_flags=-v
 
15514
          verstring=
 
15515
          output_objdir=.
 
15516
          libname=conftest
 
15517
          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
15518
          allow_undefined_flag_CXX=
 
15519
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14841
15520
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14842
15521
  ac_status=$?
14843
15522
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14844
15523
  test $ac_status = 0; }
14845
 
        then
14846
 
          archive_cmds_need_lc_CXX=no
14847
 
        else
14848
 
          archive_cmds_need_lc_CXX=yes
14849
 
        fi
14850
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14851
 
      else
14852
 
        cat conftest.err 1>&5
14853
 
      fi
14854
 
      $RM conftest*
14855
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14856
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
 
15524
          then
 
15525
            lt_cv_archive_cmds_need_lc_CXX=no
 
15526
          else
 
15527
            lt_cv_archive_cmds_need_lc_CXX=yes
 
15528
          fi
 
15529
          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
15530
        else
 
15531
          cat conftest.err 1>&5
 
15532
        fi
 
15533
        $RM conftest*
 
15534
 
 
15535
fi
 
15536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
 
15537
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
 
15538
      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14857
15539
      ;;
14858
15540
    esac
14859
15541
  fi
14921
15603
 
14922
15604
 
14923
15605
 
14924
 
 
14925
 
 
14926
15606
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14927
15607
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14928
15608
 
14948
15628
 
14949
15629
case $host_os in
14950
15630
aix3*)
14951
 
  version_type=linux
 
15631
  version_type=linux # correct to gnu/linux during the next big refactor
14952
15632
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14953
15633
  shlibpath_var=LIBPATH
14954
15634
 
14957
15637
  ;;
14958
15638
 
14959
15639
aix[4-9]*)
14960
 
  version_type=linux
 
15640
  version_type=linux # correct to gnu/linux during the next big refactor
14961
15641
  need_lib_prefix=no
14962
15642
  need_version=no
14963
15643
  hardcode_into_libs=yes
15010
15690
  m68k)
15011
15691
    library_names_spec='$libname.ixlibrary $libname.a'
15012
15692
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
15013
 
    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'
 
15693
    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'
15014
15694
    ;;
15015
15695
  esac
15016
15696
  ;;
15022
15702
  ;;
15023
15703
 
15024
15704
bsdi[45]*)
15025
 
  version_type=linux
 
15705
  version_type=linux # correct to gnu/linux during the next big refactor
15026
15706
  need_version=no
15027
15707
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15028
15708
  soname_spec='${libname}${release}${shared_ext}$major'
15041
15721
  need_version=no
15042
15722
  need_lib_prefix=no
15043
15723
 
15044
 
  case $GCC,$host_os in
15045
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
15724
  case $GCC,$cc_basename in
 
15725
  yes,*)
 
15726
    # gcc
15046
15727
    library_names_spec='$libname.dll.a'
15047
15728
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15048
15729
    postinstall_cmds='base_file=`basename \${file}`~
15063
15744
    cygwin*)
15064
15745
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15065
15746
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15066
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
15747
 
15067
15748
      ;;
15068
15749
    mingw* | cegcc*)
15069
15750
      # MinGW DLLs use traditional 'lib' prefix
15070
15751
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15071
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15072
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15073
 
        # It is most probably a Windows format PATH printed by
15074
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15075
 
        # path with ; separators, and with drive letters. We can handle the
15076
 
        # drive letters (cygwin fileutils understands them), so leave them,
15077
 
        # especially as we might pass files found there to a mingw objdump,
15078
 
        # which wouldn't understand a cygwinified path. Ahh.
15079
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15080
 
      else
15081
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15082
 
      fi
15083
15752
      ;;
15084
15753
    pw32*)
15085
15754
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15086
15755
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15087
15756
      ;;
15088
15757
    esac
 
15758
    dynamic_linker='Win32 ld.exe'
 
15759
    ;;
 
15760
 
 
15761
  *,cl*)
 
15762
    # Native MSVC
 
15763
    libname_spec='$name'
 
15764
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
15765
    library_names_spec='${libname}.dll.lib'
 
15766
 
 
15767
    case $build_os in
 
15768
    mingw*)
 
15769
      sys_lib_search_path_spec=
 
15770
      lt_save_ifs=$IFS
 
15771
      IFS=';'
 
15772
      for lt_path in $LIB
 
15773
      do
 
15774
        IFS=$lt_save_ifs
 
15775
        # Let DOS variable expansion print the short 8.3 style file name.
 
15776
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
15777
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
15778
      done
 
15779
      IFS=$lt_save_ifs
 
15780
      # Convert to MSYS style.
 
15781
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
15782
      ;;
 
15783
    cygwin*)
 
15784
      # Convert to unix form, then to dos form, then back to unix form
 
15785
      # but this time dos style (no spaces!) so that the unix form looks
 
15786
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
15787
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
15788
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
15789
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
15790
      ;;
 
15791
    *)
 
15792
      sys_lib_search_path_spec="$LIB"
 
15793
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
15794
        # It is most probably a Windows format PATH.
 
15795
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
15796
      else
 
15797
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
15798
      fi
 
15799
      # FIXME: find the short name or the path components, as spaces are
 
15800
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
15801
      ;;
 
15802
    esac
 
15803
 
 
15804
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
15805
    postinstall_cmds='base_file=`basename \${file}`~
 
15806
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
15807
      dldir=$destdir/`dirname \$dlpath`~
 
15808
      test -d \$dldir || mkdir -p \$dldir~
 
15809
      $install_prog $dir/$dlname \$dldir/$dlname'
 
15810
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
15811
      dlpath=$dir/\$dldll~
 
15812
       $RM \$dlpath'
 
15813
    shlibpath_overrides_runpath=yes
 
15814
    dynamic_linker='Win32 link.exe'
15089
15815
    ;;
15090
15816
 
15091
15817
  *)
 
15818
    # Assume MSVC wrapper
15092
15819
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
15820
    dynamic_linker='Win32 ld.exe'
15093
15821
    ;;
15094
15822
  esac
15095
 
  dynamic_linker='Win32 ld.exe'
15096
15823
  # FIXME: first we should search . and the directory the executable is in
15097
15824
  shlibpath_var=PATH
15098
15825
  ;;
15112
15839
  ;;
15113
15840
 
15114
15841
dgux*)
15115
 
  version_type=linux
 
15842
  version_type=linux # correct to gnu/linux during the next big refactor
15116
15843
  need_lib_prefix=no
15117
15844
  need_version=no
15118
15845
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15120
15847
  shlibpath_var=LD_LIBRARY_PATH
15121
15848
  ;;
15122
15849
 
15123
 
freebsd1*)
15124
 
  dynamic_linker=no
15125
 
  ;;
15126
 
 
15127
15850
freebsd* | dragonfly*)
15128
15851
  # DragonFly does not have aout.  When/if they implement a new
15129
15852
  # versioning mechanism, adjust this.
15131
15854
    objformat=`/usr/bin/objformat`
15132
15855
  else
15133
15856
    case $host_os in
15134
 
    freebsd[123]*) objformat=aout ;;
 
15857
    freebsd[23].*) objformat=aout ;;
15135
15858
    *) objformat=elf ;;
15136
15859
    esac
15137
15860
  fi
15149
15872
  esac
15150
15873
  shlibpath_var=LD_LIBRARY_PATH
15151
15874
  case $host_os in
15152
 
  freebsd2*)
 
15875
  freebsd2.*)
15153
15876
    shlibpath_overrides_runpath=yes
15154
15877
    ;;
15155
15878
  freebsd3.[01]* | freebsdelf3.[01]*)
15169
15892
  ;;
15170
15893
 
15171
15894
gnu*)
15172
 
  version_type=linux
 
15895
  version_type=linux # correct to gnu/linux during the next big refactor
15173
15896
  need_lib_prefix=no
15174
15897
  need_version=no
15175
15898
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15176
15899
  soname_spec='${libname}${release}${shared_ext}$major'
15177
15900
  shlibpath_var=LD_LIBRARY_PATH
 
15901
  shlibpath_overrides_runpath=no
 
15902
  hardcode_into_libs=yes
 
15903
  ;;
 
15904
 
 
15905
haiku*)
 
15906
  version_type=linux # correct to gnu/linux during the next big refactor
 
15907
  need_lib_prefix=no
 
15908
  need_version=no
 
15909
  dynamic_linker="$host_os runtime_loader"
 
15910
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
15911
  soname_spec='${libname}${release}${shared_ext}$major'
 
15912
  shlibpath_var=LIBRARY_PATH
 
15913
  shlibpath_overrides_runpath=yes
 
15914
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15178
15915
  hardcode_into_libs=yes
15179
15916
  ;;
15180
15917
 
15220
15957
    soname_spec='${libname}${release}${shared_ext}$major'
15221
15958
    ;;
15222
15959
  esac
15223
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
15960
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15224
15961
  postinstall_cmds='chmod 555 $lib'
 
15962
  # or fails outright, so override atomically:
 
15963
  install_override_mode=555
15225
15964
  ;;
15226
15965
 
15227
15966
interix[3-9]*)
15228
 
  version_type=linux
 
15967
  version_type=linux # correct to gnu/linux during the next big refactor
15229
15968
  need_lib_prefix=no
15230
15969
  need_version=no
15231
15970
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15241
15980
    nonstopux*) version_type=nonstopux ;;
15242
15981
    *)
15243
15982
        if test "$lt_cv_prog_gnu_ld" = yes; then
15244
 
                version_type=linux
 
15983
                version_type=linux # correct to gnu/linux during the next big refactor
15245
15984
        else
15246
15985
                version_type=irix
15247
15986
        fi ;;
15278
16017
  dynamic_linker=no
15279
16018
  ;;
15280
16019
 
15281
 
# This must be Linux ELF.
 
16020
# This must be glibc/ELF.
15282
16021
linux* | k*bsd*-gnu | kopensolaris*-gnu)
15283
 
  version_type=linux
 
16022
  version_type=linux # correct to gnu/linux during the next big refactor
15284
16023
  need_lib_prefix=no
15285
16024
  need_version=no
15286
16025
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15288
16027
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15289
16028
  shlibpath_var=LD_LIBRARY_PATH
15290
16029
  shlibpath_overrides_runpath=no
 
16030
 
15291
16031
  # Some binutils ld are patched to set DT_RUNPATH
15292
 
  save_LDFLAGS=$LDFLAGS
15293
 
  save_libdir=$libdir
15294
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15295
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15296
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16032
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
16033
  $as_echo_n "(cached) " >&6
 
16034
else
 
16035
  lt_cv_shlibpath_overrides_runpath=no
 
16036
    save_LDFLAGS=$LDFLAGS
 
16037
    save_libdir=$libdir
 
16038
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
16039
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
16040
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15297
16041
/* end confdefs.h.  */
15298
16042
 
15299
16043
int
15306
16050
_ACEOF
15307
16051
if ac_fn_cxx_try_link "$LINENO"; then :
15308
16052
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15309
 
  shlibpath_overrides_runpath=yes
 
16053
  lt_cv_shlibpath_overrides_runpath=yes
15310
16054
fi
15311
16055
fi
15312
16056
rm -f core conftest.err conftest.$ac_objext \
15313
16057
    conftest$ac_exeext conftest.$ac_ext
15314
 
  LDFLAGS=$save_LDFLAGS
15315
 
  libdir=$save_libdir
 
16058
    LDFLAGS=$save_LDFLAGS
 
16059
    libdir=$save_libdir
 
16060
 
 
16061
fi
 
16062
 
 
16063
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15316
16064
 
15317
16065
  # This implies no fast_install, which is unacceptable.
15318
16066
  # Some rework will be needed to allow for fast_install
15321
16069
 
15322
16070
  # Append ld.so.conf contents to the search path
15323
16071
  if test -f /etc/ld.so.conf; then
15324
 
    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' ' '`
 
16072
    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' ' '`
15325
16073
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15326
16074
  fi
15327
16075
 
15365
16113
  ;;
15366
16114
 
15367
16115
newsos6)
15368
 
  version_type=linux
 
16116
  version_type=linux # correct to gnu/linux during the next big refactor
15369
16117
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15370
16118
  shlibpath_var=LD_LIBRARY_PATH
15371
16119
  shlibpath_overrides_runpath=yes
15434
16182
  ;;
15435
16183
 
15436
16184
solaris*)
15437
 
  version_type=linux
 
16185
  version_type=linux # correct to gnu/linux during the next big refactor
15438
16186
  need_lib_prefix=no
15439
16187
  need_version=no
15440
16188
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15459
16207
  ;;
15460
16208
 
15461
16209
sysv4 | sysv4.3*)
15462
 
  version_type=linux
 
16210
  version_type=linux # correct to gnu/linux during the next big refactor
15463
16211
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15464
16212
  soname_spec='${libname}${release}${shared_ext}$major'
15465
16213
  shlibpath_var=LD_LIBRARY_PATH
15483
16231
 
15484
16232
sysv4*MP*)
15485
16233
  if test -d /usr/nec ;then
15486
 
    version_type=linux
 
16234
    version_type=linux # correct to gnu/linux during the next big refactor
15487
16235
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15488
16236
    soname_spec='$libname${shared_ext}.$major'
15489
16237
    shlibpath_var=LD_LIBRARY_PATH
15514
16262
 
15515
16263
tpf*)
15516
16264
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15517
 
  version_type=linux
 
16265
  version_type=linux # correct to gnu/linux during the next big refactor
15518
16266
  need_lib_prefix=no
15519
16267
  need_version=no
15520
16268
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15524
16272
  ;;
15525
16273
 
15526
16274
uts4*)
15527
 
  version_type=linux
 
16275
  version_type=linux # correct to gnu/linux during the next big refactor
15528
16276
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15529
16277
  soname_spec='${libname}${release}${shared_ext}$major'
15530
16278
  shlibpath_var=LD_LIBRARY_PATH
15585
16333
 
15586
16334
 
15587
16335
 
 
16336
 
 
16337
 
15588
16338
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15589
16339
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15590
16340
hardcode_action_CXX=
15632
16382
  fi # test -n "$compiler"
15633
16383
 
15634
16384
  CC=$lt_save_CC
 
16385
  CFLAGS=$lt_save_CFLAGS
15635
16386
  LDCXX=$LD
15636
16387
  LD=$lt_save_LD
15637
16388
  GCC=$lt_save_GCC
15660
16411
 
15661
16412
 
15662
16413
 
 
16414
 
 
16415
 
15663
16416
        ac_config_commands="$ac_config_commands libtool"
15664
16417
 
15665
16418
 
15673
16426
set dummy perl; ac_word=$2
15674
16427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15675
16428
$as_echo_n "checking for $ac_word... " >&6; }
15676
 
if test "${ac_cv_prog_PERL+set}" = set; then :
 
16429
if ${ac_cv_prog_PERL+:} false; then :
15677
16430
  $as_echo_n "(cached) " >&6
15678
16431
else
15679
16432
  if test -n "$PERL"; then
15685
16438
  IFS=$as_save_IFS
15686
16439
  test -z "$as_dir" && as_dir=.
15687
16440
    for ac_exec_ext in '' $ac_executable_extensions; do
15688
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16441
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15689
16442
    ac_cv_prog_PERL="perl"
15690
16443
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15691
16444
    break 2
15710
16463
set dummy pdflatex; ac_word=$2
15711
16464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15712
16465
$as_echo_n "checking for $ac_word... " >&6; }
15713
 
if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
 
16466
if ${ac_cv_prog_PDFLATEX+:} false; then :
15714
16467
  $as_echo_n "(cached) " >&6
15715
16468
else
15716
16469
  if test -n "$PDFLATEX"; then
15722
16475
  IFS=$as_save_IFS
15723
16476
  test -z "$as_dir" && as_dir=.
15724
16477
    for ac_exec_ext in '' $ac_executable_extensions; do
15725
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16478
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15726
16479
    ac_cv_prog_PDFLATEX="pdflatex"
15727
16480
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15728
16481
    break 2
15747
16500
set dummy pod2html; ac_word=$2
15748
16501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15749
16502
$as_echo_n "checking for $ac_word... " >&6; }
15750
 
if test "${ac_cv_prog_POD2HTML+set}" = set; then :
 
16503
if ${ac_cv_prog_POD2HTML+:} false; then :
15751
16504
  $as_echo_n "(cached) " >&6
15752
16505
else
15753
16506
  if test -n "$POD2HTML"; then
15759
16512
  IFS=$as_save_IFS
15760
16513
  test -z "$as_dir" && as_dir=.
15761
16514
    for ac_exec_ext in '' $ac_executable_extensions; do
15762
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
16515
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15763
16516
    ac_cv_prog_POD2HTML="pod2html"
15764
16517
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15765
16518
    break 2
15796
16549
ac_stdint_h=`echo include/isl/stdint.h`
15797
16550
# try to shortcircuit - if the default include path of the compiler
15798
16551
# can find a "stdint.h" header then we assume that all compilers can.
15799
 
if test "${ac_cv_header_stdint_t+set}" = set; then :
 
16552
if ${ac_cv_header_stdint_t+:} false; then :
15800
16553
  $as_echo_n "(cached) " >&6
15801
16554
else
15802
16555
 
15871
16624
 
15872
16625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
15873
16626
$as_echo_n "checking for stdint uintptr_t... " >&6; }
15874
 
if test "${ac_cv_header_stdint_x+set}" = set; then :
 
16627
if ${ac_cv_header_stdint_x+:} false; then :
15875
16628
  $as_echo_n "(cached) " >&6
15876
16629
else
15877
16630
 
15884
16637
   unset ac_cv_type_uint64_t
15885
16638
   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
15886
16639
"
15887
 
if test "x$ac_cv_type_uintptr_t" = x""yes; then :
 
16640
if test "x$ac_cv_type_uintptr_t" = xyes; then :
15888
16641
  ac_cv_header_stdint_x=$i
15889
16642
else
15890
16643
  continue
15892
16645
 
15893
16646
   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
15894
16647
"
15895
 
if test "x$ac_cv_type_uint64_t" = x""yes; then :
 
16648
if test "x$ac_cv_type_uint64_t" = xyes; then :
15896
16649
  and64="/uint64_t"
15897
16650
else
15898
16651
  and64=""
15913
16666
 
15914
16667
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
15915
16668
$as_echo_n "checking for stdint uint32_t... " >&6; }
15916
 
if test "${ac_cv_header_stdint_o+set}" = set; then :
 
16669
if ${ac_cv_header_stdint_o+:} false; then :
15917
16670
  $as_echo_n "(cached) " >&6
15918
16671
else
15919
16672
 
15926
16679
   unset ac_cv_type_uint64_t
15927
16680
   ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
15928
16681
"
15929
 
if test "x$ac_cv_type_uint32_t" = x""yes; then :
 
16682
if test "x$ac_cv_type_uint32_t" = xyes; then :
15930
16683
  ac_cv_header_stdint_o=$i
15931
16684
else
15932
16685
  continue
15934
16687
 
15935
16688
   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
15936
16689
"
15937
 
if test "x$ac_cv_type_uint64_t" = x""yes; then :
 
16690
if test "x$ac_cv_type_uint64_t" = xyes; then :
15938
16691
  and64="/uint64_t"
15939
16692
else
15940
16693
  and64=""
15958
16711
 
15959
16712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
15960
16713
$as_echo_n "checking for stdint u_int32_t... " >&6; }
15961
 
if test "${ac_cv_header_stdint_u+set}" = set; then :
 
16714
if ${ac_cv_header_stdint_u+:} false; then :
15962
16715
  $as_echo_n "(cached) " >&6
15963
16716
else
15964
16717
 
15970
16723
   unset ac_cv_type_u_int64_t
15971
16724
   ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
15972
16725
"
15973
 
if test "x$ac_cv_type_u_int32_t" = x""yes; then :
 
16726
if test "x$ac_cv_type_u_int32_t" = xyes; then :
15974
16727
  ac_cv_header_stdint_u=$i
15975
16728
else
15976
16729
  continue
15978
16731
 
15979
16732
   ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
15980
16733
"
15981
 
if test "x$ac_cv_type_u_int64_t" = x""yes; then :
 
16734
if test "x$ac_cv_type_u_int64_t" = xyes; then :
15982
16735
  and64="/u_int64_t"
15983
16736
else
15984
16737
  and64=""
16009
16762
# This bug is HP SR number 8606223364.
16010
16763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16011
16764
$as_echo_n "checking size of char... " >&6; }
16012
 
if test "${ac_cv_sizeof_char+set}" = set; then :
 
16765
if ${ac_cv_sizeof_char+:} false; then :
16013
16766
  $as_echo_n "(cached) " >&6
16014
16767
else
16015
16768
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
16019
16772
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16020
16773
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16021
16774
as_fn_error 77 "cannot compute sizeof (char)
16022
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
16775
See \`config.log' for more details" "$LINENO" 5; }
16023
16776
   else
16024
16777
     ac_cv_sizeof_char=0
16025
16778
   fi
16042
16795
# This bug is HP SR number 8606223364.
16043
16796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16044
16797
$as_echo_n "checking size of short... " >&6; }
16045
 
if test "${ac_cv_sizeof_short+set}" = set; then :
 
16798
if ${ac_cv_sizeof_short+:} false; then :
16046
16799
  $as_echo_n "(cached) " >&6
16047
16800
else
16048
16801
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
16052
16805
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16053
16806
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16054
16807
as_fn_error 77 "cannot compute sizeof (short)
16055
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
16808
See \`config.log' for more details" "$LINENO" 5; }
16056
16809
   else
16057
16810
     ac_cv_sizeof_short=0
16058
16811
   fi
16075
16828
# This bug is HP SR number 8606223364.
16076
16829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16077
16830
$as_echo_n "checking size of int... " >&6; }
16078
 
if test "${ac_cv_sizeof_int+set}" = set; then :
 
16831
if ${ac_cv_sizeof_int+:} false; then :
16079
16832
  $as_echo_n "(cached) " >&6
16080
16833
else
16081
16834
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
16085
16838
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16086
16839
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16087
16840
as_fn_error 77 "cannot compute sizeof (int)
16088
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
16841
See \`config.log' for more details" "$LINENO" 5; }
16089
16842
   else
16090
16843
     ac_cv_sizeof_int=0
16091
16844
   fi
16108
16861
# This bug is HP SR number 8606223364.
16109
16862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16110
16863
$as_echo_n "checking size of long... " >&6; }
16111
 
if test "${ac_cv_sizeof_long+set}" = set; then :
 
16864
if ${ac_cv_sizeof_long+:} false; then :
16112
16865
  $as_echo_n "(cached) " >&6
16113
16866
else
16114
16867
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
16118
16871
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16119
16872
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16120
16873
as_fn_error 77 "cannot compute sizeof (long)
16121
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
16874
See \`config.log' for more details" "$LINENO" 5; }
16122
16875
   else
16123
16876
     ac_cv_sizeof_long=0
16124
16877
   fi
16141
16894
# This bug is HP SR number 8606223364.
16142
16895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
16143
16896
$as_echo_n "checking size of void*... " >&6; }
16144
 
if test "${ac_cv_sizeof_voidp+set}" = set; then :
 
16897
if ${ac_cv_sizeof_voidp+:} false; then :
16145
16898
  $as_echo_n "(cached) " >&6
16146
16899
else
16147
16900
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
16151
16904
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16152
16905
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16153
16906
as_fn_error 77 "cannot compute sizeof (void*)
16154
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
16907
See \`config.log' for more details" "$LINENO" 5; }
16155
16908
   else
16156
16909
     ac_cv_sizeof_voidp=0
16157
16910
   fi
16220
16973
unset ac_cv_type_int_fast32_t
16221
16974
ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
16222
16975
"
16223
 
if test "x$ac_cv_type_int_least32_t" = x""yes; then :
 
16976
if test "x$ac_cv_type_int_least32_t" = xyes; then :
16224
16977
 
16225
16978
fi
16226
16979
 
16227
16980
ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
16228
16981
"
16229
 
if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
 
16982
if test "x$ac_cv_type_int_fast32_t" = xyes; then :
16230
16983
 
16231
16984
fi
16232
16985
 
16233
16986
ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
16234
16987
"
16235
 
if test "x$ac_cv_type_intmax_t" = x""yes; then :
 
16988
if test "x$ac_cv_type_intmax_t" = xyes; then :
16236
16989
 
16237
16990
fi
16238
16991
 
16364
17117
need_get_memory_functions=false
16365
17118
ac_fn_c_check_decl "$LINENO" "mp_get_memory_functions" "ac_cv_have_decl_mp_get_memory_functions" "#include <gmp.h>
16366
17119
"
16367
 
if test "x$ac_cv_have_decl_mp_get_memory_functions" = x""yes; then :
 
17120
if test "x$ac_cv_have_decl_mp_get_memory_functions" = xyes; then :
16368
17121
  ac_have_decl=1
16369
17122
else
16370
17123
  ac_have_decl=0
16501
17254
                LDFLAGS="$PIPLIB_LDFLAGS $LDFLAGS"
16502
17255
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pip_solve in -lpiplibMP" >&5
16503
17256
$as_echo_n "checking for pip_solve in -lpiplibMP... " >&6; }
16504
 
if test "${ac_cv_lib_piplibMP_pip_solve+set}" = set; then :
 
17257
if ${ac_cv_lib_piplibMP_pip_solve+:} false; then :
16505
17258
  $as_echo_n "(cached) " >&6
16506
17259
else
16507
17260
  ac_check_lib_save_LIBS=$LIBS
16535
17288
fi
16536
17289
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_piplibMP_pip_solve" >&5
16537
17290
$as_echo "$ac_cv_lib_piplibMP_pip_solve" >&6; }
16538
 
if test "x$ac_cv_lib_piplibMP_pip_solve" = x""yes; then :
 
17291
if test "x$ac_cv_lib_piplibMP_pip_solve" = xyes; then :
16539
17292
 
16540
17293
                        ac_fn_c_check_member "$LINENO" "PipOptions" "Urs_parms" "ac_cv_member_PipOptions_Urs_parms" "#include <piplib/piplibMP.h>
16541
17294
"
16542
 
if test "x$ac_cv_member_PipOptions_Urs_parms" = x""yes; then :
 
17295
if test "x$ac_cv_member_PipOptions_Urs_parms" = xyes; then :
16543
17296
 
16544
17297
else
16545
17298
 
16671
17424
set dummy "$llvm_config"; ac_word=$2
16672
17425
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16673
17426
$as_echo_n "checking for $ac_word... " >&6; }
16674
 
if test "${ac_cv_prog_llvm_config_found+set}" = set; then :
 
17427
if ${ac_cv_prog_llvm_config_found+:} false; then :
16675
17428
  $as_echo_n "(cached) " >&6
16676
17429
else
16677
17430
  if test -n "$llvm_config_found"; then
16683
17436
  IFS=$as_save_IFS
16684
17437
  test -z "$as_dir" && as_dir=.
16685
17438
    for ac_exec_ext in '' $ac_executable_extensions; do
16686
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17439
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16687
17440
    ac_cv_prog_llvm_config_found="yes"
16688
17441
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16689
17442
    break 2
16715
17468
        fi
16716
17469
        CLANG_CXXFLAGS=`$llvm_config --cxxflags`
16717
17470
        CLANG_LDFLAGS=`$llvm_config --ldflags`
16718
 
        CLANG_LIBS=`$llvm_config --libs`
 
17471
        targets=`$llvm_config --targets-built`
 
17472
        CLANG_LIBS=`$llvm_config --libs $targets asmparser support mc`
16719
17473
        CLANG_PREFIX=`$llvm_config --prefix`
16720
17474
 
16721
17475
cat >>confdefs.h <<_ACEOF
16733
17487
 
16734
17488
 
16735
17489
ac_fn_cxx_check_header_mongrel "$LINENO" "clang/Basic/SourceLocation.h" "ac_cv_header_clang_Basic_SourceLocation_h" "$ac_includes_default"
16736
 
if test "x$ac_cv_header_clang_Basic_SourceLocation_h" = x""yes; then :
 
17490
if test "x$ac_cv_header_clang_Basic_SourceLocation_h" = xyes; then :
16737
17491
 
16738
17492
else
16739
17493
  as_fn_error $? "clang header file not found" "$LINENO" 5
16811
17565
fi
16812
17566
rm -f conftest*
16813
17567
 
 
17568
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17569
/* end confdefs.h.  */
 
17570
#include <clang/Driver/Driver.h>
 
17571
 
 
17572
_ACEOF
 
17573
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
17574
  $EGREP " IsProduction" >/dev/null 2>&1; then :
 
17575
 
 
17576
$as_echo "#define HAVE_ISPRODUCTION /**/" >>confdefs.h
 
17577
 
 
17578
fi
 
17579
rm -f conftest*
 
17580
 
 
17581
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17582
/* end confdefs.h.  */
 
17583
#include <clang/AST/ASTConsumer.h>
 
17584
 
 
17585
_ACEOF
 
17586
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
17587
  $EGREP "void HandleTopLevelDecl\(" >/dev/null 2>&1; then :
 
17588
 
 
17589
$as_echo "#define HandleTopLevelDeclReturn void" >>confdefs.h
 
17590
 
 
17591
 
 
17592
$as_echo "#define HandleTopLevelDeclContinue /**/" >>confdefs.h
 
17593
 
 
17594
else
 
17595
 
 
17596
$as_echo "#define HandleTopLevelDeclReturn bool" >>confdefs.h
 
17597
 
 
17598
 
 
17599
$as_echo "#define HandleTopLevelDeclContinue true" >>confdefs.h
 
17600
 
 
17601
fi
 
17602
rm -f conftest*
 
17603
 
 
17604
        ac_fn_cxx_check_header_mongrel "$LINENO" "clang/Basic/DiagnosticOptions.h" "ac_cv_header_clang_Basic_DiagnosticOptions_h" "$ac_includes_default"
 
17605
if test "x$ac_cv_header_clang_Basic_DiagnosticOptions_h" = xyes; then :
 
17606
 
 
17607
$as_echo "#define HAVE_BASIC_DIAGNOSTICOPTIONS_H /**/" >>confdefs.h
 
17608
 
 
17609
fi
 
17610
 
 
17611
 
 
17612
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17613
/* end confdefs.h.  */
 
17614
#include <clang/Basic/TargetInfo.h>
 
17615
int
 
17616
main ()
 
17617
{
 
17618
 
 
17619
                using namespace clang;
 
17620
                TargetOptions *TO;
 
17621
                DiagnosticsEngine *Diags;
 
17622
                TargetInfo::CreateTargetInfo(*Diags, TO);
 
17623
 
 
17624
  ;
 
17625
  return 0;
 
17626
}
 
17627
_ACEOF
 
17628
if ac_fn_cxx_try_compile "$LINENO"; then :
 
17629
 
 
17630
$as_echo "#define CREATETARGETINFO_TAKES_POINTER /**/" >>confdefs.h
 
17631
 
 
17632
fi
 
17633
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16814
17634
        ac_ext=c
16815
17635
ac_cpp='$CPP $CPPFLAGS'
16816
17636
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16818
17638
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16819
17639
 
16820
17640
        CPPFLAGS="$SAVE_CPPFLAGS"
 
17641
 
 
17642
        SAVE_LDFLAGS="$LDFLAGS"
 
17643
        LDFLAGS="$CLANG_LDFLAGS $LDFLAGS"
 
17644
 
 
17645
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lclangEdit" >&5
 
17646
$as_echo_n "checking for main in -lclangEdit... " >&6; }
 
17647
if ${ac_cv_lib_clangEdit_main+:} false; then :
 
17648
  $as_echo_n "(cached) " >&6
 
17649
else
 
17650
  ac_check_lib_save_LIBS=$LIBS
 
17651
LIBS="-lclangEdit  $LIBS"
 
17652
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17653
/* end confdefs.h.  */
 
17654
 
 
17655
 
 
17656
int
 
17657
main ()
 
17658
{
 
17659
return main ();
 
17660
  ;
 
17661
  return 0;
 
17662
}
 
17663
_ACEOF
 
17664
if ac_fn_c_try_link "$LINENO"; then :
 
17665
  ac_cv_lib_clangEdit_main=yes
 
17666
else
 
17667
  ac_cv_lib_clangEdit_main=no
 
17668
fi
 
17669
rm -f core conftest.err conftest.$ac_objext \
 
17670
    conftest$ac_exeext conftest.$ac_ext
 
17671
LIBS=$ac_check_lib_save_LIBS
 
17672
fi
 
17673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clangEdit_main" >&5
 
17674
$as_echo "$ac_cv_lib_clangEdit_main" >&6; }
 
17675
if test "x$ac_cv_lib_clangEdit_main" = xyes; then :
 
17676
  LIB_CLANG_EDIT=-lclangEdit
 
17677
fi
 
17678
 
 
17679
        LDFLAGS="$SAVE_LDFLAGS"
16821
17680
        ;;
16822
17681
esac
16823
17682
 if test $with_clang = system; then
16832
17691
 
16833
17692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
16834
17693
$as_echo_n "checking for C compiler vendor... " >&6; }
16835
 
if test "${ax_cv_c_compiler_vendor+set}" = set; then :
 
17694
if ${ax_cv_c_compiler_vendor+:} false; then :
16836
17695
  $as_echo_n "(cached) " >&6
16837
17696
else
16838
17697
  ax_cv_c_compiler_vendor=unknown
17106
17965
fi
17107
17966
ac_config_files="$ac_config_files bound_test.sh"
17108
17967
 
 
17968
ac_config_files="$ac_config_files codegen_test.sh"
 
17969
 
17109
17970
ac_config_files="$ac_config_files pip_test.sh"
17110
17971
 
17111
17972
 
17173
18034
     :end' >>confcache
17174
18035
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17175
18036
  if test -w "$cache_file"; then
17176
 
    test "x$cache_file" != "x/dev/null" &&
 
18037
    if test "x$cache_file" != "x/dev/null"; then
17177
18038
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17178
18039
$as_echo "$as_me: updating cache $cache_file" >&6;}
17179
 
    cat confcache >$cache_file
 
18040
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
18041
        cat confcache >"$cache_file"
 
18042
      else
 
18043
        case $cache_file in #(
 
18044
        */* | ?:*)
 
18045
          mv -f confcache "$cache_file"$$ &&
 
18046
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
18047
        *)
 
18048
          mv -f confcache "$cache_file" ;;
 
18049
        esac
 
18050
      fi
 
18051
    fi
17180
18052
  else
17181
18053
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17182
18054
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17227
18099
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17228
18100
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17229
18101
fi
17230
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17231
 
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17232
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17233
 
fi
17234
18102
if test -z "${GENERATE_DOC_TRUE}" && test -z "${GENERATE_DOC_FALSE}"; then
17235
18103
  as_fn_error $? "conditional \"GENERATE_DOC\" was never defined.
17236
18104
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17248
18116
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17249
18117
fi
17250
18118
 
17251
 
: ${CONFIG_STATUS=./config.status}
 
18119
: "${CONFIG_STATUS=./config.status}"
17252
18120
ac_write_fail=0
17253
18121
ac_clean_files_save=$ac_clean_files
17254
18122
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17349
18217
IFS=" ""        $as_nl"
17350
18218
 
17351
18219
# Find who we are.  Look in the path if we contain no directory separator.
 
18220
as_myself=
17352
18221
case $0 in #((
17353
18222
  *[\\/]* ) as_myself=$0 ;;
17354
18223
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17544
18413
    # ... but there are two gotchas:
17545
18414
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17546
18415
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17547
 
    # In both cases, we have to default to `cp -p'.
 
18416
    # In both cases, we have to default to `cp -pR'.
17548
18417
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17549
 
      as_ln_s='cp -p'
 
18418
      as_ln_s='cp -pR'
17550
18419
  elif ln conf$$.file conf$$ 2>/dev/null; then
17551
18420
    as_ln_s=ln
17552
18421
  else
17553
 
    as_ln_s='cp -p'
 
18422
    as_ln_s='cp -pR'
17554
18423
  fi
17555
18424
else
17556
 
  as_ln_s='cp -p'
 
18425
  as_ln_s='cp -pR'
17557
18426
fi
17558
18427
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17559
18428
rmdir conf$$.dir 2>/dev/null
17613
18482
  as_mkdir_p=false
17614
18483
fi
17615
18484
 
17616
 
if test -x / >/dev/null 2>&1; then
17617
 
  as_test_x='test -x'
17618
 
else
17619
 
  if ls -dL / >/dev/null 2>&1; then
17620
 
    as_ls_L_option=L
17621
 
  else
17622
 
    as_ls_L_option=
17623
 
  fi
17624
 
  as_test_x='
17625
 
    eval sh -c '\''
17626
 
      if test -d "$1"; then
17627
 
        test -d "$1/.";
17628
 
      else
17629
 
        case $1 in #(
17630
 
        -*)set "./$1";;
17631
 
        esac;
17632
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17633
 
        ???[sx]*):;;*)false;;esac;fi
17634
 
    '\'' sh
17635
 
  '
17636
 
fi
17637
 
as_executable_p=$as_test_x
 
18485
 
 
18486
# as_fn_executable_p FILE
 
18487
# -----------------------
 
18488
# Test if FILE is an executable regular file.
 
18489
as_fn_executable_p ()
 
18490
{
 
18491
  test -f "$1" && test -x "$1"
 
18492
} # as_fn_executable_p
 
18493
as_test_x='test -x'
 
18494
as_executable_p=as_fn_executable_p
17638
18495
 
17639
18496
# Sed expression to map a string onto a valid CPP name.
17640
18497
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17655
18512
# report actual input values of CONFIG_FILES etc. instead of their
17656
18513
# values after options handling.
17657
18514
ac_log="
17658
 
This file was extended by isl $as_me 0.08, which was
17659
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
18515
This file was extended by isl $as_me 0.11.1, which was
 
18516
generated by GNU Autoconf 2.69.  Invocation command line was
17660
18517
 
17661
18518
  CONFIG_FILES    = $CONFIG_FILES
17662
18519
  CONFIG_HEADERS  = $CONFIG_HEADERS
17721
18578
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17722
18579
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17723
18580
ac_cs_version="\\
17724
 
isl config.status 0.08
17725
 
configured by $0, generated by GNU Autoconf 2.67,
 
18581
isl config.status 0.11.1
 
18582
configured by $0, generated by GNU Autoconf 2.69,
17726
18583
  with options \\"\$ac_cs_config\\"
17727
18584
 
17728
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
18585
Copyright (C) 2012 Free Software Foundation, Inc.
17729
18586
This config.status script is free software; the Free Software Foundation
17730
18587
gives unlimited permission to copy, distribute and modify it."
17731
18588
 
17816
18673
_ACEOF
17817
18674
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17818
18675
if \$ac_cs_recheck; then
17819
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
18676
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17820
18677
  shift
17821
18678
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17822
18679
  CONFIG_SHELL='$SHELL'
17850
18707
sed_quote_subst='$sed_quote_subst'
17851
18708
double_quote_subst='$double_quote_subst'
17852
18709
delay_variable_subst='$delay_variable_subst'
17853
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17854
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17855
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17856
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17857
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17858
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17859
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17860
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17861
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17862
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17863
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17864
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17865
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17866
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17867
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17868
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17869
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17870
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17871
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17872
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17873
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17874
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17875
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17876
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17877
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17878
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17879
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17880
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17881
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17882
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17883
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17884
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17885
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17886
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17887
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17888
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17889
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17890
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17891
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17892
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17893
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17894
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17895
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17896
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17897
 
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"`'
17898
 
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"`'
17899
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17900
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17901
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17902
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17903
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17904
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17905
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17906
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17907
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17908
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17909
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17910
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17911
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17912
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17913
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17914
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17915
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17916
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17917
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17918
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17919
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17920
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17921
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17922
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17923
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17924
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17925
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17926
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17927
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17928
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17929
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17930
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17931
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17932
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17933
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17934
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17935
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17936
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17937
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17938
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17939
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17940
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17941
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17942
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17943
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17944
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17945
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17946
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17947
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17948
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17949
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17950
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17951
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17952
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17953
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17954
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17955
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17956
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17957
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17958
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17959
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17960
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17961
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17962
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17963
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17964
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17965
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17966
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17967
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17968
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17969
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17970
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17971
 
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17972
 
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17973
 
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17974
 
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17975
 
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17976
 
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17977
 
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17978
 
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17979
 
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17980
 
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17981
 
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17982
 
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17983
 
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17984
 
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17985
 
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17986
 
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17987
 
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17988
 
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17989
 
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17990
 
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17991
 
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17992
 
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17993
 
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17994
 
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17995
 
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17996
 
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17997
 
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17998
 
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17999
 
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18000
 
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18001
 
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18002
 
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18003
 
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18004
 
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18005
 
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18006
 
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18007
 
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18008
 
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18009
 
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18010
 
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18011
 
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18012
 
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18013
 
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18014
 
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18015
 
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18016
 
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18017
 
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18018
 
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18019
 
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18020
 
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18021
 
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18022
 
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18023
 
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
18710
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
18711
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
18712
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
18713
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
18714
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
18715
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
18716
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
18717
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
18718
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
18719
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
18720
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
18721
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
18722
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
18723
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
18724
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
18725
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
18726
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
18727
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
18728
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
18729
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
18730
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
18731
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
18732
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
18733
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
18734
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
18735
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
18736
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
18737
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
18738
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
18739
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
18740
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
18741
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
18742
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
18743
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
18744
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
18745
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
18746
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
18747
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
18748
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
18749
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
18750
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
18751
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
18752
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
18753
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
18754
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
18755
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
18756
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
18757
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
18758
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
18759
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
18760
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
18761
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
18762
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
18763
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
18764
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
18765
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
18766
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"`'
 
18767
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
18768
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
18769
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
18770
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
18771
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
18772
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
18773
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
18774
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
18775
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
18776
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
18777
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
18778
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
18779
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
18780
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
18781
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
18782
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
18783
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
18784
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
18785
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
18786
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
18787
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
18788
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
18789
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
18790
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
18791
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
18792
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
18793
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
18794
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
18795
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
18796
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
18797
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
18798
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
18799
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
18800
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
18801
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
18802
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
18803
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
18804
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
18805
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
18806
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
18807
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
18808
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
18809
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
18810
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
18811
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
18812
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
18813
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
18814
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
18815
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
18816
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
18817
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
18818
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
18819
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
18820
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
18821
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
18822
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
18823
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
18824
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
18825
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
18826
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
18827
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
18828
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
18829
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
18830
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
18831
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
18832
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
18833
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
18834
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
18835
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
18836
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
18837
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
18838
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
18839
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
18840
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
 
18841
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
 
18842
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
 
18843
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
 
18844
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
 
18845
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
 
18846
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
 
18847
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
18848
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
18849
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
18850
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
 
18851
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
 
18852
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
18853
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
 
18854
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
 
18855
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
 
18856
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
 
18857
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
 
18858
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
 
18859
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
18860
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
18861
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
 
18862
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
18863
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
18864
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
18865
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
18866
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
18867
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
18868
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
 
18869
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
18870
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
18871
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
18872
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
 
18873
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
 
18874
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
 
18875
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
 
18876
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
 
18877
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
 
18878
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
 
18879
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
 
18880
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
 
18881
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
18882
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
18883
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
18884
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
18885
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
18886
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
18887
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
 
18888
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
 
18889
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
18890
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
18891
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
 
18892
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
 
18893
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18024
18894
 
18025
18895
LTCC='$LTCC'
18026
18896
LTCFLAGS='$LTCFLAGS'
18027
18897
compiler='$compiler_DEFAULT'
18028
18898
 
 
18899
# A function that is used when there is no print builtin or printf.
 
18900
func_fallback_echo ()
 
18901
{
 
18902
  eval 'cat <<_LTECHO_EOF
 
18903
\$1
 
18904
_LTECHO_EOF'
 
18905
}
 
18906
 
18029
18907
# Quote evaled strings.
18030
 
for var in SED \
 
18908
for var in SHELL \
 
18909
ECHO \
 
18910
PATH_SEPARATOR \
 
18911
SED \
18031
18912
GREP \
18032
18913
EGREP \
18033
18914
FGREP \
18040
18921
OBJDUMP \
18041
18922
deplibs_check_method \
18042
18923
file_magic_cmd \
 
18924
file_magic_glob \
 
18925
want_nocaseglob \
 
18926
DLLTOOL \
 
18927
sharedlib_from_linklib_cmd \
18043
18928
AR \
18044
18929
AR_FLAGS \
 
18930
archiver_list_spec \
18045
18931
STRIP \
18046
18932
RANLIB \
18047
18933
CC \
18051
18937
lt_cv_sys_global_symbol_to_cdecl \
18052
18938
lt_cv_sys_global_symbol_to_c_name_address \
18053
18939
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18054
 
SHELL \
18055
 
ECHO \
 
18940
nm_file_list_spec \
18056
18941
lt_prog_compiler_no_builtin_flag \
 
18942
lt_prog_compiler_pic \
18057
18943
lt_prog_compiler_wl \
18058
 
lt_prog_compiler_pic \
18059
18944
lt_prog_compiler_static \
18060
18945
lt_cv_prog_compiler_c_o \
18061
18946
need_locks \
 
18947
MANIFEST_TOOL \
18062
18948
DSYMUTIL \
18063
18949
NMEDIT \
18064
18950
LIPO \
18072
18958
allow_undefined_flag \
18073
18959
no_undefined_flag \
18074
18960
hardcode_libdir_flag_spec \
18075
 
hardcode_libdir_flag_spec_ld \
18076
18961
hardcode_libdir_separator \
18077
 
fix_srcfile_path \
18078
18962
exclude_expsyms \
18079
18963
include_expsyms \
18080
18964
file_list_spec \
18082
18966
libname_spec \
18083
18967
library_names_spec \
18084
18968
soname_spec \
 
18969
install_override_mode \
18085
18970
finish_eval \
18086
18971
old_striplib \
18087
18972
striplib \
18092
18977
postdeps \
18093
18978
compiler_lib_search_path \
18094
18979
LD_CXX \
 
18980
reload_flag_CXX \
18095
18981
compiler_CXX \
18096
18982
lt_prog_compiler_no_builtin_flag_CXX \
 
18983
lt_prog_compiler_pic_CXX \
18097
18984
lt_prog_compiler_wl_CXX \
18098
 
lt_prog_compiler_pic_CXX \
18099
18985
lt_prog_compiler_static_CXX \
18100
18986
lt_cv_prog_compiler_c_o_CXX \
18101
18987
export_dynamic_flag_spec_CXX \
18105
18991
allow_undefined_flag_CXX \
18106
18992
no_undefined_flag_CXX \
18107
18993
hardcode_libdir_flag_spec_CXX \
18108
 
hardcode_libdir_flag_spec_ld_CXX \
18109
18994
hardcode_libdir_separator_CXX \
18110
 
fix_srcfile_path_CXX \
18111
18995
exclude_expsyms_CXX \
18112
18996
include_expsyms_CXX \
18113
18997
file_list_spec_CXX \
18117
19001
predeps_CXX \
18118
19002
postdeps_CXX \
18119
19003
compiler_lib_search_path_CXX; do
18120
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
19004
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18121
19005
    *[\\\\\\\`\\"\\\$]*)
18122
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
19006
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18123
19007
      ;;
18124
19008
    *)
18125
19009
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18141
19025
module_expsym_cmds \
18142
19026
export_symbols_cmds \
18143
19027
prelink_cmds \
 
19028
postlink_cmds \
18144
19029
postinstall_cmds \
18145
19030
postuninstall_cmds \
18146
19031
finish_cmds \
18147
19032
sys_lib_search_path_spec \
18148
19033
sys_lib_dlsearch_path_spec \
 
19034
reload_cmds_CXX \
18149
19035
old_archive_cmds_CXX \
18150
19036
old_archive_from_new_cmds_CXX \
18151
19037
old_archive_from_expsyms_cmds_CXX \
18154
19040
module_cmds_CXX \
18155
19041
module_expsym_cmds_CXX \
18156
19042
export_symbols_cmds_CXX \
18157
 
prelink_cmds_CXX; do
18158
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
19043
prelink_cmds_CXX \
 
19044
postlink_cmds_CXX; do
 
19045
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18159
19046
    *[\\\\\\\`\\"\\\$]*)
18160
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
19047
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18161
19048
      ;;
18162
19049
    *)
18163
19050
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18165
19052
    esac
18166
19053
done
18167
19054
 
18168
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
18169
 
case \$lt_ECHO in
18170
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
18171
 
  ;;
18172
 
esac
18173
 
 
18174
19055
ac_aux_dir='$ac_aux_dir'
18175
19056
xsi_shell='$xsi_shell'
18176
19057
lt_shell_append='$lt_shell_append'
18251
19132
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18252
19133
    "interface/Makefile") CONFIG_FILES="$CONFIG_FILES interface/Makefile" ;;
18253
19134
    "bound_test.sh") CONFIG_FILES="$CONFIG_FILES bound_test.sh" ;;
 
19135
    "codegen_test.sh") CONFIG_FILES="$CONFIG_FILES codegen_test.sh" ;;
18254
19136
    "pip_test.sh") CONFIG_FILES="$CONFIG_FILES pip_test.sh" ;;
18255
19137
 
18256
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
19138
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18257
19139
  esac
18258
19140
done
18259
19141
 
18276
19158
# after its creation but before its name has been assigned to `$tmp'.
18277
19159
$debug ||
18278
19160
{
18279
 
  tmp=
 
19161
  tmp= ac_tmp=
18280
19162
  trap 'exit_status=$?
18281
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
19163
  : "${ac_tmp:=$tmp}"
 
19164
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18282
19165
' 0
18283
19166
  trap 'as_fn_exit 1' 1 2 13 15
18284
19167
}
18286
19169
 
18287
19170
{
18288
19171
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18289
 
  test -n "$tmp" && test -d "$tmp"
 
19172
  test -d "$tmp"
18290
19173
}  ||
18291
19174
{
18292
19175
  tmp=./conf$$-$RANDOM
18293
19176
  (umask 077 && mkdir "$tmp")
18294
19177
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
19178
ac_tmp=$tmp
18295
19179
 
18296
19180
# Set up the scripts for CONFIG_FILES section.
18297
19181
# No need to generate them if there are no CONFIG_FILES.
18313
19197
  ac_cs_awk_cr=$ac_cr
18314
19198
fi
18315
19199
 
18316
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
19200
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18317
19201
_ACEOF
18318
19202
 
18319
19203
 
18341
19225
rm -f conf$$subs.sh
18342
19226
 
18343
19227
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18344
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
19228
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18345
19229
_ACEOF
18346
19230
sed -n '
18347
19231
h
18389
19273
rm -f conf$$subs.awk
18390
19274
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18391
19275
_ACAWK
18392
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
19276
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18393
19277
  for (key in S) S_is_set[key] = 1
18394
19278
  FS = ""
18395
19279
 
18421
19305
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18422
19306
else
18423
19307
  cat
18424
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
19308
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18425
19309
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18426
19310
_ACEOF
18427
19311
 
18455
19339
# No need to generate them if there are no CONFIG_HEADERS.
18456
19340
# This happens for instance with `./config.status Makefile'.
18457
19341
if test -n "$CONFIG_HEADERS"; then
18458
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
19342
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18459
19343
BEGIN {
18460
19344
_ACEOF
18461
19345
 
18467
19351
# handling of long lines.
18468
19352
ac_delim='%!_!# '
18469
19353
for ac_last_try in false false :; do
18470
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
18471
 
  if test -z "$ac_t"; then
 
19354
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
19355
  if test -z "$ac_tt"; then
18472
19356
    break
18473
19357
  elif $ac_last_try; then
18474
19358
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18569
19453
  esac
18570
19454
  case $ac_mode$ac_tag in
18571
19455
  :[FHL]*:*);;
18572
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
19456
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18573
19457
  :[FH]-) ac_tag=-:-;;
18574
19458
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18575
19459
  esac
18588
19472
    for ac_f
18589
19473
    do
18590
19474
      case $ac_f in
18591
 
      -) ac_f="$tmp/stdin";;
 
19475
      -) ac_f="$ac_tmp/stdin";;
18592
19476
      *) # Look for the file first in the build tree, then in the source tree
18593
19477
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
18594
19478
         # because $ac_f cannot contain `:'.
18597
19481
           [\\/$]*) false;;
18598
19482
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18599
19483
           esac ||
18600
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
19484
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18601
19485
      esac
18602
19486
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18603
19487
      as_fn_append ac_file_inputs " '$ac_f'"
18623
19507
    esac
18624
19508
 
18625
19509
    case $ac_tag in
18626
 
    *:-:* | *:-) cat >"$tmp/stdin" \
18627
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
19510
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
19511
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18628
19512
    esac
18629
19513
    ;;
18630
19514
  esac
18760
19644
s&@MKDIR_P@&$ac_MKDIR_P&;t t
18761
19645
$ac_datarootdir_hack
18762
19646
"
18763
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18764
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
19647
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
19648
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18765
19649
 
18766
19650
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18767
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18768
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
19651
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
19652
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
19653
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18769
19654
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18770
19655
which seems to be undefined.  Please make sure it is defined" >&5
18771
19656
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18772
19657
which seems to be undefined.  Please make sure it is defined" >&2;}
18773
19658
 
18774
 
  rm -f "$tmp/stdin"
 
19659
  rm -f "$ac_tmp/stdin"
18775
19660
  case $ac_file in
18776
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
18777
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
19661
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
19662
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18778
19663
  esac \
18779
19664
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18780
19665
 ;;
18785
19670
  if test x"$ac_file" != x-; then
18786
19671
    {
18787
19672
      $as_echo "/* $configure_input  */" \
18788
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18789
 
    } >"$tmp/config.h" \
 
19673
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
19674
    } >"$ac_tmp/config.h" \
18790
19675
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18791
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
19676
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18792
19677
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18793
19678
$as_echo "$as_me: $ac_file is unchanged" >&6;}
18794
19679
    else
18795
19680
      rm -f "$ac_file"
18796
 
      mv "$tmp/config.h" "$ac_file" \
 
19681
      mv "$ac_tmp/config.h" "$ac_file" \
18797
19682
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18798
19683
    fi
18799
19684
  else
18800
19685
    $as_echo "/* $configure_input  */" \
18801
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
19686
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18802
19687
      || as_fn_error $? "could not create -" "$LINENO" 5
18803
19688
  fi
18804
19689
# Compute "$ac_file"'s index in $config_headers.
18960
19845
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18961
19846
#
18962
19847
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18963
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
19848
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
19849
#                 Foundation, Inc.
18964
19850
#   Written by Gordon Matzigkeit, 1996
18965
19851
#
18966
19852
#   This file is part of GNU Libtool.
19008
19894
# Whether or not to optimize for fast installation.
19009
19895
fast_install=$enable_fast_install
19010
19896
 
 
19897
# Shell to use when invoking shell scripts.
 
19898
SHELL=$lt_SHELL
 
19899
 
 
19900
# An echo program that protects backslashes.
 
19901
ECHO=$lt_ECHO
 
19902
 
 
19903
# The PATH separator for the build system.
 
19904
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
19905
 
19011
19906
# The host system.
19012
19907
host_alias=$host_alias
19013
19908
host=$host
19057
19952
# turn newlines into spaces.
19058
19953
NL2SP=$lt_lt_NL2SP
19059
19954
 
19060
 
# How to create reloadable object files.
19061
 
reload_flag=$lt_reload_flag
19062
 
reload_cmds=$lt_reload_cmds
 
19955
# convert \$build file names to \$host format.
 
19956
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
19957
 
 
19958
# convert \$build files to toolchain format.
 
19959
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19063
19960
 
19064
19961
# An object symbol dumper.
19065
19962
OBJDUMP=$lt_OBJDUMP
19067
19964
# Method to check whether dependent libraries are shared objects.
19068
19965
deplibs_check_method=$lt_deplibs_check_method
19069
19966
 
19070
 
# Command to use when deplibs_check_method == "file_magic".
 
19967
# Command to use when deplibs_check_method = "file_magic".
19071
19968
file_magic_cmd=$lt_file_magic_cmd
19072
19969
 
 
19970
# How to find potential files when deplibs_check_method = "file_magic".
 
19971
file_magic_glob=$lt_file_magic_glob
 
19972
 
 
19973
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
19974
want_nocaseglob=$lt_want_nocaseglob
 
19975
 
 
19976
# DLL creation program.
 
19977
DLLTOOL=$lt_DLLTOOL
 
19978
 
 
19979
# Command to associate shared and link libraries.
 
19980
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
19981
 
19073
19982
# The archiver.
19074
19983
AR=$lt_AR
 
19984
 
 
19985
# Flags to create an archive.
19075
19986
AR_FLAGS=$lt_AR_FLAGS
19076
19987
 
 
19988
# How to feed a file listing to the archiver.
 
19989
archiver_list_spec=$lt_archiver_list_spec
 
19990
 
19077
19991
# A symbol stripping program.
19078
19992
STRIP=$lt_STRIP
19079
19993
 
19082
19996
old_postinstall_cmds=$lt_old_postinstall_cmds
19083
19997
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19084
19998
 
 
19999
# Whether to use a lock for old archive extraction.
 
20000
lock_old_archive_extraction=$lock_old_archive_extraction
 
20001
 
19085
20002
# A C compiler.
19086
20003
LTCC=$lt_CC
19087
20004
 
19100
20017
# Transform the output of nm in a C name address pair when lib prefix is needed.
19101
20018
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19102
20019
 
 
20020
# Specify filename containing input files for \$NM.
 
20021
nm_file_list_spec=$lt_nm_file_list_spec
 
20022
 
 
20023
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
20024
lt_sysroot=$lt_sysroot
 
20025
 
19103
20026
# The name of the directory that contains temporary libtool files.
19104
20027
objdir=$objdir
19105
20028
 
19106
 
# Shell to use when invoking shell scripts.
19107
 
SHELL=$lt_SHELL
19108
 
 
19109
 
# An echo program that does not interpret backslashes.
19110
 
ECHO=$lt_ECHO
19111
 
 
19112
20029
# Used to examine libraries when file_magic_cmd begins with "file".
19113
20030
MAGIC_CMD=$MAGIC_CMD
19114
20031
 
19115
20032
# Must we lock files when doing compilation?
19116
20033
need_locks=$lt_need_locks
19117
20034
 
 
20035
# Manifest tool.
 
20036
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
20037
 
19118
20038
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19119
20039
DSYMUTIL=$lt_DSYMUTIL
19120
20040
 
19171
20091
# The coded name of the library, if different from the real name.
19172
20092
soname_spec=$lt_soname_spec
19173
20093
 
 
20094
# Permission mode override for installation of shared libraries.
 
20095
install_override_mode=$lt_install_override_mode
 
20096
 
19174
20097
# Command to use after installation of a shared archive.
19175
20098
postinstall_cmds=$lt_postinstall_cmds
19176
20099
 
19210
20133
# The linker used to build libraries.
19211
20134
LD=$lt_LD
19212
20135
 
 
20136
# How to create reloadable object files.
 
20137
reload_flag=$lt_reload_flag
 
20138
reload_cmds=$lt_reload_cmds
 
20139
 
19213
20140
# Commands used to build an old-style archive.
19214
20141
old_archive_cmds=$lt_old_archive_cmds
19215
20142
 
19222
20149
# Compiler flag to turn off builtin functions.
19223
20150
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19224
20151
 
 
20152
# Additional compiler flags for building library objects.
 
20153
pic_flag=$lt_lt_prog_compiler_pic
 
20154
 
19225
20155
# How to pass a linker flag through the compiler.
19226
20156
wl=$lt_lt_prog_compiler_wl
19227
20157
 
19228
 
# Additional compiler flags for building library objects.
19229
 
pic_flag=$lt_lt_prog_compiler_pic
19230
 
 
19231
20158
# Compiler flag to prevent dynamic linking.
19232
20159
link_static_flag=$lt_lt_prog_compiler_static
19233
20160
 
19277
20204
# This must work even if \$libdir does not exist
19278
20205
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19279
20206
 
19280
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
19281
 
# during linking.  This must work even if \$libdir does not exist.
19282
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19283
 
 
19284
20207
# Whether we need a single "-rpath" flag with a separated argument.
19285
20208
hardcode_libdir_separator=$lt_hardcode_libdir_separator
19286
20209
 
19314
20237
# Whether libtool must link a program against all its dependency libraries.
19315
20238
link_all_deplibs=$link_all_deplibs
19316
20239
 
19317
 
# Fix the shell variable \$srcfile for the compiler.
19318
 
fix_srcfile_path=$lt_fix_srcfile_path
19319
 
 
19320
20240
# Set to "yes" if exported symbols are required.
19321
20241
always_export_symbols=$always_export_symbols
19322
20242
 
19332
20252
# Commands necessary for linking programs (against libraries) with templates.
19333
20253
prelink_cmds=$lt_prelink_cmds
19334
20254
 
 
20255
# Commands necessary for finishing linking programs.
 
20256
postlink_cmds=$lt_postlink_cmds
 
20257
 
19335
20258
# Specify filename containing input files.
19336
20259
file_list_spec=$lt_file_list_spec
19337
20260
 
19378
20301
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19379
20302
  # text mode, it properly converts lines to CR/LF.  This bash problem
19380
20303
  # is reportedly fixed, but why not run on old versions too?
19381
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19382
 
    || (rm -f "$cfgfile"; exit 1)
19383
 
 
19384
 
  case $xsi_shell in
19385
 
  yes)
19386
 
    cat << \_LT_EOF >> "$cfgfile"
19387
 
 
19388
 
# func_dirname file append nondir_replacement
19389
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
19390
 
# otherwise set result to NONDIR_REPLACEMENT.
19391
 
func_dirname ()
19392
 
{
19393
 
  case ${1} in
19394
 
    */*) func_dirname_result="${1%/*}${2}" ;;
19395
 
    *  ) func_dirname_result="${3}" ;;
19396
 
  esac
19397
 
}
19398
 
 
19399
 
# func_basename file
19400
 
func_basename ()
19401
 
{
19402
 
  func_basename_result="${1##*/}"
19403
 
}
19404
 
 
19405
 
# func_dirname_and_basename file append nondir_replacement
19406
 
# perform func_basename and func_dirname in a single function
19407
 
# call:
19408
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
19409
 
#             add APPEND to the result, otherwise set result
19410
 
#             to NONDIR_REPLACEMENT.
19411
 
#             value returned in "$func_dirname_result"
19412
 
#   basename: Compute filename of FILE.
19413
 
#             value retuned in "$func_basename_result"
19414
 
# Implementation must be kept synchronized with func_dirname
19415
 
# and func_basename. For efficiency, we do not delegate to
19416
 
# those functions but instead duplicate the functionality here.
19417
 
func_dirname_and_basename ()
19418
 
{
19419
 
  case ${1} in
19420
 
    */*) func_dirname_result="${1%/*}${2}" ;;
19421
 
    *  ) func_dirname_result="${3}" ;;
19422
 
  esac
19423
 
  func_basename_result="${1##*/}"
19424
 
}
19425
 
 
19426
 
# func_stripname prefix suffix name
19427
 
# strip PREFIX and SUFFIX off of NAME.
19428
 
# PREFIX and SUFFIX must not contain globbing or regex special
19429
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
19430
 
# dot (in which case that matches only a dot).
19431
 
func_stripname ()
19432
 
{
19433
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19434
 
  # positional parameters, so assign one to ordinary parameter first.
19435
 
  func_stripname_result=${3}
19436
 
  func_stripname_result=${func_stripname_result#"${1}"}
19437
 
  func_stripname_result=${func_stripname_result%"${2}"}
19438
 
}
19439
 
 
19440
 
# func_opt_split
19441
 
func_opt_split ()
19442
 
{
19443
 
  func_opt_split_opt=${1%%=*}
19444
 
  func_opt_split_arg=${1#*=}
19445
 
}
19446
 
 
19447
 
# func_lo2o object
19448
 
func_lo2o ()
19449
 
{
19450
 
  case ${1} in
19451
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
19452
 
    *)    func_lo2o_result=${1} ;;
19453
 
  esac
19454
 
}
19455
 
 
19456
 
# func_xform libobj-or-source
19457
 
func_xform ()
19458
 
{
19459
 
  func_xform_result=${1%.*}.lo
19460
 
}
19461
 
 
19462
 
# func_arith arithmetic-term...
19463
 
func_arith ()
19464
 
{
19465
 
  func_arith_result=$(( $* ))
19466
 
}
19467
 
 
19468
 
# func_len string
19469
 
# STRING may not start with a hyphen.
19470
 
func_len ()
19471
 
{
19472
 
  func_len_result=${#1}
19473
 
}
19474
 
 
19475
 
_LT_EOF
19476
 
    ;;
19477
 
  *) # Bourne compatible functions.
19478
 
    cat << \_LT_EOF >> "$cfgfile"
19479
 
 
19480
 
# func_dirname file append nondir_replacement
19481
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
19482
 
# otherwise set result to NONDIR_REPLACEMENT.
19483
 
func_dirname ()
19484
 
{
19485
 
  # Extract subdirectory from the argument.
19486
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19487
 
  if test "X$func_dirname_result" = "X${1}"; then
19488
 
    func_dirname_result="${3}"
19489
 
  else
19490
 
    func_dirname_result="$func_dirname_result${2}"
19491
 
  fi
19492
 
}
19493
 
 
19494
 
# func_basename file
19495
 
func_basename ()
19496
 
{
19497
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
19498
 
}
19499
 
 
19500
 
 
19501
 
# func_stripname prefix suffix name
19502
 
# strip PREFIX and SUFFIX off of NAME.
19503
 
# PREFIX and SUFFIX must not contain globbing or regex special
19504
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
19505
 
# dot (in which case that matches only a dot).
19506
 
# func_strip_suffix prefix name
19507
 
func_stripname ()
19508
 
{
19509
 
  case ${2} in
19510
 
    .*) func_stripname_result=`$ECHO "X${3}" \
19511
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19512
 
    *)  func_stripname_result=`$ECHO "X${3}" \
19513
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19514
 
  esac
19515
 
}
19516
 
 
19517
 
# sed scripts:
19518
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
19519
 
my_sed_long_arg='1s/^-[^=]*=//'
19520
 
 
19521
 
# func_opt_split
19522
 
func_opt_split ()
19523
 
{
19524
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19525
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19526
 
}
19527
 
 
19528
 
# func_lo2o object
19529
 
func_lo2o ()
19530
 
{
19531
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19532
 
}
19533
 
 
19534
 
# func_xform libobj-or-source
19535
 
func_xform ()
19536
 
{
19537
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19538
 
}
19539
 
 
19540
 
# func_arith arithmetic-term...
19541
 
func_arith ()
19542
 
{
19543
 
  func_arith_result=`expr "$@"`
19544
 
}
19545
 
 
19546
 
# func_len string
19547
 
# STRING may not start with a hyphen.
19548
 
func_len ()
19549
 
{
19550
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19551
 
}
19552
 
 
19553
 
_LT_EOF
19554
 
esac
19555
 
 
19556
 
case $lt_shell_append in
19557
 
  yes)
19558
 
    cat << \_LT_EOF >> "$cfgfile"
19559
 
 
19560
 
# func_append var value
19561
 
# Append VALUE to the end of shell variable VAR.
19562
 
func_append ()
19563
 
{
19564
 
  eval "$1+=\$2"
19565
 
}
19566
 
_LT_EOF
19567
 
    ;;
19568
 
  *)
19569
 
    cat << \_LT_EOF >> "$cfgfile"
19570
 
 
19571
 
# func_append var value
19572
 
# Append VALUE to the end of shell variable VAR.
19573
 
func_append ()
19574
 
{
19575
 
  eval "$1=\$$1\$2"
19576
 
}
19577
 
 
19578
 
_LT_EOF
19579
 
    ;;
19580
 
  esac
19581
 
 
19582
 
 
19583
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19584
 
    || (rm -f "$cfgfile"; exit 1)
19585
 
 
19586
 
  mv -f "$cfgfile" "$ofile" ||
 
20304
  sed '$q' "$ltmain" >> "$cfgfile" \
 
20305
     || (rm -f "$cfgfile"; exit 1)
 
20306
 
 
20307
  if test x"$xsi_shell" = xyes; then
 
20308
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
20309
func_dirname ()\
 
20310
{\
 
20311
\    case ${1} in\
 
20312
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
20313
\      *  ) func_dirname_result="${3}" ;;\
 
20314
\    esac\
 
20315
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
20316
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20317
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20318
test 0 -eq $? || _lt_function_replace_fail=:
 
20319
 
 
20320
 
 
20321
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
20322
func_basename ()\
 
20323
{\
 
20324
\    func_basename_result="${1##*/}"\
 
20325
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
20326
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20327
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20328
test 0 -eq $? || _lt_function_replace_fail=:
 
20329
 
 
20330
 
 
20331
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
20332
func_dirname_and_basename ()\
 
20333
{\
 
20334
\    case ${1} in\
 
20335
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
20336
\      *  ) func_dirname_result="${3}" ;;\
 
20337
\    esac\
 
20338
\    func_basename_result="${1##*/}"\
 
20339
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
20340
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20341
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20342
test 0 -eq $? || _lt_function_replace_fail=:
 
20343
 
 
20344
 
 
20345
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
20346
func_stripname ()\
 
20347
{\
 
20348
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
20349
\    # positional parameters, so assign one to ordinary parameter first.\
 
20350
\    func_stripname_result=${3}\
 
20351
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
20352
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
20353
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
20354
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20355
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20356
test 0 -eq $? || _lt_function_replace_fail=:
 
20357
 
 
20358
 
 
20359
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
20360
func_split_long_opt ()\
 
20361
{\
 
20362
\    func_split_long_opt_name=${1%%=*}\
 
20363
\    func_split_long_opt_arg=${1#*=}\
 
20364
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
20365
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20366
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20367
test 0 -eq $? || _lt_function_replace_fail=:
 
20368
 
 
20369
 
 
20370
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
20371
func_split_short_opt ()\
 
20372
{\
 
20373
\    func_split_short_opt_arg=${1#??}\
 
20374
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
20375
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
20376
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20377
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20378
test 0 -eq $? || _lt_function_replace_fail=:
 
20379
 
 
20380
 
 
20381
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
20382
func_lo2o ()\
 
20383
{\
 
20384
\    case ${1} in\
 
20385
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
20386
\      *)    func_lo2o_result=${1} ;;\
 
20387
\    esac\
 
20388
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
20389
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20390
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20391
test 0 -eq $? || _lt_function_replace_fail=:
 
20392
 
 
20393
 
 
20394
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
20395
func_xform ()\
 
20396
{\
 
20397
    func_xform_result=${1%.*}.lo\
 
20398
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
20399
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20400
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20401
test 0 -eq $? || _lt_function_replace_fail=:
 
20402
 
 
20403
 
 
20404
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
20405
func_arith ()\
 
20406
{\
 
20407
    func_arith_result=$(( $* ))\
 
20408
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
20409
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20410
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20411
test 0 -eq $? || _lt_function_replace_fail=:
 
20412
 
 
20413
 
 
20414
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
20415
func_len ()\
 
20416
{\
 
20417
    func_len_result=${#1}\
 
20418
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
20419
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20420
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20421
test 0 -eq $? || _lt_function_replace_fail=:
 
20422
 
 
20423
fi
 
20424
 
 
20425
if test x"$lt_shell_append" = xyes; then
 
20426
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
20427
func_append ()\
 
20428
{\
 
20429
    eval "${1}+=\\${2}"\
 
20430
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
20431
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20432
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20433
test 0 -eq $? || _lt_function_replace_fail=:
 
20434
 
 
20435
 
 
20436
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
20437
func_append_quoted ()\
 
20438
{\
 
20439
\    func_quote_for_eval "${2}"\
 
20440
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
20441
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
20442
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20443
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20444
test 0 -eq $? || _lt_function_replace_fail=:
 
20445
 
 
20446
 
 
20447
  # Save a `func_append' function call where possible by direct use of '+='
 
20448
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
20449
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20450
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20451
  test 0 -eq $? || _lt_function_replace_fail=:
 
20452
else
 
20453
  # Save a `func_append' function call even when '+=' is not available
 
20454
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
20455
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20456
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20457
  test 0 -eq $? || _lt_function_replace_fail=:
 
20458
fi
 
20459
 
 
20460
if test x"$_lt_function_replace_fail" = x":"; then
 
20461
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
20462
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
20463
fi
 
20464
 
 
20465
 
 
20466
   mv -f "$cfgfile" "$ofile" ||
19587
20467
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19588
20468
  chmod +x "$ofile"
19589
20469
 
19595
20475
# The linker used to build libraries.
19596
20476
LD=$lt_LD_CXX
19597
20477
 
 
20478
# How to create reloadable object files.
 
20479
reload_flag=$lt_reload_flag_CXX
 
20480
reload_cmds=$lt_reload_cmds_CXX
 
20481
 
19598
20482
# Commands used to build an old-style archive.
19599
20483
old_archive_cmds=$lt_old_archive_cmds_CXX
19600
20484
 
19607
20491
# Compiler flag to turn off builtin functions.
19608
20492
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19609
20493
 
 
20494
# Additional compiler flags for building library objects.
 
20495
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
20496
 
19610
20497
# How to pass a linker flag through the compiler.
19611
20498
wl=$lt_lt_prog_compiler_wl_CXX
19612
20499
 
19613
 
# Additional compiler flags for building library objects.
19614
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
19615
 
 
19616
20500
# Compiler flag to prevent dynamic linking.
19617
20501
link_static_flag=$lt_lt_prog_compiler_static_CXX
19618
20502
 
19662
20546
# This must work even if \$libdir does not exist
19663
20547
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19664
20548
 
19665
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
19666
 
# during linking.  This must work even if \$libdir does not exist.
19667
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19668
 
 
19669
20549
# Whether we need a single "-rpath" flag with a separated argument.
19670
20550
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19671
20551
 
19699
20579
# Whether libtool must link a program against all its dependency libraries.
19700
20580
link_all_deplibs=$link_all_deplibs_CXX
19701
20581
 
19702
 
# Fix the shell variable \$srcfile for the compiler.
19703
 
fix_srcfile_path=$lt_fix_srcfile_path_CXX
19704
 
 
19705
20582
# Set to "yes" if exported symbols are required.
19706
20583
always_export_symbols=$always_export_symbols_CXX
19707
20584
 
19717
20594
# Commands necessary for linking programs (against libraries) with templates.
19718
20595
prelink_cmds=$lt_prelink_cmds_CXX
19719
20596
 
 
20597
# Commands necessary for finishing linking programs.
 
20598
postlink_cmds=$lt_postlink_cmds_CXX
 
20599
 
19720
20600
# Specify filename containing input files.
19721
20601
file_list_spec=$lt_file_list_spec_CXX
19722
20602
 
20343
21223
fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
20344
21224
 ;;
20345
21225
    "bound_test.sh":F) chmod +x bound_test.sh ;;
 
21226
    "codegen_test.sh":F) chmod +x codegen_test.sh ;;
20346
21227
    "pip_test.sh":F) chmod +x pip_test.sh ;;
20347
21228
 
20348
21229
  esac