~ubuntu-branches/ubuntu/vivid/pgpool2/vivid-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Christoph Berg
  • Date: 2012-03-20 16:37:29 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20120320163729-xpt9c0lb27c9zf9i
Tags: 3.1.2-1
New upstream release.

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.
 
3
# Generated by GNU Autoconf 2.68.
4
4
#
5
5
#
6
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8
 
# Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
8
# Foundation, Inc.
9
9
#
10
10
#
11
11
# This configure script is free software; the Free Software Foundation
89
89
IFS=" ""        $as_nl"
90
90
 
91
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
92
93
case $0 in #((
93
94
  *[\\/]* ) as_myself=$0 ;;
94
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
171
172
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
173
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
174
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
175
 
 
176
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
177
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
178
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
179
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
180
    PATH=/empty FPATH=/empty; export PATH FPATH
 
181
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
182
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
174
183
test \$(( 1 + 1 )) = 2 || exit 1"
175
184
  if (eval "$as_required") 2>/dev/null; then :
176
185
  as_have_required=yes
214
223
  # We cannot yet assume a decent shell, so we have to provide a
215
224
        # neutralization value for shells without unset; and this also
216
225
        # works around shells that cannot unset nonexistent variables.
 
226
        # Preserve -v and -x to the replacement shell.
217
227
        BASH_ENV=/dev/null
218
228
        ENV=/dev/null
219
229
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
230
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
231
        case $- in # ((((
 
232
          *v*x* | *x*v* ) as_opts=-vx ;;
 
233
          *v* ) as_opts=-v ;;
 
234
          *x* ) as_opts=-x ;;
 
235
          * ) as_opts= ;;
 
236
        esac
 
237
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
222
238
fi
223
239
 
224
240
    if test x$as_have_required = xno; then :
316
332
      test -d "$as_dir" && break
317
333
    done
318
334
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
335
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
336
 
321
337
 
322
338
} # as_fn_mkdir_p
356
372
fi # as_fn_arith
357
373
 
358
374
 
359
 
# as_fn_error ERROR [LINENO LOG_FD]
360
 
# ---------------------------------
 
375
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
376
# ----------------------------------------
361
377
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
378
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
 
# script with status $?, using 1 if that was 0.
 
379
# script with STATUS, using 1 if that was 0.
364
380
as_fn_error ()
365
381
{
366
 
  as_status=$?; test $as_status -eq 0 && as_status=1
367
 
  if test "$3"; then
368
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
382
  as_status=$1; test $as_status -eq 0 && as_status=1
 
383
  if test "$4"; then
 
384
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
385
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370
386
  fi
371
 
  $as_echo "$as_me: error: $1" >&2
 
387
  $as_echo "$as_me: error: $2" >&2
372
388
  as_fn_exit $as_status
373
389
} # as_fn_error
374
390
 
525
541
# Sed expression to map a string onto a valid variable name.
526
542
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
543
 
528
 
 
529
 
 
530
 
# Check that we are running under the correct shell.
531
544
SHELL=${CONFIG_SHELL-/bin/sh}
532
545
 
533
 
case X$lt_ECHO in
534
 
X*--fallback-echo)
535
 
  # Remove one level of quotation (which was required for Make).
536
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537
 
  ;;
538
 
esac
539
 
 
540
 
ECHO=${lt_ECHO-echo}
541
 
if test "X$1" = X--no-reexec; then
542
 
  # Discard the --no-reexec flag, and continue.
543
 
  shift
544
 
elif test "X$1" = X--fallback-echo; then
545
 
  # Avoid inline document here, it may be left over
546
 
  :
547
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
 
  # Yippee, $ECHO works!
549
 
  :
550
 
else
551
 
  # Restart under the correct shell.
552
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
553
 
fi
554
 
 
555
 
if test "X$1" = X--fallback-echo; then
556
 
  # used as fallback echo
557
 
  shift
558
 
  cat <<_LT_EOF
559
 
$*
560
 
_LT_EOF
561
 
  exit 0
562
 
fi
563
 
 
564
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
565
 
# if CDPATH is set.
566
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
 
 
568
 
if test -z "$lt_ECHO"; then
569
 
  if test "X${echo_test_string+set}" != Xset; then
570
 
    # find a string as large as possible, as long as the shell can cope with it
571
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575
 
      then
576
 
        break
577
 
      fi
578
 
    done
579
 
  fi
580
 
 
581
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
584
 
    :
585
 
  else
586
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
587
 
    # backslashes.  This makes it impossible to quote backslashes using
588
 
    #   echo "$something" | sed 's/\\/\\\\/g'
589
 
    #
590
 
    # So, first we look for a working echo in the user's PATH.
591
 
 
592
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
 
    for dir in $PATH /usr/ucb; do
594
 
      IFS="$lt_save_ifs"
595
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
599
 
        ECHO="$dir/echo"
600
 
        break
601
 
      fi
602
 
    done
603
 
    IFS="$lt_save_ifs"
604
 
 
605
 
    if test "X$ECHO" = Xecho; then
606
 
      # We didn't find a better echo, so look for alternatives.
607
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
        # This shell has a builtin print -r that does the trick.
611
 
        ECHO='print -r'
612
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
614
 
        # If we have ksh, try running configure again with it.
615
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
 
        export ORIGINAL_CONFIG_SHELL
617
 
        CONFIG_SHELL=/bin/ksh
618
 
        export CONFIG_SHELL
619
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620
 
      else
621
 
        # Try using printf.
622
 
        ECHO='printf %s\n'
623
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
626
 
          # Cool, printf works
627
 
          :
628
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
 
             test "X$echo_testing_string" = 'X\t' &&
630
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
632
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633
 
          export CONFIG_SHELL
634
 
          SHELL="$CONFIG_SHELL"
635
 
          export SHELL
636
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
 
             test "X$echo_testing_string" = 'X\t' &&
639
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
641
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
642
 
        else
643
 
          # maybe with a smaller string...
644
 
          prev=:
645
 
 
646
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648
 
            then
649
 
              break
650
 
            fi
651
 
            prev="$cmd"
652
 
          done
653
 
 
654
 
          if test "$prev" != 'sed 50q "$0"'; then
655
 
            echo_test_string=`eval $prev`
656
 
            export echo_test_string
657
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658
 
          else
659
 
            # Oops.  We lost completely, so just stick with echo.
660
 
            ECHO=echo
661
 
          fi
662
 
        fi
663
 
      fi
664
 
    fi
665
 
  fi
666
 
fi
667
 
 
668
 
# Copy echo and quote the copy suitably for passing to libtool from
669
 
# the Makefile, instead of quoting the original, which is used later.
670
 
lt_ECHO=$ECHO
671
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673
 
fi
674
 
 
675
 
 
676
 
 
677
546
 
678
547
test -n "$DJDIR" || exec 7<&0 </dev/null
679
548
exec 6>&1
680
549
 
681
550
# Name of the host.
682
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
551
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683
552
# so uname gets run too.
684
553
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
554
 
759
628
LIPO
760
629
NMEDIT
761
630
DSYMUTIL
762
 
lt_ECHO
 
631
MANIFEST_TOOL
 
632
ac_ct_AR
763
633
AR
 
634
DLLTOOL
764
635
OBJDUMP
765
636
LN_S
766
637
NM
784
655
am__fastdepCC_FALSE
785
656
am__fastdepCC_TRUE
786
657
CCDEPMODE
 
658
am__nodep
787
659
AMDEPBACKSLASH
788
660
AMDEP_FALSE
789
661
AMDEP_TRUE
867
739
with_pic
868
740
enable_fast_install
869
741
with_gnu_ld
 
742
with_sysroot
870
743
enable_libtool_lock
871
744
enable_float4_byval
872
745
enable_float8_byval
952
825
  fi
953
826
 
954
827
  case $ac_option in
955
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
956
 
  *)    ac_optarg=yes ;;
 
828
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
829
  *=)   ac_optarg= ;;
 
830
  *)    ac_optarg=yes ;;
957
831
  esac
958
832
 
959
833
  # Accept the important Cygnus configure options, so we can diagnose typos.
998
872
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
999
873
    # Reject names that are not valid shell variable names.
1000
874
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1001
 
      as_fn_error "invalid feature name: $ac_useropt"
 
875
      as_fn_error $? "invalid feature name: $ac_useropt"
1002
876
    ac_useropt_orig=$ac_useropt
1003
877
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004
878
    case $ac_user_opts in
1024
898
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1025
899
    # Reject names that are not valid shell variable names.
1026
900
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027
 
      as_fn_error "invalid feature name: $ac_useropt"
 
901
      as_fn_error $? "invalid feature name: $ac_useropt"
1028
902
    ac_useropt_orig=$ac_useropt
1029
903
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030
904
    case $ac_user_opts in
1228
1102
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1229
1103
    # Reject names that are not valid shell variable names.
1230
1104
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1231
 
      as_fn_error "invalid package name: $ac_useropt"
 
1105
      as_fn_error $? "invalid package name: $ac_useropt"
1232
1106
    ac_useropt_orig=$ac_useropt
1233
1107
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1234
1108
    case $ac_user_opts in
1244
1118
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1245
1119
    # Reject names that are not valid shell variable names.
1246
1120
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1247
 
      as_fn_error "invalid package name: $ac_useropt"
 
1121
      as_fn_error $? "invalid package name: $ac_useropt"
1248
1122
    ac_useropt_orig=$ac_useropt
1249
1123
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1250
1124
    case $ac_user_opts in
1274
1148
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1275
1149
    x_libraries=$ac_optarg ;;
1276
1150
 
1277
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1278
 
Try \`$0 --help' for more information."
 
1151
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1152
Try \`$0 --help' for more information"
1279
1153
    ;;
1280
1154
 
1281
1155
  *=*)
1283
1157
    # Reject names that are not valid shell variable names.
1284
1158
    case $ac_envvar in #(
1285
1159
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1286
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1160
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1287
1161
    esac
1288
1162
    eval $ac_envvar=\$ac_optarg
1289
1163
    export $ac_envvar ;;
1293
1167
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1294
1168
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1295
1169
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1296
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1170
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1297
1171
    ;;
1298
1172
 
1299
1173
  esac
1301
1175
 
1302
1176
if test -n "$ac_prev"; then
1303
1177
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1304
 
  as_fn_error "missing argument to $ac_option"
 
1178
  as_fn_error $? "missing argument to $ac_option"
1305
1179
fi
1306
1180
 
1307
1181
if test -n "$ac_unrecognized_opts"; then
1308
1182
  case $enable_option_checking in
1309
1183
    no) ;;
1310
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1184
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1311
1185
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1312
1186
  esac
1313
1187
fi
1330
1204
    [\\/$]* | ?:[\\/]* )  continue;;
1331
1205
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1332
1206
  esac
1333
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1207
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1334
1208
done
1335
1209
 
1336
1210
# There might be people who depend on the old broken behavior: `$host'
1344
1218
if test "x$host_alias" != x; then
1345
1219
  if test "x$build_alias" = x; then
1346
1220
    cross_compiling=maybe
1347
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1348
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1221
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1222
    If a cross compiler is detected then cross compile mode will be used" >&2
1349
1223
  elif test "x$build_alias" != "x$host_alias"; then
1350
1224
    cross_compiling=yes
1351
1225
  fi
1360
1234
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1361
1235
ac_ls_di=`ls -di .` &&
1362
1236
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1363
 
  as_fn_error "working directory cannot be determined"
 
1237
  as_fn_error $? "working directory cannot be determined"
1364
1238
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1365
 
  as_fn_error "pwd does not report name of working directory"
 
1239
  as_fn_error $? "pwd does not report name of working directory"
1366
1240
 
1367
1241
 
1368
1242
# Find the source files, if location was not specified.
1401
1275
fi
1402
1276
if test ! -r "$srcdir/$ac_unique_file"; then
1403
1277
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1404
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1278
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1405
1279
fi
1406
1280
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1407
1281
ac_abs_confdir=`(
1408
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1282
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1409
1283
        pwd)`
1410
1284
# When building in place, set srcdir=.
1411
1285
if test "$ac_abs_confdir" = "$ac_pwd"; then
1445
1319
      --help=short        display options specific to this package
1446
1320
      --help=recursive    display the short help of all the included packages
1447
1321
  -V, --version           display version information and exit
1448
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1322
  -q, --quiet, --silent   do not print \`checking ...' messages
1449
1323
      --cache-file=FILE   cache test results in FILE [disabled]
1450
1324
  -C, --config-cache      alias for \`--cache-file=config.cache'
1451
1325
  -n, --no-create         do not create output files
1528
1402
  --with-pic              try to use only PIC/non-PIC objects [default=use
1529
1403
                          both]
1530
1404
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1405
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1406
                        (or the compiler's sysroot if not specified).
1531
1407
  --with-pgsql=DIR     site header files for PostgreSQL in DIR
1532
1408
  --with-pgsql-includedir=DIR     site header files for PostgreSQL in DIR
1533
1409
  --with-pgsql-libdir=DIR     site library files for PostgreSQL in DIR
1543
1419
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1544
1420
              you have headers in a nonstandard directory <include dir>
1545
1421
  CPP         C preprocessor
1546
 
  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1547
 
              the first program found out of: `bison -y', `byacc', `yacc'.
 
1422
  YACC        The `Yet Another Compiler Compiler' implementation to use.
 
1423
              Defaults to the first program found out of: `bison -y', `byacc',
 
1424
              `yacc'.
1548
1425
  YFLAGS      The list of arguments that will be passed by default to $YACC.
1549
1426
              This script will default YFLAGS to the empty string to avoid a
1550
1427
              default value of `-d' given by some make applications.
1616
1493
if $ac_init_version; then
1617
1494
  cat <<\_ACEOF
1618
1495
configure
1619
 
generated by GNU Autoconf 2.65
 
1496
generated by GNU Autoconf 2.68
1620
1497
 
1621
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1498
Copyright (C) 2010 Free Software Foundation, Inc.
1622
1499
This configure script is free software; the Free Software Foundation
1623
1500
gives unlimited permission to copy, distribute and modify it.
1624
1501
_ACEOF
1662
1539
 
1663
1540
        ac_retval=1
1664
1541
fi
1665
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1542
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666
1543
  as_fn_set_status $ac_retval
1667
1544
 
1668
1545
} # ac_fn_c_try_compile
1708
1585
  # interfere with the next link command; also delete a directory that is
1709
1586
  # left behind by Apple's compiler.  We do this before executing the actions.
1710
1587
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1711
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1588
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712
1589
  as_fn_set_status $ac_retval
1713
1590
 
1714
1591
} # ac_fn_c_try_link
1722
1599
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723
1600
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1724
1601
$as_echo_n "checking for $2... " >&6; }
1725
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1602
if eval \${$3+:} false; then :
1726
1603
  $as_echo_n "(cached) " >&6
1727
1604
else
1728
1605
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740
1617
eval ac_res=\$$3
1741
1618
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1742
1619
$as_echo "$ac_res" >&6; }
1743
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1620
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744
1621
 
1745
1622
} # ac_fn_c_check_header_compile
1746
1623
 
1765
1642
    mv -f conftest.er1 conftest.err
1766
1643
  fi
1767
1644
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768
 
  test $ac_status = 0; } >/dev/null && {
 
1645
  test $ac_status = 0; } > conftest.i && {
1769
1646
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1770
1647
         test ! -s conftest.err
1771
1648
       }; then :
1776
1653
 
1777
1654
    ac_retval=1
1778
1655
fi
1779
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1656
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780
1657
  as_fn_set_status $ac_retval
1781
1658
 
1782
1659
} # ac_fn_c_try_cpp
1818
1695
       ac_retval=$ac_status
1819
1696
fi
1820
1697
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1821
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1698
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822
1699
  as_fn_set_status $ac_retval
1823
1700
 
1824
1701
} # ac_fn_c_try_run
1831
1708
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832
1709
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1833
1710
$as_echo_n "checking for $2... " >&6; }
1834
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1711
if eval \${$3+:} false; then :
1835
1712
  $as_echo_n "(cached) " >&6
1836
1713
else
1837
1714
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886
1763
eval ac_res=\$$3
1887
1764
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888
1765
$as_echo "$ac_res" >&6; }
1889
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1766
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890
1767
 
1891
1768
} # ac_fn_c_check_func
1892
1769
 
1898
1775
ac_fn_c_check_header_mongrel ()
1899
1776
{
1900
1777
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1901
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1778
  if eval \${$3+:} false; then :
1902
1779
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1903
1780
$as_echo_n "checking for $2... " >&6; }
1904
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1781
if eval \${$3+:} false; then :
1905
1782
  $as_echo_n "(cached) " >&6
1906
1783
fi
1907
1784
eval ac_res=\$$3
1937
1814
else
1938
1815
  ac_header_preproc=no
1939
1816
fi
1940
 
rm -f conftest.err conftest.$ac_ext
 
1817
rm -f conftest.err conftest.i conftest.$ac_ext
1941
1818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1942
1819
$as_echo "$ac_header_preproc" >&6; }
1943
1820
 
1964
1841
esac
1965
1842
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1966
1843
$as_echo_n "checking for $2... " >&6; }
1967
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1844
if eval \${$3+:} false; then :
1968
1845
  $as_echo_n "(cached) " >&6
1969
1846
else
1970
1847
  eval "$3=\$ac_header_compiler"
1973
1850
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974
1851
$as_echo "$ac_res" >&6; }
1975
1852
fi
1976
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1853
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977
1854
 
1978
1855
} # ac_fn_c_check_header_mongrel
1979
1856
 
1986
1863
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987
1864
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1988
1865
$as_echo_n "checking for $2... " >&6; }
1989
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1866
if eval \${$3+:} false; then :
1990
1867
  $as_echo_n "(cached) " >&6
1991
1868
else
1992
1869
  eval "$3=no"
2027
1904
eval ac_res=\$$3
2028
1905
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2029
1906
$as_echo "$ac_res" >&6; }
2030
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1907
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2031
1908
 
2032
1909
} # ac_fn_c_check_type
2033
1910
 
2204
2081
rm -f conftest.val
2205
2082
 
2206
2083
  fi
2207
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2084
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2208
2085
  as_fn_set_status $ac_retval
2209
2086
 
2210
2087
} # ac_fn_c_compute_int
2218
2095
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2219
2096
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2220
2097
$as_echo_n "checking for $2.$3... " >&6; }
2221
 
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2098
if eval \${$4+:} false; then :
2222
2099
  $as_echo_n "(cached) " >&6
2223
2100
else
2224
2101
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2262
2139
eval ac_res=\$$4
2263
2140
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2264
2141
$as_echo "$ac_res" >&6; }
2265
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2142
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2266
2143
 
2267
2144
} # ac_fn_c_check_member
2268
2145
cat >config.log <<_ACEOF
2270
2147
running configure, to aid debugging if configure makes a mistake.
2271
2148
 
2272
2149
It was created by $as_me, which was
2273
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
2150
generated by GNU Autoconf 2.68.  Invocation command line was
2274
2151
 
2275
2152
  $ $0 $@
2276
2153
 
