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

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-12-15 18:39:17 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20111215183917-uqggmujou8wna9js
Tags: 0.17.0-1
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.65 for cloog 0.16.3.
 
3
# Generated by GNU Autoconf 2.67 for cloog 0.17.0.
4
4
#
5
5
# Report bugs to <cloog-development@googlegroups.com>.
6
6
#
7
7
#
8
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10
 
# Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
11
11
#
12
12
#
13
13
# This configure script is free software; the Free Software Foundation
173
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
 
 
177
 
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178
 
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180
 
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181
 
    PATH=/empty FPATH=/empty; export PATH FPATH
182
 
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183
 
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
184
176
test \$(( 1 + 1 )) = 2 || exit 1"
185
177
  if (eval "$as_required") 2>/dev/null; then :
186
178
  as_have_required=yes
327
319
      test -d "$as_dir" && break
328
320
    done
329
321
    test -z "$as_dirs" || eval "mkdir $as_dirs"
330
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
322
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331
323
 
332
324
 
333
325
} # as_fn_mkdir_p
367
359
fi # as_fn_arith
368
360
 
369
361
 
370
 
# as_fn_error ERROR [LINENO LOG_FD]
371
 
# ---------------------------------
 
362
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
363
# ----------------------------------------
372
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374
 
# script with status $?, using 1 if that was 0.
 
366
# script with STATUS, using 1 if that was 0.
375
367
as_fn_error ()
376
368
{
377
 
  as_status=$?; test $as_status -eq 0 && as_status=1
378
 
  if test "$3"; then
379
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
369
  as_status=$1; test $as_status -eq 0 && as_status=1
 
370
  if test "$4"; then
 
371
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
372
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381
373
  fi
382
 
  $as_echo "$as_me: error: $1" >&2
 
374
  $as_echo "$as_me: error: $2" >&2
383
375
  as_fn_exit $as_status
384
376
} # as_fn_error
385
377
 
536
528
# Sed expression to map a string onto a valid variable name.
537
529
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538
530
 
 
531
 
 
532
 
 
533
# Check that we are running under the correct shell.
539
534
SHELL=${CONFIG_SHELL-/bin/sh}
540
535
 
 
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
 
541
680
 
542
681
test -n "$DJDIR" || exec 7<&0 </dev/null
543
682
exec 6>&1
544
683
 
545
684
# Name of the host.
546
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
685
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
547
686
# so uname gets run too.
548
687
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
549
688
 
562
701
# Identity of this package.
563
702
PACKAGE_NAME='cloog'
564
703
PACKAGE_TARNAME='cloog'
565
 
PACKAGE_VERSION='0.16.3'
566
 
PACKAGE_STRING='cloog 0.16.3'
 
704
PACKAGE_VERSION='0.17.0'
 
705
PACKAGE_STRING='cloog 0.17.0'
567
706
PACKAGE_BUGREPORT='cloog-development@googlegroups.com'
568
707
PACKAGE_URL=''
569
708
 
618
757
BITS
619
758
INSTALL
620
759
GIT_INDEX
 
760
NO_OSL_FALSE
 
761
NO_OSL_TRUE
 
762
BUNDLED_OSL_FALSE
 
763
BUNDLED_OSL_TRUE
 
764
OSL_LIBS
 
765
OSL_LDFLAGS
 
766
OSL_CPPFLAGS
621
767
NO_ISL_FALSE
622
768
NO_ISL_TRUE
623
769
BUNDLED_ISL_FALSE
638
784
LIPO
639
785
NMEDIT
640
786
DSYMUTIL
 
787
lt_ECHO
641
788
RANLIB
642
789
AR
643
790
OBJDUMP
761
908
with_gmp_prefix
762
909
with_gmp_exec_prefix
763
910
with_gmp_builddir
 
911
with_osl
 
912
with_osl_prefix
 
913
with_osl_exec_prefix
 
914
with_osl_builddir
764
915
'
765
916
      ac_precious_vars='build_alias
766
917
host_alias
771
922
LIBS
772
923
CPPFLAGS
773
924
CPP'
774
 
ac_subdirs_all='isl'
 
925
ac_subdirs_all='isl
 
926
osl'
775
927
 
776
928
# Initialize some variables set by options.
777
929
ac_init_help=
833
985
  fi
834
986
 
835
987
  case $ac_option in
836
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
837
 
  *)    ac_optarg=yes ;;
 
988
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
989
  *=)   ac_optarg= ;;
 
990
  *)    ac_optarg=yes ;;
838
991
  esac
839
992
 
840
993
  # Accept the important Cygnus configure options, so we can diagnose typos.
879
1032
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
880
1033
    # Reject names that are not valid shell variable names.
881
1034
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1035
      as_fn_error $? "invalid feature name: $ac_useropt"
883
1036
    ac_useropt_orig=$ac_useropt
884
1037
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885
1038
    case $ac_user_opts in
905
1058
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
906
1059
    # Reject names that are not valid shell variable names.
907
1060
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
908
 
      as_fn_error "invalid feature name: $ac_useropt"
 
1061
      as_fn_error $? "invalid feature name: $ac_useropt"
909
1062
    ac_useropt_orig=$ac_useropt
910
1063
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911
1064
    case $ac_user_opts in
1109
1262
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110
1263
    # Reject names that are not valid shell variable names.
1111
1264
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1112
 
      as_fn_error "invalid package name: $ac_useropt"
 
1265
      as_fn_error $? "invalid package name: $ac_useropt"
1113
1266
    ac_useropt_orig=$ac_useropt
1114
1267
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1115
1268
    case $ac_user_opts in
1125
1278
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1126
1279
    # Reject names that are not valid shell variable names.
1127
1280
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128
 
      as_fn_error "invalid package name: $ac_useropt"
 
1281
      as_fn_error $? "invalid package name: $ac_useropt"
1129
1282
    ac_useropt_orig=$ac_useropt
1130
1283
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131
1284
    case $ac_user_opts in
1155
1308
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1156
1309
    x_libraries=$ac_optarg ;;
1157
1310
 
1158
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1159
 
Try \`$0 --help' for more information."
 
1311
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1312
Try \`$0 --help' for more information"
1160
1313
    ;;
1161
1314
 
1162
1315
  *=*)
1164
1317
    # Reject names that are not valid shell variable names.
1165
1318
    case $ac_envvar in #(
1166
1319
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1167
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1320
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1168
1321
    esac
1169
1322
    eval $ac_envvar=\$ac_optarg
1170
1323
    export $ac_envvar ;;
1182
1335
 
1183
1336
if test -n "$ac_prev"; then
1184
1337
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1185
 
  as_fn_error "missing argument to $ac_option"
 
1338
  as_fn_error $? "missing argument to $ac_option"
1186
1339
fi
1187
1340
 
1188
1341
if test -n "$ac_unrecognized_opts"; then
1189
1342
  case $enable_option_checking in
1190
1343
    no) ;;
1191
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1344
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1192
1345
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1193
1346
  esac
1194
1347
fi
1211
1364
    [\\/$]* | ?:[\\/]* )  continue;;
1212
1365
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1213
1366
  esac
1214
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1367
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1215
1368
done
1216
1369
 
1217
1370
# There might be people who depend on the old broken behavior: `$host'
1225
1378
if test "x$host_alias" != x; then
1226
1379
  if test "x$build_alias" = x; then
1227
1380
    cross_compiling=maybe
1228
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1229
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1381
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1382
    If a cross compiler is detected then cross compile mode will be used" >&2
1230
1383
  elif test "x$build_alias" != "x$host_alias"; then
1231
1384
    cross_compiling=yes
1232
1385
  fi
1241
1394
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1242
1395
ac_ls_di=`ls -di .` &&
1243
1396
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1244
 
  as_fn_error "working directory cannot be determined"
 
1397
  as_fn_error $? "working directory cannot be determined"
1245
1398
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246
 
  as_fn_error "pwd does not report name of working directory"
 
1399
  as_fn_error $? "pwd does not report name of working directory"
1247
1400
 
1248
1401
 
1249
1402
# Find the source files, if location was not specified.
1282
1435
fi
1283
1436
if test ! -r "$srcdir/$ac_unique_file"; then
1284
1437
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1285
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1438
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1286
1439
fi
1287
1440
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1288
1441
ac_abs_confdir=`(
1289
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1442
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1290
1443
        pwd)`
1291
1444
# When building in place, set srcdir=.
1292
1445
if test "$ac_abs_confdir" = "$ac_pwd"; then
1312
1465
  # Omit some internal or obsolete options to make the list less imposing.
1313
1466
  # This message is too long to be a string in the A/UX 3.1 sh.
1314
1467
  cat <<_ACEOF
1315
 
