~ubuntu-branches/ubuntu/trusty/monit/trusty-proposed

« back to all changes in this revision

Viewing changes to .pc/10_ssl_multiarch.patch/configure

  • Committer: Package Import Robot
  • Author(s): Sergey B Kirpichev
  • Date: 2013-06-16 13:54:38 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20130616135438-mg741bdvulp1zoie
Tags: 1:5.5.1-1
* Imported Upstream version 5.5.1
* Refresh patches, drop unused

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.65 for monit 5.5.
 
3
# Generated by GNU Autoconf 2.68 for monit 5.5.1.
4
4
#
5
5
# Report bugs to <monit-general@nongnu.org>.
6
6
#
7
7
#
8
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10
 
# Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
11
11
#
12
12
#
13
13
# This configure script is free software; the Free Software Foundation
91
91
IFS=" ""        $as_nl"
92
92
 
93
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
94
95
case $0 in #((
95
96
  *[\\/]* ) as_myself=$0 ;;
96
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
173
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
 
 
178
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
179
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    PATH=/empty FPATH=/empty; export PATH FPATH
 
183
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
184
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
176
185
test \$(( 1 + 1 )) = 2 || exit 1"
177
186
  if (eval "$as_required") 2>/dev/null; then :
178
187
  as_have_required=yes
216
225
  # We cannot yet assume a decent shell, so we have to provide a
217
226
        # neutralization value for shells without unset; and this also
218
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
219
229
        BASH_ENV=/dev/null
220
230
        ENV=/dev/null
221
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
232
        export CONFIG_SHELL
223
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
224
240
fi
225
241
 
226
242
    if test x$as_have_required = xno; then :
319
335
      test -d "$as_dir" && break
320
336
    done
321
337
    test -z "$as_dirs" || eval "mkdir $as_dirs"
322
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
338
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
339
 
324
340
 
325
341
} # as_fn_mkdir_p
359
375
fi # as_fn_arith
360
376
 
361
377
 
362
 
# as_fn_error ERROR [LINENO LOG_FD]
363
 
# ---------------------------------
 
378
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
379
# ----------------------------------------
364
380
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
381
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
 
# script with status $?, using 1 if that was 0.
 
382
# script with STATUS, using 1 if that was 0.
367
383
as_fn_error ()
368
384
{
369
 
  as_status=$?; test $as_status -eq 0 && as_status=1
370
 
  if test "$3"; then
371
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
385
  as_status=$1; test $as_status -eq 0 && as_status=1
 
386
  if test "$4"; then
 
387
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
388
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373
389
  fi
374
 
  $as_echo "$as_me: error: $1" >&2
 
390
  $as_echo "$as_me: error: $2" >&2
375
391
  as_fn_exit $as_status
376
392
} # as_fn_error
377
393
 
528
544
# Sed expression to map a string onto a valid variable name.
529
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
546
 
531
 
 
532
 
 
533
 
# Check that we are running under the correct shell.
534
547
SHELL=${CONFIG_SHELL-/bin/sh}
535
548
 
536
 
case X$lt_ECHO in
537
 
X*--fallback-echo)
538
 
  # Remove one level of quotation (which was required for Make).
539
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540
 
  ;;
541
 
esac
542
 
 
543
 
ECHO=${lt_ECHO-echo}
544
 
if test "X$1" = X--no-reexec; then
545
 
  # Discard the --no-reexec flag, and continue.
546
 
  shift
547
 
elif test "X$1" = X--fallback-echo; then
548
 
  # Avoid inline document here, it may be left over
549
 
  :
550
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
 
  # Yippee, $ECHO works!
552
 
  :
553
 
else
554
 
  # Restart under the correct shell.
555
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
556
 
fi
557
 
 
558
 
if test "X$1" = X--fallback-echo; then
559
 
  # used as fallback echo
560
 
  shift
561
 
  cat <<_LT_EOF
562
 
$*
563
 
_LT_EOF
564
 
  exit 0
565
 
fi
566
 
 
567
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
568
 
# if CDPATH is set.
569
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
 
 
571
 
if test -z "$lt_ECHO"; then
572
 
  if test "X${echo_test_string+set}" != Xset; then
573
 
    # find a string as large as possible, as long as the shell can cope with it
574
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578
 
      then
579
 
        break
580
 
      fi
581
 
    done
582
 
  fi
583
 
 
584
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
587
 
    :
588
 
  else
589
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
590
 
    # backslashes.  This makes it impossible to quote backslashes using
591
 
    #   echo "$something" | sed 's/\\/\\\\/g'
592
 
    #
593
 
    # So, first we look for a working echo in the user's PATH.
594
 
 
595
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
 
    for dir in $PATH /usr/ucb; do
597
 
      IFS="$lt_save_ifs"
598
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
602
 
        ECHO="$dir/echo"
603
 
        break
604
 
      fi
605
 
    done
606
 
    IFS="$lt_save_ifs"
607
 
 
608
 
    if test "X$ECHO" = Xecho; then
609
 
      # We didn't find a better echo, so look for alternatives.
610
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
613
 
        # This shell has a builtin print -r that does the trick.
614
 
        ECHO='print -r'
615
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
617
 
        # If we have ksh, try running configure again with it.
618
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
 
        export ORIGINAL_CONFIG_SHELL
620
 
        CONFIG_SHELL=/bin/ksh
621
 
        export CONFIG_SHELL
622
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623
 
      else
624
 
        # Try using printf.
625
 
        ECHO='printf %s\n'
626
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
629
 
          # Cool, printf works
630
 
          :
631
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
 
             test "X$echo_testing_string" = 'X\t' &&
633
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
635
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636
 
          export CONFIG_SHELL
637
 
          SHELL="$CONFIG_SHELL"
638
 
          export SHELL
639
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
 
             test "X$echo_testing_string" = 'X\t' &&
642
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
644
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
645
 
        else
646
 
          # maybe with a smaller string...
647
 
          prev=:
648
 
 
649
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651
 
            then
652
 
              break
653
 
            fi
654
 
            prev="$cmd"
655
 
          done
656
 
 
657
 
          if test "$prev" != 'sed 50q "$0"'; then
658
 
            echo_test_string=`eval $prev`
659
 
            export echo_test_string
660
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661
 
          else
662
 
            # Oops.  We lost completely, so just stick with echo.
663
 
            ECHO=echo
664
 
          fi
665
 
        fi
666
 
      fi
667
 
    fi
668
 
  fi
669
 
fi
670
 
 
671
 
# Copy echo and quote the copy suitably for passing to libtool from
672
 
# the Makefile, instead of quoting the original, which is used later.
673
 
lt_ECHO=$ECHO
674
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676
 
fi
677
 
 
678
 
 
679
 
 
680
549
 
681
550
test -n "$DJDIR" || exec 7<&0 </dev/null
682
551
exec 6>&1
683
552
 
684
553
# Name of the host.
685
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
554
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686
555
# so uname gets run too.
687
556
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
557
 
701
570
# Identity of this package.
702
571
PACKAGE_NAME='monit'
703
572
PACKAGE_TARNAME='monit'
704
 
PACKAGE_VERSION='5.5'
705
 
PACKAGE_STRING='monit 5.5'
 
573
PACKAGE_VERSION='5.5.1'
 
574
PACKAGE_STRING='monit 5.5.1'
706
575
PACKAGE_BUGREPORT='monit-general@nongnu.org'
707
576
PACKAGE_URL=''
708
577
 
757
626
LIPO
758
627
NMEDIT
759
628
DSYMUTIL
760
 
lt_ECHO
 
629
MANIFEST_TOOL
761
630
RANLIB
 
631
ac_ct_AR
762
632
AR
 
633
DLLTOOL
763
634
OBJDUMP
764
635
LN_S
765
636
NM
786
657
am__fastdepCC_FALSE
787
658
am__fastdepCC_TRUE
788
659
CCDEPMODE
 
660
am__nodep
789
661
AMDEPBACKSLASH
790
662
AMDEP_FALSE
791
663
AMDEP_TRUE
870
742
with_pic
871
743
enable_fast_install
872
744
with_gnu_ld
 
745
with_sysroot
873
746
enable_libtool_lock
874
747
enable_optimized
875
748
with_largefiles
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
1431
1305
  # Omit some internal or obsolete options to make the list less imposing.
1432
1306
  # This message is too long to be a string in the A/UX 3.1 sh.
1433
1307
  cat <<_ACEOF
1434
 
\`configure' configures monit 5.5 to adapt to many kinds of systems.
 
1308
\`configure' configures monit 5.5.1 to adapt to many kinds of systems.
1435
1309
 
1436
1310
Usage: $0 [OPTION]... [VAR=VALUE]...
1437
1311
 
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
1501
1375
 
1502
1376
if test -n "$ac_init_help"; then
1503
1377
  case $ac_init_help in
1504
 
     short | recursive ) echo "Configuration of monit 5.5:";;
 
1378
     short | recursive ) echo "Configuration of monit 5.5.1:";;
1505
1379
   esac
1506
1380
  cat <<\_ACEOF
1507
1381
 
1522
1396
Optional Packages:
1523
1397
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1524
1398
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1525
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1399
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1526
1400
                          both]
1527
1401
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1402
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1403
                        (or the compiler's sysroot if not specified).
1528
1404
  --without-largefiles    disable large files support (default: enabled)
1529
1405
  --without-pam           disable the use of pam (default: enabled)
1530
1406
  --with-ssl-static=DIR       location of SSL installation
1609
1485
test -n "$ac_init_help" && exit $ac_status
1610
1486
if $ac_init_version; then
1611
1487
  cat <<\_ACEOF
1612
 
monit configure 5.5
1613
 
generated by GNU Autoconf 2.65
 
1488
monit configure 5.5.1
 
1489
generated by GNU Autoconf 2.68
1614
1490
 
1615
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1491
Copyright (C) 2010 Free Software Foundation, Inc.
1616
1492
This configure script is free software; the Free Software Foundation
1617
1493
gives unlimited permission to copy, distribute and modify it.
1618
1494
_ACEOF
1656
1532
 
1657
1533
        ac_retval=1
1658
1534
fi
1659
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1535
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1660
1536
  as_fn_set_status $ac_retval
1661
1537
 
1662
1538
} # ac_fn_c_try_compile
1702
1578
  # interfere with the next link command; also delete a directory that is
1703
1579
  # left behind by Apple's compiler.  We do this before executing the actions.
1704
1580
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1705
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1581
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706
1582
  as_fn_set_status $ac_retval
1707
1583
 
1708
1584
} # ac_fn_c_try_link
1716
1592
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717
1593
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1718
1594
$as_echo_n "checking for $2... " >&6; }
1719
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1595
if eval \${$3+:} false; then :
1720
1596
  $as_echo_n "(cached) " >&6
1721
1597
else
1722
1598
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1734
1610
eval ac_res=\$$3
1735
1611
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1736
1612
$as_echo "$ac_res" >&6; }
1737
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1613
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738
1614
 
1739
1615
} # ac_fn_c_check_header_compile
1740
1616
 
1759
1635
    mv -f conftest.er1 conftest.err
1760
1636
  fi
1761
1637
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762
 
  test $ac_status = 0; } >/dev/null && {
 
1638
  test $ac_status = 0; } > conftest.i && {
1763
1639
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1764
1640
         test ! -s conftest.err
1765
1641
       }; then :
1770
1646
 
1771
1647
    ac_retval=1
1772
1648
fi
1773
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1649
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774
1650
  as_fn_set_status $ac_retval
1775
1651
 
1776
1652
} # ac_fn_c_try_cpp
1812
1688
       ac_retval=$ac_status
1813
1689
fi
1814
1690
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1815
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1691
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816
1692
  as_fn_set_status $ac_retval
1817
1693
 
1818
1694
} # ac_fn_c_try_run
1825
1701
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826
1702
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1827
1703
$as_echo_n "checking for $2... " >&6; }
1828
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1704
if eval \${$3+:} false; then :
1829
1705
  $as_echo_n "(cached) " >&6
1830
1706
else
1831
1707
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880
1756
eval ac_res=\$$3
1881
1757
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1882
1758
$as_echo "$ac_res" >&6; }
1883
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1759
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884
1760
 
1885
1761
} # ac_fn_c_check_func
1886
1762
 
1892
1768
ac_fn_c_check_header_mongrel ()
1893
1769
{
1894
1770
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1771
  if eval \${$3+:} false; then :
1896
1772
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1897
1773
$as_echo_n "checking for $2... " >&6; }
1898
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1774
if eval \${$3+:} false; then :
1899
1775
  $as_echo_n "(cached) " >&6
1900
1776
fi
1901
1777
eval ac_res=\$$3
1931
1807
else
1932
1808
  ac_header_preproc=no
1933
1809
fi
1934
 
rm -f conftest.err conftest.$ac_ext
 
1810
rm -f conftest.err conftest.i conftest.$ac_ext
1935
1811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1936
1812
$as_echo "$ac_header_preproc" >&6; }
1937
1813
 
1954
1830
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1955
1831
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1956
1832
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1957
 
( cat <<\_ASBOX
1958
 
## --------------------------------------- ##
 
1833
( $as_echo "## --------------------------------------- ##
1959
1834
## Report this to monit-general@nongnu.org ##
1960
 
## --------------------------------------- ##
1961
 
_ASBOX
 
1835
## --------------------------------------- ##"
1962
1836
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1963
1837
    ;;
1964
1838
esac
1965
1839
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1966
1840
$as_echo_n "checking for $2... " >&6; }
1967
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1841
if eval \${$3+:} false; then :
1968
1842
  $as_echo_n "(cached) " >&6
1969
1843
else
1970
1844
  eval "$3=\$ac_header_compiler"
1973
1847
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974
1848
$as_echo "$ac_res" >&6; }
1975
1849
fi
1976
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1850
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977
1851
 
1978
1852
} # ac_fn_c_check_header_mongrel
1979
1853
 
1986
1860
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987
1861
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1988
1862
$as_echo_n "checking for $2... " >&6; }
1989
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1863
if eval \${$3+:} false; then :
1990
1864
  $as_echo_n "(cached) " >&6
1991
1865
else
1992
1866
  eval "$3=no"
2027
1901
eval ac_res=\$$3
2028
1902
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2029
1903
$as_echo "$ac_res" >&6; }
2030
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1904
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2031
1905
 
2032
1906
} # ac_fn_c_check_type
2033
1907
 
2040
1914
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2041
1915
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2042
1916
$as_echo_n "checking for $2.$3... " >&6; }
2043
 
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1917
if eval \${$4+:} false; then :
2044
1918
  $as_echo_n "(cached) " >&6
2045
1919
else
2046
1920
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2084
1958
eval ac_res=\$$4
2085
1959
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2086
1960
$as_echo "$ac_res" >&6; }
2087
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1961
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2088
1962
 
2089
1963
} # ac_fn_c_check_member
2090
1964
cat >config.log <<_ACEOF
2091
1965
This file contains any messages produced by compilers while
2092
1966
running configure, to aid debugging if configure makes a mistake.
2093
1967
 
2094
 
It was created by monit $as_me 5.5, which was
2095
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
1968
It was created by monit $as_me 5.5.1, which was
 
1969
generated by GNU Autoconf 2.68.  Invocation command line was
2096
1970
 
2097
1971
  $ $0 $@
2098
1972
 
2202
2076
  {
2203
2077
    echo
2204
2078
 
2205
 
    cat <<\_ASBOX
2206
 
## ---------------- ##
 
2079
    $as_echo "## ---------------- ##
2207
2080
## Cache variables. ##
2208
 
## ---------------- ##
2209
 
_ASBOX
 
2081
## ---------------- ##"
2210
2082
    echo
2211
2083
    # The following way of writing the cache mishandles newlines in values,
2212
2084
(
2240
2112
)
2241
2113
    echo
2242
2114
 
2243
 
    cat <<\_ASBOX
2244
 
## ----------------- ##
 
2115
    $as_echo "## ----------------- ##
2245
2116
## Output variables. ##
2246
 
## ----------------- ##
2247
 
_ASBOX
 
2117
## ----------------- ##"
2248
2118
    echo
2249
2119
    for ac_var in $ac_subst_vars
2250
2120
    do
2257
2127
    echo
2258
2128
 
2259
2129
    if test -n "$ac_subst_files"; then
2260
 
      cat <<\_ASBOX
2261
 
## ------------------- ##
 
2130
      $as_echo "## ------------------- ##
2262
2131
## File substitutions. ##
2263
 
## ------------------- ##
2264
 
_ASBOX
 
2132
## ------------------- ##"
2265
2133
      echo
2266
2134
      for ac_var in $ac_subst_files
2267
2135
      do
2275
2143
    fi
2276
2144
 
2277
2145
    if test -s confdefs.h; then
2278
 
      cat <<\_ASBOX
2279
 
## ----------- ##
 
2146
      $as_echo "## ----------- ##
2280
2147
## confdefs.h. ##
2281
 
## ----------- ##
2282
 
_ASBOX
 
2148
## ----------- ##"
2283
2149
      echo
2284
2150
      cat confdefs.h
2285
2151
      echo
2334
2200
ac_site_file1=NONE
2335
2201
ac_site_file2=NONE
2336
2202
if test -n "$CONFIG_SITE"; then
2337
 
  ac_site_file1=$CONFIG_SITE
 
2203
  # We do not want a PATH search for config.site.
 
2204
  case $CONFIG_SITE in #((
 
2205
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2206
    */*) ac_site_file1=$CONFIG_SITE;;
 
2207
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2208
  esac
2338
2209
elif test "x$prefix" != xNONE; then
2339
2210
  ac_site_file1=$prefix/share/config.site
2340
2211
  ac_site_file2=$prefix/etc/config.site
2349
2220
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2350
2221
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2351
2222
    sed 's/^/| /' "$ac_site_file" >&5
2352
 
    . "$ac_site_file"
 
2223
    . "$ac_site_file" \
 
2224
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2225
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2226
as_fn_error $? "failed to load site script $ac_site_file
 
2227
See \`config.log' for more details" "$LINENO" 5; }
2353
2228
  fi
2354
2229
done
2355
2230
 
2425
2300
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2426
2301
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2427
2302
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2428
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2303
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2429
2304
fi
2430
2305
## -------------------- ##
2431
2306
## Main body of script. ##
2440
2315
 
2441
2316
ac_aux_dir=
2442
2317
for ac_dir in config "$srcdir"/config; do
2443
 
  for ac_t in install-sh install.sh shtool; do
2444
 
    if test -f "$ac_dir/$ac_t"; then
2445
 
      ac_aux_dir=$ac_dir
2446
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2447
 
      break 2
2448
 
    fi
2449
 
  done
 
2318
  if test -f "$ac_dir/install-sh"; then
 
2319
    ac_aux_dir=$ac_dir
 
2320
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2321
    break
 
2322
  elif test -f "$ac_dir/install.sh"; then
 
2323
    ac_aux_dir=$ac_dir
 
2324
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2325
    break
 
2326
  elif test -f "$ac_dir/shtool"; then
 
2327
    ac_aux_dir=$ac_dir
 
2328
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2329
    break
 
2330
  fi
2450
2331
done
2451
2332
if test -z "$ac_aux_dir"; then
2452
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
 
2333
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2453
2334
fi
2454
2335
 
2455
2336
# These three variables are undocumented and unsupported,
2481
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2482
2363
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2483
2364
if test -z "$INSTALL"; then
2484
 
if test "${ac_cv_path_install+set}" = set; then :
 
2365
if ${ac_cv_path_install+:} false; then :
2485
2366
  $as_echo_n "(cached) " >&6
2486
2367
else
2487
2368
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568
2449
'
2569
2450
case `pwd` in
2570
2451
  *[\\\"\#\$\&\'\`$am_lf]*)
2571
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2452
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2572
2453
esac
2573
2454
case $srcdir in
2574
2455
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2575
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2456
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2576
2457
esac
2577
2458
 
2578
2459
# Do `set' in a subshell so we don't clobber the current shell's
2594
2475
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2595
2476
      # broken ls alias from the environment.  This has actually
2596
2477
      # happened.  Such a system could not be considered "sane".
2597
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2478
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2598
2479
alias in your environment" "$LINENO" 5
2599
2480
   fi
2600
2481
 
2604
2485
   # Ok.
2605
2486
   :
2606
2487
else
2607
 
   as_fn_error "newly created file is older than distributed files!
 
2488
   as_fn_error $? "newly created file is older than distributed files!
2608
2489
Check your system clock" "$LINENO" 5
2609
2490
fi
2610
2491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2658
2539
set dummy ${ac_tool_prefix}strip; ac_word=$2
2659
2540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2660
2541
$as_echo_n "checking for $ac_word... " >&6; }
2661
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2542
if ${ac_cv_prog_STRIP+:} false; then :
2662
2543
  $as_echo_n "(cached) " >&6
2663
2544
else
2664
2545
  if test -n "$STRIP"; then
2698
2579
set dummy strip; ac_word=$2
2699
2580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2700
2581
$as_echo_n "checking for $ac_word... " >&6; }
2701
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2582
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2702
2583
  $as_echo_n "(cached) " >&6
2703
2584
else
2704
2585
  if test -n "$ac_ct_STRIP"; then
2751
2632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2752
2633
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2753
2634
if test -z "$MKDIR_P"; then
2754
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2635
  if ${ac_cv_path_mkdir+:} false; then :
2755
2636
  $as_echo_n "(cached) " >&6
2756
2637
else
2757
2638
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802
2683
set dummy $ac_prog; ac_word=$2
2803
2684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2804
2685
$as_echo_n "checking for $ac_word... " >&6; }
2805
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2686
if ${ac_cv_prog_AWK+:} false; then :
2806
2687
  $as_echo_n "(cached) " >&6
2807
2688
else
2808
2689
  if test -n "$AWK"; then
2842
2723
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2843
2724
set x ${MAKE-make}
2844
2725
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2845
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2726
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2846
2727
  $as_echo_n "(cached) " >&6
2847
2728
else
2848
2729
  cat >conftest.make <<\_ACEOF
2850
2731
all:
2851
2732
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2852
2733
_ACEOF
2853
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2734
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2854
2735
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2855
2736
  *@@@%%%=?*=@@@%%%*)
2856
2737
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2884
2765
  am__isrc=' -I$(srcdir)'
2885
2766
  # test to see if srcdir already configured
2886
2767
  if test -f $srcdir/config.status; then
2887
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2768
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2888
2769
  fi
2889
2770
fi
2890
2771
 
2900
2781
 
2901
2782
# Define the identity of the package.
2902
2783
 PACKAGE='monit'
2903
 
 VERSION='5.5'
 
2784
 VERSION='5.5.1'
2904
2785
 
2905
2786
 
2906
2787
cat >>confdefs.h <<_ACEOF
2930
2811
 
2931
2812
# We need awk for the "check" target.  The system "awk" is bad on
2932
2813
# some platforms.
2933
 
# Always define AMTAR for backward compatibility.
2934
 
 
2935
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2936
 
 
2937
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2814
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
2815
# in the wild :-(  We should find a proper way to deprecate it ...
 
2816
AMTAR='$${TAR-tar}'
 
2817
 
 
2818
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2938
2819
 
2939
2820
 
2940
2821
 
2963
2844
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2964
2845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965
2846
$as_echo_n "checking for $ac_word... " >&6; }
2966
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2847
if ${ac_cv_prog_CC+:} false; then :
2967
2848
  $as_echo_n "(cached) " >&6
2968
2849
else
2969
2850
  if test -n "$CC"; then
3003
2884
set dummy gcc; ac_word=$2
3004
2885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3005
2886
$as_echo_n "checking for $ac_word... " >&6; }
3006
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2887
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3007
2888
  $as_echo_n "(cached) " >&6
3008
2889
else
3009
2890
  if test -n "$ac_ct_CC"; then
3056
2937
set dummy ${ac_tool_prefix}cc; ac_word=$2
3057
2938
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3058
2939
$as_echo_n "checking for $ac_word... " >&6; }
3059
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2940
if ${ac_cv_prog_CC+:} false; then :
3060
2941
  $as_echo_n "(cached) " >&6
3061
2942
else
3062
2943
  if test -n "$CC"; then
3096
2977
set dummy cc; ac_word=$2
3097
2978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098
2979
$as_echo_n "checking for $ac_word... " >&6; }
3099
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2980
if ${ac_cv_prog_CC+:} false; then :
3100
2981
  $as_echo_n "(cached) " >&6
3101
2982
else
3102
2983
  if test -n "$CC"; then
3155
3036
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3156
3037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157
3038
$as_echo_n "checking for $ac_word... " >&6; }
3158
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3039
if ${ac_cv_prog_CC+:} false; then :
3159
3040
  $as_echo_n "(cached) " >&6
3160
3041
else
3161
3042
  if test -n "$CC"; then