2380
2257
  {
2381
2258
    echo
2382
2259
 
2383
 
    cat <<\_ASBOX
2384
 
## ---------------- ##
 
2260
    $as_echo "## ---------------- ##
2385
2261
## Cache variables. ##
2386
 
## ---------------- ##
2387
 
_ASBOX
 
2262
## ---------------- ##"
2388
2263
    echo
2389
2264
    # The following way of writing the cache mishandles newlines in values,
2390
2265
(
2418
2293
)
2419
2294
    echo
2420
2295
 
2421
 
    cat <<\_ASBOX
2422
 
## ----------------- ##
 
2296
    $as_echo "## ----------------- ##
2423
2297
## Output variables. ##
2424
 
## ----------------- ##
2425
 
_ASBOX
 
2298
## ----------------- ##"
2426
2299
    echo
2427
2300
    for ac_var in $ac_subst_vars
2428
2301
    do
2435
2308
    echo
2436
2309
 
2437
2310
    if test -n "$ac_subst_files"; then
2438
 
      cat <<\_ASBOX
2439
 
## ------------------- ##
 
2311
      $as_echo "## ------------------- ##
2440
2312
## File substitutions. ##
2441
 
## ------------------- ##
2442
 
_ASBOX
 
2313
## ------------------- ##"
2443
2314
      echo
2444
2315
      for ac_var in $ac_subst_files
2445
2316
      do
2453
2324
    fi
2454
2325
 
2455
2326
    if test -s confdefs.h; then
2456
 
      cat <<\_ASBOX
2457
 
## ----------- ##
 
2327
      $as_echo "## ----------- ##
2458
2328
## confdefs.h. ##
2459
 
## ----------- ##
2460
 
_ASBOX
 
2329
## ----------- ##"
2461
2330
      echo
2462
2331
      cat confdefs.h
2463
2332
      echo
2512
2381
ac_site_file1=NONE
2513
2382
ac_site_file2=NONE
2514
2383
if test -n "$CONFIG_SITE"; then
2515
 
  ac_site_file1=$CONFIG_SITE
 
2384
  # We do not want a PATH search for config.site.
 
2385
  case $CONFIG_SITE in #((
 
2386
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2387
    */*) ac_site_file1=$CONFIG_SITE;;
 
2388
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2389
  esac
2516
2390
elif test "x$prefix" != xNONE; then
2517
2391
  ac_site_file1=$prefix/share/config.site
2518
2392
  ac_site_file2=$prefix/etc/config.site
2527
2401
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2528
2402
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2529
2403
    sed 's/^/| /' "$ac_site_file" >&5
2530
 
    . "$ac_site_file"
 
2404
    . "$ac_site_file" \
 
2405
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2406
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2407
as_fn_error $? "failed to load site script $ac_site_file
 
2408
See \`config.log' for more details" "$LINENO" 5; }
2531
2409
  fi
2532
2410
done
2533
2411
 
2603
2481
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2604
2482
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2605
2483
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2606
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2484
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2607
2485
fi
2608
2486
## -------------------- ##
2609
2487
## Main body of script. ##
2627
2505
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2628
2506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2629
2507
$as_echo_n "checking for $ac_word... " >&6; }
2630
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2508
if ${ac_cv_prog_CC+:} false; then :
2631
2509
  $as_echo_n "(cached) " >&6
2632
2510
else
2633
2511
  if test -n "$CC"; then
2667
2545
set dummy gcc; ac_word=$2
2668
2546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2669
2547
$as_echo_n "checking for $ac_word... " >&6; }
2670
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2548
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2671
2549
  $as_echo_n "(cached) " >&6
2672
2550
else
2673
2551
  if test -n "$ac_ct_CC"; then
2720
2598
set dummy ${ac_tool_prefix}cc; ac_word=$2
2721
2599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722
2600
$as_echo_n "checking for $ac_word... " >&6; }
2723
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2601
if ${ac_cv_prog_CC+:} false; then :
2724
2602
  $as_echo_n "(cached) " >&6
2725
2603
else
2726
2604
  if test -n "$CC"; then
2760
2638
set dummy cc; ac_word=$2
2761
2639
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762
2640
$as_echo_n "checking for $ac_word... " >&6; }
2763
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2641
if ${ac_cv_prog_CC+:} false; then :
2764
2642
  $as_echo_n "(cached) " >&6
2765
2643
else
2766
2644
  if test -n "$CC"; then
2819
2697
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2820
2698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2821
2699
$as_echo_n "checking for $ac_word... " >&6; }
2822
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2700
if ${ac_cv_prog_CC+:} false; then :
2823
2701
  $as_echo_n "(cached) " >&6
2824
2702
else
2825
2703
  if test -n "$CC"; then
2863
2741
set dummy $ac_prog; ac_word=$2
2864
2742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2865
2743
$as_echo_n "checking for $ac_word... " >&6; }
2866
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2744
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2867
2745
  $as_echo_n "(cached) " >&6
2868
2746
else
2869
2747
  if test -n "$ac_ct_CC"; then
2917
2795
 
2918
2796
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2919
2797
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2920
 
as_fn_error "no acceptable C compiler found in \$PATH
2921
 
See \`config.log' for more details." "$LINENO" 5; }
 
2798
as_fn_error $? "no acceptable C compiler found in \$PATH
 
2799
See \`config.log' for more details" "$LINENO" 5; }
2922
2800
 
2923
2801
# Provide some information about the compiler.
2924
2802
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3032
2910
 
3033
2911
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3034
2912
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3035
 
{ as_fn_set_status 77
3036
 
as_fn_error "C compiler cannot create executables
3037
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
2913
as_fn_error 77 "C compiler cannot create executables
 
2914
See \`config.log' for more details" "$LINENO" 5; }
3038
2915
else
3039
2916
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3040
2917
$as_echo "yes" >&6; }
3076
2953
else
3077
2954
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3078
2955
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3079
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3080
 
See \`config.log' for more details." "$LINENO" 5; }
 
2956
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
2957
See \`config.log' for more details" "$LINENO" 5; }
3081
2958
fi
3082
2959
rm -f conftest conftest$ac_cv_exeext
3083
2960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3134
3011
    else
3135
3012
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3136
3013
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3137
 
as_fn_error "cannot run C compiled programs.
 
3014
as_fn_error $? "cannot run C compiled programs.
3138
3015
If you meant to cross compile, use \`--host'.
3139
 
See \`config.log' for more details." "$LINENO" 5; }
 
3016
See \`config.log' for more details" "$LINENO" 5; }
3140
3017
    fi
3141
3018
  fi
3142
3019
fi
3147
3024
ac_clean_files=$ac_clean_files_save
3148
3025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3149
3026
$as_echo_n "checking for suffix of object files... " >&6; }
3150
 
if test "${ac_cv_objext+set}" = set; then :
 
3027
if ${ac_cv_objext+:} false; then :
3151
3028
  $as_echo_n "(cached) " >&6
3152
3029
else
3153
3030
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3187
3064
 
3188
3065
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3189
3066
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3190
 
as_fn_error "cannot compute suffix of object files: cannot compile
3191
 
See \`config.log' for more details." "$LINENO" 5; }
 
3067
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3068
See \`config.log' for more details" "$LINENO" 5; }
3192
3069
fi
3193
3070
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3194
3071
fi
3198
3075
ac_objext=$OBJEXT
3199
3076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3200
3077
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3201
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3078
if ${ac_cv_c_compiler_gnu+:} false; then :
3202
3079
  $as_echo_n "(cached) " >&6
3203
3080
else
3204
3081
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3235
3112
ac_save_CFLAGS=$CFLAGS
3236
3113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3237
3114
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3238
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3115
if ${ac_cv_prog_cc_g+:} false; then :
3239
3116
  $as_echo_n "(cached) " >&6
3240
3117
else
3241
3118
  ac_save_c_werror_flag=$ac_c_werror_flag
3313
3190
fi
3314
3191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3315
3192
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3316
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3193
if ${ac_cv_prog_cc_c89+:} false; then :
3317
3194
  $as_echo_n "(cached) " >&6
3318
3195
else
3319
3196
  ac_cv_prog_cc_c89=no
3413
3290
 
3414
3291
ac_aux_dir=
3415
3292
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3416
 
  for ac_t in install-sh install.sh shtool; do
3417
 
    if test -f "$ac_dir/$ac_t"; then
3418
 
      ac_aux_dir=$ac_dir
3419
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
3420
 
      break 2
3421
 
    fi
3422
 
  done
 
3293
  if test -f "$ac_dir/install-sh"; then
 
3294
    ac_aux_dir=$ac_dir
 
3295
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
3296
    break
 
3297
  elif test -f "$ac_dir/install.sh"; then
 
3298
    ac_aux_dir=$ac_dir
 
3299
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
3300
    break
 
3301
  elif test -f "$ac_dir/shtool"; then
 
3302
    ac_aux_dir=$ac_dir
 
3303
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
3304
    break
 
3305
  fi
3423
3306
done
3424
3307
if test -z "$ac_aux_dir"; then
3425
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
3308
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3426
3309
fi
3427
3310
 
3428
3311
# These three variables are undocumented and unsupported,
3451
3334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3452
3335
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3453
3336
if test -z "$INSTALL"; then
3454
 
if test "${ac_cv_path_install+set}" = set; then :
 
3337
if ${ac_cv_path_install+:} false; then :
3455
3338
  $as_echo_n "(cached) " >&6
3456
3339
else
3457
3340
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3538
3421
'
3539
3422
case `pwd` in
3540
3423
  *[\\\"\#\$\&\'\`$am_lf]*)
3541
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
3424
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3542
3425
esac
3543
3426
case $srcdir in
3544
3427
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3545
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
3428
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3546
3429
esac
3547
3430
 
3548
3431
# Do `set' in a subshell so we don't clobber the current shell's
3564
3447
      # if, for instance, CONFIG_SHELL is bash and it inherits a
3565
3448
      # broken ls alias from the environment.  This has actually
3566
3449
      # happened.  Such a system could not be considered "sane".
3567
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
3450
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3568
3451
alias in your environment" "$LINENO" 5
3569
3452
   fi
3570
3453
 
3574
3457
   # Ok.
3575
3458
   :
3576
3459
else
3577
 
   as_fn_error "newly created file is older than distributed files!
 
3460
   as_fn_error $? "newly created file is older than distributed files!
3578
3461
Check your system clock" "$LINENO" 5
3579
3462
fi
3580
3463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3628
3511
set dummy ${ac_tool_prefix}strip; ac_word=$2
3629
3512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3630
3513
$as_echo_n "checking for $ac_word... " >&6; }
3631
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
3514
if ${ac_cv_prog_STRIP+:} false; then :
3632
3515
  $as_echo_n "(cached) " >&6
3633
3516
else
3634
3517
  if test -n "$STRIP"; then
3668
3551
set dummy strip; ac_word=$2
3669
3552
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3670
3553
$as_echo_n "checking for $ac_word... " >&6; }
3671
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
3554
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3672
3555
  $as_echo_n "(cached) " >&6
3673
3556
else
3674
3557
  if test -n "$ac_ct_STRIP"; then
3721
3604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3722
3605
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3723
3606
if test -z "$MKDIR_P"; then
3724
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
3607
  if ${ac_cv_path_mkdir+:} false; then :
3725
3608
  $as_echo_n "(cached) " >&6
3726
3609
else
3727
3610
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3772
3655
set dummy $ac_prog; ac_word=$2
3773
3656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3774
3657
$as_echo_n "checking for $ac_word... " >&6; }
3775
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3658
if ${ac_cv_prog_AWK+:} false; then :
3776
3659
  $as_echo_n "(cached) " >&6
3777
3660
else
3778
3661
  if test -n "$AWK"; then
3812
3695
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3813
3696
set x ${MAKE-make}
3814
3697
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3815
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3698
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3816
3699
  $as_echo_n "(cached) " >&6
3817
3700
else
3818
3701
  cat >conftest.make <<\_ACEOF
3820
3703
all:
3821
3704
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3822
3705
_ACEOF
3823
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
3706
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3824
3707
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3825
3708
  *@@@%%%=?*=@@@%%%*)
3826
3709
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3900
3783
if test "x$enable_dependency_tracking" != xno; then
3901
3784
  am_depcomp="$ac_aux_dir/depcomp"
3902
3785
  AMDEPBACKSLASH='\'
 
3786
  am__nodep='_no'
3903
3787
fi
3904
3788
 if test "x$enable_dependency_tracking" != xno; then
3905
3789
  AMDEP_TRUE=
3916
3800
  am__isrc=' -I$(srcdir)'
3917
3801
  # test to see if srcdir already configured
3918
3802
  if test -f $srcdir/config.status; then
3919
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3803
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3920
3804
  fi
3921
3805
fi
3922
3806
 
3932
3816
 
3933
3817
# Define the identity of the package.
3934
3818
 PACKAGE=pgpool-II
3935
 
 VERSION=3.1.1
 
3819
 VERSION=3.1.2
3936
3820
 
3937
3821
 
3938
3822
cat >>confdefs.h <<_ACEOF
3975
3859
 
3976
3860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3977
3861
$as_echo_n "checking dependency style of $depcc... " >&6; }
3978
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3862
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3979
3863
  $as_echo_n "(cached) " >&6
3980
3864
else
3981
3865
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3984
3868
  # instance it was reported that on HP-UX the gcc test will end up
3985
3869
  # making a dummy file named `D' -- because `-MD' means `put the output
3986
3870
  # in D'.
 
3871
  rm -rf conftest.dir
3987
3872
  mkdir conftest.dir
3988
3873
  # Copy depcomp to subdir because otherwise we won't find it if we're
3989
3874
  # using a relative directory.
4043
3928
        break
4044
3929
      fi
4045
3930
      ;;
4046
 
    msvisualcpp | msvcmsys)
 
3931
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4047
3932
      # This compiler won't grok `-c -o', but also, the minuso test has
4048
3933
      # not run yet.  These depmodes are late enough in the game, and
4049
3934
      # so weak that their functioning should not be impacted.
4104
3989
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4105
3990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4106
3991
$as_echo_n "checking for $ac_word... " >&6; }
4107
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
3992
if ${ac_cv_prog_RANLIB+:} false; then :
4108
3993
  $as_echo_n "(cached) " >&6
4109
3994
else
4110
3995
  if test -n "$RANLIB"; then
4144
4029
set dummy ranlib; ac_word=$2
4145
4030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4146
4031
$as_echo_n "checking for $ac_word... " >&6; }
4147
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
4032
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4148
4033
  $as_echo_n "(cached) " >&6
4149
4034
else
4150
4035
  if test -n "$ac_ct_RANLIB"; then
4199
4084
 
4200
4085
 
4201
4086
 
4202
 
macro_version='2.2.6b'
4203
 
macro_revision='1.3017'
 
4087
macro_version='2.4'
 
4088
macro_revision='1.3293'
4204
4089
 
4205
4090
 
4206
4091
 
4218
4103
 
4219
4104
# Make sure we can run config.sub.
4220
4105
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4221
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
4106
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4222
4107
 
4223
4108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4224
4109
$as_echo_n "checking build system type... " >&6; }
4225
 
if test "${ac_cv_build+set}" = set; then :
 
4110
if ${ac_cv_build+:} false; then :
4226
4111
  $as_echo_n "(cached) " >&6
4227
4112
else
4228
4113
  ac_build_alias=$build_alias
4229
4114
test "x$ac_build_alias" = x &&
4230
4115
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4231
4116
test "x$ac_build_alias" = x &&
4232
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
4117
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4233
4118
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4234
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4119
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4235
4120
 
4236
4121
fi
4237
4122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4238
4123
$as_echo "$ac_cv_build" >&6; }
4239
4124
case $ac_cv_build in
4240
4125
*-*-*) ;;
4241
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
4126
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4242
4127
esac
4243
4128
build=$ac_cv_build
4244
4129
ac_save_IFS=$IFS; IFS='-'
4256
4141
 
4257
4142
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4258
4143
$as_echo_n "checking host system type... " >&6; }
4259
 
if test "${ac_cv_host+set}" = set; then :
 
4144
if ${ac_cv_host+:} false; then :
4260
4145
  $as_echo_n "(cached) " >&6
4261
4146
else
4262
4147
  if test "x$host_alias" = x; then
4263
4148
  ac_cv_host=$ac_cv_build
4264
4149
else
4265
4150
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4266
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
4151
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4267
4152
fi
4268
4153
 
4269
4154
fi
4271
4156
$as_echo "$ac_cv_host" >&6; }
4272
4157
case $ac_cv_host in
4273
4158
*-*-*) ;;
4274
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
4159
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4275
4160
esac
4276
4161
host=$ac_cv_host
4277
4162
ac_save_IFS=$IFS; IFS='-'
4287
4172
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4288
4173
 
4289
4174
 
 
4175
# Backslashify metacharacters that are still active within
 
4176
# double-quoted strings.
 
4177
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
4178
 
 
4179
# Same as above, but do not quote variable references.
 
4180
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
4181
 
 
4182
# Sed substitution to delay expansion of an escaped shell variable in a
 
4183
# double_quote_subst'ed string.
 
4184
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
4185
 
 
4186
# Sed substitution to delay expansion of an escaped single quote.
 
4187
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
4188
 
 
4189
# Sed substitution to avoid accidental globbing in evaled expressions
 
4190
no_glob_subst='s/\*/\\\*/g'
 
4191
 
 
4192
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4193
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
4194
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
4195
 
 
4196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
4197
$as_echo_n "checking how to print strings... " >&6; }
 
4198
# Test print first, because it will be a builtin if present.
 
4199
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
4200
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4201
  ECHO='print -r --'
 
4202
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4203
  ECHO='printf %s\n'
 
4204
else
 
4205
  # Use this function as a fallback that always works.
 
4206
  func_fallback_echo ()
 
4207
  {
 
4208
    eval 'cat <<_LTECHO_EOF
 
4209
$1
 
4210
_LTECHO_EOF'
 
4211
  }
 
4212
  ECHO='func_fallback_echo'
 
4213
fi
 
4214
 
 
4215
# func_echo_all arg...
 
4216
# Invoke $ECHO with all args, space-separated.
 
4217
func_echo_all ()
 
4218
{
 
4219
    $ECHO ""
 
4220
}
 
4221
 
 
4222
case "$ECHO" in
 
4223
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
4224
$as_echo "printf" >&6; } ;;
 
4225
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
4226
$as_echo "print -r" >&6; } ;;
 
4227
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
4228
$as_echo "cat" >&6; } ;;
 
4229
esac
 
4230
 
 
4231
 
 
4232
 
 
4233
 
 
4234
 
 
4235
 
 
4236
 
 
4237
 
 
4238
 
 
4239
 
 
4240
 
 
4241
 
 
4242
 
 
4243
 
4290
4244
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4291
4245
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4292
 
if test "${ac_cv_path_SED+set}" = set; then :
 
4246
if ${ac_cv_path_SED+:} false; then :
4293
4247
  $as_echo_n "(cached) " >&6
4294
4248
else
4295
4249
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4344
4298
  done
4345
4299
IFS=$as_save_IFS
4346
4300
  if test -z "$ac_cv_path_SED"; then
4347
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4301
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4348
4302
  fi
4349
4303
else
4350
4304
  ac_cv_path_SED=$SED
4371
4325
 
4372
4326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4373
4327
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4374
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4328
if ${ac_cv_path_GREP+:} false; then :
4375
4329
  $as_echo_n "(cached) " >&6
4376
4330
else
4377
4331
  if test -z "$GREP"; then
4420
4374
  done
4421
4375
IFS=$as_save_IFS
4422
4376
  if test -z "$ac_cv_path_GREP"; then
4423
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4377
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4424
4378
  fi
4425
4379
else
4426
4380
  ac_cv_path_GREP=$GREP
4434
4388
 
4435
4389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4436
4390
$as_echo_n "checking for egrep... " >&6; }
4437
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4391
if ${ac_cv_path_EGREP+:} false; then :
4438
4392
  $as_echo_n "(cached) " >&6
4439
4393
else
4440
4394
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4486
4440
  done
4487
4441
IFS=$as_save_IFS
4488
4442
  if test -z "$ac_cv_path_EGREP"; then
4489
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4443
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4490
4444
  fi
4491
4445
else
4492
4446
  ac_cv_path_EGREP=$EGREP
4501
4455
 
4502
4456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4503
4457
$as_echo_n "checking for fgrep... " >&6; }
4504
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4458
if ${ac_cv_path_FGREP+:} false; then :
4505
4459
  $as_echo_n "(cached) " >&6
4506
4460
else
4507
4461
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4553
4507
  done
4554
4508
IFS=$as_save_IFS
4555
4509
  if test -z "$ac_cv_path_FGREP"; then
4556
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4510
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4557
4511
  fi
4558
4512
else
4559
4513
  ac_cv_path_FGREP=$FGREP
4632
4586
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4633
4587
$as_echo_n "checking for non-GNU ld... " >&6; }
4634
4588
fi
4635
 
if test "${lt_cv_path_LD+set}" = set; then :
 
4589
if ${lt_cv_path_LD+:} false; then :
4636
4590
  $as_echo_n "(cached) " >&6
4637
4591
else
4638
4592
  if test -z "$LD"; then
4669
4623
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4670
4624
$as_echo "no" >&6; }
4671
4625
fi
4672
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4626
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4673
4627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4674
4628
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4675
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4629
if ${lt_cv_prog_gnu_ld+:} false; then :
4676
4630
  $as_echo_n "(cached) " >&6
4677
4631
else
4678
4632
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4699
4653
 
4700
4654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4701
4655
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4702
 
if test "${lt_cv_path_NM+set}" = set; then :
 
4656
if ${lt_cv_path_NM+:} false; then :
4703
4657
  $as_echo_n "(cached) " >&6
4704
4658
else
4705
4659
  if test -n "$NM"; then
4752
4706
  NM="$lt_cv_path_NM"
4753
4707
else
4754
4708
  # Didn't find any BSD compatible name lister, look for dumpbin.
4755
 
  if test -n "$ac_tool_prefix"; then
4756
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4709
  if test -n "$DUMPBIN"; then :
 
4710
    # Let the user override the test.
 
4711
  else
 
4712
    if test -n "$ac_tool_prefix"; then
 
4713
  for ac_prog in dumpbin "link -dump"
4757
4714
  do
4758
4715
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4759
4716
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4760
4717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4761
4718
$as_echo_n "checking for $ac_word... " >&6; }
4762
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4719
if ${ac_cv_prog_DUMPBIN+:} false; then :
4763
4720
  $as_echo_n "(cached) " >&6
4764
4721
else
4765
4722
  if test -n "$DUMPBIN"; then
4797
4754
fi
4798
4755
if test -z "$DUMPBIN"; then
4799
4756
  ac_ct_DUMPBIN=$DUMPBIN
4800
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4757
  for ac_prog in dumpbin "link -dump"
4801
4758
do
4802
4759
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4803
4760
set dummy $ac_prog; ac_word=$2
4804
4761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805
4762
$as_echo_n "checking for $ac_word... " >&6; }
4806
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4763
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4807
4764
  $as_echo_n "(cached) " >&6
4808
4765
else
4809
4766
  if test -n "$ac_ct_DUMPBIN"; then
4852
4809
  fi
4853
4810
fi
4854
4811
 
 
4812
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4813
    *COFF*)
 
4814
      DUMPBIN="$DUMPBIN -symbols"
 
4815
      ;;
 
4816
    *)
 
4817
      DUMPBIN=:
 
4818
      ;;
 
4819
    esac
 
4820
  fi
4855
4821
 
4856
4822
  if test "$DUMPBIN" != ":"; then
4857
4823
    NM="$DUMPBIN"
4866
4832
 
4867
4833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4868
4834
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4869
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
4835
if ${lt_cv_nm_interface+:} false; then :
4870
4836
  $as_echo_n "(cached) " >&6
4871
4837
else
4872
4838
  lt_cv_nm_interface="BSD nm"
4873
4839
  echo "int some_variable = 0;" > conftest.$ac_ext
4874
 
  (eval echo "\"\$as_me:4874: $ac_compile\"" >&5)
 
4840
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4875
4841
  (eval "$ac_compile" 2>conftest.err)
4876
4842
  cat conftest.err >&5
4877
 
  (eval echo "\"\$as_me:4877: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4843
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4878
4844
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4879
4845
  cat conftest.err >&5
4880
 
  (eval echo "\"\$as_me:4880: output\"" >&5)
 
4846
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4881
4847
  cat conftest.out >&5
4882
4848
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4883
4849
    lt_cv_nm_interface="MS dumpbin"
4901
4867
# find the maximum length of command line arguments
4902
4868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4903
4869
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4904
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
4870
if ${lt_cv_sys_max_cmd_len+:} false; then :
4905
4871
  $as_echo_n "(cached) " >&6
4906
4872
else
4907
4873
    i=0
4934
4900
    lt_cv_sys_max_cmd_len=8192;
4935
4901
    ;;
4936
4902
 
 
4903
  mint*)
 
4904
    # On MiNT this can take a long time and run out of memory.
 
4905
    lt_cv_sys_max_cmd_len=8192;
 
4906
    ;;
 
4907
 
4937
4908
  amigaos*)
4938
4909
    # On AmigaOS with pdksh, this test takes hours, literally.
4939
4910
    # So we just punt and use a minimum line length of 8192.
4998
4969
      # If test is not a shell built-in, we'll probably end up computing a
4999
4970
      # maximum length that is only half of the actual maximum length, but
5000
4971
      # we can't tell.
5001
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5002
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4972
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
4973
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5003
4974
              test $i != 17 # 1/2 MB should be enough
5004
4975
      do
5005
4976
        i=`expr $i + 1`
5041
5012
# Try some XSI features
5042
5013
xsi_shell=no
5043
5014
( _lt_dummy="a/b/c"
5044
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5045
 
      = c,a/b,, \
 
5015
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
5016
      = c,a/b,b/c, \
5046
5017
    && eval 'test $(( 1 + 1 )) -eq 2 \
5047
5018
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5048
5019
  && xsi_shell=yes
5091
5062
 
5092
5063
 
5093
5064
 
 
5065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5066
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5067
if ${lt_cv_to_host_file_cmd+:} false; then :
 
5068
  $as_echo_n "(cached) " >&6
 
5069
else
 
5070
  case $host in
 
5071
  *-*-mingw* )
 
5072
    case $build in
 
5073
      *-*-mingw* ) # actually msys
 
5074
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5075
        ;;
 
5076
      *-*-cygwin* )
 
5077
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5078
        ;;
 
5079
      * ) # otherwise, assume *nix
 
5080
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5081
        ;;
 
5082
    esac
 
5083
    ;;
 
5084
  *-*-cygwin* )
 
5085
    case $build in
 
5086
      *-*-mingw* ) # actually msys
 
5087
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5088
        ;;
 
5089
      *-*-cygwin* )
 
5090
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5091
        ;;
 
5092
      * ) # otherwise, assume *nix
 
5093
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5094
        ;;
 
5095
    esac
 
5096
    ;;
 
5097
  * ) # unhandled hosts (and "normal" native builds)
 
5098
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5099
    ;;
 
5100
esac
 
5101
 
 
5102
fi
 
5103
 
 
5104
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5105
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5106
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5107
 
 
5108
 
 
5109
 
 
5110
 
 
5111
 
 
5112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5113
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5114
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5115
  $as_echo_n "(cached) " >&6
 
5116
else
 
5117
  #assume ordinary cross tools, or native build.
 
5118
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5119
case $host in
 
5120
  *-*-mingw* )
 
5121
    case $build in
 
5122
      *-*-mingw* ) # actually msys
 
5123
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5124
        ;;
 
5125
    esac
 
5126
    ;;
 
5127
esac
 
5128
 
 
5129
fi
 
5130
 
 
5131
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5132
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5133
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5134
 
 
5135
 
 
5136
 
 
5137
 
 
5138
 
5094
5139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5095
5140
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5096
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5141
if ${lt_cv_ld_reload_flag+:} false; then :
5097
5142
  $as_echo_n "(cached) " >&6
5098
5143
else
5099
5144
  lt_cv_ld_reload_flag='-r'
5107
5152
esac
5108
5153
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5109
5154
case $host_os in
 
5155
  cygwin* | mingw* | pw32* | cegcc*)
 
5156
    if test "$GCC" != yes; then
 
5157
      reload_cmds=false
 
5158
    fi
 
5159
    ;;
5110
5160
  darwin*)
5111
5161
    if test "$GCC" = yes; then
5112
5162
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5129
5179
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5130
5180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5131
5181
$as_echo_n "checking for $ac_word... " >&6; }
5132
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5182
if ${ac_cv_prog_OBJDUMP+:} false; then :
5133
5183
  $as_echo_n "(cached) " >&6
5134
5184
else
5135
5185
  if test -n "$OBJDUMP"; then
5169
5219
set dummy objdump; ac_word=$2
5170
5220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171
5221
$as_echo_n "checking for $ac_word... " >&6; }
5172
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5222
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5173
5223
  $as_echo_n "(cached) " >&6
5174
5224
else
5175
5225
  if test -n "$ac_ct_OBJDUMP"; then
5228
5278
 
5229
5279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5230
5280
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5231
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5281
if ${lt_cv_deplibs_check_method+:} false; then :
5232
5282
  $as_echo_n "(cached) " >&6
5233
5283
else
5234
5284
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5270
5320
  # Base MSYS/MinGW do not provide the 'file' command needed by
5271
5321
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5272
5322
  # unless we find 'file', for example because we are cross-compiling.
5273
 
  if ( file / ) >/dev/null 2>&1; then
 
5323
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5324
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5274
5325
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5275
5326
    lt_cv_file_magic_cmd='func_win32_libid'
5276
5327
  else
5277
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5328
    # Keep this pattern in sync with the one in func_win32_libid.
 
5329
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5278
5330
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5279
5331
  fi
5280
5332
  ;;
5281
5333
 
5282
 
cegcc)
 
5334
cegcc*)
5283
5335
  # use the weaker test based on 'objdump'. See mingw*.
5284
5336
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5285
5337
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5309
5361
  lt_cv_deplibs_check_method=pass_all
5310
5362
  ;;
5311
5363
 
 
5364
haiku*)
 
5365
  lt_cv_deplibs_check_method=pass_all
 
5366
  ;;
 
5367
 
5312
5368
hpux10.20* | hpux11*)
5313
5369
  lt_cv_file_magic_cmd=/usr/bin/file
5314
5370
  case $host_cpu in
5317
5373
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5318
5374
    ;;
5319
5375
  hppa*64*)
5320
 
    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]'
 
5376
    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]'
5321
5377
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5322
5378
    ;;
5323
5379
  *)
5324
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5380
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5325
5381
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5326
5382
    ;;
5327
5383
  esac
5343
5399
  ;;
5344
5400
 
5345
5401
# This must be Linux ELF.
5346
 
linux* | k*bsd*-gnu)
 
5402
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5347
5403
  lt_cv_deplibs_check_method=pass_all
5348
5404
  ;;
5349
5405
 
5424
5480
fi
5425
5481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5426
5482
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5483
 
 
5484
file_magic_glob=
 
5485
want_nocaseglob=no
 
5486
if test "$build" = "$host"; then
 
5487
  case $host_os in
 
5488
  mingw* | pw32*)
 
5489
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5490
      want_nocaseglob=yes
 
5491
    else
 
5492
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5493
    fi
 
5494
    ;;
 
5495
  esac
 
5496
fi
 
5497
 
5427
5498
file_magic_cmd=$lt_cv_file_magic_cmd
5428
5499
deplibs_check_method=$lt_cv_deplibs_check_method
5429
5500
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5439
5510
 
5440
5511
 
5441
5512
 
5442
 
if test -n "$ac_tool_prefix"; then
5443
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5444
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5445
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5446
 
$as_echo_n "checking for $ac_word... " >&6; }
5447
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
5513
 
 
5514
 
 
5515
 
 
5516
 
 
5517
 
 
5518
 
 
5519
 
 
5520
 
 
5521
 
 
5522
 
 
5523
if test -n "$ac_tool_prefix"; then
 