\`configure' configures cloog 0.16.3 to adapt to many kinds of systems.
 
1468
\`configure' configures cloog 0.17.0 to adapt to many kinds of systems.
1316
1469
 
1317
1470
Usage: $0 [OPTION]... [VAR=VALUE]...
1318
1471
 
1326
1479
      --help=short        display options specific to this package
1327
1480
      --help=recursive    display the short help of all the included packages
1328
1481
  -V, --version           display version information and exit
1329
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1482
  -q, --quiet, --silent   do not print \`checking ...' messages
1330
1483
      --cache-file=FILE   cache test results in FILE [disabled]
1331
1484
  -C, --config-cache      alias for \`--cache-file=config.cache'
1332
1485
  -n, --no-create         do not create output files
1382
1535
 
1383
1536
if test -n "$ac_init_help"; then
1384
1537
  case $ac_init_help in
1385
 
     short | recursive ) echo "Configuration of cloog 0.16.3:";;
 
1538
     short | recursive ) echo "Configuration of cloog 0.17.0:";;
1386
1539
   esac
1387
1540
  cat <<\_ACEOF
1388
1541
 
1417
1570
  --with-isl-exec-prefix=DIR
1418
1571
                          Exec prefix of isl installation
1419
1572
  --with-isl-builddir=DIR Location of isl builddir
1420
 
  --with-gmp=system       Which gmp to use
 
1573
  --with-gmp=system|build Which gmp to use
1421
1574
  --with-gmp-prefix=DIR   Prefix of gmp installation
1422
1575
  --with-gmp-exec-prefix=DIR
1423
1576
                          Exec prefix of gmp installation
1424
1577
  --with-gmp-builddir=DIR Location of gmp builddir
 
1578
  --with-osl=no|system|build|bundled
 
1579
                          Which osl to use
 
1580
  --with-osl-prefix=DIR   Prefix of osl installation
 
1581
  --with-osl-exec-prefix=DIR
 
1582
                          Exec prefix of osl installation
 
1583
  --with-osl-builddir=DIR Location of osl builddir
1425
1584
 
1426
1585
Some influential environment variables:
1427
1586
  CC          C compiler command
1499
1658
test -n "$ac_init_help" && exit $ac_status
1500
1659
if $ac_init_version; then
1501
1660
  cat <<\_ACEOF
1502
 
cloog configure 0.16.3
1503
 
generated by GNU Autoconf 2.65
 
1661
cloog configure 0.17.0
 
1662
generated by GNU Autoconf 2.67
1504
1663
 
1505
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1664
Copyright (C) 2010 Free Software Foundation, Inc.
1506
1665
This configure script is free software; the Free Software Foundation
1507
1666
gives unlimited permission to copy, distribute and modify it.
1508
1667
_ACEOF
1606
1765
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607
1766
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1608
1767
$as_echo_n "checking for $2... " >&6; }
1609
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1768
if eval "test \"\${$3+set}\"" = set; then :
1610
1769
  $as_echo_n "(cached) " >&6
1611
1770
else
1612
1771
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1649
1808
    mv -f conftest.er1 conftest.err
1650
1809
  fi
1651
1810
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652
 
  test $ac_status = 0; } >/dev/null && {
 
1811
  test $ac_status = 0; } > conftest.i && {
1653
1812
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1654
1813
         test ! -s conftest.err
1655
1814
       }; then :
1715
1874
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716
1875
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1717
1876
$as_echo_n "checking for $2... " >&6; }
1718
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1877
if eval "test \"\${$3+set}\"" = set; then :
1719
1878
  $as_echo_n "(cached) " >&6
1720
1879
else
1721
1880
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1783
1942
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784
1943
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785
1944
$as_echo_n "checking for $2... " >&6; }
1786
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1945
if eval "test \"\${$3+set}\"" = set; then :
1787
1946
  $as_echo_n "(cached) " >&6
1788
1947
else
1789
1948
  eval "$3=no"
1836
1995
ac_fn_c_check_header_mongrel ()
1837
1996
{
1838
1997
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1998
  if eval "test \"\${$3+set}\"" = set; then :
1840
1999
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841
2000
$as_echo_n "checking for $2... " >&6; }
1842
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2001
if eval "test \"\${$3+set}\"" = set; then :
1843
2002
  $as_echo_n "(cached) " >&6
1844
2003
fi
1845
2004
eval ac_res=\$$3
1875
2034
else
1876
2035
  ac_header_preproc=no
1877
2036
fi
1878
 
rm -f conftest.err conftest.$ac_ext
 
2037
rm -f conftest.err conftest.i conftest.$ac_ext
1879
2038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1880
2039
$as_echo "$ac_header_preproc" >&6; }
1881
2040
 
1898
2057
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1899
2058
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1900
2059
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1901
 
( cat <<\_ASBOX
1902
 
## ------------------------------------------------- ##
 
2060
( $as_echo "## ------------------------------------------------- ##
1903
2061
## Report this to cloog-development@googlegroups.com ##
1904
 
## ------------------------------------------------- ##
1905
 
_ASBOX
 
2062
## ------------------------------------------------- ##"
1906
2063
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1907
2064
    ;;
1908
2065
esac
1909
2066
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1910
2067
$as_echo_n "checking for $2... " >&6; }
1911
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2068
if eval "test \"\${$3+set}\"" = set; then :
1912
2069
  $as_echo_n "(cached) " >&6
1913
2070
else
1914
2071
  eval "$3=\$ac_header_compiler"
1921
2078
 
1922
2079
} # ac_fn_c_check_header_mongrel
1923
2080
 
1924
 
# ac_fn_c_check_decl LINENO SYMBOL VAR
1925
 
# ------------------------------------
1926
 
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
 
2081
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 
2082
# ---------------------------------------------
 
2083
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
2084
# accordingly.
1927
2085
ac_fn_c_check_decl ()
1928
2086
{
1929
2087
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1931
 
$as_echo_n "checking whether $2 is declared... " >&6; }
1932
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2088
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
2089
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
2090
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
2091
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
2092
if eval "test \"\${$3+set}\"" = set; then :
1933
2093
  $as_echo_n "(cached) " >&6
1934
2094
else
1935
2095
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938
2098
int
1939
2099
main ()
1940
2100
{
1941
 
#ifndef $2
1942
 
  (void) $2;
 
2101
#ifndef $as_decl_name
 
2102
#ifdef __cplusplus
 
2103
  (void) $as_decl_use;
 
2104
#else
 
2105
  (void) $as_decl_name;
 
2106
#endif
1943
2107
#endif
1944
2108
 
1945
2109
  ;
1963
2127
This file contains any messages produced by compilers while
1964
2128
running configure, to aid debugging if configure makes a mistake.
1965
2129
 
1966
 
It was created by cloog $as_me 0.16.3, which was
1967
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
2130
It was created by cloog $as_me 0.17.0, which was
 
2131
generated by GNU Autoconf 2.67.  Invocation command line was
1968
2132
 
1969
2133
  $ $0 $@
1970
2134
 
2074
2238
  {
2075
2239
    echo
2076
2240
 
2077
 
    cat <<\_ASBOX
2078
 
## ---------------- ##
 
2241
    $as_echo "## ---------------- ##
2079
2242
## Cache variables. ##
2080
 
## ---------------- ##
2081
 
_ASBOX
 
2243
## ---------------- ##"
2082
2244
    echo
2083
2245
    # The following way of writing the cache mishandles newlines in values,
2084
2246
(
2112
2274
)
2113
2275
    echo
2114
2276
 
2115
 
    cat <<\_ASBOX
2116
 
## ----------------- ##
 
2277
    $as_echo "## ----------------- ##
2117
2278
## Output variables. ##
2118
 
## ----------------- ##
2119
 
_ASBOX
 
2279
## ----------------- ##"
2120
2280
    echo
2121
2281
    for ac_var in $ac_subst_vars
2122
2282
    do
2129
2289
    echo
2130
2290
 
2131
2291
    if test -n "$ac_subst_files"; then
2132
 
      cat <<\_ASBOX
2133
 
## ------------------- ##
 
2292
      $as_echo "## ------------------- ##
2134
2293
## File substitutions. ##
2135
 
## ------------------- ##
2136
 
_ASBOX
 
2294
## ------------------- ##"
2137
2295
      echo
2138
2296
      for ac_var in $ac_subst_files
2139
2297
      do
2147
2305
    fi
2148
2306
 
2149
2307
    if test -s confdefs.h; then
2150
 
      cat <<\_ASBOX
2151
 
## ----------- ##
 
2308
      $as_echo "## ----------- ##
2152
2309
## confdefs.h. ##
2153
 
## ----------- ##
2154
 
_ASBOX
 
2310
## ----------- ##"
2155
2311
      echo
2156
2312
      cat confdefs.h
2157
2313
      echo
2206
2362
ac_site_file1=NONE
2207
2363
ac_site_file2=NONE
2208
2364
if test -n "$CONFIG_SITE"; then
2209
 
  ac_site_file1=$CONFIG_SITE
 
2365
  # We do not want a PATH search for config.site.
 
2366
  case $CONFIG_SITE in #((
 
2367
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2368
    */*) ac_site_file1=$CONFIG_SITE;;
 
2369
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2370
  esac
2210
2371
elif test "x$prefix" != xNONE; then
2211
2372
  ac_site_file1=$prefix/share/config.site
2212
2373
  ac_site_file2=$prefix/etc/config.site
2221
2382
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2222
2383
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2223
2384
    sed 's/^/| /' "$ac_site_file" >&5
2224
 
    . "$ac_site_file"
 
2385
    . "$ac_site_file" \
 
2386
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2387
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2388
as_fn_error $? "failed to load site script $ac_site_file
 
2389
See \`config.log' for more details" "$LINENO" 5 ; }
2225
2390
  fi
2226
2391
done
2227
2392
 
2297
2462
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2298
2463
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2299
2464
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2300
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2465
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2301
2466
fi
2302
2467
## -------------------- ##
2303
2468
## Main body of script. ##
2313
2478
 
2314
2479
ac_aux_dir=
2315
2480
for ac_dir in autoconf "$srcdir"/autoconf; do
2316
 
  for ac_t in install-sh install.sh shtool; do
2317
 
    if test -f "$ac_dir/$ac_t"; then
2318
 
      ac_aux_dir=$ac_dir
2319
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2320
 
      break 2
2321
 
    fi
2322
 
  done
 
2481
  if test -f "$ac_dir/install-sh"; then
 
2482
    ac_aux_dir=$ac_dir
 
2483
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2484
    break
 
2485
  elif test -f "$ac_dir/install.sh"; then
 
2486
    ac_aux_dir=$ac_dir
 
2487
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2488
    break
 
2489
  elif test -f "$ac_dir/shtool"; then
 
2490
    ac_aux_dir=$ac_dir
 
2491
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2492
    break
 
2493
  fi
2323
2494
done
2324
2495
if test -z "$ac_aux_dir"; then
2325
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
 
2496
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5
2326
2497
fi
2327
2498
 
2328
2499
# These three variables are undocumented and unsupported,
2337
2508
 
2338
2509
 
2339
2510
VERSION_MAJOR=0
2340
 
VERSION_MINOR=16
2341
 
VERSION_REVISION=3
 
2511
VERSION_MINOR=17
 
2512
VERSION_REVISION=0
2342
2513
 
2343
 
versioninfo=2:0:0
 
2514
versioninfo=3:0:0
2344
2515
 
2345
2516
am__api_version='1.11'
2346
2517
 
2448
2619
'
2449
2620
case `pwd` in
2450
2621
  *[\\\"\#\$\&\'\`$am_lf]*)
2451
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2622
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2452
2623
esac
2453
2624
case $srcdir in
2454
2625
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2455
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2626
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2456
2627
esac
2457
2628
 
2458
2629
# Do `set' in a subshell so we don't clobber the current shell's
2474
2645
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2475
2646
      # broken ls alias from the environment.  This has actually
2476
2647
      # happened.  Such a system could not be considered "sane".
2477
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2648
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2478
2649
alias in your environment" "$LINENO" 5
2479
2650
   fi
2480
2651
 
2484
2655
   # Ok.
2485
2656
   :
2486
2657
else
2487
 
   as_fn_error "newly created file is older than distributed files!
 
2658
   as_fn_error $? "newly created file is older than distributed files!
2488
2659
Check your system clock" "$LINENO" 5
2489
2660
fi
2490
2661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2722
2893
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2723
2894
set x ${MAKE-make}
2724
2895
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2725
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2896
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2726
2897
  $as_echo_n "(cached) " >&6
2727
2898
else
2728
2899
  cat >conftest.make <<\_ACEOF
2730
2901
all:
2731
2902
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2732
2903
_ACEOF
2733
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2904
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2734
2905
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2735
2906
  *@@@%%%=?*=@@@%%%*)
2736
2907
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2764
2935
  am__isrc=' -I$(srcdir)'
2765
2936
  # test to see if srcdir already configured
2766
2937
  if test -f $srcdir/config.status; then
2767
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2938
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2768
2939
  fi
2769
2940
fi
2770
2941
 
2780
2951
 
2781
2952
# Define the identity of the package.
2782
2953
 PACKAGE='cloog'
2783
 
 VERSION='0.16.3'
 
2954
 VERSION='0.17.0'
2784
2955
 
2785
2956
 
2786
2957
cat >>confdefs.h <<_ACEOF
3134
3305
 
3135
3306
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3136
3307
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3137
 
as_fn_error "no acceptable C compiler found in \$PATH
3138
 