3199
3080
set dummy $ac_prog; ac_word=$2
3200
3081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3201
3082
$as_echo_n "checking for $ac_word... " >&6; }
3202
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3083
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3203
3084
  $as_echo_n "(cached) " >&6
3204
3085
else
3205
3086
  if test -n "$ac_ct_CC"; then
3253
3134
 
3254
3135
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3255
3136
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3256
 
as_fn_error "no acceptable C compiler found in \$PATH
3257
 
See \`config.log' for more details." "$LINENO" 5; }
 
3137
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3138
See \`config.log' for more details" "$LINENO" 5; }
3258
3139
 
3259
3140
# Provide some information about the compiler.
3260
3141
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3368
3249
 
3369
3250
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3370
3251
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3371
 
{ as_fn_set_status 77
3372
 
as_fn_error "C compiler cannot create executables
3373
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3252
as_fn_error 77 "C compiler cannot create executables
 
3253
See \`config.log' for more details" "$LINENO" 5; }
3374
3254
else
3375
3255
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3376
3256
$as_echo "yes" >&6; }
3412
3292
else
3413
3293
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3414
3294
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3415
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3416
 
See \`config.log' for more details." "$LINENO" 5; }
 
3295
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3296
See \`config.log' for more details" "$LINENO" 5; }
3417
3297
fi
3418
3298
rm -f conftest conftest$ac_cv_exeext
3419
3299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3470
3350
    else
3471
3351
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3472
3352
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3473
 
as_fn_error "cannot run C compiled programs.
 
3353
as_fn_error $? "cannot run C compiled programs.
3474
3354
If you meant to cross compile, use \`--host'.
3475
 
See \`config.log' for more details." "$LINENO" 5; }
 
3355
See \`config.log' for more details" "$LINENO" 5; }
3476
3356
    fi
3477
3357
  fi
3478
3358
fi
3483
3363
ac_clean_files=$ac_clean_files_save
3484
3364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3485
3365
$as_echo_n "checking for suffix of object files... " >&6; }
3486
 
if test "${ac_cv_objext+set}" = set; then :
 
3366
if ${ac_cv_objext+:} false; then :
3487
3367
  $as_echo_n "(cached) " >&6
3488
3368
else
3489
3369
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3523
3403
 
3524
3404
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3525
3405
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3526
 
as_fn_error "cannot compute suffix of object files: cannot compile
3527
 
See \`config.log' for more details." "$LINENO" 5; }
 
3406
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3407
See \`config.log' for more details" "$LINENO" 5; }
3528
3408
fi
3529
3409
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3530
3410
fi
3534
3414
ac_objext=$OBJEXT
3535
3415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3536
3416
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3537
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3417
if ${ac_cv_c_compiler_gnu+:} false; then :
3538
3418
  $as_echo_n "(cached) " >&6
3539
3419
else
3540
3420
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571
3451
ac_save_CFLAGS=$CFLAGS
3572
3452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3573
3453
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3574
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3454
if ${ac_cv_prog_cc_g+:} false; then :
3575
3455
  $as_echo_n "(cached) " >&6
3576
3456
else
3577
3457
  ac_save_c_werror_flag=$ac_c_werror_flag
3649
3529
fi
3650
3530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3651
3531
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3652
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3532
if ${ac_cv_prog_cc_c89+:} false; then :
3653
3533
  $as_echo_n "(cached) " >&6
3654
3534
else
3655
3535
  ac_cv_prog_cc_c89=no
3795
3675
if test "x$enable_dependency_tracking" != xno; then
3796
3676
  am_depcomp="$ac_aux_dir/depcomp"
3797
3677
  AMDEPBACKSLASH='\'
 
3678
  am__nodep='_no'
3798
3679
fi
3799
3680
 if test "x$enable_dependency_tracking" != xno; then
3800
3681
  AMDEP_TRUE=
3810
3691
 
3811
3692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3812
3693
$as_echo_n "checking dependency style of $depcc... " >&6; }
3813
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3694
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3814
3695
  $as_echo_n "(cached) " >&6
3815
3696
else
3816
3697
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3819
3700
  # instance it was reported that on HP-UX the gcc test will end up
3820
3701
  # making a dummy file named `D' -- because `-MD' means `put the output
3821
3702
  # in D'.
 
3703
  rm -rf conftest.dir
3822
3704
  mkdir conftest.dir
3823
3705
  # Copy depcomp to subdir because otherwise we won't find it if we're
3824
3706
  # using a relative directory.
3878
3760
        break
3879
3761
      fi
3880
3762
      ;;
3881
 
    msvisualcpp | msvcmsys)
 
3763
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3882
3764
      # This compiler won't grok `-c -o', but also, the minuso test has
3883
3765
      # not run yet.  These depmodes are late enough in the game, and
3884
3766
      # so weak that their functioning should not be impacted.
3938
3820
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3939
3821
set x ${MAKE-make}
3940
3822
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3941
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3823
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3942
3824
  $as_echo_n "(cached) " >&6
3943
3825
else
3944
3826
  cat >conftest.make <<\_ACEOF
3946
3828
all:
3947
3829
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3948
3830
_ACEOF
3949
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
3831
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3950
3832
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3951
3833
  *@@@%%%=?*=@@@%%%*)
3952
3834
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3971
3853
set dummy $ac_prog; ac_word=$2
3972
3854
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3973
3855
$as_echo_n "checking for $ac_word... " >&6; }
3974
 
if test "${ac_cv_prog_YACC+set}" = set; then :
 
3856
if ${ac_cv_prog_YACC+:} false; then :
3975
3857
  $as_echo_n "(cached) " >&6
3976
3858
else
3977
3859
  if test -n "$YACC"; then
4012
3894
if test "x$YACC" = "xno"; then
4013
3895
        # Require bison unless y.tab.c already is built
4014
3896
        if test ! -f src/y.tab.c; then
4015
 
                as_fn_error "Monit require bison, byacc or yacc. Download bison from http://www.gnu.org/software/bison/" "$LINENO" 5
 
3897
                as_fn_error $? "Monit require bison, byacc or yacc. Download bison from http://www.gnu.org/software/bison/" "$LINENO" 5
4016
3898
        fi
4017
3899
fi
4018
3900
# Extract the first word of "flex", so it can be a program name with args.
4019
3901
set dummy flex; ac_word=$2
4020
3902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021
3903
$as_echo_n "checking for $ac_word... " >&6; }
4022
 
if test "${ac_cv_path_FLEX+set}" = set; then :
 
3904
if ${ac_cv_path_FLEX+:} false; then :
4023
3905
  $as_echo_n "(cached) " >&6
4024
3906
else
4025
3907
  case $FLEX in
4068
3950
set dummy pod2man; ac_word=$2
4069
3951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070
3952
$as_echo_n "checking for $ac_word... " >&6; }
4071
 
if test "${ac_cv_path_POD2MAN+set}" = set; then :
 
3953
if ${ac_cv_path_POD2MAN+:} false; then :
4072
3954
  $as_echo_n "(cached) " >&6
4073
3955
else
4074
3956
  case $POD2MAN in
4109
3991
if test "x$POD2MAN" = "xno"; then
4110
3992
        # Require pod2man unless monit.1 already is built
4111
3993
        if test ! -f monit.1; then
4112
 
                as_fn_error "pod2man is required to build the monit.1 man file." "$LINENO" 5
 
3994
                as_fn_error $? "pod2man is required to build the monit.1 man file." "$LINENO" 5
4113
3995
        fi
4114
3996
else
4115
3997
        d=`date  '+%B %d. %Y'`
4161
4043
 
4162
4044
 
4163
4045
 
4164
 
macro_version='2.2.6b'
4165
 
macro_revision='1.3017'
 
4046
macro_version='2.4.2'
 
4047
macro_revision='1.3337'
4166
4048
 
4167
4049
 
4168
4050
 
4180
4062
 
4181
4063
# Make sure we can run config.sub.
4182
4064
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4183
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
4065
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4184
4066
 
4185
4067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4186
4068
$as_echo_n "checking build system type... " >&6; }
4187
 
if test "${ac_cv_build+set}" = set; then :
 
4069
if ${ac_cv_build+:} false; then :
4188
4070
  $as_echo_n "(cached) " >&6
4189
4071
else
4190
4072
  ac_build_alias=$build_alias
4191
4073
test "x$ac_build_alias" = x &&
4192
4074
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4193
4075
test "x$ac_build_alias" = x &&
4194
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
4076
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4195
4077
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4196
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4078
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4197
4079
 
4198
4080
fi
4199
4081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4200
4082
$as_echo "$ac_cv_build" >&6; }
4201
4083
case $ac_cv_build in
4202
4084
*-*-*) ;;
4203
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
4085
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4204
4086
esac
4205
4087
build=$ac_cv_build
4206
4088
ac_save_IFS=$IFS; IFS='-'
4218
4100
 
4219
4101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4220
4102
$as_echo_n "checking host system type... " >&6; }
4221
 
if test "${ac_cv_host+set}" = set; then :
 
4103
if ${ac_cv_host+:} false; then :
4222
4104
  $as_echo_n "(cached) " >&6
4223
4105
else
4224
4106
  if test "x$host_alias" = x; then
4225
4107
  ac_cv_host=$ac_cv_build
4226
4108
else
4227
4109
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4228
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
4110
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4229
4111
fi
4230
4112
 
4231
4113
fi
4233
4115
$as_echo "$ac_cv_host" >&6; }
4234
4116
case $ac_cv_host in
4235
4117
*-*-*) ;;
4236
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
4118
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4237
4119
esac
4238
4120
host=$ac_cv_host
4239
4121
ac_save_IFS=$IFS; IFS='-'
4249
4131
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4250
4132
 
4251
4133
 
 
4134
# Backslashify metacharacters that are still active within
 
4135
# double-quoted strings.
 
4136
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
4137
 
 
4138
# Same as above, but do not quote variable references.
 
4139
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
4140
 
 
4141
# Sed substitution to delay expansion of an escaped shell variable in a
 
4142
# double_quote_subst'ed string.
 
4143
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
4144
 
 
4145
# Sed substitution to delay expansion of an escaped single quote.
 
4146
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
4147
 
 
4148
# Sed substitution to avoid accidental globbing in evaled expressions
 
4149
no_glob_subst='s/\*/\\\*/g'
 
4150
 
 
4151
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4152
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
4153
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
4154
 
 
4155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
4156
$as_echo_n "checking how to print strings... " >&6; }
 
4157
# Test print first, because it will be a builtin if present.
 
4158
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
4159
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4160
  ECHO='print -r --'
 
4161
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4162
  ECHO='printf %s\n'
 
4163
else
 
4164
  # Use this function as a fallback that always works.
 
4165
  func_fallback_echo ()
 
4166
  {
 
4167
    eval 'cat <<_LTECHO_EOF
 
4168
$1
 
4169
_LTECHO_EOF'
 
4170
  }
 
4171
  ECHO='func_fallback_echo'
 
4172
fi
 
4173
 
 
4174
# func_echo_all arg...
 
4175
# Invoke $ECHO with all args, space-separated.
 
4176
func_echo_all ()
 
4177
{
 
4178
    $ECHO ""
 
4179
}
 
4180
 
 
4181
case "$ECHO" in
 
4182
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
4183
$as_echo "printf" >&6; } ;;
 
4184
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
4185
$as_echo "print -r" >&6; } ;;
 
4186
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
4187
$as_echo "cat" >&6; } ;;
 
4188
esac
 
4189
 
 
4190
 
 
4191
 
 
4192
 
 
4193
 
 
4194
 
 
4195
 
 
4196
 
 
4197
 
 
4198
 
 
4199
 
 
4200
 
 
4201
 
 
4202
 
4252
4203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4253
4204
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4254
 
if test "${ac_cv_path_SED+set}" = set; then :
 
4205
if ${ac_cv_path_SED+:} false; then :
4255
4206
  $as_echo_n "(cached) " >&6
4256
4207
else
4257
4208
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4306
4257
  done
4307
4258
IFS=$as_save_IFS
4308
4259
  if test -z "$ac_cv_path_SED"; then
4309
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4260
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4310
4261
  fi
4311
4262
else
4312
4263
  ac_cv_path_SED=$SED
4333
4284
 
4334
4285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4335
4286
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4336
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4287
if ${ac_cv_path_GREP+:} false; then :
4337
4288
  $as_echo_n "(cached) " >&6
4338
4289
else
4339
4290
  if test -z "$GREP"; then
4382
4333
  done
4383
4334
IFS=$as_save_IFS
4384
4335
  if test -z "$ac_cv_path_GREP"; then
4385
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4336
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4386
4337
  fi
4387
4338
else
4388
4339
  ac_cv_path_GREP=$GREP
4396
4347
 
4397
4348
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4398
4349
$as_echo_n "checking for egrep... " >&6; }
4399
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4350
if ${ac_cv_path_EGREP+:} false; then :
4400
4351
  $as_echo_n "(cached) " >&6
4401
4352
else
4402
4353
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4448
4399
  done
4449
4400
IFS=$as_save_IFS
4450
4401
  if test -z "$ac_cv_path_EGREP"; then
4451
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4402
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4452
4403
  fi
4453
4404
else
4454
4405
  ac_cv_path_EGREP=$EGREP
4463
4414
 
4464
4415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4465
4416
$as_echo_n "checking for fgrep... " >&6; }
4466
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4417
if ${ac_cv_path_FGREP+:} false; then :
4467
4418
  $as_echo_n "(cached) " >&6
4468
4419
else
4469
4420
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4515
4466
  done
4516
4467
IFS=$as_save_IFS
4517
4468
  if test -z "$ac_cv_path_FGREP"; then
4518
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4469
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4519
4470
  fi
4520
4471
else
4521
4472
  ac_cv_path_FGREP=$FGREP
4594
4545
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4595
4546
$as_echo_n "checking for non-GNU ld... " >&6; }
4596
4547
fi
4597
 
if test "${lt_cv_path_LD+set}" = set; then :
 
4548
if ${lt_cv_path_LD+:} false; then :
4598
4549
  $as_echo_n "(cached) " >&6
4599
4550
else
4600
4551
  if test -z "$LD"; then
4631
4582
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4632
4583
$as_echo "no" >&6; }
4633
4584
fi
4634
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4585
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4635
4586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4636
4587
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4637
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4588
if ${lt_cv_prog_gnu_ld+:} false; then :
4638
4589
  $as_echo_n "(cached) " >&6
4639
4590
else
4640
4591
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4661
4612
 
4662
4613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4663
4614
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4664
 
if test "${lt_cv_path_NM+set}" = set; then :
 
4615
if ${lt_cv_path_NM+:} false; then :
4665
4616
  $as_echo_n "(cached) " >&6
4666
4617
else
4667
4618
  if test -n "$NM"; then
4714
4665
  NM="$lt_cv_path_NM"
4715
4666
else
4716
4667
  # Didn't find any BSD compatible name lister, look for dumpbin.
4717
 
  if test -n "$ac_tool_prefix"; then
4718
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4668
  if test -n "$DUMPBIN"; then :
 
4669
    # Let the user override the test.
 
4670
  else
 
4671
    if test -n "$ac_tool_prefix"; then
 
4672
  for ac_prog in dumpbin "link -dump"
4719
4673
  do
4720
4674
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4721
4675
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4722
4676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4723
4677
$as_echo_n "checking for $ac_word... " >&6; }
4724
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4678
if ${ac_cv_prog_DUMPBIN+:} false; then :
4725
4679
  $as_echo_n "(cached) " >&6
4726
4680
else
4727
4681
  if test -n "$DUMPBIN"; then
4759
4713
fi
4760
4714
if test -z "$DUMPBIN"; then
4761
4715
  ac_ct_DUMPBIN=$DUMPBIN
4762
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4716
  for ac_prog in dumpbin "link -dump"
4763
4717
do
4764
4718
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4765
4719
set dummy $ac_prog; ac_word=$2
4766
4720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4767
4721
$as_echo_n "checking for $ac_word... " >&6; }
4768
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4722
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4769
4723
  $as_echo_n "(cached) " >&6
4770
4724
else
4771
4725
  if test -n "$ac_ct_DUMPBIN"; then
4814
4768
  fi
4815
4769
fi
4816
4770
 
 
4771
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4772
    *COFF*)
 
4773
      DUMPBIN="$DUMPBIN -symbols"
 
4774
      ;;
 
4775
    *)
 
4776
      DUMPBIN=:
 
4777
      ;;
 
4778
    esac
 
4779
  fi
4817
4780
 
4818
4781
  if test "$DUMPBIN" != ":"; then
4819
4782
    NM="$DUMPBIN"
4828
4791
 
4829
4792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4830
4793
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4831
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
4794
if ${lt_cv_nm_interface+:} false; then :
4832
4795
  $as_echo_n "(cached) " >&6
4833
4796
else
4834
4797
  lt_cv_nm_interface="BSD nm"
4835
4798
  echo "int some_variable = 0;" > conftest.$ac_ext
4836
 
  (eval echo "\"\$as_me:4836: $ac_compile\"" >&5)
 
4799
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4837
4800
  (eval "$ac_compile" 2>conftest.err)
4838
4801
  cat conftest.err >&5
4839
 
  (eval echo "\"\$as_me:4839: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4802
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4840
4803
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4841
4804
  cat conftest.err >&5
4842
 
  (eval echo "\"\$as_me:4842: output\"" >&5)
 
4805
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4843
4806
  cat conftest.out >&5
4844
4807
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4845
4808
    lt_cv_nm_interface="MS dumpbin"
4863
4826
# find the maximum length of command line arguments
4864
4827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4865
4828
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4866
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
4829
if ${lt_cv_sys_max_cmd_len+:} false; then :
4867
4830
  $as_echo_n "(cached) " >&6
4868
4831
else
4869
4832
    i=0
4896
4859
    lt_cv_sys_max_cmd_len=8192;
4897
4860
    ;;
4898
4861
 
 
4862
  mint*)
 
4863
    # On MiNT this can take a long time and run out of memory.
 
4864
    lt_cv_sys_max_cmd_len=8192;
 
4865
    ;;
 
4866
 
4899
4867
  amigaos*)
4900
4868
    # On AmigaOS with pdksh, this test takes hours, literally.
4901
4869
    # So we just punt and use a minimum line length of 8192.
4921
4889
    lt_cv_sys_max_cmd_len=196608
4922
4890
    ;;
4923
4891
 
 
4892
  os2*)
 
4893
    # The test takes a long time on OS/2.
 
4894
    lt_cv_sys_max_cmd_len=8192
 
4895
    ;;
 
4896
 
4924
4897
  osf*)
4925
4898
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4926
4899
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4960
4933
      # If test is not a shell built-in, we'll probably end up computing a
4961
4934
      # maximum length that is only half of the actual maximum length, but
4962
4935
      # we can't tell.
4963
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4964
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4936
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
4937
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4965
4938
              test $i != 17 # 1/2 MB should be enough
4966
4939
      do
4967
4940
        i=`expr $i + 1`
5003
4976
# Try some XSI features
5004
4977
xsi_shell=no
5005
4978
( _lt_dummy="a/b/c"
5006
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5007
 
      = c,a/b,, \
 
4979
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
4980
      = c,a/b,b/c, \
5008
4981
    && eval 'test $(( 1 + 1 )) -eq 2 \
5009
4982
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5010
4983
  && xsi_shell=yes
5053
5026
 
5054
5027
 
5055
5028
 
 
5029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5030
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5031
if ${lt_cv_to_host_file_cmd+:} false; then :
 
5032
  $as_echo_n "(cached) " >&6
 
5033
else
 
5034
  case $host in
 
5035
  *-*-mingw* )
 
5036
    case $build in
 
5037
      *-*-mingw* ) # actually msys
 
5038
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5039
        ;;
 
5040
      *-*-cygwin* )
 
5041
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5042
        ;;
 
5043
      * ) # otherwise, assume *nix
 
5044
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5045
        ;;
 
5046
    esac
 
5047
    ;;
 
5048
  *-*-cygwin* )
 
5049
    case $build in
 
5050
      *-*-mingw* ) # actually msys
 
5051
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5052
        ;;
 
5053
      *-*-cygwin* )
 
5054
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5055
        ;;
 
5056
      * ) # otherwise, assume *nix
 
5057
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5058
        ;;
 
5059
    esac
 
5060
    ;;
 
5061
  * ) # unhandled hosts (and "normal" native builds)
 
5062
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5063
    ;;
 
5064
esac
 
5065
 
 
5066
fi
 
5067
 
 
5068
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5070
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5071
 
 
5072
 
 
5073
 
 
5074
 
 
5075
 
 
5076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5077
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5078
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5079
  $as_echo_n "(cached) " >&6
 
5080
else
 
5081
  #assume ordinary cross tools, or native build.
 
5082
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5083
case $host in
 
5084
  *-*-mingw* )
 
5085
    case $build in
 
5086
      *-*-mingw* ) # actually msys
 
5087
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5088
        ;;
 
5089
    esac
 
5090
    ;;
 
5091
esac
 
5092
 
 
5093
fi
 
5094
 
 
5095
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5097
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5098
 
 
5099
 
 
5100
 
 
5101
 
 
5102
 
5056
5103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5057
5104
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5058
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5105
if ${lt_cv_ld_reload_flag+:} false; then :
5059
5106
  $as_echo_n "(cached) " >&6
5060
5107
else
5061
5108
  lt_cv_ld_reload_flag='-r'
5069
5116
esac
5070
5117
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5071
5118
case $host_os in
 
5119
  cygwin* | mingw* | pw32* | cegcc*)
 
5120
    if test "$GCC" != yes; then
 
5121
      reload_cmds=false
 
5122
    fi
 
5123
    ;;
5072
5124
  darwin*)
5073
5125
    if test "$GCC" = yes; then
5074
5126
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5091
5143
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5092
5144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5093
5145
$as_echo_n "checking for $ac_word... " >&6; }
5094
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5146
if ${ac_cv_prog_OBJDUMP+:} false; then :
5095
5147
  $as_echo_n "(cached) " >&6
5096
5148
else
5097
5149
  if test -n "$OBJDUMP"; then
5131
5183
set dummy objdump; ac_word=$2
5132
5184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5133
5185
$as_echo_n "checking for $ac_word... " >&6; }
5134
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5186
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5135
5187
  $as_echo_n "(cached) " >&6
5136
5188
else
5137
5189
  if test -n "$ac_ct_OBJDUMP"; then
5190
5242
 
5191
5243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5192
5244
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5193
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5245
if ${lt_cv_deplibs_check_method+:} false; then :
5194
5246
  $as_echo_n "(cached) " >&6
5195
5247
else
5196
5248
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5232
5284
  # Base MSYS/MinGW do not provide the 'file' command needed by
5233
5285
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5234
5286
  # unless we find 'file', for example because we are cross-compiling.
5235
 
  if ( file / ) >/dev/null 2>&1; then
 
5287
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5288
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5236
5289
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5237
5290
    lt_cv_file_magic_cmd='func_win32_libid'
5238
5291
  else
5239
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5292
    # Keep this pattern in sync with the one in func_win32_libid.
 
5293
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5240
5294
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5241
5295
  fi
5242
5296
  ;;
5243
5297
 
5244
 
cegcc)
 
5298
cegcc*)
5245
5299
  # use the weaker test based on 'objdump'. See mingw*.
5246
5300
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5247
5301
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5271
5325
  lt_cv_deplibs_check_method=pass_all
5272
5326
  ;;
5273
5327
 
 
5328
haiku*)
 
5329
  lt_cv_deplibs_check_method=pass_all
 
5330
  ;;
 
5331
 
5274
5332
hpux10.20* | hpux11*)
5275
5333
  lt_cv_file_magic_cmd=/usr/bin/file
5276
5334
  case $host_cpu in
5279
5337
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5280
5338
    ;;
5281
5339
  hppa*64*)
5282
 
    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]'
 
5340
    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]'
5283
5341
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5284
5342
    ;;
5285
5343
  *)
5286
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5344
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5287
5345
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5288
5346
    ;;
5289
5347
  esac
5304
5362
  lt_cv_deplibs_check_method=pass_all
5305
5363
  ;;
5306
5364
 
5307
 
# This must be Linux ELF.
 
5365
# This must be glibc/ELF.
5308
5366
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5309
5367
  lt_cv_deplibs_check_method=pass_all
5310
5368
  ;;
5386
5444
fi
5387
5445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5388
5446
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5447
 
 
5448
file_magic_glob=
 
5449
want_nocaseglob=no
 
5450
if test "$build" = "$host"; then
 
5451
  case $host_os in
 
5452
  mingw* | pw32*)
 
5453
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5454
      want_nocaseglob=yes
 
5455
    else
 
5456
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5457
    fi
 
5458
    ;;
 
5459
  esac
 
5460
fi
 