5524
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5525
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5527
$as_echo_n "checking for $ac_word... " >&6; }
 
5528
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5529
  $as_echo_n "(cached) " >&6
 
5530
else
 
5531
  if test -n "$DLLTOOL"; then
 
5532
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5533
else
 
5534
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5535
for as_dir in $PATH
 
5536
do
 
5537
  IFS=$as_save_IFS
 
5538
  test -z "$as_dir" && as_dir=.
 
5539
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5540
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5541
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5542
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5543
    break 2
 
5544
  fi
 
5545
done
 
5546
  done
 
5547
IFS=$as_save_IFS
 
5548
 
 
5549
fi
 
5550
fi
 
5551
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5552
if test -n "$DLLTOOL"; then
 
5553
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5554
$as_echo "$DLLTOOL" >&6; }
 
5555
else
 
5556
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5557
$as_echo "no" >&6; }
 
5558
fi
 
5559
 
 
5560
 
 
5561
fi
 
5562
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5563
  ac_ct_DLLTOOL=$DLLTOOL
 
5564
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5565
set dummy dlltool; ac_word=$2
 
5566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5567
$as_echo_n "checking for $ac_word... " >&6; }
 
5568
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5569
  $as_echo_n "(cached) " >&6
 
5570
else
 
5571
  if test -n "$ac_ct_DLLTOOL"; then
 
5572
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5573
else
 
5574
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5575
for as_dir in $PATH
 
5576
do
 
5577
  IFS=$as_save_IFS
 
5578
  test -z "$as_dir" && as_dir=.
 
5579
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5580
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5581
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5582
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5583
    break 2
 
5584
  fi
 
5585
done
 
5586
  done
 
5587
IFS=$as_save_IFS
 
5588
 
 
5589
fi
 
5590
fi
 
5591
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5592
if test -n "$ac_ct_DLLTOOL"; then
 
5593
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5594
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5595
else
 
5596
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5597
$as_echo "no" >&6; }
 
5598
fi
 
5599
 
 
5600
  if test "x$ac_ct_DLLTOOL" = x; then
 
5601
    DLLTOOL="false"
 
5602
  else
 
5603
    case $cross_compiling:$ac_tool_warned in
 
5604
yes:)
 
5605
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5606
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5607
ac_tool_warned=yes ;;
 
5608
esac
 
5609
    DLLTOOL=$ac_ct_DLLTOOL
 
5610
  fi
 
5611
else
 
5612
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5613
fi
 
5614
 
 
5615
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5616
 
 
5617
 
 
5618
 
 
5619
 
 
5620
 
 
5621
 
 
5622
 
 
5623
 
 
5624
 
 
5625
 
 
5626
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5627
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5628
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5629
  $as_echo_n "(cached) " >&6
 
5630
else
 
5631
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5632
 
 
5633
case $host_os in
 
5634
cygwin* | mingw* | pw32* | cegcc*)
 
5635
  # two different shell functions defined in ltmain.sh
 
5636
  # decide which to use based on capabilities of $DLLTOOL
 
5637
  case `$DLLTOOL --help 2>&1` in
 
5638
  *--identify-strict*)
 
5639
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5640
    ;;
 
5641
  *)
 
5642
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5643
    ;;
 
5644
  esac
 
5645
  ;;
 
5646
*)
 
5647
  # fallback: assume linklib IS sharedlib
 
5648
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5649
  ;;
 
5650
esac
 
5651
 
 
5652
fi
 
5653
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5654
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5655
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5656
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5657
 
 
5658
 
 
5659
 
 
5660
 
 
5661
 
 
5662
 
 
5663
 
 
5664
 
 
5665
if test -n "$ac_tool_prefix"; then
 
5666
  for ac_prog in ar
 
5667
  do
 
5668
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5669
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5671
$as_echo_n "checking for $ac_word... " >&6; }
 
5672
if ${ac_cv_prog_AR+:} false; then :
5448
5673
  $as_echo_n "(cached) " >&6
5449
5674
else
5450
5675
  if test -n "$AR"; then
5457
5682
  test -z "$as_dir" && as_dir=.
5458
5683
    for ac_exec_ext in '' $ac_executable_extensions; do
5459
5684
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5460
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5685
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5461
5686
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5462
5687
    break 2
5463
5688
  fi
5477
5702
fi
5478
5703
 
5479
5704
 
 
5705
    test -n "$AR" && break
 
5706
  done
5480
5707
fi
5481
 
if test -z "$ac_cv_prog_AR"; then
 
5708
if test -z "$AR"; then
5482
5709
  ac_ct_AR=$AR
5483
 
  # Extract the first word of "ar", so it can be a program name with args.
5484
 
set dummy ar; ac_word=$2
 
5710
  for ac_prog in ar
 
5711
do
 
5712
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5713
set dummy $ac_prog; ac_word=$2
5485
5714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486
5715
$as_echo_n "checking for $ac_word... " >&6; }
5487
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5716
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5488
5717
  $as_echo_n "(cached) " >&6
5489
5718
else
5490
5719
  if test -n "$ac_ct_AR"; then
5497
5726
  test -z "$as_dir" && as_dir=.
5498
5727
    for ac_exec_ext in '' $ac_executable_extensions; do
5499
5728
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5500
 
    ac_cv_prog_ac_ct_AR="ar"
 
5729
    ac_cv_prog_ac_ct_AR="$ac_prog"
5501
5730
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5502
5731
    break 2
5503
5732
  fi
5516
5745
$as_echo "no" >&6; }
5517
5746
fi
5518
5747
 
 
5748
 
 
5749
  test -n "$ac_ct_AR" && break
 
5750
done
 
5751
 
5519
5752
  if test "x$ac_ct_AR" = x; then
5520
5753
    AR="false"
5521
5754
  else
5527
5760
esac
5528
5761
    AR=$ac_ct_AR
5529
5762
  fi
5530
 
else
5531
 
  AR="$ac_cv_prog_AR"
5532
 
fi
5533
 
 
5534
 
test -z "$AR" && AR=ar
5535
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5536
 
 
5537
 
 
5538
 
 
5539
 
 
 
5763
fi
 
5764
 
 
5765
: ${AR=ar}
 
5766
: ${AR_FLAGS=cru}
 
5767
 
 
5768
 
 
5769
 
 
5770
 
 
5771
 
 
5772
 
 
5773
 
 
5774
 
 
5775
 
 
5776
 
 
5777
 
 
5778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5779
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5780
if ${lt_cv_ar_at_file+:} false; then :
 
5781
  $as_echo_n "(cached) " >&6
 
5782
else
 
5783
  lt_cv_ar_at_file=no
 
5784
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5785
/* end confdefs.h.  */
 
5786
 
 
5787
int
 
5788
main ()
 
5789
{
 
5790
 
 
5791
  ;
 
5792
  return 0;
 
5793
}
 
5794
_ACEOF
 
5795
if ac_fn_c_try_compile "$LINENO"; then :
 
5796
  echo conftest.$ac_objext > conftest.lst
 
5797
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
5798
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5799
  (eval $lt_ar_try) 2>&5
 
5800
  ac_status=$?
 
5801
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5802
  test $ac_status = 0; }
 
5803
      if test "$ac_status" -eq 0; then
 
5804
        # Ensure the archiver fails upon bogus file names.
 
5805
        rm -f conftest.$ac_objext libconftest.a
 
5806
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5807
  (eval $lt_ar_try) 2>&5
 
5808
  ac_status=$?
 
5809
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5810
  test $ac_status = 0; }
 
5811
        if test "$ac_status" -ne 0; then
 
5812
          lt_cv_ar_at_file=@
 
5813
        fi
 
5814
      fi
 
5815
      rm -f conftest.* libconftest.a
 
5816
 
 
5817
fi
 
5818
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5819
 
 
5820
fi
 
5821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
5822
$as_echo "$lt_cv_ar_at_file" >&6; }
 
5823
 
 
5824
if test "x$lt_cv_ar_at_file" = xno; then
 
5825
  archiver_list_spec=
 
5826
else
 
5827
  archiver_list_spec=$lt_cv_ar_at_file
 
5828
fi
5540
5829
 
5541
5830
 
5542
5831
 
5549
5838
set dummy ${ac_tool_prefix}strip; ac_word=$2
5550
5839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551
5840
$as_echo_n "checking for $ac_word... " >&6; }
5552
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5841
if ${ac_cv_prog_STRIP+:} false; then :
5553
5842
  $as_echo_n "(cached) " >&6
5554
5843
else
5555
5844
  if test -n "$STRIP"; then
5589
5878
set dummy strip; ac_word=$2
5590
5879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591
5880
$as_echo_n "checking for $ac_word... " >&6; }
5592
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
5881
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5593
5882
  $as_echo_n "(cached) " >&6
5594
5883
else
5595
5884
  if test -n "$ac_ct_STRIP"; then
5648
5937
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5649
5938
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650
5939
$as_echo_n "checking for $ac_word... " >&6; }
5651
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5940
if ${ac_cv_prog_RANLIB+:} false; then :
5652
5941
  $as_echo_n "(cached) " >&6
5653
5942
else
5654
5943
  if test -n "$RANLIB"; then
5688
5977
set dummy ranlib; ac_word=$2
5689
5978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690
5979
$as_echo_n "checking for $ac_word... " >&6; }
5691
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
5980
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5692
5981
  $as_echo_n "(cached) " >&6
5693
5982
else
5694
5983
  if test -n "$ac_ct_RANLIB"; then
5759
6048
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5760
6049
fi
5761
6050
 
 
6051
case $host_os in
 
6052
  darwin*)
 
6053
    lock_old_archive_extraction=yes ;;
 
6054
  *)
 
6055
    lock_old_archive_extraction=no ;;
 
6056
esac
 
6057
 
 
6058
 
 
6059
 
 
6060
 
 
6061
 
 
6062
 
5762
6063
 
5763
6064
 
5764
6065
 
5805
6106
# Check for command to grab the raw symbol name followed by C symbol from nm.
5806
6107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5807
6108
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5808
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6109
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5809
6110
  $as_echo_n "(cached) " >&6
5810
6111
else
5811
6112
 
5866
6167
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5867
6168
 
5868
6169
# Transform an extracted symbol line into symbol name and symbol address
5869
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5870
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
6170
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6171
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
5871
6172
 
5872
6173
# Handle CRLF in mingw tool chain
5873
6174
opt_cr=
5903
6204
  else
5904
6205
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5905
6206
  fi
 
6207
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5906
6208
 
5907
6209
  # Check to see that the pipe works correctly.
5908
6210
  pipe_works=no
5928
6230
  test $ac_status = 0; }; then
5929
6231
    # Now try to grab the symbols.
5930
6232
    nlist=conftest.nm
5931
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5932
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6233
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6234
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5933
6235
  ac_status=$?
5934
6236
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5935
6237
  test $ac_status = 0; } && test -s "$nlist"; then
5944
6246
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5945
6247
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5946
6248
          cat <<_LT_EOF > conftest.$ac_ext
 
6249
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6250
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6251
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6252
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6253
# define LT_DLSYM_CONST
 
6254
#elif defined(__osf__)
 
6255
/* This system does not cope well with relocations in const data.  */
 
6256
# define LT_DLSYM_CONST
 
6257
#else
 
6258
# define LT_DLSYM_CONST const
 
6259
#endif
 
6260
 
5947
6261
#ifdef __cplusplus
5948
6262
extern "C" {
5949
6263
#endif
5955
6269
          cat <<_LT_EOF >> conftest.$ac_ext
5956
6270
 
5957
6271
/* The mapping between symbol names and symbols.  */
5958
 
const struct {
 
6272
LT_DLSYM_CONST struct {
5959
6273
  const char *name;
5960
6274
  void       *address;
5961
6275
}
5981
6295
_LT_EOF
5982
6296
          # Now try linking the two files.
5983
6297
          mv conftest.$ac_objext conftstm.$ac_objext
5984
 
          lt_save_LIBS="$LIBS"
5985
 
          lt_save_CFLAGS="$CFLAGS"
 
6298
          lt_globsym_save_LIBS=$LIBS
 
6299
          lt_globsym_save_CFLAGS=$CFLAGS
5986
6300
          LIBS="conftstm.$ac_objext"
5987
6301
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5988
6302
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5992
6306
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5993
6307
            pipe_works=yes
5994
6308
          fi
5995
 
          LIBS="$lt_save_LIBS"
5996
 
          CFLAGS="$lt_save_CFLAGS"
 
6309
          LIBS=$lt_globsym_save_LIBS
 
6310
          CFLAGS=$lt_globsym_save_CFLAGS
5997
6311
        else
5998
6312
          echo "cannot find nm_test_func in $nlist" >&5
5999
6313
        fi
6030
6344
$as_echo "ok" >&6; }
6031
6345
fi
6032
6346
 
6033
 
 
6034
 
 
6035
 
 
6036
 
 
6037
 
 
6038
 
 
6039
 
 
6040
 
 
6041
 
 
6042
 
 
6043
 
 
6044
 
 
6045
 
 
6046
 
 
6047
 
 
6048
 
 
6049
 
 
 
6347
# Response file support.
 
6348
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6349
  nm_file_list_spec='@'
 
6350
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6351
  nm_file_list_spec='@'
 
6352
fi
 
6353
 
 
6354
 
 
6355
 
 
6356
 
 
6357
 
 
6358
 
 
6359
 
 
6360
 
 
6361
 
 
6362
 
 
6363
 
 
6364
 
 
6365
 
 
6366
 
 
6367
 
 
6368
 
 
6369
 
 
6370
 
 
6371
 
 
6372
 
 
6373
 
 
6374
 
 
6375
 
 
6376
 
 
6377
 
 
6378
 
 
6379
 
 
6380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6381
$as_echo_n "checking for sysroot... " >&6; }
 
6382
 
 
6383
# Check whether --with-sysroot was given.
 
6384
if test "${with_sysroot+set}" = set; then :
 
6385
  withval=$with_sysroot;
 
6386
else
 
6387
  with_sysroot=no
 
6388
fi
 
6389
 
 
6390
 
 
6391
lt_sysroot=
 
6392
case ${with_sysroot} in #(
 
6393
 yes)
 
6394
   if test "$GCC" = yes; then
 
6395
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6396
   fi
 
6397
   ;; #(
 
6398
 /*)
 
6399
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6400
   ;; #(
 
6401
 no|'')
 
6402
   ;; #(
 
6403
 *)
 
6404
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6405
$as_echo "${with_sysroot}" >&6; }
 
6406
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6407
   ;;
 
6408
esac
 
6409
 
 
6410
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6411
$as_echo "${lt_sysroot:-no}" >&6; }
6050
6412
 
6051
6413
 
6052
6414
 
6083
6445
  ;;
6084
6446
*-*-irix6*)
6085
6447
  # Find out which ABI we are using.
6086
 
  echo '#line 6086 "configure"' > conftest.$ac_ext
 
6448
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6087
6449
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6088
6450
  (eval $ac_compile) 2>&5
6089
6451
  ac_status=$?
6177
6539
  CFLAGS="$CFLAGS -belf"
6178
6540
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6179
6541
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6180
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6542
if ${lt_cv_cc_needs_belf+:} false; then :
6181
6543
  $as_echo_n "(cached) " >&6
6182
6544
else
6183
6545
  ac_ext=c
6245
6607
 
6246
6608
need_locks="$enable_libtool_lock"
6247
6609
 
 
6610
if test -n "$ac_tool_prefix"; then
 
6611
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6612
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6614
$as_echo_n "checking for $ac_word... " >&6; }
 
6615
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6616
  $as_echo_n "(cached) " >&6
 
6617
else
 
6618
  if test -n "$MANIFEST_TOOL"; then
 
6619
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6620
else
 
6621
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6622
for as_dir in $PATH
 
6623
do
 
6624
  IFS=$as_save_IFS
 
6625
  test -z "$as_dir" && as_dir=.
 
6626
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6627
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6628
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6629
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6630
    break 2
 
6631
  fi
 
6632
done
 
6633
  done
 
6634
IFS=$as_save_IFS
 
6635
 
 
6636
fi
 
6637
fi
 
6638
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6639
if test -n "$MANIFEST_TOOL"; then
 
6640
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6641
$as_echo "$MANIFEST_TOOL" >&6; }
 
6642
else
 
6643
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6644
$as_echo "no" >&6; }
 
6645
fi
 
6646
 
 
6647
 
 
6648
fi
 
6649
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6650
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6651
  # Extract the first word of "mt", so it can be a program name with args.
 
6652
set dummy mt; ac_word=$2
 
6653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6654
$as_echo_n "checking for $ac_word... " >&6; }
 
6655
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6656
  $as_echo_n "(cached) " >&6
 
6657
else
 
6658
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6659
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6660
else
 
6661
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6662
for as_dir in $PATH
 
6663
do
 
6664
  IFS=$as_save_IFS
 
6665
  test -z "$as_dir" && as_dir=.
 
6666
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6667
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6668
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6669
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6670
    break 2
 
6671
  fi
 
6672
done
 
6673
  done
 
6674
IFS=$as_save_IFS
 
6675
 
 
6676
fi
 
6677
fi
 
6678
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6679
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6680
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6681
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6682
else
 
6683
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6684
$as_echo "no" >&6; }
 
6685
fi
 
6686
 
 
6687
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6688
    MANIFEST_TOOL=":"
 
6689
  else
 
6690
    case $cross_compiling:$ac_tool_warned in
 
6691
yes:)
 
6692
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6693
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6694
ac_tool_warned=yes ;;
 
6695
esac
 
6696
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6697
  fi
 
6698
else
 
6699
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6700
fi
 
6701
 
 
6702
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6704
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6705
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6706
  $as_echo_n "(cached) " >&6
 
6707
else
 
6708
  lt_cv_path_mainfest_tool=no
 
6709
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6710
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6711
  cat conftest.err >&5
 
6712
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6713
    lt_cv_path_mainfest_tool=yes
 
6714
  fi
 
6715
  rm -f conftest*
 
6716
fi
 
6717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6718
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6719
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6720
  MANIFEST_TOOL=:
 
6721
fi
 
6722
 
 
6723
 
 
6724
 
 
6725
 
 
6726
 
6248
6727
 
6249
6728
  case $host_os in
6250
6729
    rhapsody* | darwin*)
6253
6732
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6254
6733
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6255
6734
$as_echo_n "checking for $ac_word... " >&6; }
6256
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6735
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6257
6736
  $as_echo_n "(cached) " >&6
6258
6737
else
6259
6738
  if test -n "$DSYMUTIL"; then
6293
6772
set dummy dsymutil; ac_word=$2
6294
6773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6295
6774
$as_echo_n "checking for $ac_word... " >&6; }
6296
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6775
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6297
6776
  $as_echo_n "(cached) " >&6
6298
6777
else
6299
6778
  if test -n "$ac_ct_DSYMUTIL"; then
6345
6824
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6346
6825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6347
6826
$as_echo_n "checking for $ac_word... " >&6; }
6348
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6827
if ${ac_cv_prog_NMEDIT+:} false; then :
6349
6828
  $as_echo_n "(cached) " >&6
6350
6829
else
6351
6830
  if test -n "$NMEDIT"; then
6385
6864
set dummy nmedit; ac_word=$2
6386
6865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6387
6866
$as_echo_n "checking for $ac_word... " >&6; }
6388
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
6867
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6389
6868
  $as_echo_n "(cached) " >&6
6390
6869
else
6391
6870
  if test -n "$ac_ct_NMEDIT"; then
6437
6916
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6438
6917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6439
6918
$as_echo_n "checking for $ac_word... " >&6; }
6440
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
6919
if ${ac_cv_prog_LIPO+:} false; then :
6441
6920
  $as_echo_n "(cached) " >&6
6442
6921
else
6443
6922
  if test -n "$LIPO"; then
6477
6956
set dummy lipo; ac_word=$2
6478
6957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6479
6958
$as_echo_n "checking for $ac_word... " >&6; }
6480
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
6959
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6481
6960
  $as_echo_n "(cached) " >&6
6482
6961
else
6483
6962
  if test -n "$ac_ct_LIPO"; then
6529
7008
set dummy ${ac_tool_prefix}otool; ac_word=$2
6530
7009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6531
7010
$as_echo_n "checking for $ac_word... " >&6; }
6532
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
7011
if ${ac_cv_prog_OTOOL+:} false; then :
6533
7012
  $as_echo_n "(cached) " >&6
6534
7013
else
6535
7014
  if test -n "$OTOOL"; then
6569
7048
set dummy otool; ac_word=$2
6570
7049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6571
7050
$as_echo_n "checking for $ac_word... " >&6; }
6572
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7051
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6573
7052
  $as_echo_n "(cached) " >&6
6574
7053
else
6575
7054
  if test -n "$ac_ct_OTOOL"; then
6621
7100
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6622
7101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6623
7102
$as_echo_n "checking for $ac_word... " >&6; }
6624
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7103
if ${ac_cv_prog_OTOOL64+:} false; then :
6625
7104
  $as_echo_n "(cached) " >&6
6626
7105
else
6627
7106
  if test -n "$OTOOL64"; then
6661
7140
set dummy otool64; ac_word=$2
6662
7141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663
7142
$as_echo_n "checking for $ac_word... " >&6; }
6664
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7143
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6665
7144
  $as_echo_n "(cached) " >&6
6666
7145
else
6667
7146
  if test -n "$ac_ct_OTOOL64"; then
6736
7215
 
6737
7216
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6738
7217
$as_echo_n "checking for -single_module linker flag... " >&6; }
6739
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7218
if ${lt_cv_apple_cc_single_mod+:} false; then :
6740
7219
  $as_echo_n "(cached) " >&6
6741
7220
else
6742
7221
  lt_cv_apple_cc_single_mod=no
6765
7244
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6766
7245
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6767
7246
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6768
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7247
if ${lt_cv_ld_exported_symbols_list+:} false; then :
6769
7248
  $as_echo_n "(cached) " >&6
6770
7249
else
6771
7250
  lt_cv_ld_exported_symbols_list=no
6795
7274
fi
6796
7275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6797
7276
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7277
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7278
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7279
if ${lt_cv_ld_force_load+:} false; then :
 
7280
  $as_echo_n "(cached) " >&6
 
7281
else
 
7282
  lt_cv_ld_force_load=no
 
7283
      cat > conftest.c << _LT_EOF
 
7284
int forced_loaded() { return 2;}
 
7285
_LT_EOF
 
7286
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7287
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7288
      echo "$AR cru libconftest.a conftest.o" >&5
 
7289
      $AR cru libconftest.a conftest.o 2>&5
 
7290
      echo "$RANLIB libconftest.a" >&5
 
7291
      $RANLIB libconftest.a 2>&5
 
7292
      cat > conftest.c << _LT_EOF
 
7293
int main() { return 0;}
 
7294
_LT_EOF
 
7295
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7296
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7297
      _lt_result=$?
 
7298
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
7299
        lt_cv_ld_force_load=yes
 
7300
      else
 
7301
        cat conftest.err >&5
 
7302
      fi
 
7303
        rm -f conftest.err libconftest.a conftest conftest.c
 
7304
        rm -rf conftest.dSYM
 
7305
 
 
7306
fi
 
7307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7308
$as_echo "$lt_cv_ld_force_load" >&6; }
6798
7309
    case $host_os in
6799
7310
    rhapsody* | darwin1.[012])
6800
7311
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6822
7333
    else
6823
7334
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6824
7335
    fi
6825
 
    if test "$DSYMUTIL" != ":"; then
 
7336
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6826
7337
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6827
7338
    else
6828
7339
      _lt_dsymutil=
6842
7353
  CPP=
6843
7354
fi
6844
7355
if test -z "$CPP"; then
6845
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
7356
  if ${ac_cv_prog_CPP+:} false; then :
6846
7357
  $as_echo_n "(cached) " >&6
6847
7358
else
6848
7359
      # Double quotes because CPP needs to be expanded
6872
7383
  # Broken: fails on valid input.
6873
7384
continue
6874
7385
fi
6875
 
rm -f conftest.err conftest.$ac_ext
 
7386
rm -f conftest.err conftest.i conftest.$ac_ext
6876
7387
 
6877
7388
  # OK, works on sane cases.  Now check whether nonexistent headers
6878
7389
  # can be detected and how.
6888
7399
ac_preproc_ok=:
6889
7400
break
6890
7401
fi
6891
 
rm -f conftest.err conftest.$ac_ext
 
7402
rm -f conftest.err conftest.i conftest.$ac_ext
6892
7403
 
6893
7404
done
6894
7405
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6895
 
rm -f conftest.err conftest.$ac_ext
 
7406
rm -f conftest.i conftest.err conftest.$ac_ext
6896
7407
if $ac_preproc_ok; then :
6897
7408
  break
6898
7409
fi
6931
7442
  # Broken: fails on valid input.
6932
7443
continue
6933
7444
fi
6934
 
rm -f conftest.err conftest.$ac_ext
 
7445
rm -f conftest.err conftest.i conftest.$ac_ext
6935
7446
 
6936
7447
  # OK, works on sane cases.  Now check whether nonexistent headers
6937
7448
  # can be detected and how.
6947
7458
ac_preproc_ok=:
6948
7459
break
6949
7460
fi
6950
 
rm -f conftest.err conftest.$ac_ext
 
7461
rm -f conftest.err conftest.i conftest.$ac_ext
6951
7462
 
6952
7463
done
6953
7464
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6954
 
rm -f conftest.err conftest.$ac_ext
 
7465
rm -f conftest.i conftest.err conftest.$ac_ext
6955
7466
if $ac_preproc_ok; then :
6956
7467
 
6957
7468
else
6958
7469
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6959
7470
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6960
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
6961
 
See \`config.log' for more details." "$LINENO" 5; }
 
7471
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7472
See \`config.log' for more details" "$LINENO" 5; }
6962
7473
fi
6963
7474
 
6964
7475
ac_ext=c
6970
7481
 
6971
7482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6972
7483
$as_echo_n "checking for ANSI C header files... " >&6; }
6973
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
7484
if ${ac_cv_header_stdc+:} false; then :
6974
7485
  $as_echo_n "(cached) " >&6
6975
7486
else
6976
7487
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7087
7598
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7088
7599
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7089
7600
"
7090
 
eval as_val=\$$as_ac_Header
7091
 
   if test "x$as_val" = x""yes; then :
 
7601
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7092
7602
  cat >>confdefs.h <<_ACEOF
7093
7603
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7094
7604
_ACEOF
7102
7612
do :
7103
7613
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7104
7614
"
7105
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7615
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7106
7616
  cat >>confdefs.h <<_ACEOF
7107
7617
#define HAVE_DLFCN_H 1
7108
7618
_ACEOF
7113
7623
 
7114
7624
 
7115
7625
 
 
7626
 
 
7627
 
7116
7628
# Set options
7117
7629
 
7118
7630
 
7265
7777
 
7266
7778
 
7267
7779
 
 
7780
 
7268
7781
test -z "$LN_S" && LN_S="ln -s"
7269
7782
 
7270
7783
 
7286
7799
 
7287
7800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7288
7801
$as_echo_n "checking for objdir... " >&6; }
7289
 
if test "${lt_cv_objdir+set}" = set; then :
 
7802
if ${lt_cv_objdir+:} false; then :
7290
7803
  $as_echo_n "(cached) " >&6
7291
7804
else
7292
7805
  rm -f .libs 2>/dev/null
7314
7827
 
7315
7828
 
7316
7829
 
7317
 
 
7318
 
 
7319
 
 
7320
 
 
7321
 
 
7322
 
 
7323
 
 
7324
 
 
7325
 
 
7326
 
 
7327
 
 
7328
 
 
7329
 
 
7330
7830
case $host_os in
7331
7831
aix3*)
7332
7832
  # AIX sometimes has problems with the GCC collect2 program.  For some
7339
7839
  ;;
7340
7840
esac
7341
7841
 
7342
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7343
 
# metacharacters that are still active within double-quoted strings.
7344
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7345
 
 
7346
 
# Same as above, but do not quote variable references.
7347
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7348
 
 
7349
 
# Sed substitution to delay expansion of an escaped shell variable in a
7350
 
# double_quote_subst'ed string.
7351
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7352
 
 
7353
 
# Sed substitution to delay expansion of an escaped single quote.
7354
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7355
 
 
7356
 
# Sed substitution to avoid accidental globbing in evaled expressions
7357
 
no_glob_subst='s/\*/\\\*/g'
7358
 
 
7359
7842
# Global variables:
7360
7843
ofile=libtool
7361
7844
can_build_shared=yes
7384
7867
    *) break;;