See \`config.log' for more details." "$LINENO" 5; }
 
3308
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3309
See \`config.log' for more details" "$LINENO" 5 ; }
3139
3310
 
3140
3311
# Provide some information about the compiler.
3141
3312
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3249
3420
 
3250
3421
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251
3422
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252
 
{ as_fn_set_status 77
3253
 
as_fn_error "C compiler cannot create executables
3254
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3423
as_fn_error 77 "C compiler cannot create executables
 
3424
See \`config.log' for more details" "$LINENO" 5 ; }
3255
3425
else
3256
3426
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3257
3427
$as_echo "yes" >&6; }
3293
3463
else
3294
3464
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3295
3465
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3296
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3297
 
See \`config.log' for more details." "$LINENO" 5; }
 
3466
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3467
See \`config.log' for more details" "$LINENO" 5 ; }
3298
3468
fi
3299
3469
rm -f conftest conftest$ac_cv_exeext
3300
3470
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3351
3521
    else
3352
3522
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3353
3523
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3354
 
as_fn_error "cannot run C compiled programs.
 
3524
as_fn_error $? "cannot run C compiled programs.
3355
3525
If you meant to cross compile, use \`--host'.
3356
 
See \`config.log' for more details." "$LINENO" 5; }
 
3526
See \`config.log' for more details" "$LINENO" 5 ; }
3357
3527
    fi
3358
3528
  fi
3359
3529
fi
3404
3574
 
3405
3575
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3406
3576
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3407
 
as_fn_error "cannot compute suffix of object files: cannot compile
3408
 
See \`config.log' for more details." "$LINENO" 5; }
 
3577
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3578
See \`config.log' for more details" "$LINENO" 5 ; }
3409
3579
fi
3410
3580
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3411
3581
fi
3829
3999
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3830
4000
set x ${MAKE-make}
3831
4001
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3832
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
4002
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3833
4003
  $as_echo_n "(cached) " >&6
3834
4004
else
3835
4005
  cat >conftest.make <<\_ACEOF
3837
4007
all:
3838
4008
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3839
4009
_ACEOF
3840
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
4010
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3841
4011
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3842
4012
  *@@@%%%=?*=@@@%%%*)
3843
4013
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3902
4072
 
3903
4073
 
3904
4074
 
3905
 
macro_version='2.2.8'
3906
 
macro_revision='1.3169'
 
4075
macro_version='2.2.6b'
 
4076
macro_revision='1.3017'
3907
4077
 
3908
4078
 
3909
4079
 
3921
4091
 
3922
4092
# Make sure we can run config.sub.
3923
4093
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3924
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
4094
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3925
4095
 
3926
4096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3927
4097
$as_echo_n "checking build system type... " >&6; }
3932
4102
test "x$ac_build_alias" = x &&
3933
4103
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3934
4104
test "x$ac_build_alias" = x &&
3935
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
4105
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3936
4106
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3937
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4107
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3938
4108
 
3939
4109
fi
3940
4110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3941
4111
$as_echo "$ac_cv_build" >&6; }
3942
4112
case $ac_cv_build in
3943
4113
*-*-*) ;;
3944
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
4114
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3945
4115
esac
3946
4116
build=$ac_cv_build
3947
4117
ac_save_IFS=$IFS; IFS='-'
3966
4136
  ac_cv_host=$ac_cv_build
3967
4137
else
3968
4138
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3969
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
4139
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3970
4140
fi
3971
4141
 
3972
4142
fi
3974
4144
$as_echo "$ac_cv_host" >&6; }
3975
4145
case $ac_cv_host in
3976
4146
*-*-*) ;;
3977
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
4147
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3978
4148
esac
3979
4149
host=$ac_cv_host
3980
4150
ac_save_IFS=$IFS; IFS='-'
3990
4160
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3991
4161
 
3992
4162
 
3993
 
# Backslashify metacharacters that are still active within
3994
 
# double-quoted strings.
3995
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3996
 
 
3997
 
# Same as above, but do not quote variable references.
3998
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
3999
 
 
4000
 
# Sed substitution to delay expansion of an escaped shell variable in a
4001
 
# double_quote_subst'ed string.
4002
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4003
 
 
4004
 
# Sed substitution to delay expansion of an escaped single quote.
4005
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4006
 
 
4007
 
# Sed substitution to avoid accidental globbing in evaled expressions
4008
 
no_glob_subst='s/\*/\\\*/g'
4009
 
 
4010
 
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4011
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4012
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4013
 
 
4014
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4015
 
$as_echo_n "checking how to print strings... " >&6; }
4016
 
# Test print first, because it will be a builtin if present.
4017
 
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4018
 
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4019
 
  ECHO='print -r --'
4020
 
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4021
 
  ECHO='printf %s\n'
4022
 
else
4023
 
  # Use this function as a fallback that always works.
4024
 
  func_fallback_echo ()
4025
 
  {
4026
 
    eval 'cat <<_LTECHO_EOF
4027
 
$1
4028
 
_LTECHO_EOF'
4029
 
  }
4030
 
  ECHO='func_fallback_echo'
4031
 
fi
4032
 
 
4033
 
# func_echo_all arg...
4034
 
# Invoke $ECHO with all args, space-separated.
4035
 
func_echo_all ()
4036
 
{
4037
 
    $ECHO ""
4038
 
}
4039
 
 
4040
 
case "$ECHO" in
4041
 
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4042
 
$as_echo "printf" >&6; } ;;
4043
 
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4044
 
$as_echo "print -r" >&6; } ;;
4045
 
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4046
 
$as_echo "cat" >&6; } ;;
4047
 
esac
4048
 
 
4049
 
 
4050
 
 
4051
 
 
4052
 
 
4053
 
 
4054
 
 
4055
 
 
4056
 
 
4057
 
 
4058
 
 
4059
 
 
4060
 
 
4061
 
 
4062
4163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4063
4164
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4064
4165
if test "${ac_cv_path_SED+set}" = set; then :
4116
4217
  done
4117
4218
IFS=$as_save_IFS
4118
4219
  if test -z "$ac_cv_path_SED"; then
4119
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4220
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4120
4221
  fi
4121
4222
else
4122
4223
  ac_cv_path_SED=$SED
4192
4293
  done
4193
4294
IFS=$as_save_IFS
4194
4295
  if test -z "$ac_cv_path_GREP"; then
4195
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4296
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4196
4297
  fi
4197
4298
else
4198
4299
  ac_cv_path_GREP=$GREP
4258
4359
  done
4259
4360
IFS=$as_save_IFS
4260
4361
  if test -z "$ac_cv_path_EGREP"; then
4261
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4362
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4262
4363
  fi
4263
4364
else
4264
4365
  ac_cv_path_EGREP=$EGREP
4325
4426
  done
4326
4427
IFS=$as_save_IFS
4327
4428
  if test -z "$ac_cv_path_FGREP"; then
4328
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4429
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4329
4430
  fi
4330
4431
else
4331
4432
  ac_cv_path_FGREP=$FGREP
4441
4542
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4442
4543
$as_echo "no" >&6; }
4443
4544
fi
4444
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4545
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4445
4546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4446
4547
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4447
4548
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4524
4625
  NM="$lt_cv_path_NM"
4525
4626
else
4526
4627
  # Didn't find any BSD compatible name lister, look for dumpbin.
4527
 
  if test -n "$DUMPBIN"; then :
4528
 
    # Let the user override the test.
4529
 
  else
4530
 
    if test -n "$ac_tool_prefix"; then
4531
 
  for ac_prog in dumpbin "link -dump"
 
4628
  if test -n "$ac_tool_prefix"; then
 
4629
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4532
4630
  do
4533
4631
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4534
4632
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4572
4670
fi
4573
4671
if test -z "$DUMPBIN"; then
4574
4672
  ac_ct_DUMPBIN=$DUMPBIN
4575
 
  for ac_prog in dumpbin "link -dump"
 
4673
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4576
4674
do
4577
4675
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4578
4676
set dummy $ac_prog; ac_word=$2
4627
4725
  fi
4628
4726
fi
4629
4727
 
4630
 
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4631
 
    *COFF*)
4632
 
      DUMPBIN="$DUMPBIN -symbols"
4633
 
      ;;
4634
 
    *)
4635
 
      DUMPBIN=:
4636
 
      ;;
4637
 
    esac
4638
 
  fi
4639
4728
 
4640
4729
  if test "$DUMPBIN" != ":"; then
4641
4730
    NM="$DUMPBIN"
4655
4744
else
4656
4745
  lt_cv_nm_interface="BSD nm"
4657
4746
  echo "int some_variable = 0;" > conftest.$ac_ext
4658
 
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
4747
  (eval echo "\"\$as_me:4747: $ac_compile\"" >&5)
4659
4748
  (eval "$ac_compile" 2>conftest.err)
4660
4749
  cat conftest.err >&5
4661
 
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4750
  (eval echo "\"\$as_me:4750: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4662
4751
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4663
4752
  cat conftest.err >&5
4664
 
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
4753
  (eval echo "\"\$as_me:4753: output\"" >&5)
4665
4754
  cat conftest.out >&5
4666
4755
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4667
4756
    lt_cv_nm_interface="MS dumpbin"
4707
4796
    lt_cv_sys_max_cmd_len=8192;
4708
4797
    ;;
4709
4798
 
4710
 
  mint*)
4711
 
    # On MiNT this can take a long time and run out of memory.
4712
 
    lt_cv_sys_max_cmd_len=8192;
4713
 
    ;;
4714
 
 
4715
4799
  amigaos*)
4716
4800
    # On AmigaOS with pdksh, this test takes hours, literally.
4717
4801
    # So we just punt and use a minimum line length of 8192.
4776
4860
      # If test is not a shell built-in, we'll probably end up computing a
4777
4861
      # maximum length that is only half of the actual maximum length, but
4778
4862
      # we can't tell.
4779
 
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4780
 
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
4863
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
4864
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4781
4865
              test $i != 17 # 1/2 MB should be enough
4782
4866
      do
4783
4867
        i=`expr $i + 1`
5048
5132
  # Base MSYS/MinGW do not provide the 'file' command needed by
5049
5133
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5050
5134
  # unless we find 'file', for example because we are cross-compiling.
5051
 
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5052
 
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
5135
  if ( file / ) >/dev/null 2>&1; then
5053
5136
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5054
5137
    lt_cv_file_magic_cmd='func_win32_libid'
5055
5138
  else
5056
 
    # Keep this pattern in sync with the one in func_win32_libid.
5057
 
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
5139
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5058
5140
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5059
5141
  fi
5060
5142
  ;;
5061
5143
 
5062
 
cegcc*)
 
5144
cegcc)
5063
5145
  # use the weaker test based on 'objdump'. See mingw*.
5064
5146
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5065
5147
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5089
5171
  lt_cv_deplibs_check_method=pass_all
5090
5172
  ;;
5091
5173
 
5092
 
haiku*)
5093
 
  lt_cv_deplibs_check_method=pass_all
5094
 
  ;;
5095
 
 
5096
5174
hpux10.20* | hpux11*)
5097
5175
  lt_cv_file_magic_cmd=/usr/bin/file
5098
5176
  case $host_cpu in
5101
5179
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5102
5180
    ;;
5103
5181
  hppa*64*)
5104
 
    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]'
 
5182
    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]'
5105
5183
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5106
5184
    ;;
5107
5185
  *)
5108
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
5186
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5109
5187
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5110
5188
    ;;
5111
5189
  esac
5131
5209
  lt_cv_deplibs_check_method=pass_all
5132
5210
  ;;
5133
5211
 
5134
 
netbsd*)
 
5212
netbsd* | netbsdelf*-gnu)
5135
5213
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5136
5214
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5137
5215
  else
5543
5621
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5544
5622
fi
5545
5623
 
5546
 
case $host_os in
5547
 
  darwin*)
5548
 
    lock_old_archive_extraction=yes ;;
5549
 
  *)
5550
 
    lock_old_archive_extraction=no ;;
5551
 
esac
5552
 
 
5553
 
 
5554
 
 
5555
 
 
5556
 
 
5557
 
 
5558
5624
 
5559
5625
 
5560
5626
 
5724
5790
  test $ac_status = 0; }; then
5725
5791
    # Now try to grab the symbols.
5726
5792
    nlist=conftest.nm
5727
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5728
 
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
5793
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
 
5794
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5729
5795
  ac_status=$?
5730
5796
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5731
5797
  test $ac_status = 0; } && test -s "$nlist"; then
5879
5945
  ;;
5880
5946
*-*-irix6*)
5881
5947
  # Find out which ABI we are using.
5882
 
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
5948
  echo '#line 5948 "configure"' > conftest.$ac_ext
5883
5949
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5884
5950
  (eval $ac_compile) 2>&5
5885
5951
  ac_status=$?
6591
6657
fi
6592
6658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6593
6659
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6594
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6595
 
$as_echo_n "checking for -force_load linker flag... " >&6; }
6596
 
if test "${lt_cv_ld_force_load+set}" = set; then :
6597
 
  $as_echo_n "(cached) " >&6
6598
 
else
6599
 
  lt_cv_ld_force_load=no
6600
 
      cat > conftest.c << _LT_EOF
6601
 
int forced_loaded() { return 2;}
6602
 
_LT_EOF
6603
 
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6604
 
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6605
 
      echo "$AR cru libconftest.a conftest.o" >&5
6606
 
      $AR cru libconftest.a conftest.o 2>&5
6607
 
      echo "$RANLIB libconftest.a" >&5
6608
 
      $RANLIB libconftest.a 2>&5
6609
 
      cat > conftest.c << _LT_EOF
6610
 
int main() { return 0;}
6611
 
_LT_EOF
6612
 
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6613
 
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6614
 
      _lt_result=$?
6615
 
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6616
 
        lt_cv_ld_force_load=yes
6617
 
      else
6618
 
        cat conftest.err >&5
6619
 
      fi
6620
 
        rm -f conftest.err libconftest.a conftest conftest.c
6621
 
        rm -rf conftest.dSYM
6622
 
 
6623
 
fi
6624
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6625
 
$as_echo "$lt_cv_ld_force_load" >&6; }
6626
6660
    case $host_os in
6627
6661
    rhapsody* | darwin1.[012])
6628
6662
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6650
6684
    else
6651
6685
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6652
6686
    fi
6653
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
6687
    if test "$DSYMUTIL" != ":"; then
6654
6688
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6655
6689
    else
6656
6690
      _lt_dsymutil=
6700
6734
  # Broken: fails on valid input.
6701
6735
continue
6702
6736
fi
6703
 
rm -f conftest.err conftest.$ac_ext
 
6737
rm -f conftest.err conftest.i conftest.$ac_ext
6704
6738
 
6705
6739
  # OK, works on sane cases.  Now check whether nonexistent headers
6706
6740
  # can be detected and how.
6716
6750
ac_preproc_ok=:
6717
6751
break
6718
6752
fi
6719
 
rm -f conftest.err conftest.$ac_ext
 
6753
rm -f conftest.err conftest.i conftest.$ac_ext
6720
6754
 
6721
6755
done
6722
6756
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6723
 
rm -f conftest.err conftest.$ac_ext
 
6757
rm -f conftest.i conftest.err conftest.$ac_ext
6724
6758
if $ac_preproc_ok; then :
6725
6759
  break
6726
6760
fi
6759
6793
  # Broken: fails on valid input.
6760
6794
continue
6761
6795
fi
6762
 
rm -f conftest.err conftest.$ac_ext
 
6796
rm -f conftest.err conftest.i conftest.$ac_ext
6763
6797
 
6764
6798
  # OK, works on sane cases.  Now check whether nonexistent headers
6765
6799
  # can be detected and how.
6775
6809
ac_preproc_ok=:
6776
6810
break
6777
6811
fi
6778
 
rm -f conftest.err conftest.$ac_ext
 
6812
rm -f conftest.err conftest.i conftest.$ac_ext
6779
6813
 
6780
6814
done
6781
6815
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6782
 
rm -f conftest.err conftest.$ac_ext
 
6816
rm -f conftest.i conftest.err conftest.$ac_ext
6783
6817
if $ac_preproc_ok; then :
6784
6818
 
6785
6819
else
6786
6820
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6787
6821
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6788
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
6789
 
See \`config.log' for more details." "$LINENO" 5; }
 
6822
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
6823
See \`config.log' for more details" "$LINENO" 5 ; }
6790
6824
fi
6791
6825
 
6792
6826
ac_ext=c
6915
6949
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6916
6950
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6917
6951
"
6918
 
eval as_val=\$$as_ac_Header
6919
 
   if test "x$as_val" = x""yes; then :
 
6952
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6920
6953
  cat >>confdefs.h <<_ACEOF
6921
6954
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6922
6955
_ACEOF
6941
6974
 
6942
6975
 
6943
6976
 
6944
 
 
6945
 
 
6946
6977
# Set options
6947
6978
 
6948
6979
 
7095
7126
 
7096
7127
 
7097
7128
 
7098
 
 
7099
7129
test -z "$LN_S" && LN_S="ln -s"
7100
7130
 
7101
7131
 
7145
7175
 
7146
7176
 
7147
7177
 
 
7178
 
 
7179
 
 
7180
 
 
7181
 
 
7182
 
 
7183
 
 
7184
 
 
7185
 
 
7186
 
 
7187
 
 
7188
 
 
7189
 
 
7190
 
7148
7191
case $host_os in
7149
7192
aix3*)
7150
7193
  # AIX sometimes has problems with the GCC collect2 program.  For some
7157
7200
  ;;
7158
7201
esac
7159
7202
 
 
7203
# Sed substitution that helps us do robust quoting.  It backslashifies
 
7204
# metacharacters that are still active within double-quoted strings.
 
7205
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
7206
 
 
7207
# Same as above, but do not quote variable references.
 
7208
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
7209
 
 
7210
# Sed substitution to delay expansion of an escaped shell variable in a
 
7211
# double_quote_subst'ed string.
 
7212
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
7213
 
 
7214
# Sed substitution to delay expansion of an escaped single quote.
 
7215
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
7216
 
 
7217
# Sed substitution to avoid accidental globbing in evaled expressions
 
7218
no_glob_subst='s/\*/\\\*/g'
 
7219
 
7160
7220
# Global variables:
7161
7221
ofile=libtool
7162
7222
can_build_shared=yes
7185
7245
    *) break;;
7186
7246
  esac
7187
7247
done
7188
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
7248
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7189
7249
 
7190
7250
 
7191
7251
# Only perform the check for file, if the check method requires it
7394
7454
lt_prog_compiler_no_builtin_flag=
7395
7455
 
7396
7456
if test "$GCC" = yes; then
7397
 
  case $cc_basename in
7398
 
  nvcc*)
7399
 
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7400
 
  *)
7401
 
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7402
 
  esac
 
7457
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7403
7458
 
7404
7459
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7405
7460
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7419
7474
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7420
7475
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7421
7476
   -e 's:$: $lt_compiler_flag:'`