5461
 
5389
5462
file_magic_cmd=$lt_cv_file_magic_cmd
5390
5463
deplibs_check_method=$lt_cv_deplibs_check_method
5391
5464
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5401
5474
 
5402
5475
 
5403
5476
 
5404
 
if test -n "$ac_tool_prefix"; then
5405
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5406
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5407
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408
 
$as_echo_n "checking for $ac_word... " >&6; }
5409
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
5477
 
 
5478
 
 
5479
 
 
5480
 
 
5481
 
 
5482
 
 
5483
 
 
5484
 
 
5485
 
 
5486
 
 
5487
if test -n "$ac_tool_prefix"; then
 
5488
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5489
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5491
$as_echo_n "checking for $ac_word... " >&6; }
 
5492
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5493
  $as_echo_n "(cached) " >&6
 
5494
else
 
5495
  if test -n "$DLLTOOL"; then
 
5496
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5497
else
 
5498
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5499
for as_dir in $PATH
 
5500
do
 
5501
  IFS=$as_save_IFS
 
5502
  test -z "$as_dir" && as_dir=.
 
5503
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5504
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5505
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5506
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5507
    break 2
 
5508
  fi
 
5509
done
 
5510
  done
 
5511
IFS=$as_save_IFS
 
5512
 
 
5513
fi
 
5514
fi
 
5515
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5516
if test -n "$DLLTOOL"; then
 
5517
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5518
$as_echo "$DLLTOOL" >&6; }
 
5519
else
 
5520
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5521
$as_echo "no" >&6; }
 
5522
fi
 
5523
 
 
5524
 
 
5525
fi
 
5526
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5527
  ac_ct_DLLTOOL=$DLLTOOL
 
5528
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5529
set dummy dlltool; ac_word=$2
 
5530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5531
$as_echo_n "checking for $ac_word... " >&6; }
 
5532
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5533
  $as_echo_n "(cached) " >&6
 
5534
else
 
5535
  if test -n "$ac_ct_DLLTOOL"; then
 
5536
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5537
else
 
5538
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5539
for as_dir in $PATH
 
5540
do
 
5541
  IFS=$as_save_IFS
 
5542
  test -z "$as_dir" && as_dir=.
 
5543
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5544
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5545
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5546
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5547
    break 2
 
5548
  fi
 
5549
done
 
5550
  done
 
5551
IFS=$as_save_IFS
 
5552
 
 
5553
fi
 
5554
fi
 
5555
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5556
if test -n "$ac_ct_DLLTOOL"; then
 
5557
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5558
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5559
else
 
5560
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5561
$as_echo "no" >&6; }
 
5562
fi
 
5563
 
 
5564
  if test "x$ac_ct_DLLTOOL" = x; then
 
5565
    DLLTOOL="false"
 
5566
  else
 
5567
    case $cross_compiling:$ac_tool_warned in
 
5568
yes:)
 
5569
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5570
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5571
ac_tool_warned=yes ;;
 
5572
esac
 
5573
    DLLTOOL=$ac_ct_DLLTOOL
 
5574
  fi
 
5575
else
 
5576
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5577
fi
 
5578
 
 
5579
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5580
 
 
5581
 
 
5582
 
 
5583
 
 
5584
 
 
5585
 
 
5586
 
 
5587
 
 
5588
 
 
5589
 
 
5590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5591
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5592
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5593
  $as_echo_n "(cached) " >&6
 
5594
else
 
5595
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5596
 
 
5597
case $host_os in
 
5598
cygwin* | mingw* | pw32* | cegcc*)
 
5599
  # two different shell functions defined in ltmain.sh
 
5600
  # decide which to use based on capabilities of $DLLTOOL
 
5601
  case `$DLLTOOL --help 2>&1` in
 
5602
  *--identify-strict*)
 
5603
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5604
    ;;
 
5605
  *)
 
5606
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5607
    ;;
 
5608
  esac
 
5609
  ;;
 
5610
*)
 
5611
  # fallback: assume linklib IS sharedlib
 
5612
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5613
  ;;
 
5614
esac
 
5615
 
 
5616
fi
 
5617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5618
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5619
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5620
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5621
 
 
5622
 
 
5623
 
 
5624
 
 
5625
 
 
5626
 
 
5627
 
 
5628
 
 
5629
if test -n "$ac_tool_prefix"; then
 
5630
  for ac_prog in ar
 
5631
  do
 
5632
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5633
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5635
$as_echo_n "checking for $ac_word... " >&6; }
 
5636
if ${ac_cv_prog_AR+:} false; then :
5410
5637
  $as_echo_n "(cached) " >&6
5411
5638
else
5412
5639
  if test -n "$AR"; then
5419
5646
  test -z "$as_dir" && as_dir=.
5420
5647
    for ac_exec_ext in '' $ac_executable_extensions; do
5421
5648
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5422
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5649
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5423
5650
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424
5651
    break 2
5425
5652
  fi
5439
5666
fi
5440
5667
 
5441
5668
 
 
5669
    test -n "$AR" && break
 
5670
  done
5442
5671
fi
5443
 
if test -z "$ac_cv_prog_AR"; then
 
5672
if test -z "$AR"; then
5444
5673
  ac_ct_AR=$AR
5445
 
  # Extract the first word of "ar", so it can be a program name with args.
5446
 
set dummy ar; ac_word=$2
 
5674
  for ac_prog in ar
 
5675
do
 
5676
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5677
set dummy $ac_prog; ac_word=$2
5447
5678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448
5679
$as_echo_n "checking for $ac_word... " >&6; }
5449
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5680
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5450
5681
  $as_echo_n "(cached) " >&6
5451
5682
else
5452
5683
  if test -n "$ac_ct_AR"; then
5459
5690
  test -z "$as_dir" && as_dir=.
5460
5691
    for ac_exec_ext in '' $ac_executable_extensions; do
5461
5692
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5462
 
    ac_cv_prog_ac_ct_AR="ar"
 
5693
    ac_cv_prog_ac_ct_AR="$ac_prog"
5463
5694
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464
5695
    break 2
5465
5696
  fi
5478
5709
$as_echo "no" >&6; }
5479
5710
fi
5480
5711
 
 
5712
 
 
5713
  test -n "$ac_ct_AR" && break
 
5714
done
 
5715
 
5481
5716
  if test "x$ac_ct_AR" = x; then
5482
5717
    AR="false"
5483
5718
  else
5489
5724
esac
5490
5725
    AR=$ac_ct_AR
5491
5726
  fi
5492
 
else
5493
 
  AR="$ac_cv_prog_AR"
5494
 
fi
5495
 
 
5496
 
test -z "$AR" && AR=ar
5497
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5498
 
 
5499
 
 
5500
 
 
5501
 
 
 
5727
fi
 
5728
 
 
5729
: ${AR=ar}
 
5730
: ${AR_FLAGS=cru}
 
5731
 
 
5732
 
 
5733
 
 
5734
 
 
5735
 
 
5736
 
 
5737
 
 
5738
 
 
5739
 
 
5740
 
 
5741
 
 
5742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5743
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5744
if ${lt_cv_ar_at_file+:} false; then :
 
5745
  $as_echo_n "(cached) " >&6
 
5746
else
 
5747
  lt_cv_ar_at_file=no
 
5748
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5749
/* end confdefs.h.  */
 
5750
 
 
5751
int
 
5752
main ()
 
5753
{
 
5754
 
 
5755
  ;
 
5756
  return 0;
 
5757
}
 
5758
_ACEOF
 
5759
if ac_fn_c_try_compile "$LINENO"; then :
 
5760
  echo conftest.$ac_objext > conftest.lst
 
5761
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
5762
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5763
  (eval $lt_ar_try) 2>&5
 
5764
  ac_status=$?
 
5765
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5766
  test $ac_status = 0; }
 
5767
      if test "$ac_status" -eq 0; then
 
5768
        # Ensure the archiver fails upon bogus file names.
 
5769
        rm -f conftest.$ac_objext libconftest.a
 
5770
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5771
  (eval $lt_ar_try) 2>&5
 
5772
  ac_status=$?
 
5773
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5774
  test $ac_status = 0; }
 
5775
        if test "$ac_status" -ne 0; then
 
5776
          lt_cv_ar_at_file=@
 
5777
        fi
 
5778
      fi
 
5779
      rm -f conftest.* libconftest.a
 
5780
 
 
5781
fi
 
5782
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5783
 
 
5784
fi
 
5785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
5786
$as_echo "$lt_cv_ar_at_file" >&6; }
 
5787
 
 
5788
if test "x$lt_cv_ar_at_file" = xno; then
 
5789
  archiver_list_spec=
 
5790
else
 
5791
  archiver_list_spec=$lt_cv_ar_at_file
 
5792
fi
5502
5793
 
5503
5794
 
5504
5795
 
5511
5802
set dummy ${ac_tool_prefix}strip; ac_word=$2
5512
5803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513
5804
$as_echo_n "checking for $ac_word... " >&6; }
5514
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5805
if ${ac_cv_prog_STRIP+:} false; then :
5515
5806
  $as_echo_n "(cached) " >&6
5516
5807
else
5517
5808
  if test -n "$STRIP"; then
5551
5842
set dummy strip; ac_word=$2
5552
5843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5553
5844
$as_echo_n "checking for $ac_word... " >&6; }
5554
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
5845
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5555
5846
  $as_echo_n "(cached) " >&6
5556
5847
else
5557
5848
  if test -n "$ac_ct_STRIP"; then
5610
5901
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5611
5902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5612
5903
$as_echo_n "checking for $ac_word... " >&6; }
5613
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5904
if ${ac_cv_prog_RANLIB+:} false; then :
5614
5905
  $as_echo_n "(cached) " >&6
5615
5906
else
5616
5907
  if test -n "$RANLIB"; then
5650
5941
set dummy ranlib; ac_word=$2
5651
5942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5652
5943
$as_echo_n "checking for $ac_word... " >&6; }
5653
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
5944
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5654
5945
  $as_echo_n "(cached) " >&6
5655
5946
else
5656
5947
  if test -n "$ac_ct_RANLIB"; then
5712
6003
if test -n "$RANLIB"; then
5713
6004
  case $host_os in
5714
6005
  openbsd*)
5715
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6006
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5716
6007
    ;;
5717
6008
  *)
5718
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6009
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5719
6010
    ;;
5720
6011
  esac
5721
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6012
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5722
6013
fi
5723
6014
 
 
6015
case $host_os in
 
6016
  darwin*)
 
6017
    lock_old_archive_extraction=yes ;;
 
6018
  *)
 
6019
    lock_old_archive_extraction=no ;;
 
6020
esac
 
6021
 
 
6022
 
 
6023
 
 
6024
 
 
6025
 
 
6026
 
5724
6027
 
5725
6028
 
5726
6029
 
5767
6070
# Check for command to grab the raw symbol name followed by C symbol from nm.
5768
6071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5769
6072
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5770
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6073
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5771
6074
  $as_echo_n "(cached) " >&6
5772
6075
else
5773
6076
 
5828
6131
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5829
6132
 
5830
6133
# Transform an extracted symbol line into symbol name and symbol address
5831
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5832
 
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'"
 
6134
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6135
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'"
5833
6136
 
5834
6137
# Handle CRLF in mingw tool chain
5835
6138
opt_cr=
5853
6156
    # which start with @ or ?.
5854
6157
    lt_cv_sys_global_symbol_pipe="$AWK '"\
5855
6158
"     {last_section=section; section=\$ 3};"\
 
6159
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5856
6160
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5857
6161
"     \$ 0!~/External *\|/{next};"\
5858
6162
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5865
6169
  else
5866
6170
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5867
6171
  fi
 
6172
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5868
6173
 
5869
6174
  # Check to see that the pipe works correctly.
5870
6175
  pipe_works=no
5890
6195
  test $ac_status = 0; }; then
5891
6196
    # Now try to grab the symbols.
5892
6197
    nlist=conftest.nm
5893
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5894
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6198
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6199
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5895
6200
  ac_status=$?
5896
6201
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5897
6202
  test $ac_status = 0; } && test -s "$nlist"; then
5906
6211
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5907
6212
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5908
6213
          cat <<_LT_EOF > conftest.$ac_ext
 
6214
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6215
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6216
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6217
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6218
# define LT_DLSYM_CONST
 
6219
#elif defined(__osf__)
 
6220
/* This system does not cope well with relocations in const data.  */
 
6221
# define LT_DLSYM_CONST
 
6222
#else
 
6223
# define LT_DLSYM_CONST const
 
6224
#endif
 
6225
 
5909
6226
#ifdef __cplusplus
5910
6227
extern "C" {
5911
6228
#endif
5917
6234
          cat <<_LT_EOF >> conftest.$ac_ext
5918
6235
 
5919
6236
/* The mapping between symbol names and symbols.  */
5920
 
const struct {
 
6237
LT_DLSYM_CONST struct {
5921
6238
  const char *name;
5922
6239
  void       *address;
5923
6240
}
5943
6260
_LT_EOF
5944
6261
          # Now try linking the two files.
5945
6262
          mv conftest.$ac_objext conftstm.$ac_objext
5946
 
          lt_save_LIBS="$LIBS"
5947
 
          lt_save_CFLAGS="$CFLAGS"
 
6263
          lt_globsym_save_LIBS=$LIBS
 
6264
          lt_globsym_save_CFLAGS=$CFLAGS
5948
6265
          LIBS="conftstm.$ac_objext"
5949
6266
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5950
6267
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5954
6271
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5955
6272
            pipe_works=yes
5956
6273
          fi
5957
 
          LIBS="$lt_save_LIBS"
5958
 
          CFLAGS="$lt_save_CFLAGS"
 
6274
          LIBS=$lt_globsym_save_LIBS
 
6275
          CFLAGS=$lt_globsym_save_CFLAGS
5959
6276
        else
5960
6277
          echo "cannot find nm_test_func in $nlist" >&5
5961
6278
        fi
5992
6309
$as_echo "ok" >&6; }
5993
6310
fi
5994
6311
 
5995
 
 
5996
 
 
5997
 
 
5998
 
 
5999
 
 
6000
 
 
6001
 
 
6002
 
 
6003
 
 
6004
 
 
6005
 
 
6006
 
 
6007
 
 
6008
 
 
6009
 
 
6010
 
 
6011
 
 
 
6312
# Response file support.
 
6313
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6314
  nm_file_list_spec='@'
 
6315
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6316
  nm_file_list_spec='@'
 
6317
fi
 
6318
 
 
6319
 
 
6320
 
 
6321
 
 
6322
 
 
6323
 
 
6324
 
 
6325
 
 
6326
 
 
6327
 
 
6328
 
 
6329
 
 
6330
 
 
6331
 
 
6332
 
 
6333
 
 
6334
 
 
6335
 
 
6336
 
 
6337
 
 
6338
 
 
6339
 
 
6340
 
 
6341
 
 
6342
 
 
6343
 
 
6344
 
 
6345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6346
$as_echo_n "checking for sysroot... " >&6; }
 
6347
 
 
6348
# Check whether --with-sysroot was given.
 
6349
if test "${with_sysroot+set}" = set; then :
 
6350
  withval=$with_sysroot;
 
6351
else
 
6352
  with_sysroot=no
 
6353
fi
 
6354
 
 
6355
 
 
6356
lt_sysroot=
 
6357
case ${with_sysroot} in #(
 
6358
 yes)
 
6359
   if test "$GCC" = yes; then
 
6360
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6361
   fi
 
6362
   ;; #(
 
6363
 /*)
 
6364
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6365
   ;; #(
 
6366
 no|'')
 
6367
   ;; #(
 
6368
 *)
 
6369
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6370
$as_echo "${with_sysroot}" >&6; }
 
6371
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6372
   ;;
 
6373
esac
 
6374
 
 
6375
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6376
$as_echo "${lt_sysroot:-no}" >&6; }
6012
6377
 
6013
6378
 
6014
6379
 
6045
6410
  ;;
6046
6411
*-*-irix6*)
6047
6412
  # Find out which ABI we are using.
6048
 
  echo '#line 6048 "configure"' > conftest.$ac_ext
 
6413
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6049
6414
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6050
6415
  (eval $ac_compile) 2>&5
6051
6416
  ac_status=$?
6139
6504
  CFLAGS="$CFLAGS -belf"
6140
6505
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6141
6506
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6142
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6507
if ${lt_cv_cc_needs_belf+:} false; then :
6143
6508
  $as_echo_n "(cached) " >&6
6144
6509
else
6145
6510
  ac_ext=c
6180
6545
    CFLAGS="$SAVE_CFLAGS"
6181
6546
  fi
6182
6547
  ;;
6183
 
sparc*-*solaris*)
 
6548
*-*solaris*)
6184
6549
  # Find out which ABI we are using.
6185
6550
  echo 'int i;' > conftest.$ac_ext
6186
6551
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6191
6556
    case `/usr/bin/file conftest.o` in
6192
6557
    *64-bit*)
6193
6558
      case $lt_cv_prog_gnu_ld in
6194
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6559
      yes*)
 
6560
        case $host in
 
6561
        i?86-*-solaris*)
 
6562
          LD="${LD-ld} -m elf_x86_64"
 
6563
          ;;
 
6564
        sparc*-*-solaris*)
 
6565
          LD="${LD-ld} -m elf64_sparc"
 
6566
          ;;
 
6567
        esac
 
6568
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
6569
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
6570
          LD="${LD-ld}_sol2"
 
6571
        fi
 
6572
        ;;
6195
6573
      *)
6196
6574
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6197
6575
          LD="${LD-ld} -64"
6207
6585
 
6208
6586
need_locks="$enable_libtool_lock"
6209
6587
 
 
6588
if test -n "$ac_tool_prefix"; then
 
6589
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6590
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6592
$as_echo_n "checking for $ac_word... " >&6; }
 
6593
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6594
  $as_echo_n "(cached) " >&6
 
6595
else
 
6596
  if test -n "$MANIFEST_TOOL"; then
 
6597
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6598
else
 
6599
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6600
for as_dir in $PATH
 
6601
do
 
6602
  IFS=$as_save_IFS
 
6603
  test -z "$as_dir" && as_dir=.
 
6604
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6605
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6606
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6607
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6608
    break 2
 
6609
  fi
 
6610
done
 
6611
  done
 
6612
IFS=$as_save_IFS
 
6613
 
 
6614
fi
 
6615
fi
 
6616
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6617
if test -n "$MANIFEST_TOOL"; then
 
6618
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6619
$as_echo "$MANIFEST_TOOL" >&6; }
 
6620
else
 
6621
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6622
$as_echo "no" >&6; }
 
6623
fi
 
6624
 
 
6625
 
 
6626
fi
 
6627
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6628
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6629
  # Extract the first word of "mt", so it can be a program name with args.
 
6630
set dummy mt; ac_word=$2
 
6631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6632
$as_echo_n "checking for $ac_word... " >&6; }
 
6633
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6634
  $as_echo_n "(cached) " >&6
 
6635
else
 
6636
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6637
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6638
else
 
6639
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6640
for as_dir in $PATH
 
6641
do
 
6642
  IFS=$as_save_IFS
 
6643
  test -z "$as_dir" && as_dir=.
 
6644
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6645
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6646
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6647
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6648
    break 2
 
6649
  fi
 
6650
done
 
6651
  done
 
6652
IFS=$as_save_IFS
 
6653
 
 
6654
fi
 
6655
fi
 
6656
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6657
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6658
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6659
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6660
else
 
6661
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6662
$as_echo "no" >&6; }
 
6663
fi
 
6664
 
 
6665
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6666
    MANIFEST_TOOL=":"
 
6667
  else
 
6668
    case $cross_compiling:$ac_tool_warned in
 
6669
yes:)
 
6670
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6671
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6672
ac_tool_warned=yes ;;
 
6673
esac
 
6674
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6675
  fi
 
6676
else
 
6677
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6678
fi
 
6679
 
 
6680
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6681
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6682
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6683
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6684
  $as_echo_n "(cached) " >&6
 
6685
else
 
6686
  lt_cv_path_mainfest_tool=no
 
6687
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6688
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6689
  cat conftest.err >&5
 
6690
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6691
    lt_cv_path_mainfest_tool=yes
 
6692
  fi
 
6693
  rm -f conftest*
 
6694
fi
 
6695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6696
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6697
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6698
  MANIFEST_TOOL=:
 
6699
fi
 
6700
 
 
6701
 
 
6702
 
 
6703
 
 
6704
 
6210
6705
 
6211
6706
  case $host_os in
6212
6707
    rhapsody* | darwin*)
6215
6710
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6216
6711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6217
6712
$as_echo_n "checking for $ac_word... " >&6; }
6218
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6713
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6219
6714
  $as_echo_n "(cached) " >&6
6220
6715
else
6221
6716
  if test -n "$DSYMUTIL"; then
6255
6750
set dummy dsymutil; ac_word=$2
6256
6751
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6257
6752
$as_echo_n "checking for $ac_word... " >&6; }
6258
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6753
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6259
6754
  $as_echo_n "(cached) " >&6
6260
6755
else
6261
6756
  if test -n "$ac_ct_DSYMUTIL"; then
6307
6802
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6308
6803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6309
6804
$as_echo_n "checking for $ac_word... " >&6; }
6310
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6805
if ${ac_cv_prog_NMEDIT+:} false; then :
6311
6806
  $as_echo_n "(cached) " >&6
6312
6807
else
6313
6808
  if test -n "$NMEDIT"; then
6347
6842
set dummy nmedit; ac_word=$2
6348
6843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6349
6844
$as_echo_n "checking for $ac_word... " >&6; }
6350
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
6845
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6351
6846
  $as_echo_n "(cached) " >&6
6352
6847
else
6353
6848
  if test -n "$ac_ct_NMEDIT"; then
6399
6894
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6400
6895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6401
6896
$as_echo_n "checking for $ac_word... " >&6; }
6402
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
6897
if ${ac_cv_prog_LIPO+:} false; then :
6403
6898
  $as_echo_n "(cached) " >&6
6404
6899
else
6405
6900
  if test -n "$LIPO"; then
6439
6934
set dummy lipo; ac_word=$2
6440
6935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6441
6936
$as_echo_n "checking for $ac_word... " >&6; }
6442
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
6937
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6443
6938
  $as_echo_n "(cached) " >&6
6444
6939
else
6445
6940
  if test -n "$ac_ct_LIPO"; then
6491
6986
set dummy ${ac_tool_prefix}otool; ac_word=$2
6492
6987
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6493
6988
$as_echo_n "checking for $ac_word... " >&6; }
6494
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
6989
if ${ac_cv_prog_OTOOL+:} false; then :
6495
6990
  $as_echo_n "(cached) " >&6
6496
6991
else
6497
6992
  if test -n "$OTOOL"; then
6531
7026
set dummy otool; ac_word=$2
6532
7027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533
7028
$as_echo_n "checking for $ac_word... " >&6; }
6534
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7029
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6535
7030
  $as_echo_n "(cached) " >&6
6536
7031
else
6537
7032
  if test -n "$ac_ct_OTOOL"; then
6583
7078
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6584
7079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6585
7080
$as_echo_n "checking for $ac_word... " >&6; }
6586
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7081
if ${ac_cv_prog_OTOOL64+:} false; then :
6587
7082
  $as_echo_n "(cached) " >&6
6588
7083
else
6589
7084
  if test -n "$OTOOL64"; then
6623
7118
set dummy otool64; ac_word=$2
6624
7119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625
7120
$as_echo_n "checking for $ac_word... " >&6; }
6626
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7121
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6627
7122
  $as_echo_n "(cached) " >&6
6628
7123
else
6629
7124
  if test -n "$ac_ct_OTOOL64"; then
6698
7193
 
6699
7194
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6700
7195
$as_echo_n "checking for -single_module linker flag... " >&6; }
6701
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7196
if ${lt_cv_apple_cc_single_mod+:} false; then :
6702
7197
  $as_echo_n "(cached) " >&6
6703
7198
else
6704
7199
  lt_cv_apple_cc_single_mod=no
6714
7209
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6715
7210
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6716
7211
        _lt_result=$?
6717
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7212
        # If there is a non-empty error log, and "single_module"
 
7213
        # appears in it, assume the flag caused a linker warning
 
7214
        if test -s conftest.err && $GREP single_module conftest.err; then
 
7215
          cat conftest.err >&5
 
7216
        # Otherwise, if the output was created with a 0 exit code from
 
7217
        # the compiler, it worked.
 
7218
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6718
7219
          lt_cv_apple_cc_single_mod=yes
6719
7220
        else
6720
7221
          cat conftest.err >&5
6725
7226
fi
6726
7227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6727
7228
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7229
 
6728
7230
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6729
7231
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6730
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7232
if ${lt_cv_ld_exported_symbols_list+:} false; then :
6731
7233
  $as_echo_n "(cached) " >&6
6732
7234
else
6733
7235
  lt_cv_ld_exported_symbols_list=no
6757
7259
fi
6758
7260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6759
7261
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7262
 
 
7263
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7264
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7265
if ${lt_cv_ld_force_load+:} false; then :
 
7266
  $as_echo_n "(cached) " >&6
 
7267
else
 
7268
  lt_cv_ld_force_load=no
 
7269
      cat > conftest.c << _LT_EOF
 
7270
int forced_loaded() { return 2;}
 
7271
_LT_EOF
 
7272
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7273
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7274
      echo "$AR cru libconftest.a conftest.o" >&5
 
7275
      $AR cru libconftest.a conftest.o 2>&5
 
7276
      echo "$RANLIB libconftest.a" >&5
 
7277
      $RANLIB libconftest.a 2>&5
 
7278
      cat > conftest.c << _LT_EOF
 
7279
int main() { return 0;}
 
7280
_LT_EOF
 
7281
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7282
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7283
      _lt_result=$?
 
7284
      if test -s conftest.err && $GREP force_load conftest.err; then
 
7285
        cat conftest.err >&5
 
7286
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
7287
        lt_cv_ld_force_load=yes
 
7288
      else
 
7289
        cat conftest.err >&5
 
7290
      fi
 
7291
        rm -f conftest.err libconftest.a conftest conftest.c
 
7292
        rm -rf conftest.dSYM
 
7293
 
 
7294
fi
 
7295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7296
$as_echo "$lt_cv_ld_force_load" >&6; }
6760
7297
    case $host_os in
6761
7298
    rhapsody* | darwin1.[012])
6762
7299
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6784
7321
    else
6785
7322
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6786
7323
    fi
6787
 
    if test "$DSYMUTIL" != ":"; then
 
7324
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6788
7325
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6789
7326
    else
6790
7327
      _lt_dsymutil=
6804
7341
  CPP=
6805
7342
fi
6806
7343
if test -z "$CPP"; then
6807
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
7344
  if ${ac_cv_prog_CPP+:} false; then :
6808
7345
  $as_echo_n "(cached) " >&6
6809
7346
else
6810
7347
      # Double quotes because CPP needs to be expanded
6834
7371
  # Broken: fails on valid input.
6835
7372
continue
6836
7373
fi
6837
 
rm -f conftest.err conftest.$ac_ext
 
7374
rm -f conftest.err conftest.i conftest.$ac_ext
6838
7375
 
6839
7376
  # OK, works on sane cases.  Now check whether nonexistent headers
6840
7377
  # can be detected and how.
6850
7387
ac_preproc_ok=:
6851
7388
break
6852
7389
fi
6853
 
rm -f conftest.err conftest.$ac_ext
 
7390
rm -f conftest.err conftest.i conftest.$ac_ext
6854
7391
 
6855
7392
done
6856
7393
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6857
 
rm -f conftest.err conftest.$ac_ext
 
7394
rm -f conftest.i conftest.err conftest.$ac_ext
6858
7395
if $ac_preproc_ok; then :
6859
7396
  break
6860
7397
fi
6893
7430
  # Broken: fails on valid input.
6894
7431
continue
6895
7432
fi
6896
 
rm -f conftest.err conftest.$ac_ext
 
7433
rm -f conftest.err conftest.i conftest.$ac_ext
6897
7434
 
6898
7435
  # OK, works on sane cases.  Now check whether nonexistent headers
6899
7436
  # can be detected and how.
6909
7446
ac_preproc_ok=:
6910
7447
break
6911
7448
fi
6912
 
rm -f conftest.err conftest.$ac_ext
 
7449
rm -f conftest.err conftest.i conftest.$ac_ext
6913
7450
 
6914
7451
done
6915
7452
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6916
 
rm -f conftest.err conftest.$ac_ext
 
7453
rm -f conftest.i conftest.err conftest.$ac_ext
6917
7454
if $ac_preproc_ok; then :
6918
7455
 
6919
7456
else
6920
7457
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6921
7458
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6922
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
6923
 
See \`config.log' for more details." "$LINENO" 5; }
 
7459
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7460
See \`config.log' for more details" "$LINENO" 5; }
6924
7461
fi
6925
7462
 
6926
7463
ac_ext=c
6932
7469
 
6933
7470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6934
7471
$as_echo_n "checking for ANSI C header files... " >&6; }
6935
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
7472
if ${ac_cv_header_stdc+:} false; then :
6936
7473
  $as_echo_n "(cached) " >&6
6937
7474
else
6938
7475
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049
7586
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7050
7587
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7051
7588
"
7052
 
eval as_val=\$$as_ac_Header
7053
 
   if test "x$as_val" = x""yes; then :
 
7589
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7054
7590
  cat >>confdefs.h <<_ACEOF
7055
7591
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7056
7592
_ACEOF
7064
7600
do :
7065
7601
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7066
7602
"
7067
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7603
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7068
7604
  cat >>confdefs.h <<_ACEOF
7069
7605
#define HAVE_DLFCN_H 1
7070
7606
_ACEOF
7075
7611
 
7076
7612
 
7077
7613
 
 
7614
 
 
7615
 
7078
7616
# Set options
7079
7617
 
7080
7618
 
7120
7658
 
7121
7659
# Check whether --with-pic was given.
7122
7660
if test "${with_pic+set}" = set; then :
7123
 
  withval=$with_pic; pic_mode="$withval"
 
7661
  withval=$with_pic; lt_p=${PACKAGE-default}
 
7662
    case $withval in
 
7663
    yes|no) pic_mode=$withval ;;
 
7664
    *)
 
7665
      pic_mode=default
 
7666
      # Look at the argument we got.  We use all the common list separators.
 
7667
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7668
      for lt_pkg in $withval; do
 
7669
        IFS="$lt_save_ifs"
 
7670
        if test "X$lt_pkg" = "X$lt_p"; then
 
7671
          pic_mode=yes
 
7672
        fi
 
7673
      done
 
7674
      IFS="$lt_save_ifs"
 
7675
      ;;
 
7676
    esac
7124
7677
else
7125
7678
  pic_mode=default
7126
7679
fi
7197
7750
 
7198
7751
 
7199
7752
 
 
7753
 
 
7754
 
 
7755
 
 
7756
 
 
7757
 
7200
7758
test -z "$LN_S" && LN_S="ln -s"
7201
7759
 
7202
7760
 
7218
7776
 
7219
7777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7220
7778
$as_echo_n "checking for objdir... " >&6; }
7221
 
if test "${lt_cv_objdir+set}" = set; then :
 
7779
if ${lt_cv_objdir+:} false; then :
7222
7780
  $as_echo_n "(cached) " >&6
7223
7781
else
7224
7782
  rm -f .libs 2>/dev/null
7246
7804
 
7247
7805
 
7248
7806
 
7249
 
 
7250
 
 
7251
 
 
7252
 
 
7253
 
 
7254
 
 
7255
 
 
7256
 
 
7257
 
 
7258
 
 
7259
 
 
7260
 
 
7261
 
 
7262
7807
case $host_os in
7263
7808
aix3*)
7264
7809
  # AIX sometimes has problems with the GCC collect2 program.  For some
7271
7816
  ;;
7272
7817
esac
7273
7818
 
7274
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7275
 
# metacharacters that are still active within double-quoted strings.
7276
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7277
 
 
7278
 
# Same as above, but do not quote variable references.
7279
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7280
 
 
7281
 
# Sed substitution to delay expansion of an escaped shell variable in a
7282
 
# double_quote_subst'ed string.
7283
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7284
 
 
7285
 
# Sed substitution to delay expansion of an escaped single quote.
7286
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7287
 
 
7288
 
# Sed substitution to avoid accidental globbing in evaled expressions
7289
 
no_glob_subst='s/\*/\\\*/g'
7290
 
 
7291
7819
# Global variables:
7292
7820
ofile=libtool
7293
7821
can_build_shared=yes
7316
7844
    *) break;;