7385
7868
  esac
7386
7869
done
7387
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7870
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7388
7871
 
7389
7872
 
7390
7873
# Only perform the check for file, if the check method requires it
7394
7877
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7395
7878
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7396
7879
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7397
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7880
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7398
7881
  $as_echo_n "(cached) " >&6
7399
7882
else
7400
7883
  case $MAGIC_CMD in
7460
7943
  if test -n "$ac_tool_prefix"; then
7461
7944
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7462
7945
$as_echo_n "checking for file... " >&6; }
7463
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7946
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7464
7947
  $as_echo_n "(cached) " >&6
7465
7948
else
7466
7949
  case $MAGIC_CMD in
7584
8067
$RM -r conftest*
7585
8068
 
7586
8069
 
 
8070
## CAVEAT EMPTOR:
 
8071
## There is no encapsulation within the following macros, do not change
 
8072
## the running order or otherwise move them around unless you know exactly
 
8073
## what you are doing...
7587
8074
if test -n "$compiler"; then
7588
8075
 
7589
8076
lt_prog_compiler_no_builtin_flag=
7590
8077
 
7591
8078
if test "$GCC" = yes; then
7592
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8079
  case $cc_basename in
 
8080
  nvcc*)
 
8081
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8082
  *)
 
8083
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8084
  esac
7593
8085
 
7594
8086
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7595
8087
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7596
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8088
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7597
8089
  $as_echo_n "(cached) " >&6
7598
8090
else
7599
8091
  lt_cv_prog_compiler_rtti_exceptions=no
7609
8101
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7610
8102
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7611
8103
   -e 's:$: $lt_compiler_flag:'`
7612
 
   (eval echo "\"\$as_me:7612: $lt_compile\"" >&5)
 
8104
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7613
8105
   (eval "$lt_compile" 2>conftest.err)
7614
8106
   ac_status=$?
7615
8107
   cat conftest.err >&5
7616
 
   echo "$as_me:7616: \$? = $ac_status" >&5
 
8108
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617
8109
   if (exit $ac_status) && test -s "$ac_outfile"; then
7618
8110
     # The compiler can only warn and ignore the option if not recognized
7619
8111
     # So say no if there are warnings other than the usual output.
7620
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8112
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7621
8113
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7622
8114
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7623
8115
       lt_cv_prog_compiler_rtti_exceptions=yes
7646
8138
lt_prog_compiler_pic=
7647
8139
lt_prog_compiler_static=
7648
8140
 
7649
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7650
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7651
8141
 
7652
8142
  if test "$GCC" = yes; then
7653
8143
    lt_prog_compiler_wl='-Wl,'
7695
8185
      lt_prog_compiler_pic='-fno-common'
7696
8186
      ;;
7697
8187
 
 
8188
    haiku*)
 
8189
      # PIC is the default for Haiku.
 
8190
      # The "-static" flag exists, but is broken.
 
8191
      lt_prog_compiler_static=
 
8192
      ;;
 
8193
 
7698
8194
    hpux*)
7699
8195
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7700
8196
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7737
8233
      lt_prog_compiler_pic='-fPIC'
7738
8234
      ;;
7739
8235
    esac
 
8236
 
 
8237
    case $cc_basename in
 
8238
    nvcc*) # Cuda Compiler Driver 2.2
 
8239
      lt_prog_compiler_wl='-Xlinker '
 
8240
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
8241
      ;;
 
8242
    esac
7740
8243
  else
7741
8244
    # PORTME Check for flag to pass linker flags through the system compiler.
7742
8245
    case $host_os in
7778
8281
      lt_prog_compiler_static='-non_shared'
7779
8282
      ;;
7780
8283
 
7781
 
    linux* | k*bsd*-gnu)
 
8284
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7782
8285
      case $cc_basename in
7783
8286
      # old Intel for x86_64 which still supported -KPIC.
7784
8287
      ecc*)
7799
8302
        lt_prog_compiler_pic='--shared'
7800
8303
        lt_prog_compiler_static='--static'
7801
8304
        ;;
7802
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8305
      nagfor*)
 
8306
        # NAG Fortran compiler
 
8307
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8308
        lt_prog_compiler_pic='-PIC'
 
8309
        lt_prog_compiler_static='-Bstatic'
 
8310
        ;;
 
8311
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7803
8312
        # Portland Group compilers (*not* the Pentium gcc compiler,
7804
8313
        # which looks to be a dead project)
7805
8314
        lt_prog_compiler_wl='-Wl,'
7811
8320
        # All Alpha code is PIC.
7812
8321
        lt_prog_compiler_static='-non_shared'
7813
8322
        ;;
7814
 
      xl*)
7815
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8323
      xl* | bgxl* | bgf* | mpixl*)
 
8324
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7816
8325
        lt_prog_compiler_wl='-Wl,'
7817
8326
        lt_prog_compiler_pic='-qpic'
7818
8327
        lt_prog_compiler_static='-qstaticlink'
7819
8328
        ;;
7820
8329
      *)
7821
8330
        case `$CC -V 2>&1 | sed 5q` in
 
8331
        *Sun\ F* | *Sun*Fortran*)
 
8332
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8333
          lt_prog_compiler_pic='-KPIC'
 
8334
          lt_prog_compiler_static='-Bstatic'
 
8335
          lt_prog_compiler_wl=''
 
8336
          ;;
7822
8337
        *Sun\ C*)
7823
8338
          # Sun C 5.9
7824
8339
          lt_prog_compiler_pic='-KPIC'
7825
8340
          lt_prog_compiler_static='-Bstatic'
7826
8341
          lt_prog_compiler_wl='-Wl,'
7827
8342
          ;;
7828
 
        *Sun\ F*)
7829
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7830
 
          lt_prog_compiler_pic='-KPIC'
7831
 
          lt_prog_compiler_static='-Bstatic'
7832
 
          lt_prog_compiler_wl=''
7833
 
          ;;
7834
8343
        esac
7835
8344
        ;;
7836
8345
      esac
7861
8370
      lt_prog_compiler_pic='-KPIC'
7862
8371
      lt_prog_compiler_static='-Bstatic'
7863
8372
      case $cc_basename in
7864
 
      f77* | f90* | f95*)
 
8373
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7865
8374
        lt_prog_compiler_wl='-Qoption ld ';;
7866
8375
      *)
7867
8376
        lt_prog_compiler_wl='-Wl,';;
7918
8427
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7919
8428
    ;;
7920
8429
esac
7921
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7922
 
$as_echo "$lt_prog_compiler_pic" >&6; }
7923
 
 
7924
 
 
7925
 
 
7926
 
 
7927
 
 
 
8430
 
 
8431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8432
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8433
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8434
  $as_echo_n "(cached) " >&6
 
8435
else
 
8436
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8437
fi
 
8438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8439
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8440
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
7928
8441
 
7929
8442
#
7930
8443
# Check to make sure the PIC flag actually works.
7932
8445
if test -n "$lt_prog_compiler_pic"; then
7933
8446
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7934
8447
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7935
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8448
if ${lt_cv_prog_compiler_pic_works+:} false; then :
7936
8449
  $as_echo_n "(cached) " >&6
7937
8450
else
7938
8451
  lt_cv_prog_compiler_pic_works=no
7948
8461
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7949
8462
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7950
8463
   -e 's:$: $lt_compiler_flag:'`
7951
 
   (eval echo "\"\$as_me:7951: $lt_compile\"" >&5)
 
8464
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7952
8465
   (eval "$lt_compile" 2>conftest.err)
7953
8466
   ac_status=$?
7954
8467
   cat conftest.err >&5
7955
 
   echo "$as_me:7955: \$? = $ac_status" >&5
 
8468
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956
8469
   if (exit $ac_status) && test -s "$ac_outfile"; then
7957
8470
     # The compiler can only warn and ignore the option if not recognized
7958
8471
     # So say no if there are warnings other than the usual output.
7959
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8472
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7960
8473
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7961
8474
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7962
8475
       lt_cv_prog_compiler_pic_works=yes
7985
8498
 
7986
8499
 
7987
8500
 
 
8501
 
 
8502
 
 
8503
 
 
8504
 
 
8505
 
7988
8506
#
7989
8507
# Check to make sure the static flag actually works.
7990
8508
#
7991
8509
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7992
8510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7993
8511
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7994
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8512
if ${lt_cv_prog_compiler_static_works+:} false; then :
7995
8513
  $as_echo_n "(cached) " >&6
7996
8514
else
7997
8515
  lt_cv_prog_compiler_static_works=no
8004
8522
     if test -s conftest.err; then
8005
8523
       # Append any errors to the config.log.
8006
8524
       cat conftest.err 1>&5
8007
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8525
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8008
8526
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8009
8527
       if diff conftest.exp conftest.er2 >/dev/null; then
8010
8528
         lt_cv_prog_compiler_static_works=yes
8034
8552
 
8035
8553
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8036
8554
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8037
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8555
if ${lt_cv_prog_compiler_c_o+:} false; then :
8038
8556
  $as_echo_n "(cached) " >&6
8039
8557
else
8040
8558
  lt_cv_prog_compiler_c_o=no
8053
8571
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8054
8572
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8055
8573
   -e 's:$: $lt_compiler_flag:'`
8056
 
   (eval echo "\"\$as_me:8056: $lt_compile\"" >&5)
 
8574
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8057
8575
   (eval "$lt_compile" 2>out/conftest.err)
8058
8576
   ac_status=$?
8059
8577
   cat out/conftest.err >&5
8060
 
   echo "$as_me:8060: \$? = $ac_status" >&5
 
8578
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061
8579
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8062
8580
   then
8063
8581
     # The compiler can only warn and ignore the option if not recognized
8064
8582
     # So say no if there are warnings
8065
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8583
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8066
8584
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8067
8585
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8068
8586
       lt_cv_prog_compiler_c_o=yes
8089
8607
 
8090
8608
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8091
8609
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8092
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8610
if ${lt_cv_prog_compiler_c_o+:} false; then :
8093
8611
  $as_echo_n "(cached) " >&6
8094
8612
else
8095
8613
  lt_cv_prog_compiler_c_o=no
8108
8626
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8109
8627
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8110
8628
   -e 's:$: $lt_compiler_flag:'`
8111
 
   (eval echo "\"\$as_me:8111: $lt_compile\"" >&5)
 
8629
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8112
8630
   (eval "$lt_compile" 2>out/conftest.err)
8113
8631
   ac_status=$?
8114
8632
   cat out/conftest.err >&5
8115
 
   echo "$as_me:8115: \$? = $ac_status" >&5
 
8633
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8116
8634
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8117
8635
   then
8118
8636
     # The compiler can only warn and ignore the option if not recognized
8119
8637
     # So say no if there are warnings
8120
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8638
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8121
8639
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8122
8640
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8123
8641
       lt_cv_prog_compiler_c_o=yes
8230
8748
  esac
8231
8749
 
8232
8750
  ld_shlibs=yes
 
8751
 
 
8752
  # On some targets, GNU ld is compatible enough with the native linker
 
8753
  # that we're better off using the native interface for both.
 
8754
  lt_use_gnu_ld_interface=no
8233
8755
  if test "$with_gnu_ld" = yes; then
 
8756
    case $host_os in
 
8757
      aix*)
 
8758
        # The AIX port of GNU ld has always aspired to compatibility
 
8759
        # with the native linker.  However, as the warning in the GNU ld
 
8760
        # block says, versions before 2.19.5* couldn't really create working
 
8761
        # shared libraries, regardless of the interface used.
 
8762
        case `$LD -v 2>&1` in
 
8763
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8764
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8765
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8766
          *)
 
8767
            lt_use_gnu_ld_interface=yes
 
8768
            ;;
 
8769
        esac
 
8770
        ;;
 
8771
      *)
 
8772
        lt_use_gnu_ld_interface=yes
 
8773
        ;;
 
8774
    esac
 
8775
  fi
 
8776
 
 
8777
  if test "$lt_use_gnu_ld_interface" = yes; then
8234
8778
    # If archive_cmds runs LD, not CC, wlarc should be empty
8235
8779
    wlarc='${wl}'
8236
8780
 
8248
8792
    fi
8249
8793
    supports_anon_versioning=no
8250
8794
    case `$LD -v 2>&1` in
 
8795
      *GNU\ gold*) supports_anon_versioning=yes ;;
8251
8796
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8252
8797
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8253
8798
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8263
8808
        ld_shlibs=no
8264
8809
        cat <<_LT_EOF 1>&2
8265
8810
 
8266
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8811
*** Warning: the GNU linker, at least up to release 2.19, is reported
8267
8812
*** to be unable to reliably create shared libraries on AIX.
8268
8813
*** Therefore, libtool is disabling shared libraries support.  If you
8269
 
*** really care for shared libraries, you may want to modify your PATH
8270
 
*** so that a non-GNU linker is found, and then restart.
 
8814
*** really care for shared libraries, you may want to install binutils
 
8815
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8816
*** You will then need to restart the configuration process.
8271
8817
 
8272
8818
_LT_EOF
8273
8819
      fi
8303
8849
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8304
8850
      # as there is no search path for DLLs.
8305
8851
      hardcode_libdir_flag_spec='-L$libdir'
 
8852
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8306
8853
      allow_undefined_flag=unsupported
8307
8854
      always_export_symbols=no
8308
8855
      enable_shared_with_static_runtimes=yes
8309
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8856
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
8857
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8310
8858
 
8311
8859
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8312
8860
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8324
8872
      fi
8325
8873
      ;;
8326
8874
 
 
8875
    haiku*)
 
8876
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8877
      link_all_deplibs=yes
 
8878
      ;;
 
8879
 
8327
8880
    interix[3-9]*)
8328
8881
      hardcode_direct=no
8329
8882
      hardcode_shlibpath_var=no
8339
8892
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8340
8893
      ;;
8341
8894
 
8342
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8895
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8343
8896
      tmp_diet=no
8344
8897
      if test "$host_os" = linux-dietlibc; then
8345
8898
        case $cc_basename in
8349
8902
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8350
8903
         && test "$tmp_diet" = no
8351
8904
      then
8352
 
        tmp_addflag=
 
8905
        tmp_addflag=' $pic_flag'
8353
8906
        tmp_sharedflag='-shared'
8354
8907
        case $cc_basename,$host_cpu in
8355
8908
        pgcc*)                          # Portland Group C compiler
8356
 
          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'
 
8909
          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'
8357
8910
          tmp_addflag=' $pic_flag'
8358
8911
          ;;
8359
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8360
 
          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'
 
8912
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8913
                                        # Portland Group f77 and f90 compilers
 
8914
          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'
8361
8915
          tmp_addflag=' $pic_flag -Mnomain' ;;
8362
8916
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8363
8917
          tmp_addflag=' -i_dynamic' ;;
8368
8922
        lf95*)                          # Lahey Fortran 8.1
8369
8923
          whole_archive_flag_spec=
8370
8924
          tmp_sharedflag='--shared' ;;
8371
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8925
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8372
8926
          tmp_sharedflag='-qmkshrobj'
8373
8927
          tmp_addflag= ;;
 
8928
        nvcc*)  # Cuda Compiler Driver 2.2
 
8929
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
8930
          compiler_needs_object=yes
 
8931
          ;;
8374
8932
        esac
8375
8933
        case `$CC -V 2>&1 | sed 5q` in
8376
8934
        *Sun\ C*)                       # Sun C 5.9
8377
 
          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'
 
8935
          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'
8378
8936
          compiler_needs_object=yes
8379
8937
          tmp_sharedflag='-G' ;;
8380
8938
        *Sun\ F*)                       # Sun Fortran 8.3
8390
8948
        fi
8391
8949
 
8392
8950
        case $cc_basename in
8393
 
        xlf*)
 
8951
        xlf* | bgf* | bgxlf* | mpixlf*)
8394
8952
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8395
8953
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8396
8954
          hardcode_libdir_flag_spec=
8397
8955
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8398
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8956
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8399
8957
          if test "x$supports_anon_versioning" = xyes; then
8400
8958
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8401
8959
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8402
8960
              echo "local: *; };" >> $output_objdir/$libname.ver~
8403
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8961
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8404
8962
          fi
8405
8963
          ;;
8406
8964
        esac
8414
8972
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8415
8973
        wlarc=
8416
8974
      else
8417
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8418
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8975
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8976
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8419
8977
      fi
8420
8978
      ;;
8421
8979
 
8433
8991
 
8434
8992
_LT_EOF
8435
8993
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8436
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8437
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8994
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8995
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8438
8996
      else
8439
8997
        ld_shlibs=no
8440
8998
      fi
8480
9038
 
8481
9039
    *)
8482
9040
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8483
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8484
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9041
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9042
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8485
9043
      else
8486
9044
        ld_shlibs=no
8487
9045
      fi
8521
9079
      else
8522
9080
        # If we're using GNU nm, then we don't want the "-C" option.
8523
9081
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9082
        # Also, AIX nm treats weak defined symbols like other global
 
9083
        # defined symbols, whereas GNU nm marks them as "W".
8524
9084
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8525
 
          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'
 
9085
          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'
8526
9086
        else
8527
9087
          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'
8528
9088
        fi
8609
9169
        allow_undefined_flag='-berok'
8610
9170
        # Determine the default libpath from the value encoded in an
8611
9171
        # empty executable.
8612
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9172
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9173
  aix_libpath=$lt_cv_aix_libpath
 
9174
else
 
9175
  if ${lt_cv_aix_libpath_+:} false; then :
 
9176
  $as_echo_n "(cached) " >&6
 
9177
else
 
9178
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8613
9179
/* end confdefs.h.  */
8614
9180
 
8615
9181
int
8622
9188
_ACEOF
8623
9189
if ac_fn_c_try_link "$LINENO"; then :
8624
9190
 
8625
 
lt_aix_libpath_sed='
8626
 
    /Import File Strings/,/^$/ {
8627
 
        /^0/ {
8628
 
            s/^0  *\(.*\)$/\1/
8629
 
            p
8630
 
        }
8631
 
    }'
8632
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8633
 
# Check for a 64-bit object if we didn't find anything.
8634
 
if test -z "$aix_libpath"; then
8635
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8636
 
fi
 
9191
  lt_aix_libpath_sed='
 
9192
      /Import File Strings/,/^$/ {
 
9193
          /^0/ {
 
9194
              s/^0  *\([^ ]*\) *$/\1/
 
9195
              p
 
9196
          }
 
9197
      }'
 
9198
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9199
  # Check for a 64-bit object if we didn't find anything.
 
9200
  if test -z "$lt_cv_aix_libpath_"; then
 
9201
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9202
  fi
8637
9203
fi
8638
9204
rm -f core conftest.err conftest.$ac_objext \
8639
9205
    conftest$ac_exeext conftest.$ac_ext
8640
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9206
  if test -z "$lt_cv_aix_libpath_"; then
 
9207
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9208
  fi
 
9209
 
 
9210
fi
 
9211
 
 
9212
  aix_libpath=$lt_cv_aix_libpath_
 
9213
fi
8641
9214
 
8642
9215
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8643
 
        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"
 
9216
        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"
8644
9217
      else
8645
9218
        if test "$host_cpu" = ia64; then
8646
9219
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8649
9222
        else
8650
9223
         # Determine the default libpath from the value encoded in an
8651
9224
         # empty executable.
8652
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9225
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9226
  aix_libpath=$lt_cv_aix_libpath
 
9227
else
 
9228
  if ${lt_cv_aix_libpath_+:} false; then :
 
9229
  $as_echo_n "(cached) " >&6
 
9230
else
 
9231
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8653
9232
/* end confdefs.h.  */
8654
9233
 
8655
9234
int
8662
9241
_ACEOF
8663
9242
if ac_fn_c_try_link "$LINENO"; then :
8664
9243
 
8665
 
lt_aix_libpath_sed='
8666
 
    /Import File Strings/,/^$/ {
8667
 
        /^0/ {
8668
 
            s/^0  *\(.*\)$/\1/
8669
 
            p
8670
 
        }
8671
 
    }'
8672
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8673
 
# Check for a 64-bit object if we didn't find anything.
8674
 
if test -z "$aix_libpath"; then
8675
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8676
 
fi
 
9244
  lt_aix_libpath_sed='
 
9245
      /Import File Strings/,/^$/ {
 
9246
          /^0/ {
 
9247
              s/^0  *\([^ ]*\) *$/\1/
 
9248
              p
 
9249
          }
 
9250
      }'
 
9251
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9252
  # Check for a 64-bit object if we didn't find anything.
 
9253
  if test -z "$lt_cv_aix_libpath_"; then
 
9254
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9255
  fi
8677
9256
fi
8678
9257
rm -f core conftest.err conftest.$ac_objext \
8679
9258
    conftest$ac_exeext conftest.$ac_ext
8680
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9259
  if test -z "$lt_cv_aix_libpath_"; then
 
9260
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9261
  fi
 
9262
 
 
9263
fi
 
9264
 
 
9265
  aix_libpath=$lt_cv_aix_libpath_
 
9266
fi
8681
9267
 
8682
9268
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8683
9269
          # Warning - without using the other run time loading flags,
8684
9270
          # -berok will link without error, but may produce a broken library.
8685
9271
          no_undefined_flag=' ${wl}-bernotok'
8686
9272
          allow_undefined_flag=' ${wl}-berok'
8687
 
          # Exported symbols can be pulled into shared objects from archives
8688
 
          whole_archive_flag_spec='$convenience'
 
9273
          if test "$with_gnu_ld" = yes; then
 
9274
            # We only use this code for GNU lds that support --whole-archive.
 
9275
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9276
          else
 
9277
            # Exported symbols can be pulled into shared objects from archives
 
9278
            whole_archive_flag_spec='$convenience'
 
9279
          fi
8689
9280
          archive_cmds_need_lc=yes
8690
9281
          # This is similar to how AIX traditionally builds its shared libraries.
8691
9282
          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'
8717
9308
      # Microsoft Visual C++.
8718
9309
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8719
9310
      # no search path for DLLs.
8720
 
      hardcode_libdir_flag_spec=' '
8721
 
      allow_undefined_flag=unsupported
8722
 
      # Tell ltmain to make .lib files, not .a files.
8723
 
      libext=lib
8724
 
      # Tell ltmain to make .dll files, not .so files.
8725
 
      shrext_cmds=".dll"
8726
 
      # FIXME: Setting linknames here is a bad hack.
8727
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8728
 
      # The linker will automatically build a .lib file if we build a DLL.
8729
 
      old_archive_from_new_cmds='true'