7422
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
7477
   (eval echo "\"\$as_me:7477: $lt_compile\"" >&5)
7423
7478
   (eval "$lt_compile" 2>conftest.err)
7424
7479
   ac_status=$?
7425
7480
   cat conftest.err >&5
7426
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7481
   echo "$as_me:7481: \$? = $ac_status" >&5
7427
7482
   if (exit $ac_status) && test -s "$ac_outfile"; then
7428
7483
     # The compiler can only warn and ignore the option if not recognized
7429
7484
     # So say no if there are warnings other than the usual output.
7430
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
7485
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7431
7486
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7432
7487
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7433
7488
       lt_cv_prog_compiler_rtti_exceptions=yes
7505
7560
      lt_prog_compiler_pic='-fno-common'
7506
7561
      ;;
7507
7562
 
7508
 
    haiku*)
7509
 
      # PIC is the default for Haiku.
7510
 
      # The "-static" flag exists, but is broken.
7511
 
      lt_prog_compiler_static=
7512
 
      ;;
7513
 
 
7514
7563
    hpux*)
7515
7564
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7516
7565
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7553
7602
      lt_prog_compiler_pic='-fPIC'
7554
7603
      ;;
7555
7604
    esac
7556
 
 
7557
 
    case $cc_basename in
7558
 
    nvcc*) # Cuda Compiler Driver 2.2
7559
 
      lt_prog_compiler_wl='-Xlinker '
7560
 
      lt_prog_compiler_pic='-Xcompiler -fPIC'
7561
 
      ;;
7562
 
    esac
7563
7605
  else
7564
7606
    # PORTME Check for flag to pass linker flags through the system compiler.
7565
7607
    case $host_os in
7622
7664
        lt_prog_compiler_pic='--shared'
7623
7665
        lt_prog_compiler_static='--static'
7624
7666
        ;;
7625
 
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
7667
      pgcc* | pgf77* | pgf90* | pgf95*)
7626
7668
        # Portland Group compilers (*not* the Pentium gcc compiler,
7627
7669
        # which looks to be a dead project)
7628
7670
        lt_prog_compiler_wl='-Wl,'
7634
7676
        # All Alpha code is PIC.
7635
7677
        lt_prog_compiler_static='-non_shared'
7636
7678
        ;;
7637
 
      xl* | bgxl* | bgf* | mpixl*)
7638
 
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
7679
      xl*)
 
7680
        # IBM XL C 8.0/Fortran 10.1 on PPC
7639
7681
        lt_prog_compiler_wl='-Wl,'
7640
7682
        lt_prog_compiler_pic='-qpic'
7641
7683
        lt_prog_compiler_static='-qstaticlink'
7642
7684
        ;;
7643
7685
      *)
7644
7686
        case `$CC -V 2>&1 | sed 5q` in
7645
 
        *Sun\ F* | *Sun*Fortran*)
7646
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7647
 
          lt_prog_compiler_pic='-KPIC'
7648
 
          lt_prog_compiler_static='-Bstatic'
7649
 
          lt_prog_compiler_wl=''
7650
 
          ;;
7651
7687
        *Sun\ C*)
7652
7688
          # Sun C 5.9
7653
7689
          lt_prog_compiler_pic='-KPIC'
7654
7690
          lt_prog_compiler_static='-Bstatic'
7655
7691
          lt_prog_compiler_wl='-Wl,'
7656
7692
          ;;
 
7693
        *Sun\ F*)
 
7694
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7695
          lt_prog_compiler_pic='-KPIC'
 
7696
          lt_prog_compiler_static='-Bstatic'
 
7697
          lt_prog_compiler_wl=''
 
7698
          ;;
7657
7699
        esac
7658
7700
        ;;
7659
7701
      esac
7684
7726
      lt_prog_compiler_pic='-KPIC'
7685
7727
      lt_prog_compiler_static='-Bstatic'
7686
7728
      case $cc_basename in
7687
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
7729
      f77* | f90* | f95*)
7688
7730
        lt_prog_compiler_wl='-Qoption ld ';;
7689
7731
      *)
7690
7732
        lt_prog_compiler_wl='-Wl,';;
7771
7813
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7772
7814
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7773
7815
   -e 's:$: $lt_compiler_flag:'`
7774
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
7816
   (eval echo "\"\$as_me:7816: $lt_compile\"" >&5)
7775
7817
   (eval "$lt_compile" 2>conftest.err)
7776
7818
   ac_status=$?
7777
7819
   cat conftest.err >&5
7778
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7820
   echo "$as_me:7820: \$? = $ac_status" >&5
7779
7821
   if (exit $ac_status) && test -s "$ac_outfile"; then
7780
7822
     # The compiler can only warn and ignore the option if not recognized
7781
7823
     # So say no if there are warnings other than the usual output.
7782
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
7824
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7783
7825
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7784
7826
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7785
7827
       lt_cv_prog_compiler_pic_works=yes
7827
7869
     if test -s conftest.err; then
7828
7870
       # Append any errors to the config.log.
7829
7871
       cat conftest.err 1>&5
7830
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
7872
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7831
7873
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7832
7874
       if diff conftest.exp conftest.er2 >/dev/null; then
7833
7875
         lt_cv_prog_compiler_static_works=yes
7876
7918
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7877
7919
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7878
7920
   -e 's:$: $lt_compiler_flag:'`
7879
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
7921
   (eval echo "\"\$as_me:7921: $lt_compile\"" >&5)
7880
7922
   (eval "$lt_compile" 2>out/conftest.err)
7881
7923
   ac_status=$?
7882
7924
   cat out/conftest.err >&5
7883
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7925
   echo "$as_me:7925: \$? = $ac_status" >&5
7884
7926
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7885
7927
   then
7886
7928
     # The compiler can only warn and ignore the option if not recognized
7887
7929
     # So say no if there are warnings
7888
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
7930
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7889
7931
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7890
7932
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7891
7933
       lt_cv_prog_compiler_c_o=yes
7931
7973
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7932
7974
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7933
7975
   -e 's:$: $lt_compiler_flag:'`
7934
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
7976
   (eval echo "\"\$as_me:7976: $lt_compile\"" >&5)
7935
7977
   (eval "$lt_compile" 2>out/conftest.err)
7936
7978
   ac_status=$?
7937
7979
   cat out/conftest.err >&5
7938
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7980
   echo "$as_me:7980: \$? = $ac_status" >&5
7939
7981
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7940
7982
   then
7941
7983
     # The compiler can only warn and ignore the option if not recognized
7942
7984
     # So say no if there are warnings
7943
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
7985
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7944
7986
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7945
7987
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7946
7988
       lt_cv_prog_compiler_c_o=yes
8050
8092
  openbsd*)
8051
8093
    with_gnu_ld=no
8052
8094
    ;;
 
8095
  linux* | k*bsd*-gnu)
 
8096
    link_all_deplibs=no
 
8097
    ;;
8053
8098
  esac
8054
8099
 
8055
8100
  ld_shlibs=yes
8056
 
 
8057
 
  # On some targets, GNU ld is compatible enough with the native linker
8058
 
  # that we're better off using the native interface for both.
8059
 
  lt_use_gnu_ld_interface=no
8060
8101
  if test "$with_gnu_ld" = yes; then
8061
 
    case $host_os in
8062
 
      aix*)
8063
 
        # The AIX port of GNU ld has always aspired to compatibility
8064
 
        # with the native linker.  However, as the warning in the GNU ld
8065
 
        # block says, versions before 2.19.5* couldn't really create working
8066
 
        # shared libraries, regardless of the interface used.
8067
 
        case `$LD -v 2>&1` in
8068
 
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8069
 
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8070
 
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8071
 
          *)
8072
 
            lt_use_gnu_ld_interface=yes
8073
 
            ;;
8074
 
        esac
8075
 
        ;;
8076
 
      *)
8077
 
        lt_use_gnu_ld_interface=yes
8078
 
        ;;
8079
 
    esac
8080
 
  fi
8081
 
 
8082
 
  if test "$lt_use_gnu_ld_interface" = yes; then
8083
8102
    # If archive_cmds runs LD, not CC, wlarc should be empty
8084
8103
    wlarc='${wl}'
8085
8104
 
8113
8132
        ld_shlibs=no
8114
8133
        cat <<_LT_EOF 1>&2
8115
8134
 
8116
 
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
8135
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8117
8136
*** to be unable to reliably create shared libraries on AIX.
8118
8137
*** Therefore, libtool is disabling shared libraries support.  If you
8119
 
*** really care for shared libraries, you may want to install binutils
8120
 
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8121
 
*** You will then need to restart the configuration process.
 
8138
*** really care for shared libraries, you may want to modify your PATH
 
8139
*** so that a non-GNU linker is found, and then restart.
8122
8140
 
8123
8141
_LT_EOF
8124
8142
      fi
8154
8172
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8155
8173
      # as there is no search path for DLLs.
8156
8174
      hardcode_libdir_flag_spec='-L$libdir'
8157
 
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8158
8175
      allow_undefined_flag=unsupported
8159
8176
      always_export_symbols=no
8160
8177
      enable_shared_with_static_runtimes=yes
8176
8193
      fi
8177
8194
      ;;
8178
8195
 
8179
 
    haiku*)
8180
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8181
 
      link_all_deplibs=yes
8182
 
      ;;
8183
 
 
8184
8196
    interix[3-9]*)
8185
8197
      hardcode_direct=no
8186
8198
      hardcode_shlibpath_var=no
8210
8222
        tmp_sharedflag='-shared'
8211
8223
        case $cc_basename,$host_cpu in
8212
8224
        pgcc*)                          # Portland Group C compiler
8213
 
          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'
 
8225
          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'
8214
8226
          tmp_addflag=' $pic_flag'
8215
8227
          ;;
8216
 
        pgf77* | pgf90* | pgf95* | pgfortran*)
8217
 
                                        # Portland Group f77 and f90 compilers
8218
 
          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'
 
8228
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
8229
          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'
8219
8230
          tmp_addflag=' $pic_flag -Mnomain' ;;
8220
8231
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8221
8232
          tmp_addflag=' -i_dynamic' ;;
8226
8237
        lf95*)                          # Lahey Fortran 8.1
8227
8238
          whole_archive_flag_spec=
8228
8239
          tmp_sharedflag='--shared' ;;
8229
 
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
8240
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8230
8241
          tmp_sharedflag='-qmkshrobj'
8231
8242
          tmp_addflag= ;;
8232
 
        nvcc*)  # Cuda Compiler Driver 2.2
8233
 
          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'
8234
 
          compiler_needs_object=yes
8235
 
          ;;
8236
8243
        esac
8237
8244
        case `$CC -V 2>&1 | sed 5q` in
8238
8245
        *Sun\ C*)                       # Sun C 5.9
8239
 
          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'
 
8246
          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'
8240
8247
          compiler_needs_object=yes
8241
8248
          tmp_sharedflag='-G' ;;
8242
8249
        *Sun\ F*)                       # Sun Fortran 8.3
8252
8259
        fi
8253
8260
 
8254
8261
        case $cc_basename in
8255
 
        xlf* | bgf* | bgxlf* | mpixlf*)
 
8262
        xlf*)
8256
8263
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8257
8264
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8258
8265
          hardcode_libdir_flag_spec=
8259
8266
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8260
 
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
8267
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8261
8268
          if test "x$supports_anon_versioning" = xyes; then
8262
8269
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8263
8270
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8264
8271
              echo "local: *; };" >> $output_objdir/$libname.ver~
8265
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8272
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8266
8273
          fi
8267
8274
          ;;
8268
8275
        esac
8271
8278
      fi
8272
8279
      ;;
8273
8280
 
8274
 
    netbsd*)
 
8281
    netbsd* | netbsdelf*-gnu)
8275
8282
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8276
8283
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8277
8284
        wlarc=
8383
8390
      else
8384
8391
        # If we're using GNU nm, then we don't want the "-C" option.
8385
8392
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8386
 
        # Also, AIX nm treats weak defined symbols like other global
8387
 
        # defined symbols, whereas GNU nm marks them as "W".
8388
8393
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8389
 
          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'
 
8394
          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'
8390
8395
        else
8391
8396
          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'
8392
8397
        fi
8448
8453
        if test "$aix_use_runtimelinking" = yes; then
8449
8454
          shared_flag="$shared_flag "'${wl}-G'
8450
8455
        fi
 
8456
        link_all_deplibs=no
8451
8457
      else
8452
8458
        # not using gcc
8453
8459
        if test "$host_cpu" = ia64; then
8504
8510
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8505
8511
 
8506
8512
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8507
 
        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"
 
8513
        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"
8508
8514
      else
8509
8515
        if test "$host_cpu" = ia64; then
8510
8516
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8548
8554
          # -berok will link without error, but may produce a broken library.
8549
8555
          no_undefined_flag=' ${wl}-bernotok'
8550
8556
          allow_undefined_flag=' ${wl}-berok'
8551
 
          if test "$with_gnu_ld" = yes; then
8552
 
            # We only use this code for GNU lds that support --whole-archive.
8553
 
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8554
 
          else
8555
 
            # Exported symbols can be pulled into shared objects from archives
8556
 
            whole_archive_flag_spec='$convenience'
8557
 
          fi
 
8557
          # Exported symbols can be pulled into shared objects from archives
 
8558
          whole_archive_flag_spec='$convenience'
8558
8559
          archive_cmds_need_lc=yes
8559
8560
          # This is similar to how AIX traditionally builds its shared libraries.
8560
8561
          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'
8593
8594
      # Tell ltmain to make .dll files, not .so files.
8594
8595
      shrext_cmds=".dll"
8595
8596
      # FIXME: Setting linknames here is a bad hack.
8596
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
8597
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8597
8598
      # The linker will automatically build a .lib file if we build a DLL.
8598
8599
      old_archive_from_new_cmds='true'
8599
8600
      # FIXME: Should let the user specify the lib program.
8609
8610
  hardcode_direct=no
8610
8611
  hardcode_automatic=yes
8611
8612
  hardcode_shlibpath_var=unsupported
8612
 
  if test "$lt_cv_ld_force_load" = "yes"; then
8613
 
    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\"`'