7317
7845
  esac
7318
7846
done
7319
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7847
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7320
7848
 
7321
7849
 
7322
7850
# Only perform the check for file, if the check method requires it
7326
7854
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7327
7855
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7328
7856
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7329
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7857
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7330
7858
  $as_echo_n "(cached) " >&6
7331
7859
else
7332
7860
  case $MAGIC_CMD in
7392
7920
  if test -n "$ac_tool_prefix"; then
7393
7921
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7394
7922
$as_echo_n "checking for file... " >&6; }
7395
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7923
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7396
7924
  $as_echo_n "(cached) " >&6
7397
7925
else
7398
7926
  case $MAGIC_CMD in
7521
8049
lt_prog_compiler_no_builtin_flag=
7522
8050
 
7523
8051
if test "$GCC" = yes; then
7524
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8052
  case $cc_basename in
 
8053
  nvcc*)
 
8054
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8055
  *)
 
8056
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8057
  esac
7525
8058
 
7526
8059
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7527
8060
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7528
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8061
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7529
8062
  $as_echo_n "(cached) " >&6
7530
8063
else
7531
8064
  lt_cv_prog_compiler_rtti_exceptions=no
7541
8074
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7542
8075
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7543
8076
   -e 's:$: $lt_compiler_flag:'`
7544
 
   (eval echo "\"\$as_me:7544: $lt_compile\"" >&5)
 
8077
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7545
8078
   (eval "$lt_compile" 2>conftest.err)
7546
8079
   ac_status=$?
7547
8080
   cat conftest.err >&5
7548
 
   echo "$as_me:7548: \$? = $ac_status" >&5
 
8081
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7549
8082
   if (exit $ac_status) && test -s "$ac_outfile"; then
7550
8083
     # The compiler can only warn and ignore the option if not recognized
7551
8084
     # So say no if there are warnings other than the usual output.
7552
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8085
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7553
8086
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7554
8087
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7555
8088
       lt_cv_prog_compiler_rtti_exceptions=yes
7578
8111
lt_prog_compiler_pic=
7579
8112
lt_prog_compiler_static=
7580
8113
 
7581
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7582
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7583
8114
 
7584
8115
  if test "$GCC" = yes; then
7585
8116
    lt_prog_compiler_wl='-Wl,'
7627
8158
      lt_prog_compiler_pic='-fno-common'
7628
8159
      ;;
7629
8160
 
 
8161
    haiku*)
 
8162
      # PIC is the default for Haiku.
 
8163
      # The "-static" flag exists, but is broken.
 
8164
      lt_prog_compiler_static=
 
8165
      ;;
 
8166
 
7630
8167
    hpux*)
7631
8168
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7632
8169
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7669
8206
      lt_prog_compiler_pic='-fPIC'
7670
8207
      ;;
7671
8208
    esac
 
8209
 
 
8210
    case $cc_basename in
 
8211
    nvcc*) # Cuda Compiler Driver 2.2
 
8212
      lt_prog_compiler_wl='-Xlinker '
 
8213
      if test -n "$lt_prog_compiler_pic"; then
 
8214
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
8215
      fi
 
8216
      ;;
 
8217
    esac
7672
8218
  else
7673
8219
    # PORTME Check for flag to pass linker flags through the system compiler.
7674
8220
    case $host_os in
7731
8277
        lt_prog_compiler_pic='--shared'
7732
8278
        lt_prog_compiler_static='--static'
7733
8279
        ;;
7734
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8280
      nagfor*)
 
8281
        # NAG Fortran compiler
 
8282
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8283
        lt_prog_compiler_pic='-PIC'
 
8284
        lt_prog_compiler_static='-Bstatic'
 
8285
        ;;
 
8286
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7735
8287
        # Portland Group compilers (*not* the Pentium gcc compiler,
7736
8288
        # which looks to be a dead project)
7737
8289
        lt_prog_compiler_wl='-Wl,'
7743
8295
        # All Alpha code is PIC.
7744
8296
        lt_prog_compiler_static='-non_shared'
7745
8297
        ;;
7746
 
      xl*)
7747
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8298
      xl* | bgxl* | bgf* | mpixl*)
 
8299
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7748
8300
        lt_prog_compiler_wl='-Wl,'
7749
8301
        lt_prog_compiler_pic='-qpic'
7750
8302
        lt_prog_compiler_static='-qstaticlink'
7751
8303
        ;;
7752
8304
      *)
7753
8305
        case `$CC -V 2>&1 | sed 5q` in
 
8306
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
8307
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8308
          lt_prog_compiler_pic='-KPIC'
 
8309
          lt_prog_compiler_static='-Bstatic'
 
8310
          lt_prog_compiler_wl=''
 
8311
          ;;
 
8312
        *Sun\ F* | *Sun*Fortran*)
 
8313
          lt_prog_compiler_pic='-KPIC'
 
8314
          lt_prog_compiler_static='-Bstatic'
 
8315
          lt_prog_compiler_wl='-Qoption ld '
 
8316
          ;;
7754
8317
        *Sun\ C*)
7755
8318
          # Sun C 5.9
7756
8319
          lt_prog_compiler_pic='-KPIC'
7757
8320
          lt_prog_compiler_static='-Bstatic'
7758
8321
          lt_prog_compiler_wl='-Wl,'
7759
8322
          ;;
7760
 
        *Sun\ F*)
7761
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7762
 
          lt_prog_compiler_pic='-KPIC'
 
8323
        *Intel*\ [CF]*Compiler*)
 
8324
          lt_prog_compiler_wl='-Wl,'
 
8325
          lt_prog_compiler_pic='-fPIC'
 
8326
          lt_prog_compiler_static='-static'
 
8327
          ;;
 
8328
        *Portland\ Group*)
 
8329
          lt_prog_compiler_wl='-Wl,'
 
8330
          lt_prog_compiler_pic='-fpic'
7763
8331
          lt_prog_compiler_static='-Bstatic'
7764
 
          lt_prog_compiler_wl=''
7765
8332
          ;;
7766
8333
        esac
7767
8334
        ;;
7793
8360
      lt_prog_compiler_pic='-KPIC'
7794
8361
      lt_prog_compiler_static='-Bstatic'
7795
8362
      case $cc_basename in
7796
 
      f77* | f90* | f95*)
 
8363
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7797
8364
        lt_prog_compiler_wl='-Qoption ld ';;
7798
8365
      *)
7799
8366
        lt_prog_compiler_wl='-Wl,';;
7850
8417
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7851
8418
    ;;
7852
8419
esac
7853
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7854
 
$as_echo "$lt_prog_compiler_pic" >&6; }
7855
 
 
7856
 
 
7857
 
 
7858
 
 
7859
 
 
 
8420
 
 
8421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8422
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8423
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8424
  $as_echo_n "(cached) " >&6
 
8425
else
 
8426
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8427
fi
 
8428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8429
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8430
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
7860
8431
 
7861
8432
#
7862
8433
# Check to make sure the PIC flag actually works.
7864
8435
if test -n "$lt_prog_compiler_pic"; then
7865
8436
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7866
8437
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7867
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8438
if ${lt_cv_prog_compiler_pic_works+:} false; then :
7868
8439
  $as_echo_n "(cached) " >&6
7869
8440
else
7870
8441
  lt_cv_prog_compiler_pic_works=no
7880
8451
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7881
8452
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7882
8453
   -e 's:$: $lt_compiler_flag:'`
7883
 
   (eval echo "\"\$as_me:7883: $lt_compile\"" >&5)
 
8454
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7884
8455
   (eval "$lt_compile" 2>conftest.err)
7885
8456
   ac_status=$?
7886
8457
   cat conftest.err >&5
7887
 
   echo "$as_me:7887: \$? = $ac_status" >&5
 
8458
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888
8459
   if (exit $ac_status) && test -s "$ac_outfile"; then
7889
8460
     # The compiler can only warn and ignore the option if not recognized
7890
8461
     # So say no if there are warnings other than the usual output.
7891
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8462
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7892
8463
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7893
8464
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7894
8465
       lt_cv_prog_compiler_pic_works=yes
7917
8488
 
7918
8489
 
7919
8490
 
 
8491
 
 
8492
 
 
8493
 
 
8494
 
 
8495
 
7920
8496
#
7921
8497
# Check to make sure the static flag actually works.
7922
8498
#
7923
8499
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7924
8500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7925
8501
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7926
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8502
if ${lt_cv_prog_compiler_static_works+:} false; then :
7927
8503
  $as_echo_n "(cached) " >&6
7928
8504
else
7929
8505
  lt_cv_prog_compiler_static_works=no
7936
8512
     if test -s conftest.err; then
7937
8513
       # Append any errors to the config.log.
7938
8514
       cat conftest.err 1>&5
7939
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8515
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7940
8516
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7941
8517
       if diff conftest.exp conftest.er2 >/dev/null; then
7942
8518
         lt_cv_prog_compiler_static_works=yes
7966
8542
 
7967
8543
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7968
8544
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7969
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8545
if ${lt_cv_prog_compiler_c_o+:} false; then :
7970
8546
  $as_echo_n "(cached) " >&6
7971
8547
else
7972
8548
  lt_cv_prog_compiler_c_o=no
7985
8561
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7986
8562
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7987
8563
   -e 's:$: $lt_compiler_flag:'`
7988
 
   (eval echo "\"\$as_me:7988: $lt_compile\"" >&5)
 
8564
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7989
8565
   (eval "$lt_compile" 2>out/conftest.err)
7990
8566
   ac_status=$?
7991
8567
   cat out/conftest.err >&5
7992
 
   echo "$as_me:7992: \$? = $ac_status" >&5
 
8568
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7993
8569
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7994
8570
   then
7995
8571
     # The compiler can only warn and ignore the option if not recognized
7996
8572
     # So say no if there are warnings
7997
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8573
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7998
8574
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7999
8575
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8000
8576
       lt_cv_prog_compiler_c_o=yes
8021
8597
 
8022
8598
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8023
8599
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8024
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8600
if ${lt_cv_prog_compiler_c_o+:} false; then :
8025
8601
  $as_echo_n "(cached) " >&6
8026
8602
else
8027
8603
  lt_cv_prog_compiler_c_o=no
8040
8616
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8041
8617
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8042
8618
   -e 's:$: $lt_compiler_flag:'`
8043
 
   (eval echo "\"\$as_me:8043: $lt_compile\"" >&5)
 
8619
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8044
8620
   (eval "$lt_compile" 2>out/conftest.err)
8045
8621
   ac_status=$?
8046
8622
   cat out/conftest.err >&5
8047
 
   echo "$as_me:8047: \$? = $ac_status" >&5
 
8623
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048
8624
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8049
8625
   then
8050
8626
     # The compiler can only warn and ignore the option if not recognized
8051
8627
     # So say no if there are warnings
8052
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8628
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8053
8629
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8054
8630
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8055
8631
       lt_cv_prog_compiler_c_o=yes
8115
8691
  hardcode_direct=no
8116
8692
  hardcode_direct_absolute=no
8117
8693
  hardcode_libdir_flag_spec=
8118
 
  hardcode_libdir_flag_spec_ld=
8119
8694
  hardcode_libdir_separator=
8120
8695
  hardcode_minus_L=no
8121
8696
  hardcode_shlibpath_var=unsupported
8159
8734
  openbsd*)
8160
8735
    with_gnu_ld=no
8161
8736
    ;;
8162
 
  linux* | k*bsd*-gnu)
 
8737
  linux* | k*bsd*-gnu | gnu*)
8163
8738
    link_all_deplibs=no
8164
8739
    ;;
8165
8740
  esac
8166
8741
 
8167
8742
  ld_shlibs=yes
 
8743
 
 
8744
  # On some targets, GNU ld is compatible enough with the native linker
 
8745
  # that we're better off using the native interface for both.
 
8746
  lt_use_gnu_ld_interface=no
8168
8747
  if test "$with_gnu_ld" = yes; then
 
8748
    case $host_os in
 
8749
      aix*)
 
8750
        # The AIX port of GNU ld has always aspired to compatibility
 
8751
        # with the native linker.  However, as the warning in the GNU ld
 
8752
        # block says, versions before 2.19.5* couldn't really create working
 
8753
        # shared libraries, regardless of the interface used.
 
8754
        case `$LD -v 2>&1` in
 
8755
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8756
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8757
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8758
          *)
 
8759
            lt_use_gnu_ld_interface=yes
 
8760
            ;;
 
8761
        esac
 
8762
        ;;
 
8763
      *)
 
8764
        lt_use_gnu_ld_interface=yes
 
8765
        ;;
 
8766
    esac
 
8767
  fi
 
8768
 
 
8769
  if test "$lt_use_gnu_ld_interface" = yes; then
8169
8770
    # If archive_cmds runs LD, not CC, wlarc should be empty
8170
8771
    wlarc='${wl}'
8171
8772
 
8199
8800
        ld_shlibs=no
8200
8801
        cat <<_LT_EOF 1>&2
8201
8802
 
8202
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8803
*** Warning: the GNU linker, at least up to release 2.19, is reported
8203
8804
*** to be unable to reliably create shared libraries on AIX.
8204
8805
*** Therefore, libtool is disabling shared libraries support.  If you
8205
 
*** really care for shared libraries, you may want to modify your PATH
8206
 
*** so that a non-GNU linker is found, and then restart.
 
8806
*** really care for shared libraries, you may want to install binutils
 
8807
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8808
*** You will then need to restart the configuration process.
8207
8809
 
8208
8810
_LT_EOF
8209
8811
      fi
8239
8841
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8240
8842
      # as there is no search path for DLLs.
8241
8843
      hardcode_libdir_flag_spec='-L$libdir'
 
8844
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8242
8845
      allow_undefined_flag=unsupported
8243
8846
      always_export_symbols=no
8244
8847
      enable_shared_with_static_runtimes=yes
8245
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8848
      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'
 
8849
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8246
8850
 
8247
8851
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8248
8852
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8260
8864
      fi
8261
8865
      ;;
8262
8866
 
 
8867
    haiku*)
 
8868
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8869
      link_all_deplibs=yes
 
8870
      ;;
 
8871
 
8263
8872
    interix[3-9]*)
8264
8873
      hardcode_direct=no
8265
8874
      hardcode_shlibpath_var=no
8285
8894
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8286
8895
         && test "$tmp_diet" = no
8287
8896
      then
8288
 
        tmp_addflag=
 
8897
        tmp_addflag=' $pic_flag'
8289
8898
        tmp_sharedflag='-shared'
8290
8899
        case $cc_basename,$host_cpu in
8291
8900
        pgcc*)                          # Portland Group C compiler
8292
 
          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'
 
8901
          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'
8293
8902
          tmp_addflag=' $pic_flag'
8294
8903
          ;;
8295
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8296
 
          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'
 
8904
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8905
                                        # Portland Group f77 and f90 compilers
 
8906
          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'
8297
8907
          tmp_addflag=' $pic_flag -Mnomain' ;;
8298
8908
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8299
8909
          tmp_addflag=' -i_dynamic' ;;
8304
8914
        lf95*)                          # Lahey Fortran 8.1
8305
8915
          whole_archive_flag_spec=
8306
8916
          tmp_sharedflag='--shared' ;;
8307
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8917
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8308
8918
          tmp_sharedflag='-qmkshrobj'
8309
8919
          tmp_addflag= ;;
 
8920
        nvcc*)  # Cuda Compiler Driver 2.2
 
8921
          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'
 
8922
          compiler_needs_object=yes
 
8923
          ;;
8310
8924
        esac
8311
8925
        case `$CC -V 2>&1 | sed 5q` in
8312
8926
        *Sun\ C*)                       # Sun C 5.9
8313
 
          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'
 
8927
          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'
8314
8928
          compiler_needs_object=yes
8315
8929
          tmp_sharedflag='-G' ;;
8316
8930
        *Sun\ F*)                       # Sun Fortran 8.3
8326
8940
        fi
8327
8941
 
8328
8942
        case $cc_basename in
8329
 
        xlf*)
 
8943
        xlf* | bgf* | bgxlf* | mpixlf*)
8330
8944
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8331
8945
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8332
 
          hardcode_libdir_flag_spec=
8333
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8334
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8946
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8947
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8335
8948
          if test "x$supports_anon_versioning" = xyes; then
8336
8949
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8337
8950
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8338
8951
              echo "local: *; };" >> $output_objdir/$libname.ver~
8339
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8952
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8340
8953
          fi
8341
8954
          ;;
8342
8955
        esac
8350
8963
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8351
8964
        wlarc=
8352
8965
      else
8353
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8354
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8966
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8967
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8355
8968
      fi
8356
8969
      ;;
8357
8970
 
8369
8982
 
8370
8983
_LT_EOF
8371
8984
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8372
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8373
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8985
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8986
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8374
8987
      else
8375
8988
        ld_shlibs=no
8376
8989
      fi
8416
9029
 
8417
9030
    *)
8418
9031
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8419
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8420
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9032
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9033
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8421
9034
      else
8422
9035
        ld_shlibs=no