8730
 
      # FIXME: Should let the user specify the lib program.
8731
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8732
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8733
 
      enable_shared_with_static_runtimes=yes
 
9311
      case $cc_basename in
 
9312
      cl*)
 
9313
        # Native MSVC
 
9314
        hardcode_libdir_flag_spec=' '
 
9315
        allow_undefined_flag=unsupported
 
9316
        always_export_symbols=yes
 
9317
        file_list_spec='@'
 
9318
        # Tell ltmain to make .lib files, not .a files.
 
9319
        libext=lib
 
9320
        # Tell ltmain to make .dll files, not .so files.
 
9321
        shrext_cmds=".dll"
 
9322
        # FIXME: Setting linknames here is a bad hack.
 
9323
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9324
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9325
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9326
          else
 
9327
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9328
          fi~
 
9329
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9330
          linknames='
 
9331
        # The linker will not automatically build a static lib if we build a DLL.
 
9332
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9333
        enable_shared_with_static_runtimes=yes
 
9334
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9335
        # Don't use ranlib
 
9336
        old_postinstall_cmds='chmod 644 $oldlib'
 
9337
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9338
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9339
          case $lt_outputfile in
 
9340
            *.exe|*.EXE) ;;
 
9341
            *)
 
9342
              lt_outputfile="$lt_outputfile.exe"
 
9343
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9344
              ;;
 
9345
          esac~
 
9346
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9347
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9348
            $RM "$lt_outputfile.manifest";
 
9349
          fi'
 
9350
        ;;
 
9351
      *)
 
9352
        # Assume MSVC wrapper
 
9353
        hardcode_libdir_flag_spec=' '
 
9354
        allow_undefined_flag=unsupported
 
9355
        # Tell ltmain to make .lib files, not .a files.
 
9356
        libext=lib
 
9357
        # Tell ltmain to make .dll files, not .so files.
 
9358
        shrext_cmds=".dll"
 
9359
        # FIXME: Setting linknames here is a bad hack.
 
9360
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9361
        # The linker will automatically build a .lib file if we build a DLL.
 
9362
        old_archive_from_new_cmds='true'
 
9363
        # FIXME: Should let the user specify the lib program.
 
9364
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9365
        enable_shared_with_static_runtimes=yes
 
9366
        ;;
 
9367
      esac
8734
9368
      ;;
8735
9369
 
8736
9370
    darwin* | rhapsody*)
8740
9374
  hardcode_direct=no
8741
9375
  hardcode_automatic=yes
8742
9376
  hardcode_shlibpath_var=unsupported
8743
 
  whole_archive_flag_spec=''
 
9377
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9378
    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\"`'
 
9379
  else
 
9380
    whole_archive_flag_spec=''
 
9381
  fi
8744
9382
  link_all_deplibs=yes
8745
9383
  allow_undefined_flag="$_lt_dar_allow_undefined"
8746
9384
  case $cc_basename in
8748
9386
     *) _lt_dar_can_shared=$GCC ;;
8749
9387
  esac
8750
9388
  if test "$_lt_dar_can_shared" = "yes"; then
8751
 
    output_verbose_link_cmd=echo
 
9389
    output_verbose_link_cmd=func_echo_all
8752
9390
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8753
9391
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8754
9392
    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}"
8791
9429
 
8792
9430
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8793
9431
    freebsd* | dragonfly*)
8794
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9432
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8795
9433
      hardcode_libdir_flag_spec='-R$libdir'
8796
9434
      hardcode_direct=yes
8797
9435
      hardcode_shlibpath_var=no
8799
9437
 
8800
9438
    hpux9*)
8801
9439
      if test "$GCC" = yes; then
8802
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
9440
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8803
9441
      else
8804
9442
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8805
9443
      fi
8814
9452
      ;;
8815
9453
 
8816
9454
    hpux10*)
8817
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8818
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9455
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9456
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8819
9457
      else
8820
9458
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8821
9459
      fi
8833
9471
      ;;
8834
9472
 
8835
9473
    hpux11*)
8836
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9474
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8837
9475
        case $host_cpu in
8838
9476
        hppa*64*)
8839
9477
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8840
9478
          ;;
8841
9479
        ia64*)
8842
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9480
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8843
9481
          ;;
8844
9482
        *)
8845
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9483
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8846
9484
          ;;
8847
9485
        esac
8848
9486
      else
8854
9492
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8855
9493
          ;;
8856
9494
        *)
8857
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9495
 
 
9496
          # Older versions of the 11.00 compiler do not understand -b yet
 
9497
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9498
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9499
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9500
if ${lt_cv_prog_compiler__b+:} false; then :
 
9501
  $as_echo_n "(cached) " >&6
 
9502
else
 
9503
  lt_cv_prog_compiler__b=no
 
9504
   save_LDFLAGS="$LDFLAGS"
 
9505
   LDFLAGS="$LDFLAGS -b"
 
9506
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9507
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9508
     # The linker can only warn and ignore the option if not recognized
 
9509
     # So say no if there are warnings
 
9510
     if test -s conftest.err; then
 
9511
       # Append any errors to the config.log.
 
9512
       cat conftest.err 1>&5
 
9513
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9514
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9515
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9516
         lt_cv_prog_compiler__b=yes
 
9517
       fi
 
9518
     else
 
9519
       lt_cv_prog_compiler__b=yes
 
9520
     fi
 
9521
   fi
 
9522
   $RM -r conftest*
 
9523
   LDFLAGS="$save_LDFLAGS"
 
9524
 
 
9525
fi
 
9526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9527
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9528
 
 
9529
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9530
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9531
else
 
9532
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9533
fi
 
9534
 
8858
9535
          ;;
8859
9536
        esac
8860
9537
      fi
8882
9559
 
8883
9560
    irix5* | irix6* | nonstopux*)
8884
9561
      if test "$GCC" = yes; then
8885
 
        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'
 
9562
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8886
9563
        # Try to use the -exported_symbol ld option, if it does not
8887
9564
        # work, assume that -exports_file does not work either and
8888
9565
        # implicitly export all symbols.
8889
 
        save_LDFLAGS="$LDFLAGS"
8890
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8891
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9566
        # This should be the same for all languages, so no per-tag cache variable.
 
9567
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9568
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9569
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9570
  $as_echo_n "(cached) " >&6
 
9571
else
 
9572
  save_LDFLAGS="$LDFLAGS"
 
9573
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9574
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8892
9575
/* end confdefs.h.  */
8893
 
int foo(void) {}
 
9576
int foo (void) { return 0; }
8894
9577
_ACEOF
8895
9578
if ac_fn_c_try_link "$LINENO"; then :
8896
 
  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'
8897
 
 
 
9579
  lt_cv_irix_exported_symbol=yes
 
9580
else
 
9581
  lt_cv_irix_exported_symbol=no
8898
9582
fi
8899
9583
rm -f core conftest.err conftest.$ac_objext \
8900
9584
    conftest$ac_exeext conftest.$ac_ext
8901
 
        LDFLAGS="$save_LDFLAGS"
 
9585
           LDFLAGS="$save_LDFLAGS"
 
9586
fi
 
9587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9588
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9589
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9590
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
9591
        fi
8902
9592
      else
8903
 
        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'
8904
 
        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'
 
9593
        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'
 
9594
        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'
8905
9595
      fi
8906
9596
      archive_cmds_need_lc='no'
8907
9597
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8963
9653
      hardcode_libdir_flag_spec='-L$libdir'
8964
9654
      hardcode_minus_L=yes
8965
9655
      allow_undefined_flag=unsupported
8966
 
      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'
 
9656
      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'
8967
9657
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8968
9658
      ;;
8969
9659
 
8970
9660
    osf3*)
8971
9661
      if test "$GCC" = yes; then
8972
9662
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8973
 
        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'
 
9663
        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'
8974
9664
      else
8975
9665
        allow_undefined_flag=' -expect_unresolved \*'
8976
 
        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'
 
9666
        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'
8977
9667
      fi
8978
9668
      archive_cmds_need_lc='no'
8979
9669
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8983
9673
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8984
9674
      if test "$GCC" = yes; then
8985
9675
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8986
 
        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'
 
9676
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8987
9677
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8988
9678
      else
8989
9679
        allow_undefined_flag=' -expect_unresolved \*'
8990
 
        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'
 
9680
        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'
8991
9681
        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~
8992
 
        $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'
 
9682
        $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'
8993
9683
 
8994
9684
        # Both c and cxx compiler support -rpath directly
8995
9685
        hardcode_libdir_flag_spec='-rpath $libdir'
9002
9692
      no_undefined_flag=' -z defs'
9003
9693
      if test "$GCC" = yes; then
9004
9694
        wlarc='${wl}'
9005
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9695
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9006
9696
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9007
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9697
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9008
9698
      else
9009
9699
        case `$CC -V 2>&1` in
9010
9700
        *"Compilers 5.0"*)
9192
9882
      # to ld, don't add -lc before -lgcc.
9193
9883
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9194
9884
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9195
 
      $RM conftest*
9196
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9885
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
9886
  $as_echo_n "(cached) " >&6
 
9887
else
 
9888
  $RM conftest*
 
9889
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9197
9890
 
9198
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9891
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9199
9892
  (eval $ac_compile) 2>&5
9200
9893
  ac_status=$?
9201
9894
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9202
9895
  test $ac_status = 0; } 2>conftest.err; then
9203
 
        soname=conftest
9204
 
        lib=conftest
9205
 
        libobjs=conftest.$ac_objext
9206
 
        deplibs=
9207
 
        wl=$lt_prog_compiler_wl
9208
 
        pic_flag=$lt_prog_compiler_pic
9209
 
        compiler_flags=-v
9210
 
        linker_flags=-v
9211
 
        verstring=
9212
 
        output_objdir=.
9213
 
        libname=conftest
9214
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9215
 
        allow_undefined_flag=
9216
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9896
          soname=conftest
 
9897
          lib=conftest
 
9898
          libobjs=conftest.$ac_objext
 
9899
          deplibs=
 
9900
          wl=$lt_prog_compiler_wl
 
9901
          pic_flag=$lt_prog_compiler_pic
 
9902
          compiler_flags=-v
 
9903
          linker_flags=-v
 
9904
          verstring=
 
9905
          output_objdir=.
 
9906
          libname=conftest
 
9907
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9908
          allow_undefined_flag=
 
9909
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9217
9910
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9218
9911
  ac_status=$?
9219
9912
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9220
9913
  test $ac_status = 0; }
9221
 
        then
9222
 
          archive_cmds_need_lc=no
9223
 
        else
9224
 
          archive_cmds_need_lc=yes
9225
 
        fi
9226
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9227
 
      else
9228
 
        cat conftest.err 1>&5
9229
 
      fi
9230
 
      $RM conftest*
9231
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9232
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
9914
          then
 
9915
            lt_cv_archive_cmds_need_lc=no
 
9916
          else
 
9917
            lt_cv_archive_cmds_need_lc=yes
 
9918
          fi
 
9919
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9920
        else
 
9921
          cat conftest.err 1>&5
 
9922
        fi
 
9923
        $RM conftest*
 
9924
 
 
9925
fi
 
9926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9927
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9928
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9233
9929
      ;;
9234
9930
    esac
9235
9931
  fi
9400
10096
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9401
10097
    *) lt_awk_arg="/^libraries:/" ;;
9402
10098
  esac
9403
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9404
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10099
  case $host_os in
 
10100
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10101
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10102
  esac
 
10103
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10104
  case $lt_search_path_spec in
 
10105
  *\;*)
9405
10106
    # if the path contains ";" then we assume it to be the separator
9406
10107
    # otherwise default to the standard path separator (i.e. ":") - it is
9407
10108
    # assumed that no part of a normal pathname contains ";" but that should
9408
10109
    # okay in the real world where ";" in dirpaths is itself problematic.
9409
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9410
 
  else
9411
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9412
 
  fi
 
10110
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10111
    ;;
 
10112
  *)
 
10113
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10114
    ;;
 
10115
  esac
9413
10116
  # Ok, now we have the path, separated by spaces, we can step through it
9414
10117
  # and add multilib dir if necessary.
9415
10118
  lt_tmp_lt_search_path_spec=
9422
10125
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9423
10126
    fi
9424
10127
  done
9425
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10128
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9426
10129
BEGIN {RS=" "; FS="/|\n";} {
9427
10130
  lt_foo="";
9428
10131
  lt_count=0;
9442
10145
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9443
10146
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9444
10147
}'`
9445
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10148
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10149
  # for these hosts.
 
10150
  case $host_os in
 
10151
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10152
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10153
  esac
 
10154
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9446
10155
else
9447
10156
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9448
10157
fi
9530
10239
  m68k)
9531
10240
    library_names_spec='$libname.ixlibrary $libname.a'
9532
10241
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9533
 
    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'
 
10242
    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'
9534
10243
    ;;
9535
10244
  esac
9536
10245
  ;;
9561
10270
  need_version=no
9562
10271
  need_lib_prefix=no
9563
10272
 
9564
 
  case $GCC,$host_os in
9565
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10273
  case $GCC,$cc_basename in
 
10274
  yes,*)
 
10275
    # gcc
9566
10276
    library_names_spec='$libname.dll.a'
9567
10277
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9568
10278
    postinstall_cmds='base_file=`basename \${file}`~
9583
10293
    cygwin*)
9584
10294
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9585
10295
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9586
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10296
 
 
10297
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9587
10298
      ;;
9588
10299
    mingw* | cegcc*)
9589
10300
      # MinGW DLLs use traditional 'lib' prefix
9590
10301
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9591
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9592
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9593
 
        # It is most probably a Windows format PATH printed by
9594
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9595
 
        # path with ; separators, and with drive letters. We can handle the
9596
 
        # drive letters (cygwin fileutils understands them), so leave them,
9597
 
        # especially as we might pass files found there to a mingw objdump,
9598
 
        # which wouldn't understand a cygwinified path. Ahh.
9599
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9600
 
      else
9601
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9602
 
      fi
9603
10302
      ;;
9604
10303
    pw32*)
9605
10304
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9606
10305
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9607
10306
      ;;
9608
10307
    esac
 
10308
    dynamic_linker='Win32 ld.exe'
 
10309
    ;;
 
10310
 
 
10311
  *,cl*)
 
10312
    # Native MSVC
 
10313
    libname_spec='$name'
 
10314
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10315
    library_names_spec='${libname}.dll.lib'
 
10316
 
 
10317
    case $build_os in
 
10318
    mingw*)
 
10319
      sys_lib_search_path_spec=
 
10320
      lt_save_ifs=$IFS
 
10321
      IFS=';'
 
10322
      for lt_path in $LIB
 
10323
      do
 
10324
        IFS=$lt_save_ifs
 
10325
        # Let DOS variable expansion print the short 8.3 style file name.
 
10326
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10327
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10328
      done
 
10329
      IFS=$lt_save_ifs
 
10330
      # Convert to MSYS style.
 
10331
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10332
      ;;
 
10333
    cygwin*)
 
10334
      # Convert to unix form, then to dos form, then back to unix form
 
10335
      # but this time dos style (no spaces!) so that the unix form looks
 
10336
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10337
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10338
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10339
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10340
      ;;
 
10341
    *)
 
10342
      sys_lib_search_path_spec="$LIB"
 
10343
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10344
        # It is most probably a Windows format PATH.
 
10345
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10346
      else
 
10347
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10348
      fi
 
10349
      # FIXME: find the short name or the path components, as spaces are
 
10350
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10351
      ;;
 
10352
    esac
 
10353
 
 
10354
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10355
    postinstall_cmds='base_file=`basename \${file}`~
 
10356
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10357
      dldir=$destdir/`dirname \$dlpath`~
 
10358
      test -d \$dldir || mkdir -p \$dldir~
 
10359
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10360
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10361
      dlpath=$dir/\$dldll~
 
10362
       $RM \$dlpath'
 
10363
    shlibpath_overrides_runpath=yes
 
10364
    dynamic_linker='Win32 link.exe'
9609
10365
    ;;
9610
10366
 
9611
10367
  *)
 
10368
    # Assume MSVC wrapper
9612
10369
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10370
    dynamic_linker='Win32 ld.exe'
9613
10371
    ;;
9614
10372
  esac
9615
 
  dynamic_linker='Win32 ld.exe'
9616
10373
  # FIXME: first we should search . and the directory the executable is in
9617
10374
  shlibpath_var=PATH
9618
10375
  ;;
9699
10456
  hardcode_into_libs=yes
9700
10457
  ;;
9701
10458
 
 
10459
haiku*)
 
10460
  version_type=linux
 
10461
  need_lib_prefix=no
 
10462
  need_version=no
 
10463
  dynamic_linker="$host_os runtime_loader"
 
10464
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10465
  soname_spec='${libname}${release}${shared_ext}$major'
 
10466
  shlibpath_var=LIBRARY_PATH
 
10467
  shlibpath_overrides_runpath=yes
 
10468
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
10469
  hardcode_into_libs=yes
 
10470
  ;;
 
10471
 
9702
10472
hpux9* | hpux10* | hpux11*)
9703
10473
  # Give a soname corresponding to the major version so that dld.sl refuses to
9704
10474
  # link against other versions.
9741
10511
    soname_spec='${libname}${release}${shared_ext}$major'
9742
10512
    ;;
9743
10513
  esac
9744
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10514
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9745
10515
  postinstall_cmds='chmod 555 $lib'
 
10516
  # or fails outright, so override atomically:
 
10517
  install_override_mode=555
9746
10518
  ;;
9747
10519
 
9748
10520
interix[3-9]*)
9800
10572
  ;;
9801
10573
 
9802
10574
# This must be Linux ELF.
9803
 
linux* | k*bsd*-gnu)
 
10575
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9804
10576
  version_type=linux
9805
10577
  need_lib_prefix=no
9806
10578
  need_version=no
9809
10581
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9810
10582
  shlibpath_var=LD_LIBRARY_PATH
9811
10583
  shlibpath_overrides_runpath=no
 
10584
 
9812
10585
  # Some binutils ld are patched to set DT_RUNPATH
9813
 
  save_LDFLAGS=$LDFLAGS
9814
 
  save_libdir=$libdir
9815
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9816
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9817
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10586
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10587
  $as_echo_n "(cached) " >&6
 
10588
else
 
10589
  lt_cv_shlibpath_overrides_runpath=no
 
10590
    save_LDFLAGS=$LDFLAGS
 
10591
    save_libdir=$libdir
 
10592
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10593
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10594
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9818
10595
/* end confdefs.h.  */
9819
10596
 
9820
10597
int
9827
10604
_ACEOF
9828
10605
if ac_fn_c_try_link "$LINENO"; then :
9829
10606
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9830
 
  shlibpath_overrides_runpath=yes
 
10607
  lt_cv_shlibpath_overrides_runpath=yes
9831
10608
fi
9832
10609
fi
9833
10610
rm -f core conftest.err conftest.$ac_objext \
9834
10611
    conftest$ac_exeext conftest.$ac_ext
9835
 
  LDFLAGS=$save_LDFLAGS
9836
 
  libdir=$save_libdir
 
10612
    LDFLAGS=$save_LDFLAGS
 
10613
    libdir=$save_libdir
 
10614
 
 
10615
fi
 
10616
 
 
10617
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9837
10618
 
9838
10619
  # This implies no fast_install, which is unacceptable.
9839
10620
  # Some rework will be needed to allow for fast_install
9840
10621
  # before this can be enabled.
9841
10622
  hardcode_into_libs=yes
9842
10623
 
9843
 
  # Add ABI-specific directories to the system library path.
9844
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
9845
 
 
9846
10624
  # Append ld.so.conf contents to the search path
9847
10625
  if test -f /etc/ld.so.conf; then
9848
 
    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' ' '`
9849
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
10626
    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' ' '`
 
10627
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9850
10628
  fi
9851
10629
 
9852
10630
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10148
10926
 
10149
10927
 
10150
10928
 
 
10929
 
 
10930
 
 
10931
 
 
10932
 
 
10933
 
10151
10934
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10152
10935
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10153
10936
hardcode_action=
10220
11003
  # if libdl is installed we need to link against it
10221
11004
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10222
11005
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10223
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11006
if ${ac_cv_lib_dl_dlopen+:} false; then :
10224
11007
  $as_echo_n "(cached) " >&6
10225
11008
else
10226
11009
  ac_check_lib_save_LIBS=$LIBS
10254
11037
fi
10255
11038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10256
11039
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10257
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11040
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10258
11041
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10259
11042
else
10260
11043
 
10268
11051
 
10269
11052
  *)
10270
11053
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10271
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
11054
if test "x$ac_cv_func_shl_load" = xyes; then :
10272
11055
  lt_cv_dlopen="shl_load"
10273
11056
else
10274
11057
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10275
11058
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10276
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11059
if ${ac_cv_lib_dld_shl_load+:} false; then :
10277
11060
  $as_echo_n "(cached) " >&6
10278
11061
else
10279
11062
  ac_check_lib_save_LIBS=$LIBS
10307
11090
fi
10308
11091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10309
11092
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10310
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11093
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10311
11094
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10312
11095
else
10313
11096
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10314
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
11097
if test "x$ac_cv_func_dlopen" = xyes; then :
10315
11098
  lt_cv_dlopen="dlopen"
10316
11099
else
10317
11100
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10318
11101
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10319
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11102
if ${ac_cv_lib_dl_dlopen+:} false; then :
10320
11103
  $as_echo_n "(cached) " >&6
10321
11104
else
10322
11105
  ac_check_lib_save_LIBS=$LIBS
10350
11133
fi
10351
11134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10352
11135
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10353
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11136
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10354
11137
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10355
11138
else
10356
11139
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10357
11140
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10358
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11141
if ${ac_cv_lib_svld_dlopen+:} false; then :
10359
11142
  $as_echo_n "(cached) " >&6
10360
11143
else
10361
11144
  ac_check_lib_save_LIBS=$LIBS
10389
11172
fi
10390
11173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10391
11174
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10392
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
11175
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10393
11176
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10394
11177
else
10395
11178
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10396
11179
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10397
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11180
if ${ac_cv_lib_dld_dld_link+:} false; then :
10398
11181
  $as_echo_n "(cached) " >&6
10399
11182
else
10400
11183
  ac_check_lib_save_LIBS=$LIBS
10428
11211
fi
10429
11212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10430
11213
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10431
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11214
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10432
11215
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10433
11216
fi
10434
11217
 
10469
11252
 
10470
11253
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10471
11254
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10472
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11255
if ${lt_cv_dlopen_self+:} false; then :
10473
11256
  $as_echo_n "(cached) " >&6
10474
11257
else
10475
11258
          if test "$cross_compiling" = yes; then :
10478
11261
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10479
11262
  lt_status=$lt_dlunknown
10480
11263
  cat > conftest.$ac_ext <<_LT_EOF
10481
 
#line 10481 "configure"
 
11264
#line $LINENO "configure"
10482
11265
#include "confdefs.h"
10483
11266
 
10484
11267
#if HAVE_DLFCN_H
10519
11302
#  endif
10520
11303
#endif
10521
11304
 
10522
 
void fnord() { int i=42;}
 
11305
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11306
   correspondingly for the symbols needed.  */
 
11307
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11308
int fnord () __attribute__((visibility("default")));
 
11309
#endif
 
11310
 
 
11311
int fnord () { return 42; }
10523
11312
int main ()
10524
11313
{
10525
11314
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10528
11317
  if (self)
10529
11318
    {
10530
11319
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10531
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11320
      else
 
11321
        {
 
11322
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11323
          else puts (dlerror ());
 
11324
        }
10532
11325
      /* dlclose (self); */
10533
11326
    }
10534
11327
  else
10565
11358
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10566
11359
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10567
11360
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10568
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11361
if ${lt_cv_dlopen_self_static+:} false; then :
10569
11362
  $as_echo_n "(cached) " >&6
10570
11363
else
10571
11364
          if test "$cross_compiling" = yes; then :
10574
11367
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10575
11368
  lt_status=$lt_dlunknown
10576
11369
  cat > conftest.$ac_ext <<_LT_EOF
10577
 
#line 10577 "configure"
 
11370
#line $LINENO "configure"
10578
11371
#include "confdefs.h"
10579
11372
 
10580
11373
#if HAVE_DLFCN_H
10615
11408
#  endif
10616
11409
#endif
10617
11410
 
10618
 
void fnord() { int i=42;}
 
11411
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11412
   correspondingly for the symbols needed.  */
 
11413
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11414
int fnord () __attribute__((visibility("default")));
 
11415
#endif
 
11416
 
 
11417
int fnord () { return 42; }
10619
11418
int main ()
10620
11419
{
10621
11420
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10624
11423
  if (self)
10625
11424
    {
10626
11425
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10627
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11426
      else
 
11427
        {
 
11428
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11429
          else puts (dlerror ());
 
11430
        }
10628
11431
      /* dlclose (self); */
10629
11432
    }
10630
11433
  else
10808
11611
set dummy $ac_prog; ac_word=$2
10809
11612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10810
11613
$as_echo_n "checking for $ac_word... " >&6; }
10811
 
if test "${ac_cv_prog_LEX+set}" = set; then :
 
11614
if ${ac_cv_prog_LEX+:} false; then :
10812
11615
  $as_echo_n "(cached) " >&6
10813
11616
else
10814
11617
  if test -n "$LEX"; then
10878
11681
  test $ac_status = 0; }
10879
11682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
10880
11683
$as_echo_n "checking lex output file root... " >&6; }
10881
 
if test "${ac_cv_prog_lex_root+set}" = set; then :
 