8614
 
  else
8615
 
    whole_archive_flag_spec=''
8616
 
  fi
 
8613
  whole_archive_flag_spec=''
8617
8614
  link_all_deplibs=yes
8618
8615
  allow_undefined_flag="$_lt_dar_allow_undefined"
8619
8616
  case $cc_basename in
8621
8618
     *) _lt_dar_can_shared=$GCC ;;
8622
8619
  esac
8623
8620
  if test "$_lt_dar_can_shared" = "yes"; then
8624
 
    output_verbose_link_cmd=func_echo_all
 
8621
    output_verbose_link_cmd=echo
8625
8622
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8626
8623
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8627
8624
    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}"
8687
8684
      ;;
8688
8685
 
8689
8686
    hpux10*)
8690
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
8687
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8691
8688
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8692
8689
      else
8693
8690
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8706
8703
      ;;
8707
8704
 
8708
8705
    hpux11*)
8709
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
8706
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8710
8707
        case $host_cpu in
8711
8708
        hppa*64*)
8712
8709
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8727
8724
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8728
8725
          ;;
8729
8726
        *)
8730
 
 
8731
 
          # Older versions of the 11.00 compiler do not understand -b yet
8732
 
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8733
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8734
 
$as_echo_n "checking if $CC understands -b... " >&6; }
8735
 
if test "${lt_cv_prog_compiler__b+set}" = set; then :
8736
 
  $as_echo_n "(cached) " >&6
8737
 
else
8738
 
  lt_cv_prog_compiler__b=no
8739
 
   save_LDFLAGS="$LDFLAGS"
8740
 
   LDFLAGS="$LDFLAGS -b"
8741
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8742
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8743
 
     # The linker can only warn and ignore the option if not recognized
8744
 
     # So say no if there are warnings
8745
 
     if test -s conftest.err; then
8746
 
       # Append any errors to the config.log.
8747
 
       cat conftest.err 1>&5
8748
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8749
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8750
 
       if diff conftest.exp conftest.er2 >/dev/null; then
8751
 
         lt_cv_prog_compiler__b=yes
8752
 
       fi
8753
 
     else
8754
 
       lt_cv_prog_compiler__b=yes
8755
 
     fi
8756
 
   fi
8757
 
   $RM -r conftest*
8758
 
   LDFLAGS="$save_LDFLAGS"
8759
 
 
8760
 
fi
8761
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8762
 
$as_echo "$lt_cv_prog_compiler__b" >&6; }
8763
 
 
8764
 
if test x"$lt_cv_prog_compiler__b" = xyes; then
8765
 
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8766
 
else
8767
 
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8768
 
fi
8769
 
 
 
8727
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8770
8728
          ;;
8771
8729
        esac
8772
8730
      fi
8794
8752
 
8795
8753
    irix5* | irix6* | nonstopux*)
8796
8754
      if test "$GCC" = yes; then
8797
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
8755
        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'
8798
8756
        # Try to use the -exported_symbol ld option, if it does not
8799
8757
        # work, assume that -exports_file does not work either and
8800
8758
        # implicitly export all symbols.
8805
8763
int foo(void) {}
8806
8764
_ACEOF
8807
8765
if ac_fn_c_try_link "$LINENO"; then :
8808
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
8766
  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'
8809
8767
 
8810
8768
fi
8811
8769
rm -f core conftest.err conftest.$ac_objext \
8812
8770
    conftest$ac_exeext conftest.$ac_ext
8813
8771
        LDFLAGS="$save_LDFLAGS"
8814
8772
      else
8815
 
        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'
8816
 
        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'
 
8773
        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'
 
8774
        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'
8817
8775
      fi
8818
8776
      archive_cmds_need_lc='no'
8819
8777
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8822
8780
      link_all_deplibs=yes
8823
8781
      ;;
8824
8782
 
8825
 
    netbsd*)
 
8783
    netbsd* | netbsdelf*-gnu)
8826
8784
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8827
8785
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8828
8786
      else
8875
8833
      hardcode_libdir_flag_spec='-L$libdir'
8876
8834
      hardcode_minus_L=yes
8877
8835
      allow_undefined_flag=unsupported
8878
 
      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'
 
8836
      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'
8879
8837
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8880
8838
      ;;
8881
8839
 
8882
8840
    osf3*)
8883
8841
      if test "$GCC" = yes; then
8884
8842
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8885
 
        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'
 
8843
        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'
8886
8844
      else
8887
8845
        allow_undefined_flag=' -expect_unresolved \*'
8888
 
        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'
 
8846
        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'
8889
8847
      fi
8890
8848
      archive_cmds_need_lc='no'
8891
8849
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8895
8853
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8896
8854
      if test "$GCC" = yes; then
8897
8855
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8898
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
8856
        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'
8899
8857
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8900
8858
      else
8901
8859
        allow_undefined_flag=' -expect_unresolved \*'
8902
 
        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'
 
8860
        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'
8903
8861
        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~
8904
 
        $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'
 
8862
        $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'
8905
8863
 
8906
8864
        # Both c and cxx compiler support -rpath directly
8907
8865
        hardcode_libdir_flag_spec='-rpath $libdir'
9104
9062
      # to ld, don't add -lc before -lgcc.
9105
9063
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9106
9064
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9107
 
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9108
 
  $as_echo_n "(cached) " >&6
9109
 
else
9110
 
  $RM conftest*
9111
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9065
      $RM conftest*
 
9066
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9112
9067
 
9113
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9068
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9114
9069
  (eval $ac_compile) 2>&5
9115
9070
  ac_status=$?
9116
9071
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9117
9072
  test $ac_status = 0; } 2>conftest.err; then
9118
 
          soname=conftest
9119
 
          lib=conftest
9120
 
          libobjs=conftest.$ac_objext
9121
 
          deplibs=
9122
 
          wl=$lt_prog_compiler_wl
9123
 
          pic_flag=$lt_prog_compiler_pic
9124
 
          compiler_flags=-v
9125
 
          linker_flags=-v
9126
 
          verstring=
9127
 
          output_objdir=.
9128
 
          libname=conftest
9129
 
          lt_save_allow_undefined_flag=$allow_undefined_flag
9130
 
          allow_undefined_flag=
9131
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9073
        soname=conftest
 
9074
        lib=conftest
 
9075
        libobjs=conftest.$ac_objext
 
9076
        deplibs=
 
9077
        wl=$lt_prog_compiler_wl
 
9078
        pic_flag=$lt_prog_compiler_pic
 
9079
        compiler_flags=-v
 
9080
        linker_flags=-v
 
9081
        verstring=
 
9082
        output_objdir=.
 
9083
        libname=conftest
 
9084
        lt_save_allow_undefined_flag=$allow_undefined_flag
 
9085
        allow_undefined_flag=
 
9086
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9132
9087
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9133
9088
  ac_status=$?
9134
9089
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9135
9090
  test $ac_status = 0; }
9136
 
          then
9137
 
            lt_cv_archive_cmds_need_lc=no
9138
 
          else
9139
 
            lt_cv_archive_cmds_need_lc=yes
9140
 
          fi
9141
 
          allow_undefined_flag=$lt_save_allow_undefined_flag
9142
 
        else
9143
 
          cat conftest.err 1>&5
9144
 
        fi
9145
 
        $RM conftest*
9146
 
 
9147
 
fi
9148
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9149
 
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9150
 
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
9091
        then
 
9092
          archive_cmds_need_lc=no
 
9093
        else
 
9094
          archive_cmds_need_lc=yes
 
9095
        fi
 
9096
        allow_undefined_flag=$lt_save_allow_undefined_flag
 
9097
      else
 
9098
        cat conftest.err 1>&5
 
9099
      fi
 
9100
      $RM conftest*
 
9101
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
9102
$as_echo "$archive_cmds_need_lc" >&6; }
9151
9103
      ;;
9152
9104
    esac
9153
9105
  fi
9318
9270
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9319
9271
    *) lt_awk_arg="/^libraries:/" ;;
9320
9272
  esac
9321
 
  case $host_os in
9322
 
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9323
 
    *) lt_sed_strip_eq="s,=/,/,g" ;;
9324
 
  esac
9325
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9326
 
  case $lt_search_path_spec in
9327
 
  *\;*)
 
9273
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9274
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9328
9275
    # if the path contains ";" then we assume it to be the separator
9329
9276
    # otherwise default to the standard path separator (i.e. ":") - it is
9330
9277
    # assumed that no part of a normal pathname contains ";" but that should
9331
9278
    # okay in the real world where ";" in dirpaths is itself problematic.
9332
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9333
 
    ;;
9334
 
  *)
9335
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9336
 
    ;;
9337
 
  esac
 
9279
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
9280
  else
 
9281
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9282
  fi
9338
9283
  # Ok, now we have the path, separated by spaces, we can step through it
9339
9284
  # and add multilib dir if necessary.
9340
9285
  lt_tmp_lt_search_path_spec=
9347
9292
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9348
9293
    fi
9349
9294
  done
9350
 
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
9295
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9351
9296
BEGIN {RS=" "; FS="/|\n";} {
9352
9297
  lt_foo="";
9353
9298
  lt_count=0;
9367
9312
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9368
9313
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9369
9314
}'`
9370
 
  # AWK program above erroneously prepends '/' to C:/dos/paths
9371
 
  # for these hosts.
9372
 
  case $host_os in
9373
 
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9374
 
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9375
 
  esac
9376
 
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
9315
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9377
9316
else
9378
9317
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9379
9318
fi
9461
9400
  m68k)
9462
9401
    library_names_spec='$libname.ixlibrary $libname.a'
9463
9402
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9464
 
    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'
 
9403
    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'
9465
9404
    ;;
9466
9405
  esac
9467
9406
  ;;
9514
9453
    cygwin*)
9515
9454
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9516
9455
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9517
 
 
9518
 
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
9456
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9519
9457
      ;;
9520
9458
    mingw* | cegcc*)
9521
9459
      # MinGW DLLs use traditional 'lib' prefix
9522
9460
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9461
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9462
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
9463
        # It is most probably a Windows format PATH printed by
 
9464
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
9465
        # path with ; separators, and with drive letters. We can handle the
 
9466
        # drive letters (cygwin fileutils understands them), so leave them,
 
9467
        # especially as we might pass files found there to a mingw objdump,
 
9468
        # which wouldn't understand a cygwinified path. Ahh.
 
9469
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9470
      else
 
9471
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9472
      fi
9523
9473
      ;;
9524
9474
    pw32*)
9525
9475
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9619
9569
  hardcode_into_libs=yes
9620
9570
  ;;
9621
9571
 
9622
 
haiku*)
9623
 
  version_type=linux
9624
 
  need_lib_prefix=no
9625
 
  need_version=no
9626
 
  dynamic_linker="$host_os runtime_loader"
9627
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9628
 
  soname_spec='${libname}${release}${shared_ext}$major'
9629
 
  shlibpath_var=LIBRARY_PATH
9630
 
  shlibpath_overrides_runpath=yes
9631
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9632
 
  hardcode_into_libs=yes
9633
 
  ;;
9634
 
 
9635
9572
hpux9* | hpux10* | hpux11*)
9636
9573
  # Give a soname corresponding to the major version so that dld.sl refuses to
9637
9574
  # link against other versions.
9674
9611
    soname_spec='${libname}${release}${shared_ext}$major'
9675
9612
    ;;
9676
9613
  esac