8423
9036
      fi
8457
9070
      else
8458
9071
        # If we're using GNU nm, then we don't want the "-C" option.
8459
9072
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9073
        # Also, AIX nm treats weak defined symbols like other global
 
9074
        # defined symbols, whereas GNU nm marks them as "W".
8460
9075
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8461
 
          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'
 
9076
          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'
8462
9077
        else
8463
9078
          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'
8464
9079
        fi
8546
9161
        allow_undefined_flag='-berok'
8547
9162
        # Determine the default libpath from the value encoded in an
8548
9163
        # empty executable.
8549
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9164
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9165
  aix_libpath=$lt_cv_aix_libpath
 
9166
else
 
9167
  if ${lt_cv_aix_libpath_+:} false; then :
 
9168
  $as_echo_n "(cached) " >&6
 
9169
else
 
9170
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550
9171
/* end confdefs.h.  */
8551
9172
 
8552
9173
int
8559
9180
_ACEOF
8560
9181
if ac_fn_c_try_link "$LINENO"; then :
8561
9182
 
8562
 
lt_aix_libpath_sed='
8563
 
    /Import File Strings/,/^$/ {
8564
 
        /^0/ {
8565
 
            s/^0  *\(.*\)$/\1/
8566
 
            p
8567
 
        }
8568
 
    }'
8569
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8570
 
# Check for a 64-bit object if we didn't find anything.
8571
 
if test -z "$aix_libpath"; then
8572
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8573
 
fi
 
9183
  lt_aix_libpath_sed='
 
9184
      /Import File Strings/,/^$/ {
 
9185
          /^0/ {
 
9186
              s/^0  *\([^ ]*\) *$/\1/
 
9187
              p
 
9188
          }
 
9189
      }'
 
9190
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9191
  # Check for a 64-bit object if we didn't find anything.
 
9192
  if test -z "$lt_cv_aix_libpath_"; then
 
9193
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9194
  fi
8574
9195
fi
8575
9196
rm -f core conftest.err conftest.$ac_objext \
8576
9197
    conftest$ac_exeext conftest.$ac_ext
8577
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9198
  if test -z "$lt_cv_aix_libpath_"; then
 
9199
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9200
  fi
 
9201
 
 
9202
fi
 
9203
 
 
9204
  aix_libpath=$lt_cv_aix_libpath_
 
9205
fi
8578
9206
 
8579
9207
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8580
 
        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"
 
9208
        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"
8581
9209
      else
8582
9210
        if test "$host_cpu" = ia64; then
8583
9211
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8586
9214
        else
8587
9215
         # Determine the default libpath from the value encoded in an
8588
9216
         # empty executable.
8589
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9217
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9218
  aix_libpath=$lt_cv_aix_libpath
 
9219
else
 
9220
  if ${lt_cv_aix_libpath_+:} false; then :
 
9221
  $as_echo_n "(cached) " >&6
 
9222
else
 
9223
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8590
9224
/* end confdefs.h.  */
8591
9225
 
8592
9226
int
8599
9233
_ACEOF
8600
9234
if ac_fn_c_try_link "$LINENO"; then :
8601
9235
 
8602
 
lt_aix_libpath_sed='
8603
 
    /Import File Strings/,/^$/ {
8604
 
        /^0/ {
8605
 
            s/^0  *\(.*\)$/\1/
8606
 
            p
8607
 
        }
8608
 
    }'
8609
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8610
 
# Check for a 64-bit object if we didn't find anything.
8611
 
if test -z "$aix_libpath"; then
8612
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8613
 
fi
 
9236
  lt_aix_libpath_sed='
 
9237
      /Import File Strings/,/^$/ {
 
9238
          /^0/ {
 
9239
              s/^0  *\([^ ]*\) *$/\1/
 
9240
              p
 
9241
          }
 
9242
      }'
 
9243
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9244
  # Check for a 64-bit object if we didn't find anything.
 
9245
  if test -z "$lt_cv_aix_libpath_"; then
 
9246
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9247
  fi
8614
9248
fi
8615
9249
rm -f core conftest.err conftest.$ac_objext \
8616
9250
    conftest$ac_exeext conftest.$ac_ext
8617
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9251
  if test -z "$lt_cv_aix_libpath_"; then
 
9252
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9253
  fi
 
9254
 
 
9255
fi
 
9256
 
 
9257
  aix_libpath=$lt_cv_aix_libpath_
 
9258
fi
8618
9259
 
8619
9260
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8620
9261
          # Warning - without using the other run time loading flags,
8621
9262
          # -berok will link without error, but may produce a broken library.
8622
9263
          no_undefined_flag=' ${wl}-bernotok'
8623
9264
          allow_undefined_flag=' ${wl}-berok'
8624
 
          # Exported symbols can be pulled into shared objects from archives
8625
 
          whole_archive_flag_spec='$convenience'
 
9265
          if test "$with_gnu_ld" = yes; then
 
9266
            # We only use this code for GNU lds that support --whole-archive.
 
9267
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9268
          else
 
9269
            # Exported symbols can be pulled into shared objects from archives
 
9270
            whole_archive_flag_spec='$convenience'
 
9271
          fi
8626
9272
          archive_cmds_need_lc=yes
8627
9273
          # This is similar to how AIX traditionally builds its shared libraries.
8628
9274
          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'
8654
9300
      # Microsoft Visual C++.
8655
9301
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8656
9302
      # no search path for DLLs.
8657
 
      hardcode_libdir_flag_spec=' '
8658
 
      allow_undefined_flag=unsupported
8659
 
      # Tell ltmain to make .lib files, not .a files.
8660
 
      libext=lib
8661
 
      # Tell ltmain to make .dll files, not .so files.
8662
 
      shrext_cmds=".dll"
8663
 
      # FIXME: Setting linknames here is a bad hack.
8664
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8665
 
      # The linker will automatically build a .lib file if we build a DLL.
8666
 
      old_archive_from_new_cmds='true'
8667
 
      # FIXME: Should let the user specify the lib program.
8668
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8669
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8670
 
      enable_shared_with_static_runtimes=yes
 
9303
      case $cc_basename in
 
9304
      cl*)
 
9305
        # Native MSVC
 
9306
        hardcode_libdir_flag_spec=' '
 
9307
        allow_undefined_flag=unsupported
 
9308
        always_export_symbols=yes
 
9309
        file_list_spec='@'
 
9310
        # Tell ltmain to make .lib files, not .a files.
 
9311
        libext=lib
 
9312
        # Tell ltmain to make .dll files, not .so files.
 
9313
        shrext_cmds=".dll"
 
9314
        # FIXME: Setting linknames here is a bad hack.
 
9315
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9316
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9317
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9318
          else
 
9319
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9320
          fi~
 
9321
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9322
          linknames='
 
9323
        # The linker will not automatically build a static lib if we build a DLL.
 
9324
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9325
        enable_shared_with_static_runtimes=yes
 
9326
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
9327
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9328
        # Don't use ranlib
 
9329
        old_postinstall_cmds='chmod 644 $oldlib'
 
9330
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9331
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9332
          case $lt_outputfile in
 
9333
            *.exe|*.EXE) ;;
 
9334
            *)
 
9335
              lt_outputfile="$lt_outputfile.exe"
 
9336
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9337
              ;;
 
9338
          esac~
 
9339
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9340
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9341
            $RM "$lt_outputfile.manifest";
 
9342
          fi'
 
9343
        ;;
 
9344
      *)
 
9345
        # Assume MSVC wrapper
 
9346
        hardcode_libdir_flag_spec=' '
 
9347
        allow_undefined_flag=unsupported
 
9348
        # Tell ltmain to make .lib files, not .a files.
 
9349
        libext=lib
 
9350
        # Tell ltmain to make .dll files, not .so files.
 
9351
        shrext_cmds=".dll"
 
9352
        # FIXME: Setting linknames here is a bad hack.
 
9353
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9354
        # The linker will automatically build a .lib file if we build a DLL.
 
9355
        old_archive_from_new_cmds='true'
 
9356
        # FIXME: Should let the user specify the lib program.
 
9357
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9358
        enable_shared_with_static_runtimes=yes
 
9359
        ;;
 
9360
      esac
8671
9361
      ;;
8672
9362
 
8673
9363
    darwin* | rhapsody*)
8677
9367
  hardcode_direct=no
8678
9368
  hardcode_automatic=yes
8679
9369
  hardcode_shlibpath_var=unsupported
8680
 
  whole_archive_flag_spec=''
 
9370
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9371
    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\"`'
 
9372
 
 
9373
  else
 
9374
    whole_archive_flag_spec=''
 
9375
  fi
8681
9376
  link_all_deplibs=yes
8682
9377
  allow_undefined_flag="$_lt_dar_allow_undefined"
8683
9378
  case $cc_basename in
8685
9380
     *) _lt_dar_can_shared=$GCC ;;
8686
9381
  esac
8687
9382
  if test "$_lt_dar_can_shared" = "yes"; then
8688
 
    output_verbose_link_cmd=echo
 
9383
    output_verbose_link_cmd=func_echo_all
8689
9384
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8690
9385
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8691
9386
    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}"
8703
9398
      hardcode_shlibpath_var=no
8704
9399
      ;;
8705
9400
 
8706
 
    freebsd1*)
8707
 
      ld_shlibs=no
8708
 
      ;;
8709
 
 
8710
9401
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8711
9402
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8712
9403
    # does not break anything, and helps significantly (at the cost of a little
8719
9410
      ;;
8720
9411
 
8721
9412
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8722
 
    freebsd2*)
 
9413
    freebsd2.*)
8723
9414
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8724
9415
      hardcode_direct=yes
8725
9416
      hardcode_minus_L=yes
8728
9419
 
8729
9420
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8730
9421
    freebsd* | dragonfly*)
8731
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9422
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8732
9423
      hardcode_libdir_flag_spec='-R$libdir'
8733
9424
      hardcode_direct=yes
8734
9425
      hardcode_shlibpath_var=no
8736
9427
 
8737
9428
    hpux9*)
8738
9429
      if test "$GCC" = yes; then
8739
 
        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'
 
9430
        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'
8740
9431
      else
8741
9432
        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'
8742
9433
      fi
8751
9442
      ;;
8752
9443
 
8753
9444
    hpux10*)
8754
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8755
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9445
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9446
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8756
9447
      else
8757
9448
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8758
9449
      fi
8759
9450
      if test "$with_gnu_ld" = no; then
8760
9451
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8761
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
8762
9452
        hardcode_libdir_separator=:
8763
9453
        hardcode_direct=yes
8764
9454
        hardcode_direct_absolute=yes
8770
9460
      ;;
8771
9461
 
8772
9462
    hpux11*)
8773
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9463
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8774
9464
        case $host_cpu in
8775
9465
        hppa*64*)
8776
9466
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8777
9467
          ;;
8778
9468
        ia64*)
8779
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9469
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8780
9470
          ;;
8781
9471
        *)
8782
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9472
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8783
9473
          ;;
8784
9474
        esac
8785
9475
      else
8791
9481
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8792
9482
          ;;
8793
9483
        *)
8794
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9484
 
 
9485
          # Older versions of the 11.00 compiler do not understand -b yet
 
9486
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9487
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9488
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9489
if ${lt_cv_prog_compiler__b+:} false; then :
 
9490
  $as_echo_n "(cached) " >&6
 
9491
else
 
9492
  lt_cv_prog_compiler__b=no
 
9493
   save_LDFLAGS="$LDFLAGS"
 
9494
   LDFLAGS="$LDFLAGS -b"
 
9495
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9496
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9497
     # The linker can only warn and ignore the option if not recognized
 
9498
     # So say no if there are warnings
 
9499
     if test -s conftest.err; then
 
9500
       # Append any errors to the config.log.
 
9501
       cat conftest.err 1>&5
 
9502
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9503
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9504
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9505
         lt_cv_prog_compiler__b=yes
 
9506
       fi
 
9507
     else
 
9508
       lt_cv_prog_compiler__b=yes
 
9509
     fi
 
9510
   fi
 
9511
   $RM -r conftest*
 
9512
   LDFLAGS="$save_LDFLAGS"
 
9513
 
 
9514
fi
 
9515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9516
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9517
 
 
9518
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9519
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9520
else
 
9521
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9522
fi
 
9523
 
8795
9524
          ;;
8796
9525
        esac
8797
9526
      fi
8819
9548
 
8820
9549
    irix5* | irix6* | nonstopux*)
8821
9550
      if test "$GCC" = yes; then
8822
 
        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'
 
9551
        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'
8823
9552
        # Try to use the -exported_symbol ld option, if it does not
8824
9553
        # work, assume that -exports_file does not work either and
8825
9554
        # implicitly export all symbols.
8826
 
        save_LDFLAGS="$LDFLAGS"
8827
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8828
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9555
        # This should be the same for all languages, so no per-tag cache variable.
 
9556
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9557
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9558
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9559
  $as_echo_n "(cached) " >&6
 
9560
else
 
9561
  save_LDFLAGS="$LDFLAGS"
 
9562
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9563
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8829
9564
/* end confdefs.h.  */
8830
 
int foo(void) {}
 
9565
int foo (void) { return 0; }
8831
9566
_ACEOF
8832
9567
if ac_fn_c_try_link "$LINENO"; then :
8833
 
  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'
8834
 
 
 
9568
  lt_cv_irix_exported_symbol=yes
 
9569
else
 
9570
  lt_cv_irix_exported_symbol=no
8835
9571
fi
8836
9572
rm -f core conftest.err conftest.$ac_objext \
8837
9573
    conftest$ac_exeext conftest.$ac_ext
8838
 
        LDFLAGS="$save_LDFLAGS"
 
9574
           LDFLAGS="$save_LDFLAGS"
 
9575
fi
 
9576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9577
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9578
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9579
          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'
 
9580
        fi
8839
9581
      else
8840
 
        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'
8841
 
        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'
 
9582
        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'
 
9583
        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'
8842
9584
      fi
8843
9585
      archive_cmds_need_lc='no'
8844
9586
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8900
9642
      hardcode_libdir_flag_spec='-L$libdir'
8901
9643
      hardcode_minus_L=yes
8902
9644
      allow_undefined_flag=unsupported
8903
 
      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'
 
9645
      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'
8904
9646
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8905
9647
      ;;
8906
9648
 
8907
9649
    osf3*)
8908
9650
      if test "$GCC" = yes; then
8909
9651
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8910
 
        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'
 
9652
        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'
8911
9653
      else
8912
9654
        allow_undefined_flag=' -expect_unresolved \*'
8913
 
        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'
 
9655
        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'
8914
9656
      fi
8915
9657
      archive_cmds_need_lc='no'
8916
9658
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8920
9662
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8921
9663
      if test "$GCC" = yes; then
8922
9664
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8923
 
        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'
 
9665
        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'
8924
9666
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8925
9667
      else
8926
9668
        allow_undefined_flag=' -expect_unresolved \*'
8927
 
        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'
 
9669
        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'
8928
9670
        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~
8929
 
        $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'
 
9671
        $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'
8930
9672
 
8931
9673
        # Both c and cxx compiler support -rpath directly
8932
9674
        hardcode_libdir_flag_spec='-rpath $libdir'
8939
9681
      no_undefined_flag=' -z defs'
8940
9682
      if test "$GCC" = yes; then
8941
9683
        wlarc='${wl}'
8942
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9684
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8943
9685
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8944
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9686
          $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'
8945
9687
      else
8946
9688
        case `$CC -V 2>&1` in
8947
9689
        *"Compilers 5.0"*)
9129
9871
      # to ld, don't add -lc before -lgcc.
9130
9872
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9131
9873
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9132
 
      $RM conftest*
9133
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9874
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
9875
  $as_echo_n "(cached) " >&6
 
9876
else
 
9877
  $RM conftest*
 
9878
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9134
9879
 
9135
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9880
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9136
9881
  (eval $ac_compile) 2>&5
9137
9882
  ac_status=$?
9138
9883
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9139
9884
  test $ac_status = 0; } 2>conftest.err; then
9140
 
        soname=conftest
9141
 
        lib=conftest
9142
 
        libobjs=conftest.$ac_objext
9143
 
        deplibs=
9144
 
        wl=$lt_prog_compiler_wl
9145
 
        pic_flag=$lt_prog_compiler_pic
9146
 
        compiler_flags=-v
9147
 
        linker_flags=-v
9148
 
        verstring=
9149
 
        output_objdir=.
9150
 
        libname=conftest
9151
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9152
 
        allow_undefined_flag=
9153
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9885
          soname=conftest
 
9886
          lib=conftest
 
9887
          libobjs=conftest.$ac_objext
 
9888
          deplibs=
 
9889
          wl=$lt_prog_compiler_wl
 
9890
          pic_flag=$lt_prog_compiler_pic
 
9891
          compiler_flags=-v
 
9892
          linker_flags=-v
 
9893
          verstring=
 
9894
          output_objdir=.
 
9895
          libname=conftest
 
9896
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9897
          allow_undefined_flag=
 
9898
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9154
9899
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9155
9900
  ac_status=$?
9156
9901
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9157
9902
  test $ac_status = 0; }
9158
 
        then
9159
 
          archive_cmds_need_lc=no
9160
 
        else
9161
 
          archive_cmds_need_lc=yes
9162
 
        fi
9163
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9164
 
      else
9165
 
        cat conftest.err 1>&5
9166
 
      fi
9167
 
      $RM conftest*
9168
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9169
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
9903
          then
 
9904
            lt_cv_archive_cmds_need_lc=no
 
9905
          else
 
9906
            lt_cv_archive_cmds_need_lc=yes
 
9907
          fi
 
9908
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9909
        else
 
9910
          cat conftest.err 1>&5
 
9911
        fi
 
9912
        $RM conftest*
 
9913
 
 
9914
fi
 
9915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9916
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9917
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9170
9918
      ;;
9171
9919
    esac
9172
9920
  fi
9324
10072
 
9325
10073
 
9326
10074
 
9327
 
 
9328
 
 
9329
 
 
9330
 
 
9331
 
 
9332
10075
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9333
10076
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9334
10077
 
9337
10080
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9338
10081
    *) lt_awk_arg="/^libraries:/" ;;
9339
10082
  esac
9340
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9341
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10083
  case $host_os in
 
10084
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10085
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10086
  esac
 
10087
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10088
  case $lt_search_path_spec in
 
10089
  *\;*)
9342
10090
    # if the path contains ";" then we assume it to be the separator
9343
10091
    # otherwise default to the standard path separator (i.e. ":") - it is
9344
10092
    # assumed that no part of a normal pathname contains ";" but that should
9345
10093
    # okay in the real world where ";" in dirpaths is itself problematic.
9346
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9347
 
  else
9348
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9349
 
  fi
 
10094
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10095
    ;;
 
10096
  *)
 
10097
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10098
    ;;
 
10099
  esac
9350
10100
  # Ok, now we have the path, separated by spaces, we can step through it
9351
10101
  # and add multilib dir if necessary.
9352
10102
  lt_tmp_lt_search_path_spec=
9359
10109
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9360
10110
    fi
9361
10111
  done
9362
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10112
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9363
10113
BEGIN {RS=" "; FS="/|\n";} {
9364
10114
  lt_foo="";
9365
10115
  lt_count=0;
9379
10129
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9380
10130
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9381
10131
}'`
9382
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10132
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10133
  # for these hosts.
 
10134
  case $host_os in
 
10135
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10136
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10137
  esac
 
10138
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9383
10139
else
9384
10140
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9385
10141
fi
9405
10161
 
9406
10162
case $host_os in
9407
10163
aix3*)
9408
 
  version_type=linux
 
10164
  version_type=linux # correct to gnu/linux during the next big refactor
9409
10165
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9410
10166
  shlibpath_var=LIBPATH
9411
10167
 
9414
10170
  ;;
9415
10171
 
9416
10172
aix[4-9]*)
9417
 
  version_type=linux
 
10173
  version_type=linux # correct to gnu/linux during the next big refactor
9418
10174
  need_lib_prefix=no
9419
10175
  need_version=no
9420
10176
  hardcode_into_libs=yes
9467
10223
  m68k)
9468
10224
    library_names_spec='$libname.ixlibrary $libname.a'
9469
10225
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9470
 
    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'
 
10226
    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'
9471
10227
    ;;
9472
10228
  esac
9473
10229
  ;;
9479
10235
  ;;
9480
10236
 
9481
10237
bsdi[45]*)
9482
 
  version_type=linux
 
10238
  version_type=linux # correct to gnu/linux during the next big refactor
9483
10239
  need_version=no
9484
10240
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9485
10241
  soname_spec='${libname}${release}${shared_ext}$major'
9498
10254
  need_version=no
9499
10255
  need_lib_prefix=no
9500
10256
 
9501
 
  case $GCC,$host_os in
9502
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10257
  case $GCC,$cc_basename in
 
10258
  yes,*)
 
10259
    # gcc
9503
10260
    library_names_spec='$libname.dll.a'
9504
10261
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9505
10262
    postinstall_cmds='base_file=`basename \${file}`~
9520
10277
    cygwin*)
9521
10278
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9522
10279
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9523
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10280
 
 
10281
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9524
10282
      ;;
9525
10283
    mingw* | cegcc*)
9526
10284
      # MinGW DLLs use traditional 'lib' prefix
9527
10285
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9528
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9529
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9530
 
        # It is most probably a Windows format PATH printed by
9531
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9532
 
        # path with ; separators, and with drive letters. We can handle the
9533
 
        # drive letters (cygwin fileutils understands them), so leave them,
9534
 
        # especially as we might pass files found there to a mingw objdump,
9535
 
        # which wouldn't understand a cygwinified path. Ahh.
9536
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9537
 
      else
9538
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9539
 
      fi
9540
10286
      ;;
9541
10287
    pw32*)
9542
10288
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9543
10289
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9544
10290
      ;;
9545
10291
    esac
 
10292
    dynamic_linker='Win32 ld.exe'
 
10293
    ;;
 
10294
 
 
10295
  *,cl*)
 
10296
    # Native MSVC
 
10297
    libname_spec='$name'
 
10298
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10299
    library_names_spec='${libname}.dll.lib'
 
10300
 
 
10301
    case $build_os in
 
10302
    mingw*)
 
10303
      sys_lib_search_path_spec=
 
10304
      lt_save_ifs=$IFS
 
10305
      IFS=';'
 
10306
      for lt_path in $LIB
 
10307
      do
 
10308
        IFS=$lt_save_ifs
 
10309
        # Let DOS variable expansion print the short 8.3 style file name.
 
10310
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10311
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10312
      done
 
10313
      IFS=$lt_save_ifs
 
10314
      # Convert to MSYS style.
 
10315
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10316
      ;;
 
10317
    cygwin*)
 
10318
      # Convert to unix form, then to dos form, then back to unix form
 
10319
      # but this time dos style (no spaces!) so that the unix form looks
 
10320
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10321
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10322
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10323
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10324
      ;;
 
10325
    *)
 
10326
      sys_lib_search_path_spec="$LIB"
 
10327
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10328
        # It is most probably a Windows format PATH.
 
10329
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10330
      else
 
10331
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10332
      fi
 
10333
      # FIXME: find the short name or the path components, as spaces are
 
10334
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10335
      ;;
 
10336
    esac
 
10337
 
 
10338
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10339
    postinstall_cmds='base_file=`basename \${file}`~
 
10340
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10341
      dldir=$destdir/`dirname \$dlpath`~
 
10342
      test -d \$dldir || mkdir -p \$dldir~
 
10343
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10344
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10345
      dlpath=$dir/\$dldll~
 
10346
       $RM \$dlpath'
 
10347
    shlibpath_overrides_runpath=yes
 
10348
    dynamic_linker='Win32 link.exe'
9546
10349
    ;;
9547
10350
 
9548
10351
  *)
 
10352
    # Assume MSVC wrapper
9549
10353
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10354
    dynamic_linker='Win32 ld.exe'
9550
10355
    ;;
9551
10356
  esac
9552
 
  dynamic_linker='Win32 ld.exe'
9553
10357
  # FIXME: first we should search . and the directory the executable is in
9554
10358
  shlibpath_var=PATH
9555
10359
  ;;
9570
10374
  ;;
9571
10375
 
9572
10376
dgux*)
9573
 
  version_type=linux
 
10377
  version_type=linux # correct to gnu/linux during the next big refactor
9574
10378
  need_lib_prefix=no
9575
10379
  need_version=no
9576
10380
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9578
10382
  shlibpath_var=LD_LIBRARY_PATH
9579
10383
  ;;
9580
10384
 
9581
 
freebsd1*)
9582
 
  dynamic_linker=no
9583
 
  ;;
9584
 
 
9585
10385
freebsd* | dragonfly*)
9586
10386
  # DragonFly does not have aout.  When/if they implement a new