11684
if ${ac_cv_prog_lex_root+:} false; then :
10882
11685
  $as_echo_n "(cached) " >&6
10883
11686
else
10884
11687
 
10887
11690
elif test -f lexyy.c; then
10888
11691
  ac_cv_prog_lex_root=lexyy
10889
11692
else
10890
 
  as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
 
11693
  as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
10891
11694
fi
10892
11695
fi
10893
11696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
10897
11700
if test -z "${LEXLIB+set}"; then
10898
11701
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
10899
11702
$as_echo_n "checking lex library... " >&6; }
10900
 
if test "${ac_cv_lib_lex+set}" = set; then :
 
11703
if ${ac_cv_lib_lex+:} false; then :
10901
11704
  $as_echo_n "(cached) " >&6
10902
11705
else
10903
11706
 
10927
11730
 
10928
11731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
10929
11732
$as_echo_n "checking whether yytext is a pointer... " >&6; }
10930
 
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
 
11733
if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
10931
11734
  $as_echo_n "(cached) " >&6
10932
11735
else
10933
11736
  # POSIX says lex can declare yytext either as a pointer or an array; the
10938
11741
LIBS="$LEXLIB $ac_save_LIBS"
10939
11742
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940
11743
/* end confdefs.h.  */
10941
 
#define YYTEXT_POINTER 1
 
11744
 
 
11745
  #define YYTEXT_POINTER 1
10942
11746
`cat $LEX_OUTPUT_ROOT.c`
10943
11747
_ACEOF
10944
11748
if ac_fn_c_try_link "$LINENO"; then :
10968
11772
set dummy $ac_prog; ac_word=$2
10969
11773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10970
11774
$as_echo_n "checking for $ac_word... " >&6; }
10971
 
if test "${ac_cv_prog_YACC+set}" = set; then :
 
11775
if ${ac_cv_prog_YACC+:} false; then :
10972
11776
  $as_echo_n "(cached) " >&6
10973
11777
else
10974
11778
  if test -n "$YACC"; then
11012
11816
CFLAGS="$CFLAGS -Wall"
11013
11817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wall option" >&5
11014
11818
$as_echo_n "checking for -Wall option... " >&6; }
11015
 
if test "${ac_cv_wall+set}" = set; then :
 
11819
if ${ac_cv_wall+:} false; then :
11016
11820
  $as_echo_n "(cached) " >&6
11017
11821
else
11018
11822
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11043
11847
CFLAGS="$CFLAGS -Wmissing-prototypes"
11044
11848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wmissing-prototypes option" >&5
11045
11849
$as_echo_n "checking for -Wmissing-prototypes option... " >&6; }
11046
 
if test "${ac_cv_wmissing_prototypes+set}" = set; then :
 
11850
if ${ac_cv_wmissing_prototypes+:} false; then :
11047
11851
  $as_echo_n "(cached) " >&6
11048
11852
else
11049
11853
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11075
11879
CFLAGS="$CFLAGS -Wmissing-declarations"
11076
11880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wmissing-declarations option" >&5
11077
11881
$as_echo_n "checking for -Wmissing-declarations option... " >&6; }
11078
 
if test "${ac_cv_wmissing_declarations+set}" = set; then :
 
11882
if ${ac_cv_wmissing_declarations+:} false; then :
11079
11883
  $as_echo_n "(cached) " >&6
11080
11884
else
11081
11885
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104
11908
 
11105
11909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
11106
11910
$as_echo_n "checking for main in -lm... " >&6; }
11107
 
if test "${ac_cv_lib_m_main+set}" = set; then :
 
11911
if ${ac_cv_lib_m_main+:} false; then :
11108
11912
  $as_echo_n "(cached) " >&6
11109
11913
else
11110
11914
  ac_check_lib_save_LIBS=$LIBS
11132
11936
fi
11133
11937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
11134
11938
$as_echo "$ac_cv_lib_m_main" >&6; }
11135
 
if test "x$ac_cv_lib_m_main" = x""yes; then :
 
11939
if test "x$ac_cv_lib_m_main" = xyes; then :
11136
11940
  cat >>confdefs.h <<_ACEOF
11137
11941
#define HAVE_LIBM 1
11138
11942
_ACEOF
11143
11947
 
11144
11948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
11145
11949
$as_echo_n "checking for main in -lnsl... " >&6; }
11146
 
if test "${ac_cv_lib_nsl_main+set}" = set; then :
 
11950
if ${ac_cv_lib_nsl_main+:} false; then :
11147
11951
  $as_echo_n "(cached) " >&6
11148
11952
else
11149
11953
  ac_check_lib_save_LIBS=$LIBS
11171
11975
fi
11172
11976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
11173
11977
$as_echo "$ac_cv_lib_nsl_main" >&6; }
11174
 
if test "x$ac_cv_lib_nsl_main" = x""yes; then :
 
11978
if test "x$ac_cv_lib_nsl_main" = xyes; then :
11175
11979
  cat >>confdefs.h <<_ACEOF
11176
11980
#define HAVE_LIBNSL 1
11177
11981
_ACEOF
11182
11986
 
11183
11987
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
11184
11988
$as_echo_n "checking for main in -lsocket... " >&6; }
11185
 
if test "${ac_cv_lib_socket_main+set}" = set; then :
 
11989
if ${ac_cv_lib_socket_main+:} false; then :
11186
11990
  $as_echo_n "(cached) " >&6
11187
11991
else
11188
11992
  ac_check_lib_save_LIBS=$LIBS
11210
12014
fi
11211
12015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
11212
12016
$as_echo "$ac_cv_lib_socket_main" >&6; }
11213
 
if test "x$ac_cv_lib_socket_main" = x""yes; then :
 
12017
if test "x$ac_cv_lib_socket_main" = xyes; then :
11214
12018
  cat >>confdefs.h <<_ACEOF
11215
12019
#define HAVE_LIBSOCKET 1
11216
12020
_ACEOF
11221
12025
 
11222
12026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lipc" >&5
11223
12027
$as_echo_n "checking for main in -lipc... " >&6; }
11224
 
if test "${ac_cv_lib_ipc_main+set}" = set; then :
 
12028
if ${ac_cv_lib_ipc_main+:} false; then :
11225
12029
  $as_echo_n "(cached) " >&6
11226
12030
else
11227
12031
  ac_check_lib_save_LIBS=$LIBS
11249
12053
fi
11250
12054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_main" >&5
11251
12055
$as_echo "$ac_cv_lib_ipc_main" >&6; }
11252
 
if test "x$ac_cv_lib_ipc_main" = x""yes; then :
 
12056
if test "x$ac_cv_lib_ipc_main" = xyes; then :
11253
12057
  cat >>confdefs.h <<_ACEOF
11254
12058
#define HAVE_LIBIPC 1
11255
12059
_ACEOF
11260
12064
 
11261
12065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lIPC" >&5
11262
12066
$as_echo_n "checking for main in -lIPC... " >&6; }
11263
 
if test "${ac_cv_lib_IPC_main+set}" = set; then :
 
12067
if ${ac_cv_lib_IPC_main+:} false; then :
11264
12068
  $as_echo_n "(cached) " >&6
11265
12069
else
11266
12070
  ac_check_lib_save_LIBS=$LIBS
11288
12092
fi
11289
12093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_IPC_main" >&5
11290
12094
$as_echo "$ac_cv_lib_IPC_main" >&6; }
11291
 
if test "x$ac_cv_lib_IPC_main" = x""yes; then :
 
12095
if test "x$ac_cv_lib_IPC_main" = xyes; then :
11292
12096
  cat >>confdefs.h <<_ACEOF
11293
12097
#define HAVE_LIBIPC 1
11294
12098
_ACEOF
11299
12103
 
11300
12104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -llc" >&5
11301
12105
$as_echo_n "checking for main in -llc... " >&6; }
11302
 
if test "${ac_cv_lib_lc_main+set}" = set; then :
 
12106
if ${ac_cv_lib_lc_main+:} false; then :
11303
12107
  $as_echo_n "(cached) " >&6
11304
12108
else
11305
12109
  ac_check_lib_save_LIBS=$LIBS
11327
12131
fi
11328
12132
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lc_main" >&5
11329
12133
$as_echo "$ac_cv_lib_lc_main" >&6; }
11330
 
if test "x$ac_cv_lib_lc_main" = x""yes; then :
 
12134
if test "x$ac_cv_lib_lc_main" = xyes; then :
11331
12135
  cat >>confdefs.h <<_ACEOF
11332
12136
#define HAVE_LIBLC 1
11333
12137
_ACEOF
11338
12142
 
11339
12143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcompat" >&5
11340
12144
$as_echo_n "checking for main in -lcompat... " >&6; }
11341
 
if test "${ac_cv_lib_compat_main+set}" = set; then :
 
12145
if ${ac_cv_lib_compat_main+:} false; then :
11342
12146
  $as_echo_n "(cached) " >&6
11343
12147
else
11344
12148
  ac_check_lib_save_LIBS=$LIBS
11366
12170
fi
11367
12171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_compat_main" >&5
11368
12172
$as_echo "$ac_cv_lib_compat_main" >&6; }
11369
 
if test "x$ac_cv_lib_compat_main" = x""yes; then :
 
12173
if test "x$ac_cv_lib_compat_main" = xyes; then :
11370
12174
  cat >>confdefs.h <<_ACEOF
11371
12175
#define HAVE_LIBCOMPAT 1
11372
12176
_ACEOF
11377
12181
 
11378
12182
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lBSD" >&5
11379
12183
$as_echo_n "checking for main in -lBSD... " >&6; }
11380
 
if test "${ac_cv_lib_BSD_main+set}" = set; then :
 
12184
if ${ac_cv_lib_BSD_main+:} false; then :
11381
12185
  $as_echo_n "(cached) " >&6
11382
12186
else
11383
12187
  ac_check_lib_save_LIBS=$LIBS
11405
12209
fi
11406
12210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_BSD_main" >&5
11407
12211
$as_echo "$ac_cv_lib_BSD_main" >&6; }
11408
 
if test "x$ac_cv_lib_BSD_main" = x""yes; then :
 
12212
if test "x$ac_cv_lib_BSD_main" = xyes; then :
11409
12213
  cat >>confdefs.h <<_ACEOF
11410
12214
#define HAVE_LIBBSD 1
11411
12215
_ACEOF
11416
12220
 
11417
12221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgen" >&5
11418
12222
$as_echo_n "checking for main in -lgen... " >&6; }
11419
 
if test "${ac_cv_lib_gen_main+set}" = set; then :
 
12223
if ${ac_cv_lib_gen_main+:} false; then :
11420
12224
  $as_echo_n "(cached) " >&6
11421
12225
else
11422
12226
  ac_check_lib_save_LIBS=$LIBS
11444
12248
fi
11445
12249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_main" >&5
11446
12250
$as_echo "$ac_cv_lib_gen_main" >&6; }
11447
 
if test "x$ac_cv_lib_gen_main" = x""yes; then :
 
12251
if test "x$ac_cv_lib_gen_main" = xyes; then :
11448
12252
  cat >>confdefs.h <<_ACEOF
11449
12253
#define HAVE_LIBGEN 1
11450
12254
_ACEOF
11455
12259
 
11456
12260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lPW" >&5
11457
12261
$as_echo_n "checking for main in -lPW... " >&6; }
11458
 
if test "${ac_cv_lib_PW_main+set}" = set; then :
 
12262
if ${ac_cv_lib_PW_main+:} false; then :
11459
12263
  $as_echo_n "(cached) " >&6
11460
12264
else
11461
12265
  ac_check_lib_save_LIBS=$LIBS
11483
12287
fi
11484
12288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_PW_main" >&5
11485
12289
$as_echo "$ac_cv_lib_PW_main" >&6; }
11486
 
if test "x$ac_cv_lib_PW_main" = x""yes; then :
 
12290
if test "x$ac_cv_lib_PW_main" = xyes; then :
11487
12291
  cat >>confdefs.h <<_ACEOF
11488
12292
#define HAVE_LIBPW 1
11489
12293
_ACEOF
11494
12298
 
11495
12299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lresolv" >&5
11496
12300
$as_echo_n "checking for main in -lresolv... " >&6; }
11497
 
if test "${ac_cv_lib_resolv_main+set}" = set; then :
 
12301
if ${ac_cv_lib_resolv_main+:} false; then :
11498
12302
  $as_echo_n "(cached) " >&6
11499
12303
else
11500
12304
  ac_check_lib_save_LIBS=$LIBS
11522
12326
fi
11523
12327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_main" >&5
11524
12328
$as_echo "$ac_cv_lib_resolv_main" >&6; }
11525
 
if test "x$ac_cv_lib_resolv_main" = x""yes; then :
 
12329
if test "x$ac_cv_lib_resolv_main" = xyes; then :
11526
12330
  cat >>confdefs.h <<_ACEOF
11527
12331
#define HAVE_LIBRESOLV 1
11528
12332
_ACEOF
11533
12337
 
11534
12338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
11535
12339
$as_echo_n "checking for main in -lcrypt... " >&6; }
11536
 
if test "${ac_cv_lib_crypt_main+set}" = set; then :
 
12340
if ${ac_cv_lib_crypt_main+:} false; then :
11537
12341
  $as_echo_n "(cached) " >&6
11538
12342
else
11539
12343
  ac_check_lib_save_LIBS=$LIBS
11561
12365
fi
11562
12366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
11563
12367
$as_echo "$ac_cv_lib_crypt_main" >&6; }
11564
 
if test "x$ac_cv_lib_crypt_main" = x""yes; then :
 
12368
if test "x$ac_cv_lib_crypt_main" = xyes; then :
11565
12369
  cat >>confdefs.h <<_ACEOF
11566
12370
#define HAVE_LIBCRYPT 1
11567
12371
_ACEOF
11573
12377
 
11574
12378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11575
12379
$as_echo_n "checking for ANSI C header files... " >&6; }
11576
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
12380
if ${ac_cv_header_stdc+:} false; then :
11577
12381
  $as_echo_n "(cached) " >&6
11578
12382
else
11579
12383
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685
12489
 
11686
12490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
11687
12491
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
11688
 
if test "${ac_cv_header_sys_wait_h+set}" = set; then :
 
12492
if ${ac_cv_header_sys_wait_h+:} false; then :
11689
12493
  $as_echo_n "(cached) " >&6
11690
12494
else
11691
12495
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728
12532
do :
11729
12533
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11730
12534
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11731
 
eval as_val=\$$as_ac_Header
11732
 
   if test "x$as_val" = x""yes; then :
 
12535
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11733
12536
  cat >>confdefs.h <<_ACEOF
11734
12537
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11735
12538
_ACEOF
11741
12544
 
11742
12545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
11743
12546
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11744
 
if test "${ac_cv_c_const+set}" = set; then :
 
12547
if ${ac_cv_c_const+:} false; then :
11745
12548
  $as_echo_n "(cached) " >&6
11746
12549
else
11747
12550
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11820
12623
fi
11821
12624
 
11822
12625
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11823
 
if test "x$ac_cv_type_pid_t" = x""yes; then :
 
12626
if test "x$ac_cv_type_pid_t" = xyes; then :
11824
12627
 
11825
12628
else
11826
12629
 
11832
12635
 
11833
12636
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
11834
12637
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11835
 
if test "${ac_cv_header_time+set}" = set; then :
 
12638
if ${ac_cv_header_time+:} false; then :
11836
12639
  $as_echo_n "(cached) " >&6
11837
12640
else
11838
12641
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12118
12921
 
12119
12922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether long int is 64 bits" >&5
12120
12923
$as_echo_n "checking whether long int is 64 bits... " >&6; }
12121
 
if test "${pgac_cv_type_long_int_64+set}" = set; then :
 
12924
if ${pgac_cv_type_long_int_64+:} false; then :
12122
12925
  $as_echo_n "(cached) " >&6
12123
12926
else
12124
12927
  if test "$cross_compiling" = yes; then :
12197
13000
if test x"$HAVE_LONG_INT_64" = x"no" ; then
12198
13001
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether long long int is 64 bits" >&5
12199
13002
$as_echo_n "checking whether long long int is 64 bits... " >&6; }
12200
 
if test "${pgac_cv_type_long_long_int_64+set}" = set; then :
 
13003
if ${pgac_cv_type_long_long_int_64+:} false; then :
12201
13004
  $as_echo_n "(cached) " >&6
12202
13005
else
12203
13006
  if test "$cross_compiling" = yes; then :
12307
13110
  if test $pgac_need_repl_snprintf = no; then
12308
13111
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking snprintf format for long long int" >&5
12309
13112
$as_echo_n "checking snprintf format for long long int... " >&6; }
12310
 
if test "${pgac_cv_snprintf_long_long_int_format+set}" = set; then :
 
13113
if ${pgac_cv_snprintf_long_long_int_format+:} false; then :
12311
13114
  $as_echo_n "(cached) " >&6
12312
13115
else
12313
13116
  for pgac_format in '%lld' '%qd' '%I64d'; do
12412
13215
# This bug is HP SR number 8606223364.
12413
13216
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
12414
13217
$as_echo_n "checking size of unsigned long... " >&6; }
12415
 
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then :
 
13218
if ${ac_cv_sizeof_unsigned_long+:} false; then :
12416
13219
  $as_echo_n "(cached) " >&6
12417
13220
else
12418
13221
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long"        "$ac_includes_default"; then :
12421
13224
  if test "$ac_cv_type_unsigned_long" = yes; then
12422
13225
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12423
13226
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12424
 