9677
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
9614
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9678
9615
  postinstall_cmds='chmod 555 $lib'
9679
 
  # or fails outright, so override atomically:
9680
 
  install_override_mode=555
9681
9616
  ;;
9682
9617
 
9683
9618
interix[3-9]*)
9744
9679
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9745
9680
  shlibpath_var=LD_LIBRARY_PATH
9746
9681
  shlibpath_overrides_runpath=no
9747
 
 
9748
9682
  # Some binutils ld are patched to set DT_RUNPATH
9749
 
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9750
 
  $as_echo_n "(cached) " >&6
9751
 
else
9752
 
  lt_cv_shlibpath_overrides_runpath=no
9753
 
    save_LDFLAGS=$LDFLAGS
9754
 
    save_libdir=$libdir
9755
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9756
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9757
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9683
  save_LDFLAGS=$LDFLAGS
 
9684
  save_libdir=$libdir
 
9685
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
9686
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
9687
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758
9688
/* end confdefs.h.  */
9759
9689
 
9760
9690
int
9767
9697
_ACEOF
9768
9698
if ac_fn_c_try_link "$LINENO"; then :
9769
9699
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9770
 
  lt_cv_shlibpath_overrides_runpath=yes
 
9700
  shlibpath_overrides_runpath=yes
9771
9701
fi
9772
9702
fi
9773
9703
rm -f core conftest.err conftest.$ac_objext \
9774
9704
    conftest$ac_exeext conftest.$ac_ext
9775
 
    LDFLAGS=$save_LDFLAGS
9776
 
    libdir=$save_libdir
9777
 
 
9778
 
fi
9779
 
 
9780
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
9705
  LDFLAGS=$save_LDFLAGS
 
9706
  libdir=$save_libdir
9781
9707
 
9782
9708
  # This implies no fast_install, which is unacceptable.
9783
9709
  # Some rework will be needed to allow for fast_install
9786
9712
 
9787
9713
  # Append ld.so.conf contents to the search path
9788
9714
  if test -f /etc/ld.so.conf; then
9789
 
    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' ' '`
 
9715
    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' ' '`
9790
9716
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9791
9717
  fi
9792
9718
 
9799
9725
  dynamic_linker='GNU/Linux ld.so'
9800
9726
  ;;
9801
9727
 
 
9728
netbsdelf*-gnu)
 
9729
  version_type=linux
 
9730
  need_lib_prefix=no
 
9731
  need_version=no
 
9732
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
9733
  soname_spec='${libname}${release}${shared_ext}$major'
 
9734
  shlibpath_var=LD_LIBRARY_PATH
 
9735
  shlibpath_overrides_runpath=no
 
9736
  hardcode_into_libs=yes
 
9737
  dynamic_linker='NetBSD ld.elf_so'
 
9738
  ;;
 
9739
 
9802
9740
netbsd*)
9803
9741
  version_type=sunos
9804
9742
  need_lib_prefix=no
10089
10027
 
10090
10028
 
10091
10029
 
10092
 
 
10093
 
 
10094
 
 
10095
 
 
10096
 
 
10097
10030
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10098
10031
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10099
10032
hardcode_action=
10424
10357
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10425
10358
  lt_status=$lt_dlunknown
10426
10359
  cat > conftest.$ac_ext <<_LT_EOF
10427
 
#line $LINENO "configure"
 
10360
#line 10360 "configure"
10428
10361
#include "confdefs.h"
10429
10362
 
10430
10363
#if HAVE_DLFCN_H
10465
10398
#  endif
10466
10399
#endif
10467
10400
 
10468
 
/* When -fvisbility=hidden is used, assume the code has been annotated
10469
 
   correspondingly for the symbols needed.  */
10470
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10471
 
void fnord () __attribute__((visibility("default")));
10472
 
#endif
10473
 
 
10474
 
void fnord () { int i=42; }
 
10401
void fnord() { int i=42;}
10475
10402
int main ()
10476
10403
{
10477
10404
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10480
10407
  if (self)
10481
10408
    {
10482
10409
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10483
 
      else
10484
 
        {
10485
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
10486
 
          else puts (dlerror ());
10487
 
        }
 
10410
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10488
10411
      /* dlclose (self); */
10489
10412
    }
10490
10413
  else
10530
10453
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10531
10454
  lt_status=$lt_dlunknown
10532
10455
  cat > conftest.$ac_ext <<_LT_EOF
10533
 
#line $LINENO "configure"
 
10456
#line 10456 "configure"
10534
10457
#include "confdefs.h"
10535
10458
 
10536
10459
#if HAVE_DLFCN_H
10571
10494
#  endif
10572
10495
#endif
10573
10496
 
10574
 
/* When -fvisbility=hidden is used, assume the code has been annotated
10575
 
   correspondingly for the symbols needed.  */
10576
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10577
 
void fnord () __attribute__((visibility("default")));
10578
 
#endif
10579
 
 
10580
 
void fnord () { int i=42; }
 
10497
void fnord() { int i=42;}
10581
10498
int main ()
10582
10499
{
10583
10500
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10586
10503
  if (self)
10587
10504
    {
10588
10505
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10589
 
      else
10590
 
        {
10591
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
10592
 
          else puts (dlerror ());
10593
 
        }
 
10506
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10594
10507
      /* dlclose (self); */
10595
10508
    }
10596
10509
  else
11959
11872
 
11960
11873
 
11961
11874
 
11962
 
for ac_header in sys/resource.h
 
11875
for ac_func in getrusage
11963
11876
do :
11964
 
  ac_fn_c_check_header_mongrel "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
11965
 
if test "x$ac_cv_header_sys_resource_h" = x""yes; then :
 
11877
  ac_fn_c_check_func "$LINENO" "getrusage" "ac_cv_func_getrusage"
 
11878
if test "x$ac_cv_func_getrusage" = x""yes; then :
11966
11879
  cat >>confdefs.h <<_ACEOF
11967
 
#define HAVE_SYS_RESOURCE_H 1
 
11880
#define HAVE_GETRUSAGE 1
11968
11881
_ACEOF
11969
11882
 
11970
11883
$as_echo "#define CLOOG_RUSAGE /**/" >>confdefs.h
11971
11884
 
11972
11885
fi
11973
 
 
11974
11886
done
11975
11887
 
11976
11888
 
12011
11923
fi
12012
11924
if test "x$with_isl_prefix" != "x" -o "x$with_isl_exec_prefix" != "x"; then
12013
11925
        if test "x$with_isl" != "x" -a "x$with_isl" != "xsystem"; then
12014
 
                as_fn_error "Setting $with_isl_prefix implies use of system isl" "$LINENO" 5
 
11926
                as_fn_error $? "Setting $with_isl_prefix implies use of system isl" "$LINENO" 5
12015
11927
        fi
12016
11928
        with_isl="system"
12017
11929
fi
12018
11930
if test "x$with_isl_builddir" != "x"; then
12019
11931
        if test "x$with_isl" != "x" -a "x$with_isl" != "xbuild"; then
12020
 
                as_fn_error "Setting $with_isl_builddir implies use of build isl" "$LINENO" 5
 
11932
                as_fn_error $? "Setting $with_isl_builddir implies use of build isl" "$LINENO" 5
12021
11933
        fi
12022
11934
        with_isl="build"
12023
11935
        isl_srcdir=`echo @abs_srcdir@ | $with_isl_builddir/config.status --file=-`
12067
11979
fi
12068
11980
 
12069
11981
case "system" in
12070
 
system)
 
11982
system|build)
12071
11983
 
12072
11984
# Check whether --with-gmp_prefix was given.
12073
11985
if test "${with_gmp_prefix+set}" = set; then :
12082
11994
 
12083
11995
esac
12084
11996
case "build" in
12085
 
system)
 
11997
system|build)
12086
11998
 
12087
11999
# Check whether --with-gmp_builddir was given.
12088
12000
if test "${with_gmp_builddir+set}" = set; then :
12095
12007
fi
12096
12008
if test "x$with_gmp_prefix" != "x" -o "x$with_gmp_exec_prefix" != "x"; then
12097
12009
        if test "x$with_gmp" != "x" -a "x$with_gmp" != "xsystem"; then
12098
 
                as_fn_error "Setting $with_gmp_prefix implies use of system gmp" "$LINENO" 5
 
12010
                as_fn_error $? "Setting $with_gmp_prefix implies use of system gmp" "$LINENO" 5
12099
12011
        fi
12100
12012
        with_gmp="system"
12101
12013
fi
12102
12014
if test "x$with_gmp_builddir" != "x"; then
12103
12015
        if test "x$with_gmp" != "x" -a "x$with_gmp" != "xbuild"; then
12104
 
                as_fn_error "Setting $with_gmp_builddir implies use of build gmp" "$LINENO" 5
 
12016
                as_fn_error $? "Setting $with_gmp_builddir implies use of build gmp" "$LINENO" 5
12105
12017
        fi
12106
12018
        with_gmp="build"
12107
12019
        gmp_srcdir=`echo @abs_srcdir@ | $with_gmp_builddir/config.status --file=-`
12109
12021
$as_echo "$as_me: gmp sources in $gmp_srcdir" >&6;}
12110
12022
fi
12111
12023
case "$with_gmp" in
12112
 
system)
 
12024
system|build)
12113
12025
        ;;
12114
12026
*)
12115
12027
        if test -d $srcdir/.git -a \
12142
12054
 
12143
12055
need_get_memory_functions=false
12144
12056
case "$with_gmp" in
 
12057
build)
 
12058
    CPPFLAGS="-I$with_gmp_builddir $CPPFLAGS"
 
12059
    LDFLAGS="-L$with_gmp_builddir/$lt_cv_objdir $LDFLAGS"
 
12060
    ;;
12145
12061
system)
12146
12062
    if test "x$with_gmp_prefix" != "x"; then
12147
12063
        CPPFLAGS="-I$with_gmp_prefix/include $CPPFLAGS"
12150
12066
    if test "$with_gmp_exec_prefix" != "yes" ; then
12151
12067
        LDFLAGS="-L$with_gmp_exec_prefix/lib $LDFLAGS"
12152
12068
    fi
12153
 
 
 
12069
    ;;
 
12070
esac
 
12071
case "$with_gmp" in
 
12072
build|system)
12154
12073
    ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
12155
12074
if test "x$ac_cv_header_gmp_h" = x""yes; then :
12156
12075
 
12157
12076
else
12158
 
  as_fn_error "Can't find gmp headers." "$LINENO" 5
 
12077
  as_fn_error $? "Can't find gmp headers." "$LINENO" 5
12159
12078
fi
12160
12079
 
12161
12080
 
12198
12117
if test "x$ac_cv_lib_gmp___gmpz_init" = x""yes; then :
12199
12118
  LIBS="$LIBS -lgmp"
12200
12119
else
12201
 
  as_fn_error "Can't find gmp library." "$LINENO" 5
 
12120
  as_fn_error $? "Can't find gmp library." "$LINENO" 5
12202
12121
fi
12203
12122
 
12204
12123
    ac_fn_c_check_decl "$LINENO" "mp_get_memory_functions" "ac_cv_have_decl_mp_get_memory_functions" "#include <gmp.h>
12271
12190
 
12272
12191
 
12273
12192
 
 
12193
 
 
12194
 
 
12195
 
 
12196
# Check whether --with-osl was given.
 
12197
if test "${with_osl+set}" = set; then :
 
12198
  withval=$with_osl;
 
12199
fi
 
12200
 
 
12201
case "system" in
 
12202
no|system|build|bundled)
 
12203
 
 
12204
# Check whether --with-osl_prefix was given.
 
12205
if test "${with_osl_prefix+set}" = set; then :
 
12206
  withval=$with_osl_prefix;
 
12207
fi
 
12208
 
 
12209
 
 
12210
# Check whether --with-osl_exec_prefix was given.
 
12211
if test "${with_osl_exec_prefix+set}" = set; then :
 
12212
  withval=$with_osl_exec_prefix;
 
12213
fi
 
12214
 
 
12215
esac
 
12216
case "build" in
 
12217
no|system|build|bundled)
 
12218
 
 
12219
# Check whether --with-osl_builddir was given.
 
12220
if test "${with_osl_builddir+set}" = set; then :
 
12221
  withval=$with_osl_builddir;
 
12222
fi
 
12223
 
 
12224
esac
 
12225
if test "x$with_osl_prefix" != "x" -a "x$with_osl_exec_prefix" = "x"; then
 
12226
        with_osl_exec_prefix=$with_osl_prefix
 
12227
fi
 
12228
if test "x$with_osl_prefix" != "x" -o "x$with_osl_exec_prefix" != "x"; then
 
12229
        if test "x$with_osl" != "x" -a "x$with_osl" != "xsystem"; then
 
12230
                as_fn_error $? "Setting $with_osl_prefix implies use of system osl" "$LINENO" 5
 
12231
        fi
 
12232
        with_osl="system"
 
12233
fi
 
12234
if test "x$with_osl_builddir" != "x"; then
 
12235
        if test "x$with_osl" != "x" -a "x$with_osl" != "xbuild"; then
 
12236
                as_fn_error $? "Setting $with_osl_builddir implies use of build osl" "$LINENO" 5
 
12237
        fi
 
12238
        with_osl="build"
 
12239
        osl_srcdir=`echo @abs_srcdir@ | $with_osl_builddir/config.status --file=-`
 