9587
10387
  # versioning mechanism, adjust this.
9589
10389
    objformat=`/usr/bin/objformat`
9590
10390
  else
9591
10391
    case $host_os in
9592
 
    freebsd[123]*) objformat=aout ;;
 
10392
    freebsd[23].*) objformat=aout ;;
9593
10393
    *) objformat=elf ;;
9594
10394
    esac
9595
10395
  fi
9607
10407
  esac
9608
10408
  shlibpath_var=LD_LIBRARY_PATH
9609
10409
  case $host_os in
9610
 
  freebsd2*)
 
10410
  freebsd2.*)
9611
10411
    shlibpath_overrides_runpath=yes
9612
10412
    ;;
9613
10413
  freebsd3.[01]* | freebsdelf3.[01]*)
9627
10427
  ;;
9628
10428
 
9629
10429
gnu*)
9630
 
  version_type=linux
 
10430
  version_type=linux # correct to gnu/linux during the next big refactor
9631
10431
  need_lib_prefix=no
9632
10432
  need_version=no
9633
10433
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9634
10434
  soname_spec='${libname}${release}${shared_ext}$major'
9635
10435
  shlibpath_var=LD_LIBRARY_PATH
 
10436
  shlibpath_overrides_runpath=no
 
10437
  hardcode_into_libs=yes
 
10438
  ;;
 
10439
 
 
10440
haiku*)
 
10441
  version_type=linux # correct to gnu/linux during the next big refactor
 
10442
  need_lib_prefix=no
 
10443
  need_version=no
 
10444
  dynamic_linker="$host_os runtime_loader"
 
10445
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10446
  soname_spec='${libname}${release}${shared_ext}$major'
 
10447
  shlibpath_var=LIBRARY_PATH
 
10448
  shlibpath_overrides_runpath=yes
 
10449
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9636
10450
  hardcode_into_libs=yes
9637
10451
  ;;
9638
10452
 
9678
10492
    soname_spec='${libname}${release}${shared_ext}$major'
9679
10493
    ;;
9680
10494
  esac
9681
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10495
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9682
10496
  postinstall_cmds='chmod 555 $lib'
 
10497
  # or fails outright, so override atomically:
 
10498
  install_override_mode=555
9683
10499
  ;;
9684
10500
 
9685
10501
interix[3-9]*)
9686
 
  version_type=linux
 
10502
  version_type=linux # correct to gnu/linux during the next big refactor
9687
10503
  need_lib_prefix=no
9688
10504
  need_version=no
9689
10505
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9699
10515
    nonstopux*) version_type=nonstopux ;;
9700
10516
    *)
9701
10517
        if test "$lt_cv_prog_gnu_ld" = yes; then
9702
 
                version_type=linux
 
10518
                version_type=linux # correct to gnu/linux during the next big refactor
9703
10519
        else
9704
10520
                version_type=irix
9705
10521
        fi ;;
9736
10552
  dynamic_linker=no
9737
10553
  ;;
9738
10554
 
9739
 
# This must be Linux ELF.
 
10555
# This must be glibc/ELF.
9740
10556
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9741
 
  version_type=linux
 
10557
  version_type=linux # correct to gnu/linux during the next big refactor
9742
10558
  need_lib_prefix=no
9743
10559
  need_version=no
9744
10560
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9746
10562
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9747
10563
  shlibpath_var=LD_LIBRARY_PATH
9748
10564
  shlibpath_overrides_runpath=no
 
10565
 
9749
10566
  # Some binutils ld are patched to set DT_RUNPATH
9750
 
  save_LDFLAGS=$LDFLAGS
9751
 
  save_libdir=$libdir
9752
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9753
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9754
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10567
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10568
  $as_echo_n "(cached) " >&6
 
10569
else
 
10570
  lt_cv_shlibpath_overrides_runpath=no
 
10571
    save_LDFLAGS=$LDFLAGS
 
10572
    save_libdir=$libdir
 
10573
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10574
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10575
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9755
10576
/* end confdefs.h.  */
9756
10577
 
9757
10578
int
9764
10585
_ACEOF
9765
10586
if ac_fn_c_try_link "$LINENO"; then :
9766
10587
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9767
 
  shlibpath_overrides_runpath=yes
 
10588
  lt_cv_shlibpath_overrides_runpath=yes
9768
10589
fi
9769
10590
fi
9770
10591
rm -f core conftest.err conftest.$ac_objext \
9771
10592
    conftest$ac_exeext conftest.$ac_ext
9772
 
  LDFLAGS=$save_LDFLAGS
9773
 
  libdir=$save_libdir
 
10593
    LDFLAGS=$save_LDFLAGS
 
10594
    libdir=$save_libdir
 
10595
 
 
10596
fi
 
10597
 
 
10598
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9774
10599
 
9775
10600
  # This implies no fast_install, which is unacceptable.
9776
10601
  # Some rework will be needed to allow for fast_install
9779
10604
 
9780
10605
  # Append ld.so.conf contents to the search path
9781
10606
  if test -f /etc/ld.so.conf; then
9782
 
    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' ' '`
 
10607
    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' ' '`
9783
10608
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9784
10609
  fi
9785
10610
 
9823
10648
  ;;
9824
10649
 
9825
10650
newsos6)
9826
 
  version_type=linux
 
10651
  version_type=linux # correct to gnu/linux during the next big refactor
9827
10652
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9828
10653
  shlibpath_var=LD_LIBRARY_PATH
9829
10654
  shlibpath_overrides_runpath=yes
9892
10717
  ;;
9893
10718
 
9894
10719
solaris*)
9895
 
  version_type=linux
 
10720
  version_type=linux # correct to gnu/linux during the next big refactor
9896
10721
  need_lib_prefix=no
9897
10722
  need_version=no
9898
10723
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9917
10742
  ;;
9918
10743
 
9919
10744
sysv4 | sysv4.3*)
9920
 
  version_type=linux
 
10745
  version_type=linux # correct to gnu/linux during the next big refactor
9921
10746
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9922
10747
  soname_spec='${libname}${release}${shared_ext}$major'
9923
10748
  shlibpath_var=LD_LIBRARY_PATH
9941
10766
 
9942
10767
sysv4*MP*)
9943
10768
  if test -d /usr/nec ;then
9944
 
    version_type=linux
 
10769
    version_type=linux # correct to gnu/linux during the next big refactor
9945
10770
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9946
10771
    soname_spec='$libname${shared_ext}.$major'
9947
10772
    shlibpath_var=LD_LIBRARY_PATH
9972
10797
 
9973
10798
tpf*)
9974
10799
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9975
 
  version_type=linux
 
10800
  version_type=linux # correct to gnu/linux during the next big refactor
9976
10801
  need_lib_prefix=no
9977
10802
  need_version=no
9978
10803
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9982
10807
  ;;
9983
10808
 
9984
10809
uts4*)
9985
 
  version_type=linux
 
10810
  version_type=linux # correct to gnu/linux during the next big refactor
9986
10811
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9987
10812
  soname_spec='${libname}${release}${shared_ext}$major'
9988
10813
  shlibpath_var=LD_LIBRARY_PATH
10094
10919
 
10095
10920
 
10096
10921
 
 
10922
 
 
10923
 
 
10924
 
 
10925
 
 
10926
 
10097
10927
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10098
10928
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10099
10929
hardcode_action=
10166
10996
  # if libdl is installed we need to link against it
10167
10997
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10168
10998
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10169
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10999
if ${ac_cv_lib_dl_dlopen+:} false; then :
10170
11000
  $as_echo_n "(cached) " >&6
10171
11001
else
10172
11002
  ac_check_lib_save_LIBS=$LIBS
10200
11030
fi
10201
11031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10202
11032
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10203
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11033
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10204
11034
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10205
11035
else
10206
11036
 
10214
11044
 
10215
11045
  *)
10216
11046
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10217
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
11047
if test "x$ac_cv_func_shl_load" = xyes; then :
10218
11048
  lt_cv_dlopen="shl_load"
10219
11049
else
10220
11050
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10221
11051
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10222
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11052
if ${ac_cv_lib_dld_shl_load+:} false; then :
10223
11053
  $as_echo_n "(cached) " >&6
10224
11054
else
10225
11055
  ac_check_lib_save_LIBS=$LIBS
10253
11083
fi
10254
11084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10255
11085
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10256
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11086
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10257
11087
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10258
11088
else
10259
11089
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10260
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
11090
if test "x$ac_cv_func_dlopen" = xyes; then :
10261
11091
  lt_cv_dlopen="dlopen"
10262
11092
else
10263
11093
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10264
11094
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10265
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11095
if ${ac_cv_lib_dl_dlopen+:} false; then :
10266
11096
  $as_echo_n "(cached) " >&6
10267
11097
else
10268
11098
  ac_check_lib_save_LIBS=$LIBS
10296
11126
fi
10297
11127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10298
11128
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10299
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11129
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10300
11130
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10301
11131
else
10302
11132
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10303
11133
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10304
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11134
if ${ac_cv_lib_svld_dlopen+:} false; then :
10305
11135
  $as_echo_n "(cached) " >&6
10306
11136
else
10307
11137
  ac_check_lib_save_LIBS=$LIBS
10335
11165
fi
10336
11166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10337
11167
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10338
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
11168
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10339
11169
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10340
11170
else
10341
11171
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10342
11172
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10343
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11173
if ${ac_cv_lib_dld_dld_link+:} false; then :
10344
11174
  $as_echo_n "(cached) " >&6
10345
11175
else
10346
11176
  ac_check_lib_save_LIBS=$LIBS
10374
11204
fi
10375
11205
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10376
11206
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10377
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11207
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10378
11208
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10379
11209
fi
10380
11210
 
10415
11245
 
10416
11246
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10417
11247
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10418
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11248
if ${lt_cv_dlopen_self+:} false; then :
10419
11249
  $as_echo_n "(cached) " >&6
10420
11250
else
10421
11251
          if test "$cross_compiling" = yes; then :
10424
11254
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10425
11255
  lt_status=$lt_dlunknown
10426
11256
  cat > conftest.$ac_ext <<_LT_EOF
10427
 
#line 10427 "configure"
 
11257
#line $LINENO "configure"
10428
11258
#include "confdefs.h"
10429
11259
 
10430
11260
#if HAVE_DLFCN_H
10465
11295
#  endif
10466
11296
#endif
10467
11297
 
10468
 
void fnord() { int i=42;}
 
11298
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11299
   correspondingly for the symbols needed.  */
 
11300
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11301
int fnord () __attribute__((visibility("default")));
 
11302
#endif
 
11303
 
 
11304
int fnord () { return 42; }
10469
11305
int main ()
10470
11306
{
10471
11307
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10474
11310
  if (self)
10475
11311
    {
10476
11312
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10477
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11313
      else
 
11314
        {
 
11315
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11316
          else puts (dlerror ());
 
11317
        }
10478
11318
      /* dlclose (self); */
10479
11319
    }
10480
11320
  else
10511
11351
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10512
11352
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10513
11353
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10514
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11354
if ${lt_cv_dlopen_self_static+:} false; then :
10515
11355
  $as_echo_n "(cached) " >&6
10516
11356
else
10517
11357
          if test "$cross_compiling" = yes; then :
10520
11360
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10521
11361
  lt_status=$lt_dlunknown
10522
11362
  cat > conftest.$ac_ext <<_LT_EOF
10523
 
#line 10523 "configure"
 
11363
#line $LINENO "configure"
10524
11364
#include "confdefs.h"
10525
11365
 
10526
11366
#if HAVE_DLFCN_H
10561
11401
#  endif
10562
11402
#endif
10563
11403
 
10564
 
void fnord() { int i=42;}
 
11404
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11405
   correspondingly for the symbols needed.  */
 
11406
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11407
int fnord () __attribute__((visibility("default")));
 
11408
#endif
 
11409
 
 
11410
int fnord () { return 42; }
10565
11411
int main ()
10566
11412
{
10567
11413
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10570
11416
  if (self)
10571
11417
    {
10572
11418
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10573
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11419
      else
 
11420
        {
 
11421
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11422
          else puts (dlerror ());
 
11423
        }
10574
11424
      /* dlclose (self); */
10575
11425
    }
10576
11426
  else
10739
11589
 
10740
11590
 
10741
11591
 
 
11592
 
 
11593
 
10742
11594
        ac_config_commands="$ac_config_commands libtool"
10743
11595
 
10744
11596
 
10781
11633
# Check for libraries
10782
11634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
10783
11635
$as_echo_n "checking for socket in -lsocket... " >&6; }
10784
 
if test "${ac_cv_lib_socket_socket+set}" = set; then :
 
11636
if ${ac_cv_lib_socket_socket+:} false; then :
10785
11637
  $as_echo_n "(cached) " >&6
10786
11638
else
10787
11639
  ac_check_lib_save_LIBS=$LIBS
10815
11667
fi
10816
11668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
10817
11669
$as_echo "$ac_cv_lib_socket_socket" >&6; }
10818
 
if test "x$ac_cv_lib_socket_socket" = x""yes; then :
 
11670
if test "x$ac_cv_lib_socket_socket" = xyes; then :
10819
11671
  cat >>confdefs.h <<_ACEOF
10820
11672
#define HAVE_LIBSOCKET 1
10821
11673
_ACEOF
10826
11678
 
10827
11679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -linet" >&5
10828
11680
$as_echo_n "checking for socket in -linet... " >&6; }
10829
 
if test "${ac_cv_lib_inet_socket+set}" = set; then :
 
11681
if ${ac_cv_lib_inet_socket+:} false; then :
10830
11682
  $as_echo_n "(cached) " >&6
10831
11683
else
10832
11684
  ac_check_lib_save_LIBS=$LIBS
10860
11712
fi
10861
11713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_socket" >&5
10862
11714
$as_echo "$ac_cv_lib_inet_socket" >&6; }
10863
 
if test "x$ac_cv_lib_inet_socket" = x""yes; then :
 
11715
if test "x$ac_cv_lib_inet_socket" = xyes; then :
10864
11716
  cat >>confdefs.h <<_ACEOF
10865
11717
#define HAVE_LIBINET 1
10866
11718
_ACEOF
10871
11723
 
10872
11724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
10873
11725
$as_echo_n "checking for inet_addr in -lnsl... " >&6; }
10874
 
if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then :
 
11726
if ${ac_cv_lib_nsl_inet_addr+:} false; then :
10875
11727
  $as_echo_n "(cached) " >&6
10876
11728
else
10877
11729
  ac_check_lib_save_LIBS=$LIBS
10905
11757
fi
10906
11758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
10907
11759
$as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
10908
 
if test "x$ac_cv_lib_nsl_inet_addr" = x""yes; then :
 
11760
if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
10909
11761
  cat >>confdefs.h <<_ACEOF
10910
11762
#define HAVE_LIBNSL 1
10911
11763
_ACEOF
10916
11768
 
10917
11769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
10918
11770
$as_echo_n "checking for inet_aton in -lresolv... " >&6; }
10919
 
if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then :
 
11771
if ${ac_cv_lib_resolv_inet_aton+:} false; then :
10920
11772
  $as_echo_n "(cached) " >&6
10921
11773
else
10922
11774
  ac_check_lib_save_LIBS=$LIBS
10950
11802
fi
10951
11803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
10952
11804
$as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
10953
 
if test "x$ac_cv_lib_resolv_inet_aton" = x""yes; then :
 
11805
if test "x$ac_cv_lib_resolv_inet_aton" = xyes; then :
10954
11806
  cat >>confdefs.h <<_ACEOF
10955
11807
#define HAVE_LIBRESOLV 1
10956
11808
_ACEOF
10961
11813
 
10962
11814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lc" >&5
10963
11815
$as_echo_n "checking for crypt in -lc... " >&6; }
10964
 
if test "${ac_cv_lib_c_crypt+set}" = set; then :
 
11816
if ${ac_cv_lib_c_crypt+:} false; then :
10965
11817
  $as_echo_n "(cached) " >&6
10966
11818
else
10967
11819
  ac_check_lib_save_LIBS=$LIBS
10995
11847
fi
10996
11848
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_crypt" >&5
10997
11849
$as_echo "$ac_cv_lib_c_crypt" >&6; }
10998
 
if test "x$ac_cv_lib_c_crypt" = x""yes; then :
 
11850
if test "x$ac_cv_lib_c_crypt" = xyes; then :
10999
11851
  :
11000
11852
else
11001
11853
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
11002
11854
$as_echo_n "checking for crypt in -lcrypt... " >&6; }
11003
 
if test "${ac_cv_lib_crypt_crypt+set}" = set; then :
 
11855
if ${ac_cv_lib_crypt_crypt+:} false; then :
11004
11856
  $as_echo_n "(cached) " >&6
11005
11857
else
11006
11858
  ac_check_lib_save_LIBS=$LIBS
11034
11886
fi
11035
11887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
11036
11888
$as_echo "$ac_cv_lib_crypt_crypt" >&6; }
11037
 
if test "x$ac_cv_lib_crypt_crypt" = x""yes; then :
 
11889
if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
11038
11890
  cat >>confdefs.h <<_ACEOF
11039
11891
#define HAVE_LIBCRYPT 1
11040
11892
_ACEOF
11045
11897
 
11046
11898
fi
11047
11899
 
11048
 
 
11049
11900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
11050
11901
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
11051
 
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
 
11902
if ${ac_cv_lib_pthread_pthread_create+:} false; then :
11052
11903
  $as_echo_n "(cached) " >&6
11053
11904
else
11054
11905
  ac_check_lib_save_LIBS=$LIBS
11082
11933
fi
11083
11934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
11084
11935
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
11085
 
if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
 
11936
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
11086
11937
  cat >>confdefs.h <<_ACEOF
11087
11938
#define HAVE_LIBPTHREAD 1
11088
11939
_ACEOF
11090
11941
  LIBS="-lpthread $LIBS"
11091
11942
 
11092
11943
else
11093
 
  as_fn_error "POSIX thread library is required" "$LINENO" 5
 
11944
  as_fn_error $? "POSIX thread library is required" "$LINENO" 5
11094
11945
fi
11095
11946
 
11096
11947
 
11100
11951
 
11101
11952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11102
11953
$as_echo_n "checking for ANSI C header files... " >&6; }
11103
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
11954
if ${ac_cv_header_stdc+:} false; then :
11104
11955
  $as_echo_n "(cached) " >&6
11105
11956
else
11106
11957
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212
12063
 
11213
12064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
11214
12065
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
11215
 
if test "${ac_cv_header_sys_wait_h+set}" = set; then :
 
12066
if ${ac_cv_header_sys_wait_h+:} false; then :
11216
12067
  $as_echo_n "(cached) " >&6
11217
12068
else
11218
12069
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253
12104
 
11254
12105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
11255
12106
$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
11256
 
if test "${ac_cv_header_stat_broken+set}" = set; then :
 
12107
if ${ac_cv_header_stat_broken+:} false; then :
11257
12108
  $as_echo_n "(cached) " >&6
11258
12109
else
11259
12110
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295
12146
 
11296
12147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
11297
12148
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11298
 
if test "${ac_cv_header_time+set}" = set; then :
 
12149
if ${ac_cv_header_time+:} false; then :
11299
12150
  $as_echo_n "(cached) " >&6
11300
12151
else
11301
12152
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413
12264
do :
11414
12265
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11415
12266
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11416
 
eval as_val=\$$as_ac_Header
11417
 
   if test "x$as_val" = x""yes; then :
 
12267
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11418
12268
  cat >>confdefs.h <<_ACEOF
11419
12269
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11420
12270
_ACEOF
11435
12285
         #endif
11436
12286
 
11437
12287
"
11438
 
eval as_val=\$$as_ac_Header
11439
 
   if test "x$as_val" = x""yes; then :
 
12288
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11440
12289
  cat >>confdefs.h <<_ACEOF
11441
12290
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11442
12291
_ACEOF
11463
12312
         #endif
11464
12313
 
11465
12314
"
11466
 
eval as_val=\$$as_ac_Header
11467
 
   if test "x$as_val" = x""yes; then :
 
12315
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11468
12316
  cat >>confdefs.h <<_ACEOF
11469
12317
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11470
12318
_ACEOF
11498
12346
         #endif
11499
12347
 
11500
12348
"
11501
 
eval as_val=\$$as_ac_Header
11502
 
   if test "x$as_val" = x""yes; then :
 
12349
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11503
12350
  cat >>confdefs.h <<_ACEOF
11504
12351
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11505
12352
_ACEOF
11525
12372
         #endif
11526
12373
 
11527
12374
"
11528
 
eval as_val=\$$as_ac_Header
11529
 
   if test "x$as_val" = x""yes; then :
 
12375
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11530
12376
  cat >>confdefs.h <<_ACEOF
11531
12377
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11532
12378
_ACEOF
11566
12412
         #endif
11567
12413
 
11568
12414
"
11569
 
eval as_val=\$$as_ac_Header
11570
 
   if test "x$as_val" = x""yes; then :
 
12415
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11571
12416
  cat >>confdefs.h <<_ACEOF
11572
12417
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11573
12418
_ACEOF
11591
12436
         #endif
11592
12437
 
11593
12438
"
11594
 
eval as_val=\$$as_ac_Header
11595
 
   if test "x$as_val" = x""yes; then :
 
12439
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11596
12440
  cat >>confdefs.h <<_ACEOF
11597
12441
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11598
12442
_ACEOF
11624
12468
         #endif
11625
12469
 
11626
12470
"
11627
 
eval as_val=\$$as_ac_Header
11628
 
   if test "x$as_val" = x""yes; then :
 
12471
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11629
12472
  cat >>confdefs.h <<_ACEOF
11630
12473
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11631
12474
_ACEOF
11637
12480
 
11638
12481
# Check for types.
11639
12482
ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
11640
 
if test "x$ac_cv_type_mode_t" = x""yes; then :
 
12483
if test "x$ac_cv_type_mode_t" = xyes; then :
11641
12484
 
11642
12485
else
11643
12486
 
11648
12491
fi
11649
12492
 
11650
12493
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11651
 
if test "x$ac_cv_type_pid_t" = x""yes; then :
 
12494
if test "x$ac_cv_type_pid_t" = xyes; then :
11652
12495
 
11653
12496
else
11654
12497
 
11659
12502
fi
11660
12503
 
11661
12504
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11662
 
if test "x$ac_cv_type_size_t" = x""yes; then :
 
12505
if test "x$ac_cv_type_size_t" = xyes; then :
11663
12506
 
11664
12507
else
11665
12508
 
11670
12513
fi
11671
12514
 
11672
12515
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11673
 
if test "x$ac_cv_type_pid_t" = x""yes; then :
 
12516
if test "x$ac_cv_type_pid_t" = xyes; then :
11674
12517
 
11675
12518
else
11676
12519
 
11682
12525
 
11683
12526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
11684
12527
$as_echo_n "checking return type of signal handlers... " >&6; }
11685
 
if test "${ac_cv_type_signal+set}" = set; then :
 
12528
if ${ac_cv_type_signal+:} false; then :
11686
12529
  $as_echo_n "(cached) " >&6
11687
12530
else
11688
12531
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11717
12560
# Check for structures.
11718
12561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
11719
12562
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
11720
 
if test "${ac_cv_struct_tm+set}" = set; then :
 
12563
if ${ac_cv_struct_tm+:} false; then :
11721
12564
  $as_echo_n "(cached) " >&6
11722
12565
else
11723
12566
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11751
12594
fi
11752
12595
 
11753
12596
ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
11754
 
if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then :
 
12597
if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
11755
12598
 
11756
12599
cat >>confdefs.h <<_ACEOF
11757
12600
#define HAVE_STRUCT_TM_TM_GMTOFF 1
11769
12612
# Checks for library functions.
11770
12613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
11771
12614
$as_echo_n "checking for error_at_line... " >&6; }
11772
 
if test "${ac_cv_lib_error_at_line+set}" = set; then :
 
12615
if ${ac_cv_lib_error_at_line+:} false; then :
11773
12616
  $as_echo_n "(cached) " >&6
11774
12617
else
11775
12618
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805
12648
for ac_header in vfork.h
11806
12649
do :
11807
12650
  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
11808
 
if test "x$ac_cv_header_vfork_h" = x""yes; then :
 
12651
if test "x$ac_cv_header_vfork_h" = xyes; then :
11809
12652
  cat >>confdefs.h <<_ACEOF
11810
12653
#define HAVE_VFORK_H 1
11811
12654
_ACEOF
11818
12661
do :
11819
12662
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11820
12663
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11821
 
eval as_val=\$$as_ac_var
11822
 
   if test "x$as_val" = x""yes; then :
 
12664
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11823
12665
  cat >>confdefs.h <<_ACEOF