{ as_fn_set_status 77
12425
 
as_fn_error "cannot compute sizeof (unsigned long)
12426
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
13227
as_fn_error 77 "cannot compute sizeof (unsigned long)
 
13228
See \`config.log' for more details" "$LINENO" 5; }
12427
13229
   else
12428
13230
     ac_cv_sizeof_unsigned_long=0
12429
13231
   fi
12448
13250
# This bug is HP SR number 8606223364.
12449
13251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
12450
13252
$as_echo_n "checking size of void *... " >&6; }
12451
 
if test "${ac_cv_sizeof_void_p+set}" = set; then :
 
13253
if ${ac_cv_sizeof_void_p+:} false; then :
12452
13254
  $as_echo_n "(cached) " >&6
12453
13255
else
12454
13256
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
12457
13259
  if test "$ac_cv_type_void_p" = yes; then
12458
13260
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12459
13261
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12460
 
{ as_fn_set_status 77
12461
 
as_fn_error "cannot compute sizeof (void *)
12462
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
13262
as_fn_error 77 "cannot compute sizeof (void *)
 
13263
See \`config.log' for more details" "$LINENO" 5; }
12463
13264
   else
12464
13265
     ac_cv_sizeof_void_p=0
12465
13266
   fi
12482
13283
# This bug is HP SR number 8606223364.
12483
13284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
12484
13285
$as_echo_n "checking size of size_t... " >&6; }
12485
 
if test "${ac_cv_sizeof_size_t+set}" = set; then :
 
13286
if ${ac_cv_sizeof_size_t+:} false; then :
12486
13287
  $as_echo_n "(cached) " >&6
12487
13288
else
12488
13289
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
12491
13292
  if test "$ac_cv_type_size_t" = yes; then
12492
13293
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12493
13294
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12494
 
{ as_fn_set_status 77
12495
 
as_fn_error "cannot compute sizeof (size_t)
12496
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
13295
as_fn_error 77 "cannot compute sizeof (size_t)
 
13296
See \`config.log' for more details" "$LINENO" 5; }
12497
13297
   else
12498
13298
     ac_cv_sizeof_size_t=0
12499
13299
   fi
12531
13331
      float4passbyval=false
12532
13332
      ;;
12533
13333
    *)
12534
 
      as_fn_error "no argument expected for --enable-float4-byval option" "$LINENO" 5
 
13334
      as_fn_error $? "no argument expected for --enable-float4-byval option" "$LINENO" 5
12535
13335
      ;;
12536
13336
  esac
12537
13337
 
12573
13373
      :
12574
13374
      ;;
12575
13375
    *)
12576
 
      as_fn_error "no argument expected for --enable-float8-byval option" "$LINENO" 5
 
13376
      as_fn_error $? "no argument expected for --enable-float8-byval option" "$LINENO" 5
12577
13377
      ;;
12578
13378
  esac
12579
13379
 
12598
13398
      :
12599
13399
      ;;
12600
13400
    *)
12601
 
      as_fn_error "no argument expected for --enable-float8-byval option" "$LINENO" 5
 
13401
      as_fn_error $? "no argument expected for --enable-float8-byval option" "$LINENO" 5
12602
13402
      ;;
12603
13403
  esac
12604
13404
 
12609
13409
 
12610
13410
 
12611
13411
  if test "$enable_float8_byval" = yes ; then
12612
 
    as_fn_error "--enable-float8-byval is not supported on 32-bit platforms." "$LINENO" 5
 
13412
    as_fn_error $? "--enable-float8-byval is not supported on 32-bit platforms." "$LINENO" 5
12613
13413
  fi
12614
13414
fi
12615
13415
if test "$enable_float8_byval" = yes ; then
12661
13461
#endif
12662
13462
 
12663
13463
"
12664
 
if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
 
13464
if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
12665
13465
 
12666
13466
cat >>confdefs.h <<_ACEOF
12667
13467
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
12676
13476
#endif
12677
13477
 
12678
13478
"
12679
 
if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = x""yes; then :
 
13479
if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
12680
13480
 
12681
13481
cat >>confdefs.h <<_ACEOF
12682
13482
#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
12690
13490
#endif
12691
13491
 
12692
13492
"
12693
 
if test "x$ac_cv_member_struct_sockaddr_storage___ss_family" = x""yes; then :
 
13493
if test "x$ac_cv_member_struct_sockaddr_storage___ss_family" = xyes; then :
12694
13494
 
12695
13495
cat >>confdefs.h <<_ACEOF
12696
13496
#define HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY 1
12704
13504
#endif
12705
13505
 
12706
13506
"
12707
 
if test "x$ac_cv_member_struct_sockaddr_storage_ss_len" = x""yes; then :
 
13507
if test "x$ac_cv_member_struct_sockaddr_storage_ss_len" = xyes; then :
12708
13508
 
12709
13509
cat >>confdefs.h <<_ACEOF
12710
13510
#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN 1
12718
13518
#endif
12719
13519
 
12720
13520
"
12721
 
if test "x$ac_cv_member_struct_sockaddr_storage___ss_len" = x""yes; then :
 
13521
if test "x$ac_cv_member_struct_sockaddr_storage___ss_len" = xyes; then :
12722
13522
 
12723
13523
cat >>confdefs.h <<_ACEOF
12724
13524
#define HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN 1
12732
13532
#endif
12733
13533
 
12734
13534
"
12735
 
if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then :
 
13535
if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
12736
13536
 
12737
13537
cat >>confdefs.h <<_ACEOF
12738
13538
#define HAVE_STRUCT_SOCKADDR_SA_LEN 1
12746
13546
#include <sys/ipc.h>
12747
13547
#include <sys/sem.h>
12748
13548
"
12749
 
if test "x$ac_cv_type_union_semun" = x""yes; then :
 
13549
if test "x$ac_cv_type_union_semun" = xyes; then :
12750
13550
 
12751
13551
cat >>confdefs.h <<_ACEOF
12752
13552
#define HAVE_UNION_SEMUN 1
12758
13558
 
12759
13559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12760
13560
$as_echo_n "checking return type of signal handlers... " >&6; }
12761
 
if test "${ac_cv_type_signal+set}" = set; then :
 
13561
if ${ac_cv_type_signal+:} false; then :
12762
13562
  $as_echo_n "(cached) " >&6
12763
13563
else
12764
13564
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792
13592
for ac_func in vprintf
12793
13593
do :
12794
13594
  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
12795
 
if test "x$ac_cv_func_vprintf" = x""yes; then :
 
13595
if test "x$ac_cv_func_vprintf" = xyes; then :
12796
13596
  cat >>confdefs.h <<_ACEOF
12797
13597
#define HAVE_VPRINTF 1
12798
13598
_ACEOF
12799
13599
 
12800
13600
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
12801
 
if test "x$ac_cv_func__doprnt" = x""yes; then :
 
13601
if test "x$ac_cv_func__doprnt" = xyes; then :
12802
13602
 
12803
13603
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
12804
13604
 
12810
13610
 
12811
13611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait3 that fills in rusage" >&5
12812
13612
$as_echo_n "checking for wait3 that fills in rusage... " >&6; }
12813
 
if test "${ac_cv_func_wait3_rusage+set}" = set; then :
 
13613
if ${ac_cv_func_wait3_rusage+:} false; then :
12814
13614
  $as_echo_n "(cached) " >&6
12815
13615
else
12816
13616
  if test "$cross_compiling" = yes; then :
12874
13674
 
12875
13675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for accept()" >&5
12876
13676
$as_echo_n "checking types of arguments for accept()... " >&6; }
12877
 
 if test "${ac_cv_func_accept_return+set}" = set; then :
12878
 
  $as_echo_n "(cached) " >&6
12879
 
else
12880
 
   if test "${ac_cv_func_accept_arg1+set}" = set; then :
12881
 
  $as_echo_n "(cached) " >&6
12882
 
else
12883
 
    if test "${ac_cv_func_accept_arg2+set}" = set; then :
12884
 
  $as_echo_n "(cached) " >&6
12885
 
else
12886
 
     if test "${ac_cv_func_accept_arg3+set}" = set; then :
 
13677
 if ${ac_cv_func_accept_return+:} false; then :
 
13678
  $as_echo_n "(cached) " >&6
 
13679
else
 
13680
   if ${ac_cv_func_accept_arg1+:} false; then :
 
13681
  $as_echo_n "(cached) " >&6
 
13682
else
 
13683
    if ${ac_cv_func_accept_arg2+:} false; then :
 
13684
  $as_echo_n "(cached) " >&6
 
13685
else
 
13686
     if ${ac_cv_func_accept_arg3+:} false; then :
12887
13687
  $as_echo_n "(cached) " >&6
12888
13688
else
12889
13689
      for ac_cv_func_accept_return in 'int' 'unsigned int PASCAL'; do
12918
13718
     done
12919
13719
    done
12920
13720
    if test "$ac_not_found" = yes; then
12921
 
      as_fn_error "could not determine argument types" "$LINENO" 5
 
13721
      as_fn_error $? "could not determine argument types" "$LINENO" 5
12922
13722
    fi
12923
13723
    if test "$ac_cv_func_accept_arg3" = "void"; then
12924
13724
      ac_cv_func_accept_arg3=int
12958
13758
do :
12959
13759
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12960
13760
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12961
 
eval as_val=\$$as_ac_var
12962
 
   if test "x$as_val" = x""yes; then :
 
13761
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12963
13762
  cat >>confdefs.h <<_ACEOF
12964
13763
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12965
13764
_ACEOF
12974
13773
set dummy $ac_prog; ac_word=$2
12975
13774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12976
13775
$as_echo_n "checking for $ac_word... " >&6; }
12977
 
if test "${ac_cv_prog_PGCONFIG+set}" = set; then :
 
13776
if ${ac_cv_prog_PGCONFIG+:} false; then :
12978
13777
  $as_echo_n "(cached) " >&6
12979
13778
else
12980
13779
  if test -n "$PGCONFIG"; then
13027
13826
  withval=$with_pgsql;
13028
13827
        case "$withval" in
13029
13828
        "" | y | ye | yes | n | no)
13030
 
            as_fn_error "*** You must supply an argument to the --with-pgsql option." "$LINENO" 5
 
13829
            as_fn_error $? "*** You must supply an argument to the --with-pgsql option." "$LINENO" 5
13031
13830
          ;;
13032
13831
        esac
13033
13832
        PGSQL_INCLUDE_DIR="$withval"/include
13042
13841
  withval=$with_pgsql_includedir;
13043
13842
        case "$withval" in
13044
13843
        "" | y | ye | yes | n | no)
13045
 
            as_fn_error "*** You must supply an argument to the --with-pgsql-includedir option." "$LINENO" 5
 
13844
            as_fn_error $? "*** You must supply an argument to the --with-pgsql-includedir option." "$LINENO" 5
13046
13845
          ;;
13047
13846
        esac
13048
13847
        PGSQL_INCLUDE_DIR="$withval"
13056
13855
  withval=$with_pgsql_libdir;
13057
13856
        case "$withval" in
13058
13857
        "" | y | ye | yes | n | no)
13059
 
            as_fn_error "*** You must supply an argument to the --with-pgsql-libdir option." "$LINENO" 5
 
13858
            as_fn_error $? "*** You must supply an argument to the --with-pgsql-libdir option." "$LINENO" 5
13060
13859
          ;;
13061
13860
        esac
13062
13861
        PGSQL_LIB_DIR="$withval"
13078
13877
    for ac_header in openssl/ssl.h
13079
13878
do :
13080
13879
  ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default"
13081
 
if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then :
 
13880
if test "x$ac_cv_header_openssl_ssl_h" = xyes; then :
13082
13881
  cat >>confdefs.h <<_ACEOF
13083
13882
#define HAVE_OPENSSL_SSL_H 1
13084
13883
_ACEOF
13088
13887
else
13089
13888
 
13090
13889
            if test "$with_openssl" = yes; then
13091
 
                as_fn_error "header file <openssl/ssl.h> is required for SSL" "$LINENO" 5
 
13890
                as_fn_error $? "header file <openssl/ssl.h> is required for SSL" "$LINENO" 5
13092
13891
            else
13093
13892
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: header file <openssl/ssl.h> is required for SSL" >&5
13094
13893
$as_echo "$as_me: WARNING: header file <openssl/ssl.h> is required for SSL" >&2;}
13101
13900
 
13102
13901
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CRYPTO_new_ex_data in -lcrypto" >&5
13103
13902
$as_echo_n "checking for CRYPTO_new_ex_data in -lcrypto... " >&6; }
13104
 
if test "${ac_cv_lib_crypto_CRYPTO_new_ex_data+set}" = set; then :
 
13903
if ${ac_cv_lib_crypto_CRYPTO_new_ex_data+:} false; then :
13105
13904
  $as_echo_n "(cached) " >&6
13106
13905
else
13107
13906
  ac_check_lib_save_LIBS=$LIBS
13135
13934
fi
13136
13935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_CRYPTO_new_ex_data" >&5
13137
13936
$as_echo "$ac_cv_lib_crypto_CRYPTO_new_ex_data" >&6; }
13138
 
if test "x$ac_cv_lib_crypto_CRYPTO_new_ex_data" = x""yes; then :
 
13937
if test "x$ac_cv_lib_crypto_CRYPTO_new_ex_data" = xyes; then :
13139
13938
  cat >>confdefs.h <<_ACEOF
13140
13939
#define HAVE_LIBCRYPTO 1
13141
13940
_ACEOF
13143
13942
  LIBS="-lcrypto $LIBS"
13144
13943
 
13145
13944
else
13146
 
  as_fn_error "library 'crypto' is required for OpenSSL" "$LINENO" 5
 
13945
  as_fn_error $? "library 'crypto' is required for OpenSSL" "$LINENO" 5
13147
13946
fi
13148
13947
 
13149
13948
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5
13150
13949
$as_echo_n "checking for SSL_library_init in -lssl... " >&6; }
13151
 
if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then :
 
13950
if ${ac_cv_lib_ssl_SSL_library_init+:} false; then :
13152
13951
  $as_echo_n "(cached) " >&6
13153
13952
else
13154
13953
  ac_check_lib_save_LIBS=$LIBS
13182
13981
fi
13183
13982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5
13184
13983
$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; }
13185
 
if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then :
 
13984
if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then :
13186
13985
  cat >>confdefs.h <<_ACEOF
13187
13986
#define HAVE_LIBSSL 1
13188
13987
_ACEOF
13190
13989
  LIBS="-lssl $LIBS"
13191
13990
 
13192
13991
else
13193
 
  as_fn_error "library 'ssl' is required for OpenSSL" "$LINENO" 5
 
13992
  as_fn_error $? "library 'ssl' is required for OpenSSL" "$LINENO" 5
13194
13993
fi
13195
13994
 
13196
13995
fi
13206
14005
if test "$with_pam" = yes ; then
13207
14006
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
13208
14007
$as_echo_n "checking for pam_start in -lpam... " >&6; }
13209
 
if test "${ac_cv_lib_pam_pam_start+set}" = set; then :
 
14008
if ${ac_cv_lib_pam_pam_start+:} false; then :
13210
14009
  $as_echo_n "(cached) " >&6
13211
14010
else
13212
14011
  ac_check_lib_save_LIBS=$LIBS
13240
14039
fi
13241
14040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
13242
14041
$as_echo "$ac_cv_lib_pam_pam_start" >&6; }
13243
 
if test "x$ac_cv_lib_pam_pam_start" = x""yes; then :
 
14042
if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
13244
14043
  cat >>confdefs.h <<_ACEOF
13245
14044
#define HAVE_LIBPAM 1
13246
14045
_ACEOF
13248
14047
  LIBS="-lpam $LIBS"
13249
14048
 
13250
14049
else
13251
 
  as_fn_error "library 'pam' is required for PAM" "$LINENO" 5
 
14050
  as_fn_error $? "library 'pam' is required for PAM" "$LINENO" 5
13252
14051
fi
13253
14052
 
13254
14053
   for ac_header in security/pam_appl.h
13255
14054
do :
13256
14055
  ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
13257
 
if test "x$ac_cv_header_security_pam_appl_h" = x""yes; then :
 
14056
if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
13258
14057
  cat >>confdefs.h <<_ACEOF
13259
14058
#define HAVE_SECURITY_PAM_APPL_H 1
13260
14059
_ACEOF
13263
14062
  for ac_header in pam/pam_appl.h
13264
14063
do :
13265
14064
  ac_fn_c_check_header_mongrel "$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
13266
 
if test "x$ac_cv_header_pam_pam_appl_h" = x""yes; then :
 
14065
if test "x$ac_cv_header_pam_pam_appl_h" = xyes; then :
13267
14066
  cat >>confdefs.h <<_ACEOF
13268
14067
#define HAVE_PAM_PAM_APPL_H 1
13269
14068
_ACEOF
13270
14069
 
13271
14070
else
13272
 
  as_fn_error "header file <security/pam_appl.h> or <pam/pam_appl.h> is required for PAM." "$LINENO" 5
 
14071
  as_fn_error $? "header file <security/pam_appl.h> or <pam/pam_appl.h> is required for PAM." "$LINENO" 5
13273
14072
fi
13274
14073
 
13275
14074
done
13285
14084
OLD_LIBS="$LIBS"
13286
14085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQexecPrepared in -lpq" >&5
13287
14086
$as_echo_n "checking for PQexecPrepared in -lpq... " >&6; }
13288
 
if test "${ac_cv_lib_pq_PQexecPrepared+set}" = set; then :
 
14087
if ${ac_cv_lib_pq_PQexecPrepared+:} false; then :
13289
14088
  $as_echo_n "(cached) " >&6
13290
14089
else
13291
14090
  ac_check_lib_save_LIBS=$LIBS
13319
14118
fi
13320
14119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQexecPrepared" >&5
13321
14120
$as_echo "$ac_cv_lib_pq_PQexecPrepared" >&6; }
13322
 
if test "x$ac_cv_lib_pq_PQexecPrepared" = x""yes; then :
 
14121
if test "x$ac_cv_lib_pq_PQexecPrepared" = xyes; then :
13323
14122
  cat >>confdefs.h <<_ACEOF
13324
14123
#define HAVE_LIBPQ 1
13325
14124
_ACEOF
13327
14126
  LIBS="-lpq $LIBS"
13328
14127
 
13329
14128
else
13330
 
  as_fn_error "libpq is not installed or libpq is old" "$LINENO" 5
 
14129
  as_fn_error $? "libpq is not installed or libpq is old" "$LINENO" 5
13331
14130
fi
13332
14131
 
13333
14132
for ac_func in PQprepare
13334
14133
do :
13335
14134
  ac_fn_c_check_func "$LINENO" "PQprepare" "ac_cv_func_PQprepare"
13336
 
if test "x$ac_cv_func_PQprepare" = x""yes; then :
 
14135
if test "x$ac_cv_func_PQprepare" = xyes; then :
13337
14136
  cat >>confdefs.h <<_ACEOF
13338
14137
#define HAVE_PQPREPARE 1
13339
14138
_ACEOF
13386
14185
      :
13387
14186
      ;;
13388
14187
    *)
13389
 
      as_fn_error "no argument expected for --enable-sequence-lock option" "$LINENO" 5
 
14188
      as_fn_error $? "no argument expected for --enable-sequence-lock option" "$LINENO" 5
13390
14189
      ;;
13391
14190
  esac
13392
14191
 
13397
14196
 
13398
14197
 
13399
14198
if test "$enable_sequence_lock" = yes && test "$enable_table_lock" = yes ; then
13400
 
    as_fn_error "--enable-table-lock cannot be enabled at the same time." "$LINENO" 5
 
14199
    as_fn_error $? "--enable-table-lock cannot be enabled at the same time." "$LINENO" 5
13401
14200
fi
13402
14201
if test "$enable_sequence_lock" = yes ; then
13403
14202
 
13425
14224
      :
13426
14225
      ;;
13427
14226
    *)
13428
 
      as_fn_error "no argument expected for --enable-table-lock option" "$LINENO" 5
 
14227
      as_fn_error $? "no argument expected for --enable-table-lock option" "$LINENO" 5
13429
14228
      ;;
13430
14229
  esac
13431
14230
 
13436
14235
 
13437
14236
 
13438
14237
if test "$enable_table_lock" = yes && test "$enable_sequence_lock" = yes ; then
13439
 
    as_fn_error "--enable-sequence-lock cannot be enabled at the same time." "$LINENO" 5
 
14238
    as_fn_error $? "--enable-sequence-lock cannot be enabled at the same time." "$LINENO" 5
13440
14239
fi
13441
14240
if test "$enable_table_lock" = yes ; then
13442
14241
 
13515
14314
     :end' >>confcache
13516
14315
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13517
14316
  if test -w "$cache_file"; then
13518
 
    test "x$cache_file" != "x/dev/null" &&
 
14317
    if test "x$cache_file" != "x/dev/null"; then
13519
14318
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13520
14319
$as_echo "$as_me: updating cache $cache_file" >&6;}
13521
 
    cat confcache >$cache_file
 
14320
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
14321
        cat confcache >"$cache_file"
 
14322
      else
 
14323
        case $cache_file in #(
 
14324
        */* | ?:*)
 
14325
          mv -f confcache "$cache_file"$$ &&
 
14326
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
14327
        *)
 
14328
          mv -f confcache "$cache_file" ;;
 
14329
        esac
 
14330
      fi
 
14331
    fi
13522
14332
  else
13523
14333
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13524
14334
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13534
14344
 
13535
14345
ac_libobjs=
13536
14346
ac_ltlibobjs=
 
14347
U=
13537
14348
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13538
14349
  # 1. Remove the extension, and $U if already installed.
13539
14350
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13549
14360
 
13550
14361
 
13551
14362
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13552
 
  as_fn_error "conditional \"AMDEP\" was never defined.
 
14363
  as_fn_error $? "conditional \"AMDEP\" was never defined.
13553
14364
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13554
14365
fi
13555
14366
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13556
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
14367
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13557
14368
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13558
14369
fi
13559
14370
 if test -n "$EXEEXT"; then
13565
14376
fi
13566
14377
 
13567
14378
if test -z "${enable_rpath_TRUE}" && test -z "${enable_rpath_FALSE}"; then
13568
 
  as_fn_error "conditional \"enable_rpath\" was never defined.
 
14379
  as_fn_error $? "conditional \"enable_rpath\" was never defined.
13569
14380
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13570
14381
fi
13571
14382
 
13572
 
: ${CONFIG_STATUS=./config.status}
 
14383
: "${CONFIG_STATUS=./config.status}"
13573
14384
ac_write_fail=0
13574
14385
ac_clean_files_save=$ac_clean_files
13575
14386
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13670
14481
IFS=" ""        $as_nl"
13671
14482
 
13672
14483
# Find who we are.  Look in the path if we contain no directory separator.
 
14484
as_myself=
13673
14485
case $0 in #((
13674
14486
  *[\\/]* ) as_myself=$0 ;;
13675
14487
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13715
14527
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13716
14528
 
13717
14529
 
13718
 
# as_fn_error ERROR [LINENO LOG_FD]
13719
 
# ---------------------------------
 
14530
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
14531
# ----------------------------------------
13720
14532
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13721
14533
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13722
 
# script with status $?, using 1 if that was 0.
 
14534
# script with STATUS, using 1 if that was 0.
13723
14535
as_fn_error ()
13724
14536
{
13725
 
  as_status=$?; test $as_status -eq 0 && as_status=1
13726
 
  if test "$3"; then
13727
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13728
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
14537
  as_status=$1; test $as_status -eq 0 && as_status=1
 
14538
  if test "$4"; then
 
14539
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
14540
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13729
14541
  fi
13730
 
  $as_echo "$as_me: error: $1" >&2
 
14542
  $as_echo "$as_me: error: $2" >&2
13731
14543
  as_fn_exit $as_status
13732
14544
} # as_fn_error
13733
14545
 
13923
14735
      test -d "$as_dir" && break
13924
14736
    done
13925
14737
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13926
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
14738
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13927
14739
 
13928
14740
 
13929
14741
} # as_fn_mkdir_p
13977
14789
# values after options handling.
13978
14790
ac_log="
13979
14791
This file was extended by $as_me, which was
13980
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
14792
generated by GNU Autoconf 2.68.  Invocation command line was
13981
14793
 
13982
14794
  CONFIG_FILES    = $CONFIG_FILES
13983
14795
  CONFIG_HEADERS  = $CONFIG_HEADERS
14043
14855
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14044
14856
ac_cs_version="\\
14045
14857
config.status
14046
 
configured by $0, generated by GNU Autoconf 2.65,
 
14858
configured by $0, generated by GNU Autoconf 2.68,
14047
14859
  with options \\"\$ac_cs_config\\"
14048
14860
 
14049
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
14861
Copyright (C) 2010 Free Software Foundation, Inc.
14050
14862
This config.status script is free software; the Free Software Foundation
14051
14863
gives unlimited permission to copy, distribute and modify it."
14052
14864
 
14064
14876
while test $# != 0
14065
14877
do
14066
14878
  case $1 in
14067
 
  --*=*)
 
14879
  --*=?*)
14068
14880
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14069
14881
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14070
14882
    ac_shift=:
14071
14883
    ;;
 
14884
  --*=)
 
14885
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
14886
    ac_optarg=
 
14887
    ac_shift=:
 
14888
    ;;
14072
14889
  *)
14073
14890
    ac_option=$1
14074
14891
    ac_optarg=$2
14090
14907
    $ac_shift
14091
14908
    case $ac_optarg in
14092
14909
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
14910
    '') as_fn_error $? "missing file argument" ;;
14093
14911
    esac
14094
14912
    as_fn_append CONFIG_FILES " '$ac_optarg'"
14095
14913
    ac_need_defaults=false;;
14102
14920
    ac_need_defaults=false;;
14103
14921
  --he | --h)
14104
14922
    # Conflict between --help and --header
14105
 
    as_fn_error "ambiguous option: \`$1'
 
14923
    as_fn_error $? "ambiguous option: \`$1'
14106
14924
Try \`$0 --help' for more information.";;
14107
14925
  --help | --hel | -h )
14108
14926
    $as_echo "$ac_cs_usage"; exit ;;
14111
14929
    ac_cs_silent=: ;;
14112
14930
 
14113
14931
  # This is an error.
14114
 
  -*) as_fn_error "unrecognized option: \`$1'
 
14932
  -*) as_fn_error $? "unrecognized option: \`$1'
14115
14933
Try \`$0 --help' for more information." ;;
14116
14934
 
14117
14935
  *) as_fn_append ac_config_targets " $1"
14165
14983
sed_quote_subst='$sed_quote_subst'
14166
14984
double_quote_subst='$double_quote_subst'
14167
14985
delay_variable_subst='$delay_variable_subst'
14168
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14169
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14170
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14171
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14172
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14173
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14174
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14175
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14176
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14177
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14178
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14179
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14180
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14181
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14182
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14183
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14184
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14185
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14186
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14187
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14188
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14189
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14190
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14191
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14192
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14193
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14194
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14195
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14196
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14197
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14198
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14199
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14200
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14201
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14202
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14203
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14204
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14205
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14206
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14207
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14208
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14209
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14210
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14211
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14212
 
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"`'
14213
 
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"`'
14214
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14215
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14216
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14217
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14218
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14219
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14220
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14221
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14222
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14223
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14224
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14225
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14226
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14227
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14228
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14229
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14230
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14231
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14232
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14233
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14234
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14235
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14236
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14237
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14238
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14239
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14240
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14241
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14242
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14243
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14244
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14245
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14246
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14247
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14248
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14249
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14250
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14251
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14252
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14253
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14254
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14255
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14256
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14257
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14258
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14259
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14260
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14261
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14262
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14263
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14264
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14265
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14266
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14267
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14268
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14269
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14270
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14271
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14272
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14273
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14274
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14275
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14276
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14277
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14278
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14279
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14280
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14281
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14282
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14283
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14284
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14285
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
14986
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
14987
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
14988
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
14989
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
14990
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
14991
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
14992
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
14993
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
14994
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
14995
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
14996
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
14997
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
14998
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
14999
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
15000
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
15001
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
15002
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
15003
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
15004
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
15005
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
15006
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
15007
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
15008
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
15009
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
15010
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
15011
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
15012
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
15013
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
15014
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15015
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15016
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
15017
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
15018
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
15019
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
15020
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
15021
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
15022
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
15023
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
15024
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
15025
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
15026
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
15027
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
15028
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
15029
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
15030
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15031
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15032
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15033
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
15034
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
15035
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
15036
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
15037
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
15038
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
15039
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
15040
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
15041
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"`'
 
15042
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15043
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
15044
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
15045
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
15046
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
15047
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
15048
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
15049
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
15050
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
15051
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
15052
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
15053
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
15054
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
15055
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
15056
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
15057
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
15058
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
15059
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
15060
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15061
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
15062
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
15063
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15064
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15065
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
15066
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
15067
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15068
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15069
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15070
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
15071
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15072
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
15073
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15074
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15075
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15076
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
15077
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
15078
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
15079
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
15080
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
15081
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15082
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
15083
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
15084
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
15085
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
15086
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
15087
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
15088
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
15089
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
15090
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
15091
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15092
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
15093
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
15094
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
15095
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
15096
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
15097
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15098
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
15099
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
15100
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
15101
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
15102
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
15103
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15104
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15105
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
15106
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
15107
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
15108
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
15109
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
15110
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
15111
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
15112
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
15113
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
15114
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
15115
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14286
15116
 
14287
15117
LTCC='$LTCC'
14288
15118
LTCFLAGS='$LTCFLAGS'
14289
15119
compiler='$compiler_DEFAULT'
14290
15120
 
 
15121
# A function that is used when there is no print builtin or printf.
 
15122
func_fallback_echo ()
 
15123
{
 
15124
  eval 'cat <<_LTECHO_EOF
 
15125
\$1
 
15126
_LTECHO_EOF'
 
15127
}
 
15128
 
14291
15129
# Quote evaled strings.
14292
 
for var in SED \
 
15130
for var in SHELL \
 
15131
ECHO \
 
15132
SED \
14293
15133
GREP \
14294
15134
EGREP \
14295
15135
FGREP \
14302
15142
OBJDUMP \
14303
15143
deplibs_check_method \
14304
15144
file_magic_cmd \
 
15145
file_magic_glob \
 
15146
want_nocaseglob \
 
15147
DLLTOOL \
 
15148
sharedlib_from_linklib_cmd \
14305
15149
AR \
14306
15150
AR_FLAGS \
 
15151
archiver_list_spec \
14307
15152
STRIP \
14308
15153
RANLIB \
14309
15154
CC \
14313
15158
lt_cv_sys_global_symbol_to_cdecl \
14314
15159
lt_cv_sys_global_symbol_to_c_name_address \
14315
15160
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14316
 
SHELL \
14317
 
ECHO \
 
15161
nm_file_list_spec \
14318
15162
lt_prog_compiler_no_builtin_flag \
 
15163
lt_prog_compiler_pic \
14319
15164
lt_prog_compiler_wl \
14320
 
lt_prog_compiler_pic \
14321
15165
lt_prog_compiler_static \
14322
15166
lt_cv_prog_compiler_c_o \
14323
15167
need_locks \
 
15168
MANIFEST_TOOL \
14324
15169
DSYMUTIL \
14325
15170
NMEDIT \
14326
15171
LIPO \
14336
15181
hardcode_libdir_flag_spec \
14337
15182
hardcode_libdir_flag_spec_ld \
14338
15183
hardcode_libdir_separator \
14339
 
fix_srcfile_path \
14340
15184
exclude_expsyms \
14341
15185
include_expsyms \
14342
15186
file_list_spec \
14344
15188
libname_spec \
14345
15189
library_names_spec \
14346
15190
soname_spec \
 
15191
install_override_mode \
14347
15192
finish_eval \
14348
15193
old_striplib \
14349
15194
striplib; do
14350
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15195
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14351
15196
    *[\\\\\\\`\\"\\\$]*)
14352
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
15197
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14353
15198
      ;;
14354
15199
    *)
14355
15200
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14371
15216
module_expsym_cmds \
14372
15217
export_symbols_cmds \
14373
15218
prelink_cmds \
 
15219
postlink_cmds \
14374
15220
postinstall_cmds \
14375
15221
postuninstall_cmds \
14376
15222
finish_cmds \
14377
15223
sys_lib_search_path_spec \
14378
15224
sys_lib_dlsearch_path_spec; do
14379
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15225
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14380
15226
    *[\\\\\\\`\\"\\\$]*)
14381
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
15227
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14382
15228
      ;;
14383
15229
    *)
14384
15230
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14386
15232
    esac
14387
15233
done
14388
15234
 
14389
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
14390
 
case \$lt_ECHO in
14391
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14392
 
  ;;
14393
 
esac
14394
 
 
14395
15235
ac_aux_dir='$ac_aux_dir'
14396
15236
xsi_shell='$xsi_shell'
14397
15237
lt_shell_append='$lt_shell_append'
14427
15267
    "parser/Makefile") CONFIG_FILES="$CONFIG_FILES parser/Makefile" ;;
14428
15268
    "pcp/Makefile") CONFIG_FILES="$CONFIG_FILES pcp/Makefile" ;;
14429
15269
 
14430
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
15270
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14431
15271
  esac
14432
15272
done
14433
15273
 
14450
15290
# after its creation but before its name has been assigned to `$tmp'.
14451
15291
$debug ||
14452
15292
{
14453
 
  tmp=
 
15293
  tmp= ac_tmp=
14454
15294
  trap 'exit_status=$?
14455
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
15295
  : "${ac_tmp:=$tmp}"
 
15296
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14456
15297
' 0
14457
15298
  trap 'as_fn_exit 1' 1 2 13 15
14458
15299
}
14460
15301
 
14461
15302
{
14462
15303
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14463
 
  test -n "$tmp" && test -d "$tmp"
 
15304
  test -d "$tmp"
14464
15305
}  ||
14465
15306
{
14466
15307
  tmp=./conf$$-$RANDOM
14467
15308
  (umask 077 && mkdir "$tmp")
14468
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
15309
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
15310
ac_tmp=$tmp
14469
15311
 
14470
15312
# Set up the scripts for CONFIG_FILES section.
14471
15313
# No need to generate them if there are no CONFIG_FILES.
14482
15324
fi
14483
15325
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14484
15326
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14485
 
  ac_cs_awk_cr='\r'
 
15327
  ac_cs_awk_cr='\\r'
14486
15328
else
14487
15329
  ac_cs_awk_cr=$ac_cr
14488
15330
fi
14489
15331
 
14490
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
15332
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14491
15333
_ACEOF
14492
15334
 
14493
15335
 
14496
15338
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14497
15339
  echo "_ACEOF"
14498
15340
} >conf$$subs.sh ||
14499
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14500
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
15341
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15342
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14501
15343
ac_delim='%!_!# '
14502
15344
for ac_last_try in false false false false false :; do
14503
15345
  . ./conf$$subs.sh ||
14504
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
15346
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14505
15347
 
14506
15348
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14507
15349
  if test $ac_delim_n = $ac_delim_num; then
14508
15350
    break
14509
15351
  elif $ac_last_try; then
14510
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
15352
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14511
15353
  else
14512
15354
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14513
15355
  fi
14515
15357
rm -f conf$$subs.sh
14516
15358
 
14517
15359
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14518
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
15360
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14519
15361
_ACEOF
14520
15362
sed -n '
14521
15363
h
14563
15405
rm -f conf$$subs.awk
14564
15406
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14565
15407
_ACAWK
14566
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
15408
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14567
15409
  for (key in S) S_is_set[key] = 1
14568
15410
  FS = ""
14569
15411
 
14595
15437
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14596
15438
else
14597
15439
  cat
14598
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14599
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
15440
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
15441
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14600
15442
_ACEOF
14601
15443
 
14602
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
14603
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
15444
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
15445
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14604
15446
# trailing colons and then remove the whole line if VPATH becomes empty
14605
15447
# (actually we leave an empty line to preserve line numbers).
14606
15448
if test "x$srcdir" = x.; then
14607
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
14608
 
s/:*\$(srcdir):*/:/
14609
 
s/:*\${srcdir}:*/:/
14610
 
s/:*@srcdir@:*/:/
14611
 
s/^\([^=]*=[     ]*\):*/\1/
 
15449
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
15450
h
 
15451
s///
 
15452
s/^/:/
 
15453
s/[      ]*$/:/
 
15454
s/:\$(srcdir):/:/g
 
15455
s/:\${srcdir}:/:/g
 
15456
s/:@srcdir@:/:/g
 
15457
s/^:*//
14612
15458
s/:*$//
 
15459
x
 
15460
s/\(=[   ]*\).*/\1/
 
15461
G
 
15462
s/\n//
14613
15463
s/^[^=]*=[       ]*$//
14614
15464
}'
14615
15465
fi
14621
15471
# No need to generate them if there are no CONFIG_HEADERS.
14622
15472
# This happens for instance with `./config.status Makefile'.
14623
15473
if test -n "$CONFIG_HEADERS"; then
14624
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
15474
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14625
15475
BEGIN {
14626
15476
_ACEOF
14627
15477
 
14633
15483
# handling of long lines.
14634
15484
ac_delim='%!_!# '
14635
15485
for ac_last_try in false false :; do
14636
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14637
 
  if test -z "$ac_t"; then
 
15486
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
15487
  if test -z "$ac_tt"; then
14638
15488
    break
14639
15489
  elif $ac_last_try; then
14640
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
15490
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14641
15491
  else
14642
15492
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14643
15493
  fi
14722
15572
_ACAWK
14723
15573
_ACEOF
14724
15574
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14725
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
15575
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14726
15576
fi # test -n "$CONFIG_HEADERS"
14727
15577
 
14728
15578
 
14735
15585
  esac
14736
15586
  case $ac_mode$ac_tag in
14737
15587
  :[FHL]*:*);;
14738
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
15588
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14739
15589
  :[FH]-) ac_tag=-:-;;