12240
        { $as_echo "$as_me:${as_lineno-$LINENO}: osl sources in $osl_srcdir" >&5
 
12241
$as_echo "$as_me: osl sources in $osl_srcdir" >&6;}
 
12242
fi
 
12243
case "$with_osl" in
 
12244
no|system|build|bundled)
 
12245
        ;;
 
12246
*)
 
12247
        if test -d $srcdir/.git -a \
 
12248
                -d $srcdir/osl -a \
 
12249
                ! -d $srcdir/osl/.git; then
 
12250
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: git repo detected, but submodule osl not initialized" >&5
 
12251
$as_echo "$as_me: WARNING: git repo detected, but submodule osl not initialized" >&2;}
 
12252
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may want to run" >&5
 
12253
$as_echo "$as_me: WARNING: You may want to run" >&2;}
 
12254
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:       git submodule init" >&5
 
12255
$as_echo "$as_me: WARNING:      git submodule init" >&2;}
 
12256
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:       git submodule update" >&5
 
12257
$as_echo "$as_me: WARNING:      git submodule update" >&2;}
 
12258
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:       sh autogen.sh" >&5
 
12259
$as_echo "$as_me: WARNING:      sh autogen.sh" >&2;}
 
12260
        fi
 
12261
        if test -f $srcdir/osl/configure -a "no" != "no"; then
 
12262
                with_osl="bundled"
 
12263
        else
 
12264
                with_osl="no"
 
12265
        fi
 
12266
        ;;
 
12267
esac
 
12268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which osl to use" >&5
 
12269
$as_echo_n "checking which osl to use... " >&6; }
 
12270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_osl" >&5
 
12271
$as_echo "$with_osl" >&6; }
 
12272
 
 
12273
 
 
12274
osl_flag="OSL_SUPPORT"
 
12275
 
 
12276
 
 
12277
 
 
12278
 
 
12279
case "$with_osl" in
 
12280
bundled)
 
12281
        OSL_CPPFLAGS="-D$osl_flag -I$srcdir/osl/include -Iosl/include"
 
12282
        ;;
 
12283
build)
 
12284
        OSL_CPPFLAGS="-D$osl_flag -I$osl_srcdir/include -I$with_osl_builddir/include"
 
12285
        OSL_LIBS="$with_osl_builddir/libosl.la"
 
12286
        ;;
 
12287
system)
 
12288
        if test "x$with_osl_prefix" != "x"; then
 
12289
                OSL_CPPFLAGS="-D$osl_flag -I$with_osl_prefix/include"
 
12290
        fi
 
12291
        if test "x$with_osl_exec_prefix" != "x"; then
 
12292
                OSL_LDFLAGS="-L$with_osl_exec_prefix/lib"
 
12293
        fi
 
12294
        OSL_LIBS="-losl"
 
12295
esac
 
12296
 if test $with_osl = bundled; then
 
12297
  BUNDLED_OSL_TRUE=
 
12298
  BUNDLED_OSL_FALSE='#'
 
12299
else
 
12300
  BUNDLED_OSL_TRUE='#'
 
12301
  BUNDLED_OSL_FALSE=
 
12302
fi
 
12303
 
 
12304
 if test $with_osl = no; then
 
12305
  NO_OSL_TRUE=
 
12306
  NO_OSL_FALSE='#'
 
12307
else
 
12308
  NO_OSL_TRUE='#'
 
12309
  NO_OSL_FALSE=
 
12310
fi
 
12311
 
 
12312
 
 
12313
 
 
12314
 
12274
12315
$as_echo "#define CLOOG_INT_GMP 1" >>confdefs.h
12275
12316
 
12276
12317
 
12504
12545
subdirs="$subdirs isl"
12505
12546
 
12506
12547
fi
 
12548
if test $with_osl = bundled; then
 
12549
        subdirs="$subdirs osl"
 
12550
 
 
12551
fi
12507
12552
 
12508
12553
cat >confcache <<\_ACEOF
12509
12554
# This file is a shell script that caches the results of configure
12624
12669
 
12625
12670
ac_libobjs=
12626
12671
ac_ltlibobjs=
 
12672
U=
12627
12673
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12628
12674
  # 1. Remove the extension, and $U if already installed.
12629
12675
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12647
12693
fi
12648
12694
 
12649
12695
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12650
 
  as_fn_error "conditional \"AMDEP\" was never defined.
 
12696
  as_fn_error $? "conditional \"AMDEP\" was never defined.
12651
12697
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12652
12698
fi
12653
12699
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12654
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
12700
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12655
12701
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12656
12702
fi
12657
12703
if test -z "${HAVE_TEXI2DVI_TRUE}" && test -z "${HAVE_TEXI2DVI_FALSE}"; then
12658
 
  as_fn_error "conditional \"HAVE_TEXI2DVI\" was never defined.
 
12704
  as_fn_error $? "conditional \"HAVE_TEXI2DVI\" was never defined.
12659
12705
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12660
12706
fi
12661
12707
if test -z "${NEED_GET_MEMORY_FUNCTIONS_TRUE}" && test -z "${NEED_GET_MEMORY_FUNCTIONS_FALSE}"; then
12662
 
  as_fn_error "conditional \"NEED_GET_MEMORY_FUNCTIONS\" was never defined.
 
12708
  as_fn_error $? "conditional \"NEED_GET_MEMORY_FUNCTIONS\" was never defined.
12663
12709
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12664
12710
fi
12665
12711
if test -z "${BUNDLED_ISL_TRUE}" && test -z "${BUNDLED_ISL_FALSE}"; then
12666
 
  as_fn_error "conditional \"BUNDLED_ISL\" was never defined.
 
12712
  as_fn_error $? "conditional \"BUNDLED_ISL\" was never defined.
12667
12713
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12668
12714
fi
12669
12715
if test -z "${NO_ISL_TRUE}" && test -z "${NO_ISL_FALSE}"; then
12670
 
  as_fn_error "conditional \"NO_ISL\" was never defined.
 
12716
  as_fn_error $? "conditional \"NO_ISL\" was never defined.
 
12717
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
12718
fi
 
12719
if test -z "${BUNDLED_OSL_TRUE}" && test -z "${BUNDLED_OSL_FALSE}"; then
 
12720
  as_fn_error $? "conditional \"BUNDLED_OSL\" was never defined.
 
12721
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
12722
fi
 
12723
if test -z "${NO_OSL_TRUE}" && test -z "${NO_OSL_FALSE}"; then
 
12724
  as_fn_error $? "conditional \"NO_OSL\" was never defined.
12671
12725
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12672
12726
fi
12673
12727
 
12817
12871
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12818
12872
 
12819
12873
 
12820
 
# as_fn_error ERROR [LINENO LOG_FD]
12821
 
# ---------------------------------
 
12874
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
12875
# ----------------------------------------
12822
12876
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12823
12877
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12824
 
# script with status $?, using 1 if that was 0.
 
12878
# script with STATUS, using 1 if that was 0.
12825
12879
as_fn_error ()
12826
12880
{
12827
 
  as_status=$?; test $as_status -eq 0 && as_status=1
12828
 
  if test "$3"; then
12829
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12830
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
12881
  as_status=$1; test $as_status -eq 0 && as_status=1
 
12882
  if test "$4"; then
 
12883
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
12884
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12831
12885
  fi
12832
 
  $as_echo "$as_me: error: $1" >&2
 
12886
  $as_echo "$as_me: error: $2" >&2
12833
12887
  as_fn_exit $as_status
12834
12888
} # as_fn_error
12835
12889
 
13025
13079
      test -d "$as_dir" && break
13026
13080
    done
13027
13081
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13028
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
13082
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13029
13083
 
13030
13084
 
13031
13085
} # as_fn_mkdir_p
13078
13132
# report actual input values of CONFIG_FILES etc. instead of their
13079
13133
# values after options handling.
13080
13134
ac_log="
13081
 
This file was extended by cloog $as_me 0.16.3, which was
13082
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
13135
This file was extended by cloog $as_me 0.17.0, which was
 
13136
generated by GNU Autoconf 2.67.  Invocation command line was
13083
13137
 
13084
13138
  CONFIG_FILES    = $CONFIG_FILES
13085
13139
  CONFIG_HEADERS  = $CONFIG_HEADERS
13135
13189
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13136
13190
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13137
13191
ac_cs_version="\\
13138
 
cloog config.status 0.16.3
13139
 
configured by $0, generated by GNU Autoconf 2.65,
 
13192
cloog config.status 0.17.0
 
13193
configured by $0, generated by GNU Autoconf 2.67,
13140
13194
  with options \\"\$ac_cs_config\\"
13141
13195
 
13142
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
13196
Copyright (C) 2010 Free Software Foundation, Inc.
13143
13197
This config.status script is free software; the Free Software Foundation
13144
13198
gives unlimited permission to copy, distribute and modify it."
13145
13199
 
13157
13211
while test $# != 0
13158
13212
do
13159
13213
  case $1 in
13160
 
  --*=*)
 
13214
  --*=?*)
13161
13215
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13162
13216
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13163
13217
    ac_shift=:
13164
13218
    ;;
 
13219
  --*=)
 
13220
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
13221
    ac_optarg=
 
13222
    ac_shift=:
 
13223
    ;;
13165
13224
  *)
13166
13225
    ac_option=$1
13167
13226
    ac_optarg=$2
13183
13242
    $ac_shift
13184
13243
    case $ac_optarg in
13185
13244
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
13245
    '') as_fn_error $? "missing file argument" ;;
13186
13246
    esac
13187
13247
    as_fn_append CONFIG_FILES " '$ac_optarg'"
13188
13248
    ac_need_defaults=false;;
13193
13253
    ac_cs_silent=: ;;
13194
13254
 
13195
13255
  # This is an error.
13196
 
  -*) as_fn_error "unrecognized option: \`$1'
 
13256
  -*) as_fn_error $? "unrecognized option: \`$1'
13197
13257
Try \`$0 --help' for more information." ;;
13198
13258
 
13199
13259
  *) as_fn_append ac_config_targets " $1"
13247
13307
sed_quote_subst='$sed_quote_subst'
13248
13308
double_quote_subst='$double_quote_subst'
13249
13309
delay_variable_subst='$delay_variable_subst'
13250
 
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13251
 
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13252
 
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13253
 
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13254
 
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13255
 
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13256
 
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13257
 
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13258
 
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13259
 
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13260
 
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13261
 
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13262
 
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13263
 
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13264
 
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13265
 
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13266
 
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13267
 
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13268
 
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13269
 
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13270
 
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13271
 
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13272
 
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13273
 
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13274
 
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13275
 
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13276
 
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13277
 
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13278
 
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13279
 
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13280
 
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13281
 
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13282
 
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13283
 
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13284
 
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13285
 
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13286
 
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13287
 
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13288
 
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13289
 
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13290
 
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13291
 
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13292
 
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13293
 
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13294
 
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13295
 
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13296
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13297
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13298
 
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"`'
13299
 
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13300
 
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13301
 
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13302
 
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13303
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13304
 
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13305
 
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13306
 
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13307
 
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13308
 
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13309
 
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13310
 
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13311
 
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13312
 
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13313
 
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13314
 
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13315
 
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13316
 
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13317
 
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13318
 
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13319
 
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13320
 
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13321
 
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13322
 
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13323
 
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13324
 
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13325
 
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13326
 
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13327
 
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13328
 
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13329
 
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13330
 
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13331
 
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13332
 
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13333
 
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13334
 
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13335
 
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13336
 
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13337
 
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13338
 
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13339
 
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13340
 
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13341
 
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13342
 
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13343
 
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13344
 
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13345
 
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13346
 
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13347
 
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13348
 
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13349
 
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13350
 
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13351
 
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13352
 
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13353
 
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13354
 
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13355
 
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13356
 
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13357
 
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13358
 
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13359
 
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13360
 
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13361
 
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13362
 
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13363
 
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13364
 
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13365
 
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13366
 
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13367
 
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13368
 
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13369
 
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
13310
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
13311
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
13312
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
13313
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
13314
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
13315
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
13316
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
13317
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
13318
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
13319
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
13320
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
13321
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
13322
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
13323
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
13324
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
13325
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
13326
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
13327
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
13328
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
13329
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
13330
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
13331
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
13332
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
13333
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
13334
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
13335
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
13336
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13337
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13338
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
13339
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
13340
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
13341
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
13342
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
13343
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
13344
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
13345
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13346
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13347
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13348
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
13349
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
13350
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
13351
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
13352
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
13353
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
13354
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"`'
 
13355
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"`'
 
13356
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
13357
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
13358
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
13359
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
13360
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13361
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
13362
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
13363
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
13364
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
13365
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
13366
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
13367
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
13368
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
13369
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
13370
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
13371
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
13372
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13373
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13374
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
13375
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
13376
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13377
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13378
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
13379
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13380
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13381
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13382
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13383
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13384
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13385
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
13386
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13387
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13388
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13389
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
13390
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
13391
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
13392
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
13393
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
13394
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
13395
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
13396
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
13397
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
13398
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
13399
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
13400
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13401
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
13402
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
13403
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13404
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13405
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
13406
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
13407
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
13408
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
13409
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
13410
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
13411
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
13412
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13413
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13414
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13415
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13416
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13417
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13418
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
13419
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
13420
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13421
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13422
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
13423
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
13424
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
13425
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
13426
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
13427
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13370
13428
 