11824
12666
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11825
12667
_ACEOF
11830
12672
if test "x$ac_cv_func_fork" = xyes; then
11831
12673
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
11832
12674
$as_echo_n "checking for working fork... " >&6; }
11833
 
if test "${ac_cv_func_fork_works+set}" = set; then :
 
12675
if ${ac_cv_func_fork_works+:} false; then :
11834
12676
  $as_echo_n "(cached) " >&6
11835
12677
else
11836
12678
  if test "$cross_compiling" = yes; then :
11883
12725
if test "x$ac_cv_func_vfork" = xyes; then
11884
12726
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
11885
12727
$as_echo_n "checking for working vfork... " >&6; }
11886
 
if test "${ac_cv_func_vfork_works+set}" = set; then :
 
12728
if ${ac_cv_func_vfork_works+:} false; then :
11887
12729
  $as_echo_n "(cached) " >&6
11888
12730
else
11889
12731
  if test "$cross_compiling" = yes; then :
12018
12860
 
12019
12861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
12020
12862
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
12021
 
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
 
12863
if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
12022
12864
  $as_echo_n "(cached) " >&6
12023
12865
else
12024
12866
  rm -f conftest.sym conftest.file
12080
12922
 
12081
12923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
12082
12924
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
12083
 
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
 
12925
if ${ac_cv_func_stat_empty_string_bug+:} false; then :
12084
12926
  $as_echo_n "(cached) " >&6
12085
12927
else
12086
12928
  if test "$cross_compiling" = yes; then :
12127
12969
for ac_func in strftime
12128
12970
do :
12129
12971
  ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
12130
 
if test "x$ac_cv_func_strftime" = x""yes; then :
 
12972
if test "x$ac_cv_func_strftime" = xyes; then :
12131
12973
  cat >>confdefs.h <<_ACEOF
12132
12974
#define HAVE_STRFTIME 1
12133
12975
_ACEOF
12136
12978
  # strftime is in -lintl on SCO UNIX.
12137
12979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
12138
12980
$as_echo_n "checking for strftime in -lintl... " >&6; }
12139
 
if test "${ac_cv_lib_intl_strftime+set}" = set; then :
 
12981
if ${ac_cv_lib_intl_strftime+:} false; then :
12140
12982
  $as_echo_n "(cached) " >&6
12141
12983
else
12142
12984
  ac_check_lib_save_LIBS=$LIBS
12170
13012
fi
12171
13013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
12172
13014
$as_echo "$ac_cv_lib_intl_strftime" >&6; }
12173
 
if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
 
13015
if test "x$ac_cv_lib_intl_strftime" = xyes; then :
12174
13016
  $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
12175
13017
 
12176
13018
LIBS="-lintl $LIBS"
12182
13024
for ac_func in statfs
12183
13025
do :
12184
13026
  ac_fn_c_check_func "$LINENO" "statfs" "ac_cv_func_statfs"
12185
 
if test "x$ac_cv_func_statfs" = x""yes; then :
 
13027
if test "x$ac_cv_func_statfs" = xyes; then :
12186
13028
  cat >>confdefs.h <<_ACEOF
12187
13029
#define HAVE_STATFS 1
12188
13030
_ACEOF
12193
13035
for ac_func in statvfs
12194
13036
do :
12195
13037
  ac_fn_c_check_func "$LINENO" "statvfs" "ac_cv_func_statvfs"
12196
 
if test "x$ac_cv_func_statvfs" = x""yes; then :
 
13038
if test "x$ac_cv_func_statvfs" = xyes; then :
12197
13039
  cat >>confdefs.h <<_ACEOF
12198
13040
#define HAVE_STATVFS 1
12199
13041
_ACEOF
12204
13046
for ac_func in setlocale
12205
13047
do :
12206
13048
  ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
12207
 
if test "x$ac_cv_func_setlocale" = x""yes; then :
 
13049
if test "x$ac_cv_func_setlocale" = xyes; then :
12208
13050
  cat >>confdefs.h <<_ACEOF
12209
13051
#define HAVE_SETLOCALE 1
12210
13052
_ACEOF
12215
13057
for ac_func in getaddrinfo
12216
13058
do :
12217
13059
  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
12218
 
if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
 
13060
if test "x$ac_cv_func_getaddrinfo" = xyes; then :
12219
13061
  cat >>confdefs.h <<_ACEOF
12220
13062
#define HAVE_GETADDRINFO 1
12221
13063
_ACEOF
12226
13068
for ac_func in syslog
12227
13069
do :
12228
13070
  ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog"
12229
 
if test "x$ac_cv_func_syslog" = x""yes; then :
 
13071
if test "x$ac_cv_func_syslog" = xyes; then :
12230
13072
  cat >>confdefs.h <<_ACEOF
12231
13073
#define HAVE_SYSLOG 1
12232
13074
_ACEOF
12237
13079
for ac_func in vsyslog
12238
13080
do :
12239
13081
  ac_fn_c_check_func "$LINENO" "vsyslog" "ac_cv_func_vsyslog"
12240
 
if test "x$ac_cv_func_vsyslog" = x""yes; then :
 
13082
if test "x$ac_cv_func_vsyslog" = xyes; then :
12241
13083
  cat >>confdefs.h <<_ACEOF
12242
13084
#define HAVE_VSYSLOG 1
12243
13085
_ACEOF
12248
13090
for ac_func in backtrace
12249
13091
do :
12250
13092
  ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
12251
 
if test "x$ac_cv_func_backtrace" = x""yes; then :
 
13093
if test "x$ac_cv_func_backtrace" = xyes; then :
12252
13094
  cat >>confdefs.h <<_ACEOF
12253
13095
#define HAVE_BACKTRACE 1
12254
13096
_ACEOF
12259
13101
for ac_func in getloadavg
12260
13102
do :
12261
13103
  ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
12262
 
if test "x$ac_cv_func_getloadavg" = x""yes; then :
 
13104
if test "x$ac_cv_func_getloadavg" = xyes; then :
12263
13105
  cat >>confdefs.h <<_ACEOF
12264
13106
#define HAVE_GETLOADAVG 1
12265
13107
_ACEOF
12340
13182
# Compiler characteristics
12341
13183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12342
13184
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12343
 
if test "${ac_cv_c_const+set}" = set; then :
 
13185
if ${ac_cv_c_const+:} false; then :
12344
13186
  $as_echo_n "(cached) " >&6
12345
13187
else
12346
13188
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12420
13262
 
12421
13263
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12422
13264
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12423
 
if test "${ac_cv_c_bigendian+set}" = set; then :
 
13265
if ${ac_cv_c_bigendian+:} false; then :
12424
13266
  $as_echo_n "(cached) " >&6
12425
13267
else
12426
13268
  ac_cv_c_bigendian=unknown
12638
13480
 
12639
13481
     ;; #(
12640
13482
   *)
12641
 
     as_fn_error "unknown endianness
 
13483
     as_fn_error $? "unknown endianness
12642
13484
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12643
13485
 esac
12644
13486
 
12839
13681
if test "$test_kvm"; then
12840
13682
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_open in -lkvm" >&5
12841
13683
$as_echo_n "checking for kvm_open in -lkvm... " >&6; }
12842
 
if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then :
 
13684
if ${ac_cv_lib_kvm_kvm_open+:} false; then :
12843
13685
  $as_echo_n "(cached) " >&6
12844
13686
else
12845
13687
  ac_check_lib_save_LIBS=$LIBS
12873
13715
fi
12874
13716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_open" >&5
12875
13717
$as_echo "$ac_cv_lib_kvm_kvm_open" >&6; }
12876
 
if test "x$ac_cv_lib_kvm_kvm_open" = x""yes; then :
 
13718
if test "x$ac_cv_lib_kvm_kvm_open" = xyes; then :
12877
13719
  kvm_libs="-lkvm"
12878
13720
fi
12879
13721
 
12886
13728
if test "$test_kstat"; then
12887
13729
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12888
13730
$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12889
 
if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
 
13731
if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12890
13732
  $as_echo_n "(cached) " >&6
12891
13733
else
12892
13734
  ac_check_lib_save_LIBS=$LIBS
12920
13762
fi
12921
13763
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12922
13764
$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12923
 
if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then :
 
13765
if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12924
13766
  kstat_libs="-lkstat"
12925
13767
fi
12926
13768
 
12981
13823
 
12982
13824
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12983
13825
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12984
 
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
 
13826
if ${ac_cv_sys_largefile_CC+:} false; then :
12985
13827
  $as_echo_n "(cached) " >&6
12986
13828
else
12987
13829
  ac_cv_sys_largefile_CC=no
13032
13874
 
13033
13875
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13034
13876
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
13035
 
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
 
13877
if ${ac_cv_sys_file_offset_bits+:} false; then :
13036
13878
  $as_echo_n "(cached) " >&6
13037
13879
else
13038
13880
  while :; do
13101
13943
  if test $ac_cv_sys_file_offset_bits = unknown; then
13102
13944
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13103
13945
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13104
 
if test "${ac_cv_sys_large_files+set}" = set; then :
 
13946
if ${ac_cv_sys_large_files+:} false; then :
13105
13947
  $as_echo_n "(cached) " >&6
13106
13948
else
13107
13949
  while :; do
13209
14051
if test "$use_pam" = "1"; then
13210
14052
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
13211
14053
$as_echo_n "checking for pam_start in -lpam... " >&6; }
13212
 
if test "${ac_cv_lib_pam_pam_start+set}" = set; then :
 
14054
if ${ac_cv_lib_pam_pam_start+:} false; then :
13213
14055
  $as_echo_n "(cached) " >&6
13214
14056
else
13215
14057
  ac_check_lib_save_LIBS=$LIBS
13243
14085
fi
13244
14086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
13245
14087
$as_echo "$ac_cv_lib_pam_pam_start" >&6; }
13246
 
if test "x$ac_cv_lib_pam_pam_start" = x""yes; then :
 
14088
if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
13247
14089
  cat >>confdefs.h <<_ACEOF
13248
14090
#define HAVE_LIBPAM 1
13249
14091
_ACEOF
13251
14093
  LIBS="-lpam $LIBS"
13252
14094
 
13253
14095
else
13254
 
  as_fn_error "PAM enabled but headers or library not found, install the PAM development support or run configure --without-pam" "$LINENO" 5
 
14096
  as_fn_error $? "PAM enabled but headers or library not found, install the PAM development support or run configure --without-pam" "$LINENO" 5
13255
14097
fi
13256
14098
 
13257
14099
fi
13575
14417
     :end' >>confcache
13576
14418
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13577
14419
  if test -w "$cache_file"; then
13578
 
    test "x$cache_file" != "x/dev/null" &&
 
14420
    if test "x$cache_file" != "x/dev/null"; then
13579
14421
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13580
14422
$as_echo "$as_me: updating cache $cache_file" >&6;}
13581
 
    cat confcache >$cache_file
 
14423
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
14424
        cat confcache >"$cache_file"
 
14425
      else
 
14426
        case $cache_file in #(
 
14427
        */* | ?:*)
 
14428
          mv -f confcache "$cache_file"$$ &&
 
14429
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
14430
        *)
 
14431
          mv -f confcache "$cache_file" ;;
 
14432
        esac
 
14433
      fi
 
14434
    fi
13582
14435
  else
13583
14436
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13584
14437
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13594
14447
 
13595
14448
ac_libobjs=
13596
14449
ac_ltlibobjs=
 
14450
U=
13597
14451
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13598
14452
  # 1. Remove the extension, and $U if already installed.
13599
14453
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13617
14471
fi
13618
14472
 
13619
14473
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13620
 
  as_fn_error "conditional \"AMDEP\" was never defined.
 
14474
  as_fn_error $? "conditional \"AMDEP\" was never defined.
13621
14475
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13622
14476
fi
13623
14477
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13624
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
14478
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13625
14479
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13626
14480
fi
13627
14481
 
13628
14482
 
13629
 
: ${CONFIG_STATUS=./config.status}
 
14483
: "${CONFIG_STATUS=./config.status}"
13630
14484
ac_write_fail=0
13631
14485
ac_clean_files_save=$ac_clean_files
13632
14486
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13727
14581
IFS=" ""        $as_nl"
13728
14582
 
13729
14583
# Find who we are.  Look in the path if we contain no directory separator.
 
14584
as_myself=
13730
14585
case $0 in #((
13731
14586
  *[\\/]* ) as_myself=$0 ;;
13732
14587
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13772
14627
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13773
14628
 
13774
14629
 
13775
 
# as_fn_error ERROR [LINENO LOG_FD]
13776
 
# ---------------------------------
 
14630
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
14631
# ----------------------------------------
13777
14632
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13778
14633
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13779
 
# script with status $?, using 1 if that was 0.
 
14634
# script with STATUS, using 1 if that was 0.
13780
14635
as_fn_error ()
13781
14636
{
13782
 
  as_status=$?; test $as_status -eq 0 && as_status=1
13783
 
  if test "$3"; then
13784
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13785
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
14637
  as_status=$1; test $as_status -eq 0 && as_status=1
 
14638
  if test "$4"; then
 
14639
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
14640
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13786
14641
  fi
13787
 
  $as_echo "$as_me: error: $1" >&2
 
14642
  $as_echo "$as_me: error: $2" >&2
13788
14643
  as_fn_exit $as_status
13789
14644
} # as_fn_error
13790
14645
 
13980
14835
      test -d "$as_dir" && break
13981
14836
    done
13982
14837
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13983
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
14838
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13984
14839
 
13985
14840
 
13986
14841
} # as_fn_mkdir_p
14033
14888
# report actual input values of CONFIG_FILES etc. instead of their
14034
14889
# values after options handling.
14035
14890
ac_log="
14036
 
This file was extended by monit $as_me 5.5, which was
14037
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
14891
This file was extended by monit $as_me 5.5.1, which was
 
14892
generated by GNU Autoconf 2.68.  Invocation command line was
14038
14893
 
14039
14894
  CONFIG_FILES    = $CONFIG_FILES
14040
14895
  CONFIG_HEADERS  = $CONFIG_HEADERS
14099
14954
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14100
14955
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14101
14956
ac_cs_version="\\
14102
 
monit config.status 5.5
14103
 
configured by $0, generated by GNU Autoconf 2.65,
 
14957
monit config.status 5.5.1
 
14958
configured by $0, generated by GNU Autoconf 2.68,
14104
14959
  with options \\"\$ac_cs_config\\"
14105
14960
 
14106
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
14961
Copyright (C) 2010 Free Software Foundation, Inc.
14107
14962
This config.status script is free software; the Free Software Foundation
14108
14963
gives unlimited permission to copy, distribute and modify it."
14109
14964
 
14121
14976
while test $# != 0
14122
14977
do
14123
14978
  case $1 in
14124
 
  --*=*)
 
14979
  --*=?*)
14125
14980
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14126
14981
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14127
14982
    ac_shift=:
14128
14983
    ;;
 
14984
  --*=)
 
14985
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
14986
    ac_optarg=
 
14987
    ac_shift=:
 
14988
    ;;
14129
14989
  *)
14130
14990
    ac_option=$1
14131
14991
    ac_optarg=$2
14147
15007
    $ac_shift
14148
15008
    case $ac_optarg in
14149
15009
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
15010
    '') as_fn_error $? "missing file argument" ;;
14150
15011
    esac
14151
15012
    as_fn_append CONFIG_FILES " '$ac_optarg'"
14152
15013
    ac_need_defaults=false;;
14159
15020
    ac_need_defaults=false;;
14160
15021
  --he | --h)
14161
15022
    # Conflict between --help and --header
14162
 
    as_fn_error "ambiguous option: \`$1'
 
15023
    as_fn_error $? "ambiguous option: \`$1'
14163
15024
Try \`$0 --help' for more information.";;
14164
15025
  --help | --hel | -h )
14165
15026
    $as_echo "$ac_cs_usage"; exit ;;
14168
15029
    ac_cs_silent=: ;;
14169
15030
 
14170
15031
  # This is an error.
14171
 
  -*) as_fn_error "unrecognized option: \`$1'
 
15032
  -*) as_fn_error $? "unrecognized option: \`$1'
14172
15033
Try \`$0 --help' for more information." ;;
14173
15034
 
14174
15035
  *) as_fn_append ac_config_targets " $1"
14222
15083
sed_quote_subst='$sed_quote_subst'
14223
15084
double_quote_subst='$double_quote_subst'
14224
15085
delay_variable_subst='$delay_variable_subst'
14225
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14226
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14227
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14228
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14229
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14230
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14231
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14232
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14233
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14234
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14235
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14236
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14237
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14238
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14239
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14240
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14241
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14242
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14243
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14244
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14245
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14246
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14247
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14248
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14249
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14250
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14251
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14252
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14253
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14254
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14255
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14256
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14257
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14258
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14259
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14260
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14261
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14262
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14263
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14264
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14265
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14266
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14267
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14268
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14269
 
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"`'
14270
 
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"`'
14271
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14272
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14273
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14274
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14275
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14276
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14277
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14278
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14279
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14280
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14281
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14282
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14283
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14284
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14285
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14286
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14287
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14288
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14289
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14290
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14291
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14292
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14293
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14294
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14295
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14296
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14297
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14298
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14299
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14300
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14301
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14302
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14303
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14304
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14305
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14306
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14307
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14308
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14309
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14310
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14311
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14312
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14313
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14314
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14315
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14316
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14317
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14318
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14319
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14320
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14321
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14322
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14323
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14324
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14325
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14326
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14327
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14328
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14329
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14330
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14331
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14332
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14333
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14334
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14335
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14336
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14337
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14338
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14339
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14340
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14341
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14342
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
15086
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
15087
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
15088
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
15089
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
15090
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
15091
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
15092
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
15093
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
15094
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
15095
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
15096
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
15097
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
15098
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
15099
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
15100
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
15101
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
15102
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
15103
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
15104
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
15105
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
15106
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
15107
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
15108
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
15109
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
15110
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
15111
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
15112
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
15113
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
15114
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
15115
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15116
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15117
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
15118
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
15119
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
15120
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
15121
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
15122
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
15123
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
15124
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
15125
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
15126
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
15127
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
15128
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
15129
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
15130
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
15131
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15132
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15133
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15134
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
15135
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
15136
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
15137
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
15138
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
15139
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
15140
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
15141
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
15142
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"`'
 
15143
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15144
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
15145
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
15146
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
15147
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
15148
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
15149
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
15150
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
15151
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
15152
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
15153
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
15154
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
15155
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
15156
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
15157
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
15158
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
15159
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
15160
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
15161
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15162
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
15163
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
15164
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15165
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15166
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
15167
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
15168
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15169
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15170
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15171
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
15172
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15173
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
15174
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15175
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15176
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15177
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
15178
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
15179
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
15180
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
15181
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15182
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
15183
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
15184
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
15185
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
15186
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
15187
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
15188
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
15189
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
15190
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
15191
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15192
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
15193
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
15194
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
15195
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
15196
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
15197
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15198
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
15199
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
15200
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
15201
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
15202
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
15203
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15204
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15205
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
15206
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
15207
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
15208
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
15209
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
15210
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
15211
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
15212
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
15213
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
15214
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
15215
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14343
15216
 
14344
15217
LTCC='$LTCC'
14345
15218
LTCFLAGS='$LTCFLAGS'
14346
15219
compiler='$compiler_DEFAULT'
14347
15220
 
 
15221
# A function that is used when there is no print builtin or printf.
 
15222
func_fallback_echo ()
 
15223
{
 
15224
  eval 'cat <<_LTECHO_EOF
 
15225
\$1
 
15226
_LTECHO_EOF'
 
15227
}
 
15228
 
14348
15229
# Quote evaled strings.
14349
 
for var in SED \
 
15230
for var in SHELL \
 
15231
ECHO \
 
15232
PATH_SEPARATOR \
 
15233
SED \
14350
15234
GREP \
14351
15235
EGREP \
14352
15236
FGREP \
14359
15243
OBJDUMP \
14360
15244
deplibs_check_method \
14361
15245
file_magic_cmd \
 
15246
file_magic_glob \
 
15247
want_nocaseglob \
 
15248
DLLTOOL \
 
15249
sharedlib_from_linklib_cmd \
14362
15250
AR \
14363
15251
AR_FLAGS \
 
15252
archiver_list_spec \
14364
15253
STRIP \
14365
15254
RANLIB \
14366
15255
CC \
14370
15259
lt_cv_sys_global_symbol_to_cdecl \
14371
15260
lt_cv_sys_global_symbol_to_c_name_address \
14372
15261
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14373
 
SHELL \
14374
 
ECHO \
 
15262
nm_file_list_spec \
14375
15263
lt_prog_compiler_no_builtin_flag \
 
15264
lt_prog_compiler_pic \
14376
15265
lt_prog_compiler_wl \
14377
 
lt_prog_compiler_pic \
14378
15266
lt_prog_compiler_static \
14379
15267
lt_cv_prog_compiler_c_o \
14380
15268
need_locks \
 
15269
MANIFEST_TOOL \
14381
15270
DSYMUTIL \
14382
15271
NMEDIT \
14383
15272
LIPO \
14391
15280
allow_undefined_flag \
14392
15281
no_undefined_flag \
14393
15282
hardcode_libdir_flag_spec \
14394
 
hardcode_libdir_flag_spec_ld \
14395
15283
hardcode_libdir_separator \
14396
 
fix_srcfile_path \
14397
15284
exclude_expsyms \
14398
15285
include_expsyms \
14399
15286
file_list_spec \
14401
15288
libname_spec \
14402
15289
library_names_spec \
14403
15290
soname_spec \
 
15291
install_override_mode \
14404
15292
finish_eval \
14405
15293
old_striplib \
14406
15294
striplib; do
14407
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15295
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14408
15296
    *[\\\\\\\`\\"\\\$]*)
14409
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
15297
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14410
15298
      ;;
14411
15299
    *)
14412
15300
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14428
15316
module_expsym_cmds \
14429
15317
export_symbols_cmds \
14430
15318
prelink_cmds \
 
15319
postlink_cmds \
14431
15320
postinstall_cmds \
14432
15321
postuninstall_cmds \
14433
15322
finish_cmds \
14434
15323
sys_lib_search_path_spec \
14435
15324
sys_lib_dlsearch_path_spec; do
14436
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
15325
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14437
15326
    *[\\\\\\\`\\"\\\$]*)
14438
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
15327
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14439
15328
      ;;
14440
15329
    *)
14441
15330
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14443
15332
    esac
14444
15333
done
14445
15334
 
14446
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
14447
 
case \$lt_ECHO in
14448
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14449
 
  ;;
14450
 
esac
14451
 
 
14452
15335
ac_aux_dir='$ac_aux_dir'
14453
15336
xsi_shell='$xsi_shell'
14454
15337
lt_shell_append='$lt_shell_append'
14485
15368
    "contrib/monit.upstart") CONFIG_FILES="$CONFIG_FILES contrib/monit.upstart" ;;
14486
15369
    "contrib/monit.service") CONFIG_FILES="$CONFIG_FILES contrib/monit.service" ;;
14487
15370
 
14488
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
15371
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14489
15372
  esac
14490
15373
done
14491
15374
 
14508
15391
# after its creation but before its name has been assigned to `$tmp'.
14509
15392
$debug ||
14510
15393
{
14511
 
  tmp=
 
15394
  tmp= ac_tmp=
14512
15395
  trap 'exit_status=$?
14513
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
15396
  : "${ac_tmp:=$tmp}"
 
15397
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14514
15398
' 0
14515
15399
  trap 'as_fn_exit 1' 1 2 13 15
14516
15400
}
14518
15402
 
14519
15403
{
14520
15404
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14521
 
  test -n "$tmp" && test -d "$tmp"
 
15405
  test -d "$tmp"
14522
15406
}  ||
14523
15407
{
14524
15408
  tmp=./conf$$-$RANDOM
14525
15409
  (umask 077 && mkdir "$tmp")
14526
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
15410
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
15411
ac_tmp=$tmp
14527
15412
 
14528
15413
# Set up the scripts for CONFIG_FILES section.
14529
15414
# No need to generate them if there are no CONFIG_FILES.
14540
15425
fi
14541
15426
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14542
15427
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14543
 
  ac_cs_awk_cr='\r'
 
15428
  ac_cs_awk_cr='\\r'
14544
15429
else
14545
15430
  ac_cs_awk_cr=$ac_cr
14546
15431
fi
14547
15432
 
14548
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
15433
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14549
15434
_ACEOF
14550
15435
 
14551
15436
 
14554
15439
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14555
15440
  echo "_ACEOF"
14556
15441
} >conf$$subs.sh ||
14557
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14558
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
15442
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15443
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14559
15444
ac_delim='%!_!# '
14560
15445
for ac_last_try in false false false false false :; do
14561
15446
  . ./conf$$subs.sh ||
14562
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
15447
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14563
15448
 
14564
15449
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14565
15450
  if test $ac_delim_n = $ac_delim_num; then
14566
15451
    break
14567
15452
  elif $ac_last_try; then
14568
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
15453
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14569
15454
  else
14570
15455
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14571
15456
  fi
14573
15458
rm -f conf$$subs.sh
14574
15459
 
14575
15460
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14576
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
15461
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14577
15462
_ACEOF
14578
15463
sed -n '
14579
15464
h
14621
15506
rm -f conf$$subs.awk
14622
15507
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14623
15508
_ACAWK
14624
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
15509
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14625
15510
  for (key in S) S_is_set[key] = 1
14626
15511
  FS = ""
14627
15512
 
14653
15538
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14654
15539
else
14655
15540
  cat
14656
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14657
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
15541
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
15542
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14658
15543
_ACEOF
14659
15544
 
14660
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
14661
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
15545
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
15546
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14662
15547
# trailing colons and then remove the whole line if VPATH becomes empty
14663
15548
# (actually we leave an empty line to preserve line numbers).
14664
15549
if test "x$srcdir" = x.; then
14665
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
14666
 
s/:*\$(srcdir):*/:/
14667
 