14740
15590
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14741
15591
  esac
14754
15604
    for ac_f
14755
15605
    do
14756
15606
      case $ac_f in
14757
 
      -) ac_f="$tmp/stdin";;
 
15607
      -) ac_f="$ac_tmp/stdin";;
14758
15608
      *) # Look for the file first in the build tree, then in the source tree
14759
15609
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
14760
15610
         # because $ac_f cannot contain `:'.
14763
15613
           [\\/$]*) false;;
14764
15614
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14765
15615
           esac ||
14766
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
15616
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14767
15617
      esac
14768
15618
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14769
15619
      as_fn_append ac_file_inputs " '$ac_f'"
14789
15639
    esac
14790
15640
 
14791
15641
    case $ac_tag in
14792
 
    *:-:* | *:-) cat >"$tmp/stdin" \
14793
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
15642
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
15643
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14794
15644
    esac
14795
15645
    ;;
14796
15646
  esac
14926
15776
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14927
15777
$ac_datarootdir_hack
14928
15778
"
14929
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14930
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
15779
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
15780
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14931
15781
 
14932
15782
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14933
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14934
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
15783
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
15784
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
15785
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14935
15786
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14936
 
which seems to be undefined.  Please make sure it is defined." >&5
 
15787
which seems to be undefined.  Please make sure it is defined" >&5
14937
15788
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14938
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
15789
which seems to be undefined.  Please make sure it is defined" >&2;}
14939
15790
 
14940
 
  rm -f "$tmp/stdin"
 
15791
  rm -f "$ac_tmp/stdin"
14941
15792
  case $ac_file in
14942
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
14943
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
15793
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
15794
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14944
15795
  esac \
14945
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
15796
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14946
15797
 ;;
14947
15798
  :H)
14948
15799
  #
14951
15802
  if test x"$ac_file" != x-; then
14952
15803
    {
14953
15804
      $as_echo "/* $configure_input  */" \
14954
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14955
 
    } >"$tmp/config.h" \
14956
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
14957
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
15805
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
15806
    } >"$ac_tmp/config.h" \
 
15807
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
15808
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14958
15809
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14959
15810
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14960
15811
    else
14961
15812
      rm -f "$ac_file"
14962
 
      mv "$tmp/config.h" "$ac_file" \
14963
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
15813
      mv "$ac_tmp/config.h" "$ac_file" \
 
15814
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14964
15815
    fi
14965
15816
  else
14966
15817
    $as_echo "/* $configure_input  */" \
14967
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14968
 
      || as_fn_error "could not create -" "$LINENO" 5
 
15818
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
15819
      || as_fn_error $? "could not create -" "$LINENO" 5
14969
15820
  fi
14970
15821
# Compute "$ac_file"'s index in $config_headers.
14971
15822
_am_arg="$ac_file"
15126
15977
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15127
15978
#
15128
15979
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15129
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
15980
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
15981
#                 Inc.
15130
15982
#   Written by Gordon Matzigkeit, 1996
15131
15983
#
15132
15984
#   This file is part of GNU Libtool.
15174
16026
# Whether or not to optimize for fast installation.
15175
16027
fast_install=$enable_fast_install
15176
16028
 
 
16029
# Shell to use when invoking shell scripts.
 
16030
SHELL=$lt_SHELL
 
16031
 
 
16032
# An echo program that protects backslashes.
 
16033
ECHO=$lt_ECHO
 
16034
 
15177
16035
# The host system.
15178
16036
host_alias=$host_alias
15179
16037
host=$host
15223
16081
# turn newlines into spaces.
15224
16082
NL2SP=$lt_lt_NL2SP
15225
16083
 
15226
 
# How to create reloadable object files.
15227
 
reload_flag=$lt_reload_flag
15228
 
reload_cmds=$lt_reload_cmds
 
16084
# convert \$build file names to \$host format.
 
16085
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
16086
 
 
16087
# convert \$build files to toolchain format.
 
16088
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15229
16089
 
15230
16090
# An object symbol dumper.
15231
16091
OBJDUMP=$lt_OBJDUMP
15233
16093
# Method to check whether dependent libraries are shared objects.
15234
16094
deplibs_check_method=$lt_deplibs_check_method
15235
16095
 
15236
 
# Command to use when deplibs_check_method == "file_magic".
 
16096
# Command to use when deplibs_check_method = "file_magic".
15237
16097
file_magic_cmd=$lt_file_magic_cmd
15238
16098
 
 
16099
# How to find potential files when deplibs_check_method = "file_magic".
 
16100
file_magic_glob=$lt_file_magic_glob
 
16101
 
 
16102
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
16103
want_nocaseglob=$lt_want_nocaseglob
 
16104
 
 
16105
# DLL creation program.
 
16106
DLLTOOL=$lt_DLLTOOL
 
16107
 
 
16108
# Command to associate shared and link libraries.
 
16109
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
16110
 
15239
16111
# The archiver.
15240
16112
AR=$lt_AR
 
16113
 
 
16114
# Flags to create an archive.
15241
16115
AR_FLAGS=$lt_AR_FLAGS
15242
16116
 
 
16117
# How to feed a file listing to the archiver.
 
16118
archiver_list_spec=$lt_archiver_list_spec
 
16119
 
15243
16120
# A symbol stripping program.
15244
16121
STRIP=$lt_STRIP
15245
16122
 
15248
16125
old_postinstall_cmds=$lt_old_postinstall_cmds
15249
16126
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15250
16127
 
 
16128
# Whether to use a lock for old archive extraction.
 
16129
lock_old_archive_extraction=$lock_old_archive_extraction
 
16130
 
15251
16131
# A C compiler.
15252
16132
LTCC=$lt_CC
15253
16133
 
15266
16146
# Transform the output of nm in a C name address pair when lib prefix is needed.
15267
16147
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15268
16148
 
 
16149
# Specify filename containing input files for \$NM.
 
16150
nm_file_list_spec=$lt_nm_file_list_spec
 
16151
 
 
16152
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
16153
lt_sysroot=$lt_sysroot
 
16154
 
15269
16155
# The name of the directory that contains temporary libtool files.
15270
16156
objdir=$objdir
15271
16157
 
15272
 
# Shell to use when invoking shell scripts.
15273
 
SHELL=$lt_SHELL
15274
 
 
15275
 
# An echo program that does not interpret backslashes.
15276
 
ECHO=$lt_ECHO
15277
 
 
15278
16158
# Used to examine libraries when file_magic_cmd begins with "file".
15279
16159
MAGIC_CMD=$MAGIC_CMD
15280
16160
 
15281
16161
# Must we lock files when doing compilation?
15282
16162
need_locks=$lt_need_locks
15283
16163
 
 
16164
# Manifest tool.
 
16165
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
16166
 
15284
16167
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15285
16168
DSYMUTIL=$lt_DSYMUTIL
15286
16169
 
15337
16220
# The coded name of the library, if different from the real name.
15338
16221
soname_spec=$lt_soname_spec
15339
16222
 
 
16223
# Permission mode override for installation of shared libraries.
 
16224
install_override_mode=$lt_install_override_mode
 
16225
 
15340
16226
# Command to use after installation of a shared archive.
15341
16227
postinstall_cmds=$lt_postinstall_cmds
15342
16228
 
15376
16262
# The linker used to build libraries.
15377
16263
LD=$lt_LD
15378
16264
 
 
16265
# How to create reloadable object files.
 
16266
reload_flag=$lt_reload_flag
 
16267
reload_cmds=$lt_reload_cmds
 
16268
 
15379
16269
# Commands used to build an old-style archive.
15380
16270
old_archive_cmds=$lt_old_archive_cmds
15381
16271
 
15388
16278
# Compiler flag to turn off builtin functions.
15389
16279
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15390
16280
 
 
16281
# Additional compiler flags for building library objects.
 
16282
pic_flag=$lt_lt_prog_compiler_pic
 
16283
 
15391
16284
# How to pass a linker flag through the compiler.
15392
16285
wl=$lt_lt_prog_compiler_wl
15393
16286
 
15394
 
# Additional compiler flags for building library objects.
15395
 
pic_flag=$lt_lt_prog_compiler_pic
15396
 
 
15397
16287
# Compiler flag to prevent dynamic linking.
15398
16288
link_static_flag=$lt_lt_prog_compiler_static
15399
16289
 
15480
16370
# Whether libtool must link a program against all its dependency libraries.
15481
16371
link_all_deplibs=$link_all_deplibs
15482
16372
 
15483
 
# Fix the shell variable \$srcfile for the compiler.
15484
 
fix_srcfile_path=$lt_fix_srcfile_path
15485
 
 
15486
16373
# Set to "yes" if exported symbols are required.
15487
16374
always_export_symbols=$always_export_symbols
15488
16375
 
15498
16385
# Commands necessary for linking programs (against libraries) with templates.
15499
16386
prelink_cmds=$lt_prelink_cmds
15500
16387
 
 
16388
# Commands necessary for finishing linking programs.
 
16389
postlink_cmds=$lt_postlink_cmds
 
16390
 
15501
16391
# Specify filename containing input files.
15502
16392
file_list_spec=$lt_file_list_spec
15503
16393
 
15530
16420
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15531
16421
  # text mode, it properly converts lines to CR/LF.  This bash problem
15532
16422
  # is reportedly fixed, but why not run on old versions too?
15533
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15534
 
    || (rm -f "$cfgfile"; exit 1)
15535
 
 
15536
 
  case $xsi_shell in
15537
 
  yes)
15538
 
    cat << \_LT_EOF >> "$cfgfile"
15539
 
 
15540
 
# func_dirname file append nondir_replacement
15541
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15542
 
# otherwise set result to NONDIR_REPLACEMENT.
15543
 
func_dirname ()
15544
 
{
15545
 
  case ${1} in
15546
 
    */*) func_dirname_result="${1%/*}${2}" ;;
15547
 
    *  ) func_dirname_result="${3}" ;;
15548
 
  esac
15549
 
}
15550
 
 
15551
 
# func_basename file
15552
 
func_basename ()
15553
 
{
15554
 
  func_basename_result="${1##*/}"
15555
 
}
15556
 
 
15557
 
# func_dirname_and_basename file append nondir_replacement
15558
 
# perform func_basename and func_dirname in a single function
15559
 
# call:
15560
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
15561
 
#             add APPEND to the result, otherwise set result
15562
 
#             to NONDIR_REPLACEMENT.
15563
 
#             value returned in "$func_dirname_result"
15564
 
#   basename: Compute filename of FILE.
15565
 
#             value retuned in "$func_basename_result"
15566
 
# Implementation must be kept synchronized with func_dirname
15567
 
# and func_basename. For efficiency, we do not delegate to
15568
 
# those functions but instead duplicate the functionality here.
15569
 
func_dirname_and_basename ()
15570
 
{
15571
 
  case ${1} in
15572
 
    */*) func_dirname_result="${1%/*}${2}" ;;
15573
 
    *  ) func_dirname_result="${3}" ;;
15574
 
  esac
15575
 
  func_basename_result="${1##*/}"
15576
 
}
15577
 
 
15578
 
# func_stripname prefix suffix name
15579
 
# strip PREFIX and SUFFIX off of NAME.
15580
 
# PREFIX and SUFFIX must not contain globbing or regex special
15581
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
15582
 
# dot (in which case that matches only a dot).
15583
 
func_stripname ()
15584
 
{
15585
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15586
 
  # positional parameters, so assign one to ordinary parameter first.
15587
 
  func_stripname_result=${3}
15588
 
  func_stripname_result=${func_stripname_result#"${1}"}
15589
 
  func_stripname_result=${func_stripname_result%"${2}"}
15590
 
}
15591
 
 
15592
 
# func_opt_split
15593
 
func_opt_split ()
15594
 
{
15595
 
  func_opt_split_opt=${1%%=*}
15596
 
  func_opt_split_arg=${1#*=}
15597
 
}
15598
 
 
15599
 
# func_lo2o object
15600
 
func_lo2o ()
15601
 
{
15602
 
  case ${1} in
15603
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15604
 
    *)    func_lo2o_result=${1} ;;
15605
 
  esac
15606
 
}
15607
 
 
15608
 
# func_xform libobj-or-source
15609
 
func_xform ()
15610
 
{
15611
 
  func_xform_result=${1%.*}.lo
15612
 
}
15613
 
 
15614
 
# func_arith arithmetic-term...
15615
 
func_arith ()
15616
 
{
15617
 
  func_arith_result=$(( $* ))
15618
 
}
15619
 
 
15620
 
# func_len string
15621
 
# STRING may not start with a hyphen.
15622
 
func_len ()
15623
 
{
15624
 
  func_len_result=${#1}
15625
 
}
15626
 
 
15627
 
_LT_EOF
15628
 
    ;;
15629
 
  *) # Bourne compatible functions.
15630
 
    cat << \_LT_EOF >> "$cfgfile"
15631
 
 
15632
 
# func_dirname file append nondir_replacement
15633
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15634
 
# otherwise set result to NONDIR_REPLACEMENT.
15635
 
func_dirname ()
15636
 
{
15637
 
  # Extract subdirectory from the argument.
15638
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15639
 
  if test "X$func_dirname_result" = "X${1}"; then
15640
 
    func_dirname_result="${3}"
15641
 
  else
15642
 
    func_dirname_result="$func_dirname_result${2}"
15643
 
  fi
15644
 
}
15645
 
 
15646
 
# func_basename file
15647
 
func_basename ()
15648
 
{
15649
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15650
 
}
15651
 
 
15652
 
 
15653
 
# func_stripname prefix suffix name
15654
 
# strip PREFIX and SUFFIX off of NAME.
15655
 
# PREFIX and SUFFIX must not contain globbing or regex special
15656
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
15657
 
# dot (in which case that matches only a dot).
15658
 
# func_strip_suffix prefix name
15659
 
func_stripname ()
15660
 
{
15661
 
  case ${2} in
15662
 
    .*) func_stripname_result=`$ECHO "X${3}" \
15663
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15664
 
    *)  func_stripname_result=`$ECHO "X${3}" \
15665
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15666
 
  esac
15667
 
}
15668
 
 
15669
 
# sed scripts:
15670
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15671
 
my_sed_long_arg='1s/^-[^=]*=//'
15672
 
 
15673
 
# func_opt_split
15674
 
func_opt_split ()
15675
 
{
15676
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15677
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15678
 
}
15679
 
 
15680
 
# func_lo2o object
15681
 
func_lo2o ()
15682
 
{
15683
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15684
 
}
15685
 
 
15686
 
# func_xform libobj-or-source
15687
 
func_xform ()
15688
 
{
15689
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15690
 
}
15691
 
 
15692
 
# func_arith arithmetic-term...
15693
 
func_arith ()
15694
 
{
15695
 
  func_arith_result=`expr "$@"`
15696
 
}
15697
 
 
15698
 
# func_len string
15699
 
# STRING may not start with a hyphen.
15700
 
func_len ()
15701
 
{
15702
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15703
 
}
15704
 
 
15705
 
_LT_EOF
15706
 
esac
15707
 
 
15708
 
case $lt_shell_append in
15709
 
  yes)
15710
 
    cat << \_LT_EOF >> "$cfgfile"
15711
 
 
15712
 
# func_append var value
15713
 
# Append VALUE to the end of shell variable VAR.
15714
 
func_append ()
15715
 
{
15716
 
  eval "$1+=\$2"
15717
 
}
15718
 
_LT_EOF
15719
 
    ;;
15720
 
  *)
15721
 
    cat << \_LT_EOF >> "$cfgfile"
15722
 
 
15723
 
# func_append var value
15724
 
# Append VALUE to the end of shell variable VAR.
15725
 
func_append ()
15726
 
{
15727
 
  eval "$1=\$$1\$2"
15728
 
}
15729
 
 
15730
 
_LT_EOF
15731
 
    ;;
15732
 
  esac
15733
 
 
15734
 
 
15735
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15736
 
    || (rm -f "$cfgfile"; exit 1)
15737
 
 
15738
 
  mv -f "$cfgfile" "$ofile" ||
 
16423
  sed '$q' "$ltmain" >> "$cfgfile" \
 
16424
     || (rm -f "$cfgfile"; exit 1)
 
16425
 
 
16426
  if test x"$xsi_shell" = xyes; then
 
16427
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
16428
func_dirname ()\
 
16429
{\
 
16430
\    case ${1} in\
 
16431
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
16432
\      *  ) func_dirname_result="${3}" ;;\
 
16433
\    esac\
 
16434
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
16435
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16436
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16437
test 0 -eq $? || _lt_function_replace_fail=:
 
16438
 
 
16439
 
 
16440
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
16441
func_basename ()\
 
16442
{\
 
16443
\    func_basename_result="${1##*/}"\
 
16444
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
16445
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16446
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16447
test 0 -eq $? || _lt_function_replace_fail=:
 
16448
 
 
16449
 
 
16450
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
16451
func_dirname_and_basename ()\
 
16452
{\
 
16453
\    case ${1} in\
 
16454
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
16455
\      *  ) func_dirname_result="${3}" ;;\
 
16456
\    esac\
 
16457
\    func_basename_result="${1##*/}"\
 
16458
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
16459
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16460
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16461
test 0 -eq $? || _lt_function_replace_fail=:
 
16462
 
 
16463
 
 
16464
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
16465
func_stripname ()\
 
16466
{\
 
16467
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
16468
\    # positional parameters, so assign one to ordinary parameter first.\
 
16469
\    func_stripname_result=${3}\
 
16470
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
16471
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
16472
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
16473
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16474
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16475
test 0 -eq $? || _lt_function_replace_fail=:
 
16476
 
 
16477
 
 
16478
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
16479
func_split_long_opt ()\
 
16480
{\
 
16481
\    func_split_long_opt_name=${1%%=*}\
 
16482
\    func_split_long_opt_arg=${1#*=}\
 
16483
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
16484
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16485
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16486
test 0 -eq $? || _lt_function_replace_fail=:
 
16487
 
 
16488
 
 
16489
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
16490
func_split_short_opt ()\
 
16491
{\
 
16492
\    func_split_short_opt_arg=${1#??}\
 
16493
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
16494
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
16495
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16496
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16497
test 0 -eq $? || _lt_function_replace_fail=:
 
16498
 
 
16499
 
 
16500
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
16501
func_lo2o ()\
 
16502
{\
 
16503
\    case ${1} in\
 
16504
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
16505
\      *)    func_lo2o_result=${1} ;;\
 
16506
\    esac\
 
16507
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
16508
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16509
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16510
test 0 -eq $? || _lt_function_replace_fail=:
 
16511
 
 
16512
 
 
16513
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
16514
func_xform ()\
 
16515
{\
 
16516
    func_xform_result=${1%.*}.lo\
 
16517
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
16518
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16519
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16520
test 0 -eq $? || _lt_function_replace_fail=:
 
16521
 
 
16522
 
 
16523
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
16524
func_arith ()\
 
16525
{\
 
16526
    func_arith_result=$(( $* ))\
 
16527
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
16528
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16529
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16530
test 0 -eq $? || _lt_function_replace_fail=:
 
16531
 
 
16532
 
 
16533
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
16534
func_len ()\
 
16535
{\
 
16536
    func_len_result=${#1}\
 
16537
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
16538
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16539
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16540
test 0 -eq $? || _lt_function_replace_fail=:
 
16541
 
 
16542
fi
 
16543
 
 
16544
if test x"$lt_shell_append" = xyes; then
 
16545
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
16546
func_append ()\
 
16547
{\
 
16548
    eval "${1}+=\\${2}"\
 
16549
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
16550
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16551
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16552
test 0 -eq $? || _lt_function_replace_fail=:
 
16553
 
 
16554
 
 
16555
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
16556
func_append_quoted ()\
 
16557
{\
 
16558
\    func_quote_for_eval "${2}"\
 
16559
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
16560
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
16561
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16562
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16563
test 0 -eq $? || _lt_function_replace_fail=:
 
16564
 
 
16565
 
 
16566
  # Save a `func_append' function call where possible by direct use of '+='
 
16567
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
16568
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16569
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16570
  test 0 -eq $? || _lt_function_replace_fail=:
 
16571
else
 
16572
  # Save a `func_append' function call even when '+=' is not available
 
16573
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
16574
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16575
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16576
  test 0 -eq $? || _lt_function_replace_fail=:
 
16577
fi
 
16578
 
 
16579
if test x"$_lt_function_replace_fail" = x":"; then
 
16580
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
16581
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
16582
fi
 
16583
 
 
16584
 
 
16585
   mv -f "$cfgfile" "$ofile" ||
15739
16586
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15740
16587
  chmod +x "$ofile"
15741
16588
 
15750
16597
ac_clean_files=$ac_clean_files_save
15751
16598
 
15752
16599
test $ac_write_fail = 0 ||
15753
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
16600
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15754
16601
 
15755
16602
 
15756
16603
# configure is writing to config.log, and then calls config.status.
15771
16618
  exec 5>>config.log
15772
16619
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15773
16620
  # would make configure fail if this is the last instruction.
15774
 
  $ac_cs_success || as_fn_exit $?
 
16621
  $ac_cs_success || as_fn_exit 1
15775
16622
fi
15776
16623
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15777
16624
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5