13371
13429
LTCC='$LTCC'
13372
13430
LTCFLAGS='$LTCFLAGS'
13373
13431
compiler='$compiler_DEFAULT'
13374
13432
 
13375
 
# A function that is used when there is no print builtin or printf.
13376
 
func_fallback_echo ()
13377
 
{
13378
 
  eval 'cat <<_LTECHO_EOF
13379
 
\$1
13380
 
_LTECHO_EOF'
13381
 
}
13382
 
 
13383
13433
# Quote evaled strings.
13384
 
for var in SHELL \
13385
 
ECHO \
13386
 
SED \
 
13434
for var in SED \
13387
13435
GREP \
13388
13436
EGREP \
13389
13437
FGREP \
13407
13455
lt_cv_sys_global_symbol_to_cdecl \
13408
13456
lt_cv_sys_global_symbol_to_c_name_address \
13409
13457
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
13458
SHELL \
 
13459
ECHO \
13410
13460
lt_prog_compiler_no_builtin_flag \
13411
13461
lt_prog_compiler_wl \
13412
13462
lt_prog_compiler_pic \
13436
13486
libname_spec \
13437
13487
library_names_spec \
13438
13488
soname_spec \
13439
 
install_override_mode \
13440
13489
finish_eval \
13441
13490
old_striplib \
13442
13491
striplib; do
13443
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
13492
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13444
13493
    *[\\\\\\\`\\"\\\$]*)
13445
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
13494
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13446
13495
      ;;
13447
13496
    *)
13448
13497
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13469
13518
finish_cmds \
13470
13519
sys_lib_search_path_spec \
13471
13520
sys_lib_dlsearch_path_spec; do
13472
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
13521
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13473
13522
    *[\\\\\\\`\\"\\\$]*)
13474
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
13523
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13475
13524
      ;;
13476
13525
    *)
13477
13526
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13479
13528
    esac
13480
13529
done
13481
13530
 
 
13531
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
13532
case \$lt_ECHO in
 
13533
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
13534
  ;;
 
13535
esac
 
13536
 
13482
13537
ac_aux_dir='$ac_aux_dir'
13483
13538
xsi_shell='$xsi_shell'
13484
13539
lt_shell_append='$lt_shell_append'
13542
13597
    "version.h") CONFIG_COMMANDS="$CONFIG_COMMANDS version.h" ;;
13543
13598
    "doc/gitversion.texi") CONFIG_COMMANDS="$CONFIG_COMMANDS doc/gitversion.texi" ;;
13544
13599
 
13545
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
13600
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13546
13601
  esac
13547
13602
done
13548
13603
 
13579
13634
{
13580
13635
  tmp=./conf$$-$RANDOM
13581
13636
  (umask 077 && mkdir "$tmp")
13582
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
13637
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13583
13638
 
13584
13639
# Set up the scripts for CONFIG_FILES section.
13585
13640
# No need to generate them if there are no CONFIG_FILES.
13596
13651
fi
13597
13652
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13598
13653
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13599
 
  ac_cs_awk_cr='\r'
 
13654
  ac_cs_awk_cr='\\r'
13600
13655
else
13601
13656
  ac_cs_awk_cr=$ac_cr
13602
13657
fi
13610
13665
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13611
13666
  echo "_ACEOF"
13612
13667
} >conf$$subs.sh ||
13613
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13614
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
13668
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
13669
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13615
13670
ac_delim='%!_!# '
13616
13671
for ac_last_try in false false false false false :; do
13617
13672
  . ./conf$$subs.sh ||
13618
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
13673
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13619
13674
 
13620
13675
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13621
13676
  if test $ac_delim_n = $ac_delim_num; then
13622
13677
    break
13623
13678
  elif $ac_last_try; then
13624
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
13679
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13625
13680
  else
13626
13681
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13627
13682
  fi
13710
13765
else
13711
13766
  cat
13712
13767
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13713
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
13768
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13714
13769
_ACEOF
13715
13770
 
13716
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
13717
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
13771
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
13772
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13718
13773
# trailing colons and then remove the whole line if VPATH becomes empty
13719
13774
# (actually we leave an empty line to preserve line numbers).
13720
13775
if test "x$srcdir" = x.; then
13721
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
13722
 
s/:*\$(srcdir):*/:/
13723
 
s/:*\${srcdir}:*/:/
13724
 
s/:*@srcdir@:*/:/
13725
 
s/^\([^=]*=[     ]*\):*/\1/
 
13776
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
13777
h
 
13778
s///
 
13779
s/^/:/
 
13780
s/[      ]*$/:/
 
13781
s/:\$(srcdir):/:/g
 
13782
s/:\${srcdir}:/:/g
 
13783
s/:@srcdir@:/:/g
 
13784
s/^:*//
13726
13785
s/:*$//
 
13786
x
 
13787
s/\(=[   ]*\).*/\1/
 
13788
G
 
13789
s/\n//
13727
13790
s/^[^=]*=[       ]*$//
13728
13791
}'
13729
13792
fi
13741
13804
  esac
13742
13805
  case $ac_mode$ac_tag in
13743
13806
  :[FHL]*:*);;
13744
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
13807
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
13745
13808
  :[FH]-) ac_tag=-:-;;
13746
13809
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13747
13810
  esac
13769
13832
           [\\/$]*) false;;
13770
13833
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13771
13834
           esac ||
13772
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
13835
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
13773
13836
      esac
13774
13837
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13775
13838
      as_fn_append ac_file_inputs " '$ac_f'"
13796
13859
 
13797
13860
    case $ac_tag in
13798
13861
    *:-:* | *:-) cat >"$tmp/stdin" \
13799
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
13862
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
13800
13863
    esac
13801
13864
    ;;
13802
13865
  esac
13933
13996
$ac_datarootdir_hack
13934
13997
"
13935
13998
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13936
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
13999
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13937
14000
 
13938
14001
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13939
14002
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13940
14003
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13941
14004
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13942
 
which seems to be undefined.  Please make sure it is defined." >&5
 
14005
which seems to be undefined.  Please make sure it is defined" >&5
13943
14006
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13944
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
14007
which seems to be undefined.  Please make sure it is defined" >&2;}
13945
14008
 
13946
14009
  rm -f "$tmp/stdin"
13947
14010
  case $ac_file in
13948
14011
  -) cat "$tmp/out" && rm -f "$tmp/out";;
13949
14012
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13950
14013
  esac \
13951
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
14014
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13952
14015
 ;;
13953
14016
 
13954
14017
 
14075
14138
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14076
14139
#
14077
14140
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14078
 
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14079
 
#                 Inc.
 
14141
#                 2006, 2007, 2008 Free Software Foundation, Inc.
14080
14142
#   Written by Gordon Matzigkeit, 1996
14081
14143
#
14082
14144
#   This file is part of GNU Libtool.
14124
14186
# Whether or not to optimize for fast installation.
14125
14187
fast_install=$enable_fast_install
14126
14188
 
14127
 
# Shell to use when invoking shell scripts.
14128
 
SHELL=$lt_SHELL
14129
 
 
14130
 
# An echo program that protects backslashes.
14131
 
ECHO=$lt_ECHO
14132
 
 
14133
14189
# The host system.
14134
14190
host_alias=$host_alias
14135
14191
host=$host
14179
14235
# turn newlines into spaces.
14180
14236
NL2SP=$lt_lt_NL2SP
14181
14237
 
 
14238
# How to create reloadable object files.
 
14239
reload_flag=$lt_reload_flag
 
14240
reload_cmds=$lt_reload_cmds
 
14241
 
14182
14242
# An object symbol dumper.
14183
14243
OBJDUMP=$lt_OBJDUMP
14184
14244
 
14200
14260
old_postinstall_cmds=$lt_old_postinstall_cmds
14201
14261
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14202
14262
 
14203
 
# Whether to use a lock for old archive extraction.
14204
 
lock_old_archive_extraction=$lock_old_archive_extraction
14205
 
 
14206
14263
# A C compiler.
14207
14264
LTCC=$lt_CC
14208
14265
 
14224
14281
# The name of the directory that contains temporary libtool files.
14225
14282
objdir=$objdir
14226
14283
 
 
14284
# Shell to use when invoking shell scripts.
 
14285
SHELL=$lt_SHELL
 
14286
 
 
14287
# An echo program that does not interpret backslashes.
 
14288
ECHO=$lt_ECHO
 
14289
 
14227
14290
# Used to examine libraries when file_magic_cmd begins with "file".
14228
14291
MAGIC_CMD=$MAGIC_CMD
14229
14292
 
14286
14349
# The coded name of the library, if different from the real name.
14287
14350
soname_spec=$lt_soname_spec
14288
14351
 
14289
 
# Permission mode override for installation of shared libraries.
14290
 
install_override_mode=$lt_install_override_mode
14291
 
 
14292
14352
# Command to use after installation of a shared archive.
14293
14353
postinstall_cmds=$lt_postinstall_cmds
14294
14354
 
14328
14388
# The linker used to build libraries.
14329
14389
LD=$lt_LD
14330
14390
 
14331
 
# How to create reloadable object files.
14332
 
reload_flag=$lt_reload_flag
14333
 
reload_cmds=$lt_reload_cmds
14334
 
 
14335
14391
# Commands used to build an old-style archive.
14336
14392
old_archive_cmds=$lt_old_archive_cmds
14337
14393
 
14591
14647
func_dirname ()
14592
14648
{
14593
14649
  # Extract subdirectory from the argument.
14594
 
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
 
14650
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14595
14651
  if test "X$func_dirname_result" = "X${1}"; then
14596
14652
    func_dirname_result="${3}"
14597
14653
  else
14602
14658
# func_basename file
14603
14659
func_basename ()
14604
14660
{
14605
 
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
 
14661
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14606
14662
}
14607
14663
 
14608
14664
 
14615
14671
func_stripname ()
14616
14672
{
14617
14673
  case ${2} in
14618
 
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14619
 
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 
14674
    .*) func_stripname_result=`$ECHO "X${3}" \
 
14675
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
14676
    *)  func_stripname_result=`$ECHO "X${3}" \
 
14677
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14620
14678
  esac
14621
14679
}
14622
14680
 
14627
14685
# func_opt_split
14628
14686
func_opt_split ()
14629
14687
{
14630
 
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14631
 
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
 
14688
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
14689
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14632
14690
}
14633
14691
 
14634
14692
# func_lo2o object
14635
14693
func_lo2o ()
14636
14694
{
14637
 
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
 
14695
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14638
14696
}
14639
14697
 
14640
14698
# func_xform libobj-or-source
14641
14699
func_xform ()
14642
14700
{
14643
 
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
 
14701
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14644
14702
}
14645
14703
 
14646
14704
# func_arith arithmetic-term...
14749
14807
AXEOF
14750
14808
sed -f conftest.sed  $pkgconfig_generate.in > $pkgconfig_generate
14751
14809
if test ! -s $pkgconfig_generate ; then
14752
 
    as_fn_error "$pkgconfig_generate is empty" "$LINENO" 5
 
14810
    as_fn_error $? "$pkgconfig_generate is empty" "$LINENO" 5
14753
14811
fi ; rm conftest.sed # DONE generate $pkgconfig_generate
14754
14812
pkgconfig_uninstalled=`echo $pkgconfig_generate |sed 's/.pc$/-uninstalled.pc/'`
14755
14813
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_uninstalled" >&5
14775
14833
AXEOF
14776
14834
sed -f conftest.sed $pkgconfig_generate.in > $pkgconfig_uninstalled
14777
14835
if test ! -s $pkgconfig_uninstalled ; then
14778
 
    as_fn_error "$pkgconfig_uninstalled is empty" "$LINENO" 5
 
14836
    as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
14779
14837
fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
14780
14838
           pkgconfig_requires_add=`echo ${pkgconfig_requires}`
14781
14839
if test ".$pkgconfig_requires_add" != "." ; then
14818
14876
AXEOF
14819
14877
sed -f conftest.sed  $pkgconfig_generate.in > $pkgconfig_uninstalled
14820
14878
if test ! -s $pkgconfig_uninstalled ; then
14821
 
    as_fn_error "$pkgconfig_uninstalled is empty" "$LINENO" 5
 
14879
    as_fn_error $? "$pkgconfig_uninstalled is empty" "$LINENO" 5
14822
14880
fi ; rm conftest.sed # DONE generate $pkgconfig_uninstalled
14823
14881
 ;;
14824
14882
    "genversion.sh":F) chmod +x genversion.sh ;;
14834
14892
ac_clean_files=$ac_clean_files_save
14835
14893
 
14836
14894
test $ac_write_fail = 0 ||
14837
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
14895
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14838
14896
 
14839
14897
 
14840
14898
        ac_configure_args="$ac_configure_args $cloog_configure_args"
14858
14916
  exec 5>>config.log
14859
14917
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14860
14918
  # would make configure fail if this is the last instruction.
14861
 
  $ac_cs_success || as_fn_exit $?
 
14919
  $ac_cs_success || as_fn_exit 1
14862
14920
fi
14863
14921
 
14864
14922
#
14999
15057
      # The eval makes quoting arguments work.
15000
15058
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15001
15059
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15002
 
        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
 
15060
        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15003
15061
    fi
15004
15062
 
15005
15063
    cd "$ac_popdir"