s/:*\${srcdir}:*/:/
14668
 
s/:*@srcdir@:*/:/
14669
 
s/^\([^=]*=[     ]*\):*/\1/
 
15550
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
15551
h
 
15552
s///
 
15553
s/^/:/
 
15554
s/[      ]*$/:/
 
15555
s/:\$(srcdir):/:/g
 
15556
s/:\${srcdir}:/:/g
 
15557
s/:@srcdir@:/:/g
 
15558
s/^:*//
14670
15559
s/:*$//
 
15560
x
 
15561
s/\(=[   ]*\).*/\1/
 
15562
G
 
15563
s/\n//
14671
15564
s/^[^=]*=[       ]*$//
14672
15565
}'
14673
15566
fi
14679
15572
# No need to generate them if there are no CONFIG_HEADERS.
14680
15573
# This happens for instance with `./config.status Makefile'.
14681
15574
if test -n "$CONFIG_HEADERS"; then
14682
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
15575
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14683
15576
BEGIN {
14684
15577
_ACEOF
14685
15578
 
14691
15584
# handling of long lines.
14692
15585
ac_delim='%!_!# '
14693
15586
for ac_last_try in false false :; do
14694
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14695
 
  if test -z "$ac_t"; then
 
15587
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
15588
  if test -z "$ac_tt"; then
14696
15589
    break
14697
15590
  elif $ac_last_try; then
14698
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
15591
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14699
15592
  else
14700
15593
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14701
15594
  fi
14780
15673
_ACAWK
14781
15674
_ACEOF
14782
15675
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14783
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
15676
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14784
15677
fi # test -n "$CONFIG_HEADERS"
14785
15678
 
14786
15679
 
14793
15686
  esac
14794
15687
  case $ac_mode$ac_tag in
14795
15688
  :[FHL]*:*);;
14796
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
15689
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14797
15690
  :[FH]-) ac_tag=-:-;;
14798
15691
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14799
15692
  esac
14812
15705
    for ac_f
14813
15706
    do
14814
15707
      case $ac_f in
14815
 
      -) ac_f="$tmp/stdin";;
 
15708
      -) ac_f="$ac_tmp/stdin";;
14816
15709
      *) # Look for the file first in the build tree, then in the source tree
14817
15710
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
14818
15711
         # because $ac_f cannot contain `:'.
14821
15714
           [\\/$]*) false;;
14822
15715
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14823
15716
           esac ||
14824
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
15717
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14825
15718
      esac
14826
15719
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14827
15720
      as_fn_append ac_file_inputs " '$ac_f'"
14847
15740
    esac
14848
15741
 
14849
15742
    case $ac_tag in
14850
 
    *:-:* | *:-) cat >"$tmp/stdin" \
14851
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
15743
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
15744
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14852
15745
    esac
14853
15746
    ;;
14854
15747
  esac
14984
15877
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14985
15878
$ac_datarootdir_hack
14986
15879
"
14987
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14988
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
15880
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
15881
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14989
15882
 
14990
15883
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14991
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14992
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
15884
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
15885
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
15886
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14993
15887
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14994
 
which seems to be undefined.  Please make sure it is defined." >&5
 
15888
which seems to be undefined.  Please make sure it is defined" >&5
14995
15889
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14996
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
15890
which seems to be undefined.  Please make sure it is defined" >&2;}
14997
15891
 
14998
 
  rm -f "$tmp/stdin"
 
15892
  rm -f "$ac_tmp/stdin"
14999
15893
  case $ac_file in
15000
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
15001
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
15894
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
15895
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15002
15896
  esac \
15003
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
15897
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15004
15898
 ;;
15005
15899
  :H)
15006
15900
  #
15009
15903
  if test x"$ac_file" != x-; then
15010
15904
    {
15011
15905
      $as_echo "/* $configure_input  */" \
15012
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15013
 
    } >"$tmp/config.h" \
15014
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
15015
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
15906
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
15907
    } >"$ac_tmp/config.h" \
 
15908
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
15909
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15016
15910
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15017
15911
$as_echo "$as_me: $ac_file is unchanged" >&6;}
15018
15912
    else
15019
15913
      rm -f "$ac_file"
15020
 
      mv "$tmp/config.h" "$ac_file" \
15021
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
15914
      mv "$ac_tmp/config.h" "$ac_file" \
 
15915
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15022
15916
    fi
15023
15917
  else
15024
15918
    $as_echo "/* $configure_input  */" \
15025
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15026
 
      || as_fn_error "could not create -" "$LINENO" 5
 
15919
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
15920
      || as_fn_error $? "could not create -" "$LINENO" 5
15027
15921
  fi
15028
15922
# Compute "$ac_file"'s index in $config_headers.
15029
15923
_am_arg="$ac_file"
15185
16079
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15186
16080
#
15187
16081
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15188
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
16082
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
16083
#                 Foundation, Inc.
15189
16084
#   Written by Gordon Matzigkeit, 1996
15190
16085
#
15191
16086
#   This file is part of GNU Libtool.
15233
16128
# Whether or not to optimize for fast installation.
15234
16129
fast_install=$enable_fast_install
15235
16130
 
 
16131
# Shell to use when invoking shell scripts.
 
16132
SHELL=$lt_SHELL
 
16133
 
 
16134
# An echo program that protects backslashes.
 
16135
ECHO=$lt_ECHO
 
16136
 
 
16137
# The PATH separator for the build system.
 
16138
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
16139
 
15236
16140
# The host system.
15237
16141
host_alias=$host_alias
15238
16142
host=$host
15282
16186
# turn newlines into spaces.
15283
16187
NL2SP=$lt_lt_NL2SP
15284
16188
 
15285
 
# How to create reloadable object files.
15286
 
reload_flag=$lt_reload_flag
15287
 
reload_cmds=$lt_reload_cmds
 
16189
# convert \$build file names to \$host format.
 
16190
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
16191
 
 
16192
# convert \$build files to toolchain format.
 
16193
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15288
16194
 
15289
16195
# An object symbol dumper.
15290
16196
OBJDUMP=$lt_OBJDUMP
15292
16198
# Method to check whether dependent libraries are shared objects.
15293
16199
deplibs_check_method=$lt_deplibs_check_method
15294
16200
 
15295
 
# Command to use when deplibs_check_method == "file_magic".
 
16201
# Command to use when deplibs_check_method = "file_magic".
15296
16202
file_magic_cmd=$lt_file_magic_cmd
15297
16203
 
 
16204
# How to find potential files when deplibs_check_method = "file_magic".
 
16205
file_magic_glob=$lt_file_magic_glob
 
16206
 
 
16207
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
16208
want_nocaseglob=$lt_want_nocaseglob
 
16209
 
 
16210
# DLL creation program.
 
16211
DLLTOOL=$lt_DLLTOOL
 
16212
 
 
16213
# Command to associate shared and link libraries.
 
16214
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
16215
 
15298
16216
# The archiver.
15299
16217
AR=$lt_AR
 
16218
 
 
16219
# Flags to create an archive.
15300
16220
AR_FLAGS=$lt_AR_FLAGS
15301
16221
 
 
16222
# How to feed a file listing to the archiver.
 
16223
archiver_list_spec=$lt_archiver_list_spec
 
16224
 
15302
16225
# A symbol stripping program.
15303
16226
STRIP=$lt_STRIP
15304
16227
 
15307
16230
old_postinstall_cmds=$lt_old_postinstall_cmds
15308
16231
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15309
16232
 
 
16233
# Whether to use a lock for old archive extraction.
 
16234
lock_old_archive_extraction=$lock_old_archive_extraction
 
16235
 
15310
16236
# A C compiler.
15311
16237
LTCC=$lt_CC
15312
16238
 
15325
16251
# Transform the output of nm in a C name address pair when lib prefix is needed.
15326
16252
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15327
16253
 
 
16254
# Specify filename containing input files for \$NM.
 
16255
nm_file_list_spec=$lt_nm_file_list_spec
 
16256
 
 
16257
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
16258
lt_sysroot=$lt_sysroot
 
16259
 
15328
16260
# The name of the directory that contains temporary libtool files.
15329
16261
objdir=$objdir
15330
16262
 
15331
 
# Shell to use when invoking shell scripts.
15332
 
SHELL=$lt_SHELL
15333
 
 
15334
 
# An echo program that does not interpret backslashes.
15335
 
ECHO=$lt_ECHO
15336
 
 
15337
16263
# Used to examine libraries when file_magic_cmd begins with "file".
15338
16264
MAGIC_CMD=$MAGIC_CMD
15339
16265
 
15340
16266
# Must we lock files when doing compilation?
15341
16267
need_locks=$lt_need_locks
15342
16268
 
 
16269
# Manifest tool.
 
16270
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
16271
 
15343
16272
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15344
16273
DSYMUTIL=$lt_DSYMUTIL
15345
16274
 
15396
16325
# The coded name of the library, if different from the real name.
15397
16326
soname_spec=$lt_soname_spec
15398
16327
 
 
16328
# Permission mode override for installation of shared libraries.
 
16329
install_override_mode=$lt_install_override_mode
 
16330
 
15399
16331
# Command to use after installation of a shared archive.
15400
16332
postinstall_cmds=$lt_postinstall_cmds
15401
16333
 
15435
16367
# The linker used to build libraries.
15436
16368
LD=$lt_LD
15437
16369
 
 
16370
# How to create reloadable object files.
 
16371
reload_flag=$lt_reload_flag
 
16372
reload_cmds=$lt_reload_cmds
 
16373
 
15438
16374
# Commands used to build an old-style archive.
15439
16375
old_archive_cmds=$lt_old_archive_cmds
15440
16376
 
15447
16383
# Compiler flag to turn off builtin functions.
15448
16384
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15449
16385
 
 
16386
# Additional compiler flags for building library objects.
 
16387
pic_flag=$lt_lt_prog_compiler_pic
 
16388
 
15450
16389
# How to pass a linker flag through the compiler.
15451
16390
wl=$lt_lt_prog_compiler_wl
15452
16391
 
15453
 
# Additional compiler flags for building library objects.
15454
 
pic_flag=$lt_lt_prog_compiler_pic
15455
 
 
15456
16392
# Compiler flag to prevent dynamic linking.
15457
16393
link_static_flag=$lt_lt_prog_compiler_static
15458
16394
 
15502
16438
# This must work even if \$libdir does not exist
15503
16439
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15504
16440
 
15505
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
15506
 
# during linking.  This must work even if \$libdir does not exist.
15507
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15508
 
 
15509
16441
# Whether we need a single "-rpath" flag with a separated argument.
15510
16442
hardcode_libdir_separator=$lt_hardcode_libdir_separator
15511
16443
 
15539
16471
# Whether libtool must link a program against all its dependency libraries.
15540
16472
link_all_deplibs=$link_all_deplibs
15541
16473
 
15542
 
# Fix the shell variable \$srcfile for the compiler.
15543
 
fix_srcfile_path=$lt_fix_srcfile_path
15544
 
 
15545
16474
# Set to "yes" if exported symbols are required.
15546
16475
always_export_symbols=$always_export_symbols
15547
16476
 
15557
16486
# Commands necessary for linking programs (against libraries) with templates.
15558
16487
prelink_cmds=$lt_prelink_cmds
15559
16488
 
 
16489
# Commands necessary for finishing linking programs.
 
16490
postlink_cmds=$lt_postlink_cmds
 
16491
 
15560
16492
# Specify filename containing input files.
15561
16493
file_list_spec=$lt_file_list_spec
15562
16494
 
15589
16521
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15590
16522
  # text mode, it properly converts lines to CR/LF.  This bash problem
15591
16523
  # is reportedly fixed, but why not run on old versions too?
15592
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15593
 
    || (rm -f "$cfgfile"; exit 1)
15594
 
 
15595
 
  case $xsi_shell in
15596
 
  yes)
15597
 
    cat << \_LT_EOF >> "$cfgfile"
15598
 
 
15599
 
# func_dirname file append nondir_replacement
15600
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15601
 
# otherwise set result to NONDIR_REPLACEMENT.
15602
 
func_dirname ()
15603
 
{
15604
 
  case ${1} in
15605
 
    */*) func_dirname_result="${1%/*}${2}" ;;
15606
 
    *  ) func_dirname_result="${3}" ;;
15607
 
  esac
15608
 
}
15609
 
 
15610
 
# func_basename file
15611
 
func_basename ()
15612
 
{
15613
 
  func_basename_result="${1##*/}"
15614
 
}
15615
 
 
15616
 
# func_dirname_and_basename file append nondir_replacement
15617
 
# perform func_basename and func_dirname in a single function
15618
 
# call:
15619
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
15620
 
#             add APPEND to the result, otherwise set result
15621
 
#             to NONDIR_REPLACEMENT.
15622
 
#             value returned in "$func_dirname_result"
15623
 
#   basename: Compute filename of FILE.
15624
 
#             value retuned in "$func_basename_result"
15625
 
# Implementation must be kept synchronized with func_dirname
15626
 
# and func_basename. For efficiency, we do not delegate to
15627
 
# those functions but instead duplicate the functionality here.
15628
 
func_dirname_and_basename ()
15629
 
{
15630
 
  case ${1} in
15631
 
    */*) func_dirname_result="${1%/*}${2}" ;;
15632
 
    *  ) func_dirname_result="${3}" ;;
15633
 
  esac
15634
 
  func_basename_result="${1##*/}"
15635
 
}
15636
 
 
15637
 
# func_stripname prefix suffix name
15638
 
# strip PREFIX and SUFFIX off of NAME.
15639
 
# PREFIX and SUFFIX must not contain globbing or regex special
15640
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
15641
 
# dot (in which case that matches only a dot).
15642
 
func_stripname ()
15643
 
{
15644
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15645
 
  # positional parameters, so assign one to ordinary parameter first.
15646
 
  func_stripname_result=${3}
15647
 
  func_stripname_result=${func_stripname_result#"${1}"}
15648
 
  func_stripname_result=${func_stripname_result%"${2}"}
15649
 
}
15650
 
 
15651
 
# func_opt_split
15652
 
func_opt_split ()
15653
 
{
15654
 
  func_opt_split_opt=${1%%=*}
15655
 
  func_opt_split_arg=${1#*=}
15656
 
}
15657
 
 
15658
 
# func_lo2o object
15659
 
func_lo2o ()
15660
 
{
15661
 
  case ${1} in
15662
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15663
 
    *)    func_lo2o_result=${1} ;;
15664
 
  esac
15665
 
}
15666
 
 
15667
 
# func_xform libobj-or-source
15668
 
func_xform ()
15669
 
{
15670
 
  func_xform_result=${1%.*}.lo
15671
 
}
15672
 
 
15673
 
# func_arith arithmetic-term...
15674
 
func_arith ()
15675
 
{
15676
 
  func_arith_result=$(( $* ))
15677
 
}
15678
 
 
15679
 
# func_len string
15680
 
# STRING may not start with a hyphen.
15681
 
func_len ()
15682
 
{
15683
 
  func_len_result=${#1}
15684
 
}
15685
 
 
15686
 
_LT_EOF
15687
 
    ;;
15688
 
  *) # Bourne compatible functions.
15689
 
    cat << \_LT_EOF >> "$cfgfile"
15690
 
 
15691
 
# func_dirname file append nondir_replacement
15692
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15693
 
# otherwise set result to NONDIR_REPLACEMENT.
15694
 
func_dirname ()
15695
 
{
15696
 
  # Extract subdirectory from the argument.
15697
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15698
 
  if test "X$func_dirname_result" = "X${1}"; then
15699
 
    func_dirname_result="${3}"
15700
 
  else
15701
 
    func_dirname_result="$func_dirname_result${2}"
15702
 
  fi
15703
 
}
15704
 
 
15705
 
# func_basename file
15706
 
func_basename ()
15707
 
{
15708
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15709
 
}
15710
 
 
15711
 
 
15712
 
# func_stripname prefix suffix name
15713
 
# strip PREFIX and SUFFIX off of NAME.
15714
 
# PREFIX and SUFFIX must not contain globbing or regex special
15715
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
15716
 
# dot (in which case that matches only a dot).
15717
 
# func_strip_suffix prefix name
15718
 
func_stripname ()
15719
 
{
15720
 
  case ${2} in
15721
 
    .*) func_stripname_result=`$ECHO "X${3}" \
15722
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15723
 
    *)  func_stripname_result=`$ECHO "X${3}" \
15724
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15725
 
  esac
15726
 
}
15727
 
 
15728
 
# sed scripts:
15729
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15730
 
my_sed_long_arg='1s/^-[^=]*=//'
15731
 
 
15732
 
# func_opt_split
15733
 
func_opt_split ()
15734
 
{
15735
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15736
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15737
 
}
15738
 
 
15739
 
# func_lo2o object
15740
 
func_lo2o ()
15741
 
{
15742
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15743
 
}
15744
 
 
15745
 
# func_xform libobj-or-source
15746
 
func_xform ()
15747
 
{
15748
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15749
 
}
15750
 
 
15751
 
# func_arith arithmetic-term...
15752
 
func_arith ()
15753
 
{
15754
 
  func_arith_result=`expr "$@"`
15755
 
}
15756
 
 
15757
 
# func_len string
15758
 
# STRING may not start with a hyphen.
15759
 
func_len ()
15760
 
{
15761
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15762
 
}
15763
 
 
15764
 
_LT_EOF
15765
 
esac
15766
 
 
15767
 
case $lt_shell_append in
15768
 
  yes)
15769
 
    cat << \_LT_EOF >> "$cfgfile"
15770
 
 
15771
 
# func_append var value
15772
 
# Append VALUE to the end of shell variable VAR.
15773
 
func_append ()
15774
 
{
15775
 
  eval "$1+=\$2"
15776
 
}
15777
 
_LT_EOF
15778
 
    ;;
15779
 
  *)
15780
 
    cat << \_LT_EOF >> "$cfgfile"
15781
 
 
15782
 
# func_append var value
15783
 
# Append VALUE to the end of shell variable VAR.
15784
 
func_append ()
15785
 
{
15786
 
  eval "$1=\$$1\$2"
15787
 
}
15788
 
 
15789
 
_LT_EOF
15790
 
    ;;
15791
 
  esac
15792
 
 
15793
 
 
15794
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15795
 
    || (rm -f "$cfgfile"; exit 1)
15796
 
 
15797
 
  mv -f "$cfgfile" "$ofile" ||
 
16524
  sed '$q' "$ltmain" >> "$cfgfile" \
 
16525
     || (rm -f "$cfgfile"; exit 1)
 
16526
 
 
16527
  if test x"$xsi_shell" = xyes; then
 
16528
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
16529
func_dirname ()\
 
16530
{\
 
16531
\    case ${1} in\
 
16532
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
16533
\      *  ) func_dirname_result="${3}" ;;\
 
16534
\    esac\
 
16535
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
16536
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16537
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16538
test 0 -eq $? || _lt_function_replace_fail=:
 
16539
 
 
16540
 
 
16541
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
16542
func_basename ()\
 
16543
{\
 
16544
\    func_basename_result="${1##*/}"\
 
16545
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
16546
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16547
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16548
test 0 -eq $? || _lt_function_replace_fail=:
 
16549
 
 
16550
 
 
16551
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
16552
func_dirname_and_basename ()\
 
16553
{\
 
16554
\    case ${1} in\
 
16555
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
16556
\      *  ) func_dirname_result="${3}" ;;\
 
16557
\    esac\
 
16558
\    func_basename_result="${1##*/}"\
 
16559
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
16560
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16561
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16562
test 0 -eq $? || _lt_function_replace_fail=:
 
16563
 
 
16564
 
 
16565
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
16566
func_stripname ()\
 
16567
{\
 
16568
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
16569
\    # positional parameters, so assign one to ordinary parameter first.\
 
16570
\    func_stripname_result=${3}\
 
16571
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
16572
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
16573
} # Extended-shell func_stripname implementation' "$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
 
 
16578
 
 
16579
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
16580
func_split_long_opt ()\
 
16581
{\
 
16582
\    func_split_long_opt_name=${1%%=*}\
 
16583
\    func_split_long_opt_arg=${1#*=}\
 
16584
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
16585
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16586
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16587
test 0 -eq $? || _lt_function_replace_fail=:
 
16588
 
 
16589
 
 
16590
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
16591
func_split_short_opt ()\
 
16592
{\
 
16593
\    func_split_short_opt_arg=${1#??}\
 
16594
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
16595
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
16596
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16597
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16598
test 0 -eq $? || _lt_function_replace_fail=:
 
16599
 
 
16600
 
 
16601
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
16602
func_lo2o ()\
 
16603
{\
 
16604
\    case ${1} in\
 
16605
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
16606
\      *)    func_lo2o_result=${1} ;;\
 
16607
\    esac\
 
16608
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
16609
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16610
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16611
test 0 -eq $? || _lt_function_replace_fail=:
 
16612
 
 
16613
 
 
16614
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
16615
func_xform ()\
 
16616
{\
 
16617
    func_xform_result=${1%.*}.lo\
 
16618
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
16619
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16620
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16621
test 0 -eq $? || _lt_function_replace_fail=:
 
16622
 
 
16623
 
 
16624
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
16625
func_arith ()\
 
16626
{\
 
16627
    func_arith_result=$(( $* ))\
 
16628
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
16629
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16630
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16631
test 0 -eq $? || _lt_function_replace_fail=:
 
16632
 
 
16633
 
 
16634
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
16635
func_len ()\
 
16636
{\
 
16637
    func_len_result=${#1}\
 
16638
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
16639
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16640
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16641
test 0 -eq $? || _lt_function_replace_fail=:
 
16642
 
 
16643
fi
 
16644
 
 
16645
if test x"$lt_shell_append" = xyes; then
 
16646
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
16647
func_append ()\
 
16648
{\
 
16649
    eval "${1}+=\\${2}"\
 
16650
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
16651
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16652
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16653
test 0 -eq $? || _lt_function_replace_fail=:
 
16654
 
 
16655
 
 
16656
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
16657
func_append_quoted ()\
 
16658
{\
 
16659
\    func_quote_for_eval "${2}"\
 
16660
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
16661
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
16662
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16663
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16664
test 0 -eq $? || _lt_function_replace_fail=:
 
16665
 
 
16666
 
 
16667
  # Save a `func_append' function call where possible by direct use of '+='
 
16668
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
16669
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16670
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16671
  test 0 -eq $? || _lt_function_replace_fail=:
 
16672
else
 
16673
  # Save a `func_append' function call even when '+=' is not available
 
16674
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
16675
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
16676
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
16677
  test 0 -eq $? || _lt_function_replace_fail=:
 
16678
fi
 
16679
 
 
16680
if test x"$_lt_function_replace_fail" = x":"; then
 
16681
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
16682
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
16683
fi
 
16684
 
 
16685
 
 
16686
   mv -f "$cfgfile" "$ofile" ||
15798
16687
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15799
16688
  chmod +x "$ofile"
15800
16689
 
15809
16698
ac_clean_files=$ac_clean_files_save
15810
16699
 
15811
16700
test $ac_write_fail = 0 ||
15812
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
16701
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15813
16702
 
15814
16703
 
15815
16704
# configure is writing to config.log, and then calls config.status.
15830
16719
  exec 5>>config.log
15831
16720
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15832
16721
  # would make configure fail if this is the last instruction.
15833
 
  $ac_cs_success || as_fn_exit $?
 
16722
  $ac_cs_success || as_fn_exit 1
15834
16723
fi
15835
16724
 
15836
16725
#
15971
16860
      # The eval makes quoting arguments work.
15972
16861
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
15973
16862
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
15974
 
        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
 
16863
        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
15975
16864
    fi
15976
16865
 
15977
16866
    cd "$ac_popdir"