~ubuntu-branches/debian/sid/embassy-domsearch/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Andreas Tille
  • Date: 2012-06-22 10:03:24 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120622100324-v9e98arr9zjtmitl
Tags: 1:0.1.0+20110714-1
* New upstream version
* debian/control:
   - Standards-Version: 3.9.3 (no changes needed)
   - debhelper version 9
   - Adapted versioned (build-)depends to latest emboss version
* added debian/compat: 9
* debian/source/format: 3.0 (quilt)
* debian/rules: short dh
* debian/copyright: DEP5 fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
 
2
# From configure.in Revision: 1.24 .
2
3
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.65.
 
4
# Generated by GNU Autoconf 2.68 for DOMSEARCH 0.1.0.
 
5
#
 
6
# Report bugs to <emboss-bug@emboss.open-bio.org>.
4
7
#
5
8
#
6
9
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8
 
# Inc.
 
10
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
11
# Foundation, Inc.
9
12
#
10
13
#
11
14
# This configure script is free software; the Free Software Foundation
89
92
IFS=" ""        $as_nl"
90
93
 
91
94
# Find who we are.  Look in the path if we contain no directory separator.
 
95
as_myself=
92
96
case $0 in #((
93
97
  *[\\/]* ) as_myself=$0 ;;
94
98
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
171
175
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
176
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
177
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
178
 
 
179
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
180
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
183
    PATH=/empty FPATH=/empty; export PATH FPATH
 
184
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
185
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
174
186
test \$(( 1 + 1 )) = 2 || exit 1"
175
187
  if (eval "$as_required") 2>/dev/null; then :
176
188
  as_have_required=yes
214
226
  # We cannot yet assume a decent shell, so we have to provide a
215
227
        # neutralization value for shells without unset; and this also
216
228
        # works around shells that cannot unset nonexistent variables.
 
229
        # Preserve -v and -x to the replacement shell.
217
230
        BASH_ENV=/dev/null
218
231
        ENV=/dev/null
219
232
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
233
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
234
        case $- in # ((((
 
235
          *v*x* | *x*v* ) as_opts=-vx ;;
 
236
          *v* ) as_opts=-v ;;
 
237
          *x* ) as_opts=-x ;;
 
238
          * ) as_opts= ;;
 
239
        esac
 
240
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
222
241
fi
223
242
 
224
243
    if test x$as_have_required = xno; then :
228
247
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
248
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
249
  else
231
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
250
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
251
$0: emboss-bug@emboss.open-bio.org about your system,
232
252
$0: including any error possibly output before this
233
253
$0: message. Then install a modern shell, or manually run
234
254
$0: the script under such a shell if you do have one."
316
336
      test -d "$as_dir" && break
317
337
    done
318
338
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
339
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
340
 
321
341
 
322
342
} # as_fn_mkdir_p
356
376
fi # as_fn_arith
357
377
 
358
378
 
359
 
# as_fn_error ERROR [LINENO LOG_FD]
360
 
# ---------------------------------
 
379
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
380
# ----------------------------------------
361
381
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
382
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
 
# script with status $?, using 1 if that was 0.
 
383
# script with STATUS, using 1 if that was 0.
364
384
as_fn_error ()
365
385
{
366
 
  as_status=$?; test $as_status -eq 0 && as_status=1
367
 
  if test "$3"; then
368
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
386
  as_status=$1; test $as_status -eq 0 && as_status=1
 
387
  if test "$4"; then
 
388
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
389
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370
390
  fi
371
 
  $as_echo "$as_me: error: $1" >&2
 
391
  $as_echo "$as_me: error: $2" >&2
372
392
  as_fn_exit $as_status
373
393
} # as_fn_error
374
394
 
525
545
# Sed expression to map a string onto a valid variable name.
526
546
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
547
 
528
 
 
529
 
 
530
 
# Check that we are running under the correct shell.
531
548
SHELL=${CONFIG_SHELL-/bin/sh}
532
549
 
533
 
case X$lt_ECHO in
534
 
X*--fallback-echo)
535
 
  # Remove one level of quotation (which was required for Make).
536
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537
 
  ;;
538
 
esac
539
 
 
540
 
ECHO=${lt_ECHO-echo}
541
 
if test "X$1" = X--no-reexec; then
542
 
  # Discard the --no-reexec flag, and continue.
543
 
  shift
544
 
elif test "X$1" = X--fallback-echo; then
545
 
  # Avoid inline document here, it may be left over
546
 
  :
547
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
 
  # Yippee, $ECHO works!
549
 
  :
550
 
else
551
 
  # Restart under the correct shell.
552
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
553
 
fi
554
 
 
555
 
if test "X$1" = X--fallback-echo; then
556
 
  # used as fallback echo
557
 
  shift
558
 
  cat <<_LT_EOF
559
 
$*
560
 
_LT_EOF
561
 
  exit 0
562
 
fi
563
 
 
564
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
565
 
# if CDPATH is set.
566
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
 
 
568
 
if test -z "$lt_ECHO"; then
569
 
  if test "X${echo_test_string+set}" != Xset; then
570
 
    # find a string as large as possible, as long as the shell can cope with it
571
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575
 
      then
576
 
        break
577
 
      fi
578
 
    done
579
 
  fi
580
 
 
581
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
584
 
    :
585
 
  else
586
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
587
 
    # backslashes.  This makes it impossible to quote backslashes using
588
 
    #   echo "$something" | sed 's/\\/\\\\/g'
589
 
    #
590
 
    # So, first we look for a working echo in the user's PATH.
591
 
 
592
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
 
    for dir in $PATH /usr/ucb; do
594
 
      IFS="$lt_save_ifs"
595
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
599
 
        ECHO="$dir/echo"
600
 
        break
601
 
      fi
602
 
    done
603
 
    IFS="$lt_save_ifs"
604
 
 
605
 
    if test "X$ECHO" = Xecho; then
606
 
      # We didn't find a better echo, so look for alternatives.
607
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
        # This shell has a builtin print -r that does the trick.
611
 
        ECHO='print -r'
612
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
614
 
        # If we have ksh, try running configure again with it.
615
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
 
        export ORIGINAL_CONFIG_SHELL
617
 
        CONFIG_SHELL=/bin/ksh
618
 
        export CONFIG_SHELL
619
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620
 
      else
621
 
        # Try using printf.
622
 
        ECHO='printf %s\n'
623
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
626
 
          # Cool, printf works
627
 
          :
628
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
 
             test "X$echo_testing_string" = 'X\t' &&
630
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
632
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633
 
          export CONFIG_SHELL
634
 
          SHELL="$CONFIG_SHELL"
635
 
          export SHELL
636
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
 
             test "X$echo_testing_string" = 'X\t' &&
639
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
641
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
642
 
        else
643
 
          # maybe with a smaller string...
644
 
          prev=:
645
 
 
646
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648
 
            then
649
 
              break
650
 
            fi
651
 
            prev="$cmd"
652
 
          done
653
 
 
654
 
          if test "$prev" != 'sed 50q "$0"'; then
655
 
            echo_test_string=`eval $prev`
656
 
            export echo_test_string
657
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658
 
          else
659
 
            # Oops.  We lost completely, so just stick with echo.
660
 
            ECHO=echo
661
 
          fi
662
 
        fi
663
 
      fi
664
 
    fi
665
 
  fi
666
 
fi
667
 
 
668
 
# Copy echo and quote the copy suitably for passing to libtool from
669
 
# the Makefile, instead of quoting the original, which is used later.
670
 
lt_ECHO=$ECHO
671
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673
 
fi
674
 
 
675
 
 
676
 
 
677
550
 
678
551
test -n "$DJDIR" || exec 7<&0 </dev/null
679
552
exec 6>&1
680
553
 
681
554
# Name of the host.
682
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
555
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683
556
# so uname gets run too.
684
557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
558
 
696
569
MAKEFLAGS=
697
570
 
698
571
# Identity of this package.
699
 
PACKAGE_NAME=
700
 
PACKAGE_TARNAME=
701
 
PACKAGE_VERSION=
702
 
PACKAGE_STRING=
703
 
PACKAGE_BUGREPORT=
704
 
PACKAGE_URL=
 
572
PACKAGE_NAME='DOMSEARCH'
 
573
PACKAGE_TARNAME='DOMSEARCH'
 
574
PACKAGE_VERSION='0.1.0'
 
575
PACKAGE_STRING='DOMSEARCH 0.1.0'
 
576
PACKAGE_BUGREPORT='emboss-bug@emboss.open-bio.org'
 
577
PACKAGE_URL='http://emboss.sourceforge.net/'
705
578
 
706
579
ac_unique_file="src/seqnr.c"
707
580
# Factoring default headers for most tests.
773
646
HAVE_STRERROR
774
647
HAVE_MEMMOVE
775
648
POSTGRESQL_LDFLAGS
 
649
POSTGRESQL_CPPFLAGS
776
650
POSTGRESQL_CFLAGS
777
651
POSTGRESQL_VERSION
778
652
PG_CONFIG
779
653
MYSQL_LDFLAGS
 
654
MYSQL_CPPFLAGS
780
655
MYSQL_CFLAGS
781
656
MYSQL_VERSION
782
657
MYSQL_CONFIG
792
667
X_PRE_LIBS
793
668
X_CFLAGS
794
669
XMKMF
795
 
EMBOSS_TOP
796
 
AJAX_FIXED_ROOT
797
670
CPP
798
671
OTOOL64
799
672
OTOOL
800
673
LIPO
801
674
NMEDIT
802
675
DSYMUTIL
803
 
lt_ECHO
 
676
MANIFEST_TOOL
804
677
RANLIB
 
678
ac_ct_AR
805
679
AR
 
680
DLLTOOL
806
681
OBJDUMP
807
682
LN_S
808
683
NM
908
783
enable_fast_install
909
784
enable_dependency_tracking
910
785
with_gnu_ld
 
786
with_sysroot
911
787
enable_libtool_lock
 
788
enable_64
 
789
with_optimisation
 
790
enable_warnings
 
791
enable_devwarnings
912
792
with_sgiabi
913
 
enable_64
914
793
with_x
915
794
with_docroot
916
795
with_gccprofile
926
805
enable_large
927
806
enable_systemlibs
928
807
enable_purify
929
 
enable_warnings
930
 
enable_devwarnings
931
808
with_thread
932
809
'
933
810
      ac_precious_vars='build_alias
980
857
localstatedir='${prefix}/var'
981
858
includedir='${prefix}/include'
982
859
oldincludedir='/usr/include'
983
 
docdir='${datarootdir}/doc/${PACKAGE}'
 
860
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
984
861
infodir='${datarootdir}/info'
985
862
htmldir='${docdir}'
986
863
dvidir='${docdir}'
1002
879
  fi
1003
880
 
1004
881
  case $ac_option in
1005
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1006
 
  *)    ac_optarg=yes ;;
 
882
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
883
  *=)   ac_optarg= ;;
 
884
  *)    ac_optarg=yes ;;
1007
885
  esac
1008
886
 
1009
887
  # Accept the important Cygnus configure options, so we can diagnose typos.
1048
926
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1049
927
    # Reject names that are not valid shell variable names.
1050
928
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1051
 
      as_fn_error "invalid feature name: $ac_useropt"
 
929
      as_fn_error $? "invalid feature name: $ac_useropt"
1052
930
    ac_useropt_orig=$ac_useropt
1053
931
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1054
932
    case $ac_user_opts in
1074
952
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1075
953
    # Reject names that are not valid shell variable names.
1076
954
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1077
 
      as_fn_error "invalid feature name: $ac_useropt"
 
955
      as_fn_error $? "invalid feature name: $ac_useropt"
1078
956
    ac_useropt_orig=$ac_useropt
1079
957
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1080
958
    case $ac_user_opts in
1278
1156
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1279
1157
    # Reject names that are not valid shell variable names.
1280
1158
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1281
 
      as_fn_error "invalid package name: $ac_useropt"
 
1159
      as_fn_error $? "invalid package name: $ac_useropt"
1282
1160
    ac_useropt_orig=$ac_useropt
1283
1161
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1284
1162
    case $ac_user_opts in
1294
1172
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1295
1173
    # Reject names that are not valid shell variable names.
1296
1174
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1297
 
      as_fn_error "invalid package name: $ac_useropt"
 
1175
      as_fn_error $? "invalid package name: $ac_useropt"
1298
1176
    ac_useropt_orig=$ac_useropt
1299
1177
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1300
1178
    case $ac_user_opts in
1324
1202
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1325
1203
    x_libraries=$ac_optarg ;;
1326
1204
 
1327
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1328
 
Try \`$0 --help' for more information."
 
1205
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1206
Try \`$0 --help' for more information"
1329
1207
    ;;
1330
1208
 
1331
1209
  *=*)
1333
1211
    # Reject names that are not valid shell variable names.
1334
1212
    case $ac_envvar in #(
1335
1213
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1336
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1214
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1337
1215
    esac
1338
1216
    eval $ac_envvar=\$ac_optarg
1339
1217
    export $ac_envvar ;;
1343
1221
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1344
1222
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1345
1223
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1346
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1224
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1347
1225
    ;;
1348
1226
 
1349
1227
  esac
1351
1229
 
1352
1230
if test -n "$ac_prev"; then
1353
1231
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1354
 
  as_fn_error "missing argument to $ac_option"
 
1232
  as_fn_error $? "missing argument to $ac_option"
1355
1233
fi
1356
1234
 
1357
1235
if test -n "$ac_unrecognized_opts"; then
1358
1236
  case $enable_option_checking in
1359
1237
    no) ;;
1360
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1238
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1361
1239
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1362
1240
  esac
1363
1241
fi
1380
1258
    [\\/$]* | ?:[\\/]* )  continue;;
1381
1259
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1382
1260
  esac
1383
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1261
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1384
1262
done
1385
1263
 
1386
1264
# There might be people who depend on the old broken behavior: `$host'
1394
1272
if test "x$host_alias" != x; then
1395
1273
  if test "x$build_alias" = x; then
1396
1274
    cross_compiling=maybe
1397
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1398
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1275
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1276
    If a cross compiler is detected then cross compile mode will be used" >&2
1399
1277
  elif test "x$build_alias" != "x$host_alias"; then
1400
1278
    cross_compiling=yes
1401
1279
  fi
1410
1288
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1411
1289
ac_ls_di=`ls -di .` &&
1412
1290
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1413
 
  as_fn_error "working directory cannot be determined"
 
1291
  as_fn_error $? "working directory cannot be determined"
1414
1292
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1415
 
  as_fn_error "pwd does not report name of working directory"
 
1293
  as_fn_error $? "pwd does not report name of working directory"
1416
1294
 
1417
1295
 
1418
1296
# Find the source files, if location was not specified.
1451
1329
fi
1452
1330
if test ! -r "$srcdir/$ac_unique_file"; then
1453
1331
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1454
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1332
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1455
1333
fi
1456
1334
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1457
1335
ac_abs_confdir=`(
1458
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1336
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1459
1337
        pwd)`
1460
1338
# When building in place, set srcdir=.
1461
1339
if test "$ac_abs_confdir" = "$ac_pwd"; then
1481
1359
  # Omit some internal or obsolete options to make the list less imposing.
1482
1360
  # This message is too long to be a string in the A/UX 3.1 sh.
1483
1361
  cat <<_ACEOF
1484
 
\`configure' configures this package to adapt to many kinds of systems.
 
1362
\`configure' configures DOMSEARCH 0.1.0 to adapt to many kinds of systems.
1485
1363
 
1486
1364
Usage: $0 [OPTION]... [VAR=VALUE]...
1487
1365
 
1495
1373
      --help=short        display options specific to this package
1496
1374
      --help=recursive    display the short help of all the included packages
1497
1375
  -V, --version           display version information and exit
1498
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1376
  -q, --quiet, --silent   do not print \`checking ...' messages
1499
1377
      --cache-file=FILE   cache test results in FILE [disabled]
1500
1378
  -C, --config-cache      alias for \`--cache-file=config.cache'
1501
1379
  -n, --no-create         do not create output files
1529
1407
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1530
1408
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1531
1409
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1532
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1410
  --docdir=DIR            documentation root [DATAROOTDIR/doc/DOMSEARCH]
1533
1411
  --htmldir=DIR           html documentation [DOCDIR]
1534
1412
  --dvidir=DIR            dvi documentation [DOCDIR]
1535
1413
  --pdfdir=DIR            pdf documentation [DOCDIR]
1554
1432
fi
1555
1433
 
1556
1434
if test -n "$ac_init_help"; then
1557
 
 
 
1435
  case $ac_init_help in
 
1436
     short | recursive ) echo "Configuration of DOMSEARCH 0.1.0:";;
 
1437
   esac
1558
1438
  cat <<\_ACEOF
1559
1439
 
1560
1440
Optional Features:
1568
1448
  --disable-dependency-tracking  speeds up one-time build
1569
1449
  --enable-dependency-tracking   do not reject slow dependency extractors
1570
1450
  --disable-libtool-lock  avoid locking (might break parallel builds)
1571
 
 --enable-64   64
 
1451
  --enable-64             64 bit pointers on 32 bit machines
 
1452
  --enable-warnings       warnings
 
1453
  --enable-devwarnings    strict warnings for developers
1572
1454
  --enable-localforce     force compile/link against /usr/local
1573
1455
  --enable-debug          debug (-g option on compiler)
1574
 
 --enable-large   large
1575
 
  --enable-systemlibs     Use system versions of zlib/expat
 
1456
  --enable-large          over 2Gb file support (default)
 
1457
  --enable-systemlibs     utility for RPM/dpkg bundles
1576
1458
  --enable-purify         purify
1577
 
  --enable-warnings       warnings (-Wall option on gcc compiler)
1578
 
  --enable-devwarnings    developer warnings (for prototypes on gcc compiler)
1579
1459
 
1580
1460
Optional Packages:
1581
1461
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1583
1463
  --with-pic              try to use only PIC/non-PIC objects [default=use
1584
1464
                          both]
1585
1465
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1466
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1467
                        (or the compiler's sysroot if not specified).
 
1468
  --without-optimisation  Disable compiler optimisation
1586
1469
  --with-sgiabi=[ARG]     SGI compiler flags [default=no]
1587
1470
  --with-x                use the X Window System
1588
1471
  --with-docroot=DIR      root directory path of documentation (defaults to
1593
1476
  --with-javaos=DIR       root directory path of java installation include OS
1594
1477
  --with-hpdf=DIR         root directory path of hpdf installation [defaults
1595
1478
                          to /usr]
1596
 
      --without-hpdf          to disable pdf support
1597
1479
  --with-pngdriver=[DIR]  root directory path of png/gd/zlib installation
1598
1480
                          (defaults to /usr)
1599
 
      --without-pngdriver     to disable pngdriver usage completely
1600
1481
  --with-auth=[AUTHTYPE]  defaults to PAM
1601
1482
  --with-mysql=[ARG]      use MySQL client library [default=yes], optionally
1602
1483
                          specify path to mysql_config
1618
1499
Use these variables to override the choices made by `configure' or to help
1619
1500
it to find libraries and programs with nonstandard names/locations.
1620
1501
 
1621
 
Report bugs to the package provider.
 
1502
Report bugs to <emboss-bug@emboss.open-bio.org>.
 
1503
DOMSEARCH home page: <http://emboss.sourceforge.net/>.
1622
1504
_ACEOF
1623
1505
ac_status=$?
1624
1506
fi
1681
1563
test -n "$ac_init_help" && exit $ac_status
1682
1564
if $ac_init_version; then
1683
1565
  cat <<\_ACEOF
1684
 
configure
1685
 
generated by GNU Autoconf 2.65
 
1566
DOMSEARCH configure 0.1.0
 
1567
generated by GNU Autoconf 2.68
1686
1568
 
1687
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1569
Copyright (C) 2010 Free Software Foundation, Inc.
1688
1570
This configure script is free software; the Free Software Foundation
1689
1571
gives unlimited permission to copy, distribute and modify it.
1690
1572
_ACEOF
1728
1610
 
1729
1611
        ac_retval=1
1730
1612
fi
1731
 
  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
1732
1614
  as_fn_set_status $ac_retval
1733
1615
 
1734
1616
} # ac_fn_c_try_compile
1774
1656
  # interfere with the next link command; also delete a directory that is
1775
1657
  # left behind by Apple's compiler.  We do this before executing the actions.
1776
1658
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1777
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1659
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778
1660
  as_fn_set_status $ac_retval
1779
1661
 
1780
1662
} # ac_fn_c_try_link
1788
1670
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789
1671
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1790
1672
$as_echo_n "checking for $2... " >&6; }
1791
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1673
if eval \${$3+:} false; then :
1792
1674
  $as_echo_n "(cached) " >&6
1793
1675
else
1794
1676
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1806
1688
eval ac_res=\$$3
1807
1689
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1808
1690
$as_echo "$ac_res" >&6; }
1809
 
  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
1810
1692
 
1811
1693
} # ac_fn_c_check_header_compile
1812
1694
 
1831
1713
    mv -f conftest.er1 conftest.err
1832
1714
  fi
1833
1715
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834
 
  test $ac_status = 0; } >/dev/null && {
 
1716
  test $ac_status = 0; } > conftest.i && {
1835
1717
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1836
1718
         test ! -s conftest.err
1837
1719
       }; then :
1842
1724
 
1843
1725
    ac_retval=1
1844
1726
fi
1845
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1727
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846
1728
  as_fn_set_status $ac_retval
1847
1729
 
1848
1730
} # ac_fn_c_try_cpp
1884
1766
       ac_retval=$ac_status
1885
1767
fi
1886
1768
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1887
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1769
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888
1770
  as_fn_set_status $ac_retval
1889
1771
 
1890
1772
} # ac_fn_c_try_run
1897
1779
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898
1780
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899
1781
$as_echo_n "checking for $2... " >&6; }
1900
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1782
if eval \${$3+:} false; then :
1901
1783
  $as_echo_n "(cached) " >&6
1902
1784
else
1903
1785
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1952
1834
eval ac_res=\$$3
1953
1835
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1954
1836
$as_echo "$ac_res" >&6; }
1955
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1837
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1956
1838
 
1957
1839
} # ac_fn_c_check_func
1958
1840
 
1964
1846
ac_fn_c_check_header_mongrel ()
1965
1847
{
1966
1848
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1967
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1849
  if eval \${$3+:} false; then :
1968
1850
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1969
1851
$as_echo_n "checking for $2... " >&6; }
1970
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1852
if eval \${$3+:} false; then :
1971
1853
  $as_echo_n "(cached) " >&6
1972
1854
fi
1973
1855
eval ac_res=\$$3
2003
1885
else
2004
1886
  ac_header_preproc=no
2005
1887
fi
2006
 
rm -f conftest.err conftest.$ac_ext
 
1888
rm -f conftest.err conftest.i conftest.$ac_ext
2007
1889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2008
1890
$as_echo "$ac_header_preproc" >&6; }
2009
1891
 
2026
1908
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2027
1909
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2028
1910
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1911
( $as_echo "## --------------------------------------------- ##
 
1912
## Report this to emboss-bug@emboss.open-bio.org ##
 
1913
## --------------------------------------------- ##"
 
1914
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2029
1915
    ;;
2030
1916
esac
2031
1917
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032
1918
$as_echo_n "checking for $2... " >&6; }
2033
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1919
if eval \${$3+:} false; then :
2034
1920
  $as_echo_n "(cached) " >&6
2035
1921
else
2036
1922
  eval "$3=\$ac_header_compiler"
2039
1925
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040
1926
$as_echo "$ac_res" >&6; }
2041
1927
fi
2042
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1928
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043
1929
 
2044
1930
} # ac_fn_c_check_header_mongrel
2045
1931
 
2052
1938
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053
1939
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2054
1940
$as_echo_n "checking for $2... " >&6; }
2055
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1941
if eval \${$3+:} false; then :
2056
1942
  $as_echo_n "(cached) " >&6
2057
1943
else
2058
1944
  eval "$3=no"
2093
1979
eval ac_res=\$$3
2094
1980
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2095
1981
$as_echo "$ac_res" >&6; }
2096
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1982
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2097
1983
 
2098
1984
} # ac_fn_c_check_type
2099
1985
cat >config.log <<_ACEOF
2100
1986
This file contains any messages produced by compilers while
2101
1987
running configure, to aid debugging if configure makes a mistake.
2102
1988
 
2103
 
It was created by $as_me, which was
2104
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
1989
It was created by DOMSEARCH $as_me 0.1.0, which was
 
1990
generated by GNU Autoconf 2.68.  Invocation command line was
2105
1991
 
2106
1992
  $ $0 $@
2107
1993
 
2211
2097
  {
2212
2098
    echo
2213
2099
 
2214
 
    cat <<\_ASBOX
2215
 
## ---------------- ##
 
2100
    $as_echo "## ---------------- ##
2216
2101
## Cache variables. ##
2217
 
## ---------------- ##
2218
 
_ASBOX
 
2102
## ---------------- ##"
2219
2103
    echo
2220
2104
    # The following way of writing the cache mishandles newlines in values,
2221
2105
(
2249
2133
)
2250
2134
    echo
2251
2135
 
2252
 
    cat <<\_ASBOX
2253
 
## ----------------- ##
 
2136
    $as_echo "## ----------------- ##
2254
2137
## Output variables. ##
2255
 
## ----------------- ##
2256
 
_ASBOX
 
2138
## ----------------- ##"
2257
2139
    echo
2258
2140
    for ac_var in $ac_subst_vars
2259
2141
    do
2266
2148
    echo
2267
2149
 
2268
2150
    if test -n "$ac_subst_files"; then
2269
 
      cat <<\_ASBOX
2270
 
## ------------------- ##
 
2151
      $as_echo "## ------------------- ##
2271
2152
## File substitutions. ##
2272
 
## ------------------- ##
2273
 
_ASBOX
 
2153
## ------------------- ##"
2274
2154
      echo
2275
2155
      for ac_var in $ac_subst_files
2276
2156
      do
2284
2164
    fi
2285
2165
 
2286
2166
    if test -s confdefs.h; then
2287
 
      cat <<\_ASBOX
2288
 
## ----------- ##
 
2167
      $as_echo "## ----------- ##
2289
2168
## confdefs.h. ##
2290
 
## ----------- ##
2291
 
_ASBOX
 
2169
## ----------- ##"
2292
2170
      echo
2293
2171
      cat confdefs.h
2294
2172
      echo
2343
2221
ac_site_file1=NONE
2344
2222
ac_site_file2=NONE
2345
2223
if test -n "$CONFIG_SITE"; then
2346
 
  ac_site_file1=$CONFIG_SITE
 
2224
  # We do not want a PATH search for config.site.
 
2225
  case $CONFIG_SITE in #((
 
2226
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2227
    */*) ac_site_file1=$CONFIG_SITE;;
 
2228
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2229
  esac
2347
2230
elif test "x$prefix" != xNONE; then
2348
2231
  ac_site_file1=$prefix/share/config.site
2349
2232
  ac_site_file2=$prefix/etc/config.site
2358
2241
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2359
2242
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2360
2243
    sed 's/^/| /' "$ac_site_file" >&5
2361
 
    . "$ac_site_file"
 
2244
    . "$ac_site_file" \
 
2245
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2246
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2247
as_fn_error $? "failed to load site script $ac_site_file
 
2248
See \`config.log' for more details" "$LINENO" 5; }
2362
2249
  fi
2363
2250
done
2364
2251
 
2434
2321
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435
2322
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2436
2323
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2437
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2324
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2438
2325
fi
2439
2326
## -------------------- ##
2440
2327
## Main body of script. ##
2447
2334
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2448
2335
 
2449
2336
 
 
2337
 
 
2338
ac_config_headers="$ac_config_headers src/config.h"
 
2339
 
 
2340
 
 
2341
 
2450
2342
am__api_version='1.11'
2451
2343
 
2452
2344
ac_aux_dir=
2453
2345
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2454
 
  for ac_t in install-sh install.sh shtool; do
2455
 
    if test -f "$ac_dir/$ac_t"; then
2456
 
      ac_aux_dir=$ac_dir
2457
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2458
 
      break 2
2459
 
    fi
2460
 
  done
 
2346
  if test -f "$ac_dir/install-sh"; then
 
2347
    ac_aux_dir=$ac_dir
 
2348
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2349
    break
 
2350
  elif test -f "$ac_dir/install.sh"; then
 
2351
    ac_aux_dir=$ac_dir
 
2352
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2353
    break
 
2354
  elif test -f "$ac_dir/shtool"; then
 
2355
    ac_aux_dir=$ac_dir
 
2356
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2357
    break
 
2358
  fi
2461
2359
done
2462
2360
if test -z "$ac_aux_dir"; then
2463
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2361
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2464
2362
fi
2465
2363
 
2466
2364
# These three variables are undocumented and unsupported,
2489
2387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2490
2388
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2491
2389
if test -z "$INSTALL"; then
2492
 
if test "${ac_cv_path_install+set}" = set; then :
 
2390
if ${ac_cv_path_install+:} false; then :
2493
2391
  $as_echo_n "(cached) " >&6
2494
2392
else
2495
2393
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2576
2474
'
2577
2475
case `pwd` in
2578
2476
  *[\\\"\#\$\&\'\`$am_lf]*)
2579
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2477
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2580
2478
esac
2581
2479
case $srcdir in
2582
2480
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2583
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2481
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2584
2482
esac
2585
2483
 
2586
2484
# Do `set' in a subshell so we don't clobber the current shell's
2602
2500
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2603
2501
      # broken ls alias from the environment.  This has actually
2604
2502
      # happened.  Such a system could not be considered "sane".
2605
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2503
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2606
2504
alias in your environment" "$LINENO" 5
2607
2505
   fi
2608
2506
 
2612
2510
   # Ok.
2613
2511
   :
2614
2512
else
2615
 
   as_fn_error "newly created file is older than distributed files!
 
2513
   as_fn_error $? "newly created file is older than distributed files!
2616
2514
Check your system clock" "$LINENO" 5
2617
2515
fi
2618
2516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2666
2564
set dummy ${ac_tool_prefix}strip; ac_word=$2
2667
2565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668
2566
$as_echo_n "checking for $ac_word... " >&6; }
2669
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2567
if ${ac_cv_prog_STRIP+:} false; then :
2670
2568
  $as_echo_n "(cached) " >&6
2671
2569
else
2672
2570
  if test -n "$STRIP"; then
2706
2604
set dummy strip; ac_word=$2
2707
2605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708
2606
$as_echo_n "checking for $ac_word... " >&6; }
2709
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2607
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2710
2608
  $as_echo_n "(cached) " >&6
2711
2609
else
2712
2610
  if test -n "$ac_ct_STRIP"; then
2759
2657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2760
2658
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2761
2659
if test -z "$MKDIR_P"; then
2762
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2660
  if ${ac_cv_path_mkdir+:} false; then :
2763
2661
  $as_echo_n "(cached) " >&6
2764
2662
else
2765
2663
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810
2708
set dummy $ac_prog; ac_word=$2
2811
2709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2812
2710
$as_echo_n "checking for $ac_word... " >&6; }
2813
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2711
if ${ac_cv_prog_AWK+:} false; then :
2814
2712
  $as_echo_n "(cached) " >&6
2815
2713
else
2816
2714
  if test -n "$AWK"; then
2850
2748
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2851
2749
set x ${MAKE-make}
2852
2750
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2853
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2751
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2854
2752
  $as_echo_n "(cached) " >&6
2855
2753
else
2856
2754
  cat >conftest.make <<\_ACEOF
2858
2756
all:
2859
2757
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2860
2758
_ACEOF
2861
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2759
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2862
2760
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2863
2761
  *@@@%%%=?*=@@@%%%*)
2864
2762
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2892
2790
  am__isrc=' -I$(srcdir)'
2893
2791
  # test to see if srcdir already configured
2894
2792
  if test -f $srcdir/config.status; then
2895
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2793
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2896
2794
  fi
2897
2795
fi
2898
2796
 
2907
2805
 
2908
2806
 
2909
2807
# Define the identity of the package.
2910
 
 PACKAGE=DOMSEARCH
2911
 
 VERSION=0.1.0
 
2808
 PACKAGE='DOMSEARCH'
 
2809
 VERSION='0.1.0'
2912
2810
 
2913
2811
 
2914
2812
cat >>confdefs.h <<_ACEOF
2959
2857
 
2960
2858
 
2961
2859
 
2962
 
macro_version='2.2.6b'
2963
 
macro_revision='1.3017'
 
2860
macro_version='2.4'
 
2861
macro_revision='1.3293'
2964
2862
 
2965
2863
 
2966
2864
 
2978
2876
 
2979
2877
# Make sure we can run config.sub.
2980
2878
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2981
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2879
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2982
2880
 
2983
2881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2984
2882
$as_echo_n "checking build system type... " >&6; }
2985
 
if test "${ac_cv_build+set}" = set; then :
 
2883
if ${ac_cv_build+:} false; then :
2986
2884
  $as_echo_n "(cached) " >&6
2987
2885
else
2988
2886
  ac_build_alias=$build_alias
2989
2887
test "x$ac_build_alias" = x &&
2990
2888
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2991
2889
test "x$ac_build_alias" = x &&
2992
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
2890
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2993
2891
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2994
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2892
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2995
2893
 
2996
2894
fi
2997
2895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2998
2896
$as_echo "$ac_cv_build" >&6; }
2999
2897
case $ac_cv_build in
3000
2898
*-*-*) ;;
3001
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
2899
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3002
2900
esac
3003
2901
build=$ac_cv_build
3004
2902
ac_save_IFS=$IFS; IFS='-'
3016
2914
 
3017
2915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3018
2916
$as_echo_n "checking host system type... " >&6; }
3019
 
if test "${ac_cv_host+set}" = set; then :
 
2917
if ${ac_cv_host+:} false; then :
3020
2918
  $as_echo_n "(cached) " >&6
3021
2919
else
3022
2920
  if test "x$host_alias" = x; then
3023
2921
  ac_cv_host=$ac_cv_build
3024
2922
else
3025
2923
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3026
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2924
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3027
2925
fi
3028
2926
 
3029
2927
fi
3031
2929
$as_echo "$ac_cv_host" >&6; }
3032
2930
case $ac_cv_host in
3033
2931
*-*-*) ;;
3034
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
2932
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3035
2933
esac
3036
2934
host=$ac_cv_host
3037
2935
ac_save_IFS=$IFS; IFS='-'
3047
2945
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3048
2946
 
3049
2947
 
 
2948
# Backslashify metacharacters that are still active within
 
2949
# double-quoted strings.
 
2950
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
2951
 
 
2952
# Same as above, but do not quote variable references.
 
2953
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
2954
 
 
2955
# Sed substitution to delay expansion of an escaped shell variable in a
 
2956
# double_quote_subst'ed string.
 
2957
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
2958
 
 
2959
# Sed substitution to delay expansion of an escaped single quote.
 
2960
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
2961
 
 
2962
# Sed substitution to avoid accidental globbing in evaled expressions
 
2963
no_glob_subst='s/\*/\\\*/g'
 
2964
 
 
2965
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
2966
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
2967
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
2968
 
 
2969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
2970
$as_echo_n "checking how to print strings... " >&6; }
 
2971
# Test print first, because it will be a builtin if present.
 
2972
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
2973
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
2974
  ECHO='print -r --'
 
2975
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
2976
  ECHO='printf %s\n'
 
2977
else
 
2978
  # Use this function as a fallback that always works.
 
2979
  func_fallback_echo ()
 
2980
  {
 
2981
    eval 'cat <<_LTECHO_EOF
 
2982
$1
 
2983
_LTECHO_EOF'
 
2984
  }
 
2985
  ECHO='func_fallback_echo'
 
2986
fi
 
2987
 
 
2988
# func_echo_all arg...
 
2989
# Invoke $ECHO with all args, space-separated.
 
2990
func_echo_all ()
 
2991
{
 
2992
    $ECHO ""
 
2993
}
 
2994
 
 
2995
case "$ECHO" in
 
2996
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
2997
$as_echo "printf" >&6; } ;;
 
2998
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
2999
$as_echo "print -r" >&6; } ;;
 
3000
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
3001
$as_echo "cat" >&6; } ;;
 
3002
esac
 
3003
 
 
3004
 
 
3005
 
 
3006
 
 
3007
 
 
3008
 
 
3009
 
 
3010
 
 
3011
 
 
3012
 
 
3013
 
 
3014
 
 
3015
 
 
3016
 
3050
3017
DEPDIR="${am__leading_dot}deps"
3051
3018
 
3052
3019
ac_config_commands="$ac_config_commands depfiles"
3119
3086
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3120
3087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121
3088
$as_echo_n "checking for $ac_word... " >&6; }
3122
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3089
if ${ac_cv_prog_CC+:} false; then :
3123
3090
  $as_echo_n "(cached) " >&6
3124
3091
else
3125
3092
  if test -n "$CC"; then
3159
3126
set dummy gcc; ac_word=$2
3160
3127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3161
3128
$as_echo_n "checking for $ac_word... " >&6; }
3162
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3129
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3163
3130
  $as_echo_n "(cached) " >&6
3164
3131
else
3165
3132
  if test -n "$ac_ct_CC"; then
3212
3179
set dummy ${ac_tool_prefix}cc; ac_word=$2
3213
3180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214
3181
$as_echo_n "checking for $ac_word... " >&6; }
3215
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3182
if ${ac_cv_prog_CC+:} false; then :
3216
3183
  $as_echo_n "(cached) " >&6
3217
3184
else
3218
3185
  if test -n "$CC"; then
3252
3219
set dummy cc; ac_word=$2
3253
3220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254
3221
$as_echo_n "checking for $ac_word... " >&6; }
3255
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3222
if ${ac_cv_prog_CC+:} false; then :
3256
3223
  $as_echo_n "(cached) " >&6
3257
3224
else
3258
3225
  if test -n "$CC"; then
3311
3278
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3312
3279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3313
3280
$as_echo_n "checking for $ac_word... " >&6; }
3314
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3281
if ${ac_cv_prog_CC+:} false; then :
3315
3282
  $as_echo_n "(cached) " >&6
3316
3283
else
3317
3284
  if test -n "$CC"; then
3355
3322
set dummy $ac_prog; ac_word=$2
3356
3323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3357
3324
$as_echo_n "checking for $ac_word... " >&6; }
3358
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3325
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3359
3326
  $as_echo_n "(cached) " >&6
3360
3327
else
3361
3328
  if test -n "$ac_ct_CC"; then
3409
3376
 
3410
3377
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411
3378
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412
 
as_fn_error "no acceptable C compiler found in \$PATH
3413
 
See \`config.log' for more details." "$LINENO" 5; }
 
3379
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3380
See \`config.log' for more details" "$LINENO" 5; }
3414
3381
 
3415
3382
# Provide some information about the compiler.
3416
3383
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3524
3491
 
3525
3492
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3526
3493
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3527
 
{ as_fn_set_status 77
3528
 
as_fn_error "C compiler cannot create executables
3529
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3494
as_fn_error 77 "C compiler cannot create executables
 
3495
See \`config.log' for more details" "$LINENO" 5; }
3530
3496
else
3531
3497
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3532
3498
$as_echo "yes" >&6; }
3568
3534
else
3569
3535
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3570
3536
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3571
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3572
 
See \`config.log' for more details." "$LINENO" 5; }
 
3537
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3538
See \`config.log' for more details" "$LINENO" 5; }
3573
3539
fi
3574
3540
rm -f conftest conftest$ac_cv_exeext
3575
3541
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3626
3592
    else
3627
3593
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3628
3594
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3629
 
as_fn_error "cannot run C compiled programs.
 
3595
as_fn_error $? "cannot run C compiled programs.
3630
3596
If you meant to cross compile, use \`--host'.
3631
 
See \`config.log' for more details." "$LINENO" 5; }
 
3597
See \`config.log' for more details" "$LINENO" 5; }
3632
3598
    fi
3633
3599
  fi
3634
3600
fi
3639
3605
ac_clean_files=$ac_clean_files_save
3640
3606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3641
3607
$as_echo_n "checking for suffix of object files... " >&6; }
3642
 
if test "${ac_cv_objext+set}" = set; then :
 
3608
if ${ac_cv_objext+:} false; then :
3643
3609
  $as_echo_n "(cached) " >&6
3644
3610
else
3645
3611
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3679
3645
 
3680
3646
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3681
3647
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3682
 
as_fn_error "cannot compute suffix of object files: cannot compile
3683
 
See \`config.log' for more details." "$LINENO" 5; }
 
3648
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3649
See \`config.log' for more details" "$LINENO" 5; }
3684
3650
fi
3685
3651
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3686
3652
fi
3690
3656
ac_objext=$OBJEXT
3691
3657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3692
3658
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3693
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3659
if ${ac_cv_c_compiler_gnu+:} false; then :
3694
3660
  $as_echo_n "(cached) " >&6
3695
3661
else
3696
3662
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3727
3693
ac_save_CFLAGS=$CFLAGS
3728
3694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3729
3695
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3730
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3696
if ${ac_cv_prog_cc_g+:} false; then :
3731
3697
  $as_echo_n "(cached) " >&6
3732
3698
else
3733
3699
  ac_save_c_werror_flag=$ac_c_werror_flag
3805
3771
fi
3806
3772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3807
3773
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3808
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3774
if ${ac_cv_prog_cc_c89+:} false; then :
3809
3775
  $as_echo_n "(cached) " >&6
3810
3776
else
3811
3777
  ac_cv_prog_cc_c89=no
3904
3870
 
3905
3871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3906
3872
$as_echo_n "checking dependency style of $depcc... " >&6; }
3907
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3873
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3908
3874
  $as_echo_n "(cached) " >&6
3909
3875
else
3910
3876
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4029
3995
 
4030
3996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4031
3997
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4032
 
if test "${ac_cv_path_SED+set}" = set; then :
 
3998
if ${ac_cv_path_SED+:} false; then :
4033
3999
  $as_echo_n "(cached) " >&6
4034
4000
else
4035
4001
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4084
4050
  done
4085
4051
IFS=$as_save_IFS
4086
4052
  if test -z "$ac_cv_path_SED"; then
4087
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4053
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4088
4054
  fi
4089
4055
else
4090
4056
  ac_cv_path_SED=$SED
4111
4077
 
4112
4078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4113
4079
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4114
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4080
if ${ac_cv_path_GREP+:} false; then :
4115
4081
  $as_echo_n "(cached) " >&6
4116
4082
else
4117
4083
  if test -z "$GREP"; then
4160
4126
  done
4161
4127
IFS=$as_save_IFS
4162
4128
  if test -z "$ac_cv_path_GREP"; then
4163
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4129
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4164
4130
  fi
4165
4131
else
4166
4132
  ac_cv_path_GREP=$GREP
4174
4140
 
4175
4141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4176
4142
$as_echo_n "checking for egrep... " >&6; }
4177
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4143
if ${ac_cv_path_EGREP+:} false; then :
4178
4144
  $as_echo_n "(cached) " >&6
4179
4145
else
4180
4146
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4226
4192
  done
4227
4193
IFS=$as_save_IFS
4228
4194
  if test -z "$ac_cv_path_EGREP"; then
4229
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4195
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4230
4196
  fi
4231
4197
else
4232
4198
  ac_cv_path_EGREP=$EGREP
4241
4207
 
4242
4208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4243
4209
$as_echo_n "checking for fgrep... " >&6; }
4244
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4210
if ${ac_cv_path_FGREP+:} false; then :
4245
4211
  $as_echo_n "(cached) " >&6
4246
4212
else
4247
4213
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4293
4259
  done
4294
4260
IFS=$as_save_IFS
4295
4261
  if test -z "$ac_cv_path_FGREP"; then
4296
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4262
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4297
4263
  fi
4298
4264
else
4299
4265
  ac_cv_path_FGREP=$FGREP
4372
4338
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4373
4339
$as_echo_n "checking for non-GNU ld... " >&6; }
4374
4340
fi
4375
 
if test "${lt_cv_path_LD+set}" = set; then :
 
4341
if ${lt_cv_path_LD+:} false; then :
4376
4342
  $as_echo_n "(cached) " >&6
4377
4343
else
4378
4344
  if test -z "$LD"; then
4409
4375
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410
4376
$as_echo "no" >&6; }
4411
4377
fi
4412
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4378
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4413
4379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4414
4380
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4415
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4381
if ${lt_cv_prog_gnu_ld+:} false; then :
4416
4382
  $as_echo_n "(cached) " >&6
4417
4383
else
4418
4384
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4439
4405
 
4440
4406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4441
4407
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4442
 
if test "${lt_cv_path_NM+set}" = set; then :
 
4408
if ${lt_cv_path_NM+:} false; then :
4443
4409
  $as_echo_n "(cached) " >&6
4444
4410
else
4445
4411
  if test -n "$NM"; then
4492
4458
  NM="$lt_cv_path_NM"
4493
4459
else
4494
4460
  # Didn't find any BSD compatible name lister, look for dumpbin.
4495
 
  if test -n "$ac_tool_prefix"; then
4496
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4461
  if test -n "$DUMPBIN"; then :
 
4462
    # Let the user override the test.
 
4463
  else
 
4464
    if test -n "$ac_tool_prefix"; then
 
4465
  for ac_prog in dumpbin "link -dump"
4497
4466
  do
4498
4467
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4499
4468
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4500
4469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4501
4470
$as_echo_n "checking for $ac_word... " >&6; }
4502
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4471
if ${ac_cv_prog_DUMPBIN+:} false; then :
4503
4472
  $as_echo_n "(cached) " >&6
4504
4473
else
4505
4474
  if test -n "$DUMPBIN"; then
4537
4506
fi
4538
4507
if test -z "$DUMPBIN"; then
4539
4508
  ac_ct_DUMPBIN=$DUMPBIN
4540
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4509
  for ac_prog in dumpbin "link -dump"
4541
4510
do
4542
4511
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4543
4512
set dummy $ac_prog; ac_word=$2
4544
4513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545
4514
$as_echo_n "checking for $ac_word... " >&6; }
4546
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4515
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4547
4516
  $as_echo_n "(cached) " >&6
4548
4517
else
4549
4518
  if test -n "$ac_ct_DUMPBIN"; then
4592
4561
  fi
4593
4562
fi
4594
4563
 
 
4564
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4565
    *COFF*)
 
4566
      DUMPBIN="$DUMPBIN -symbols"
 
4567
      ;;
 
4568
    *)
 
4569
      DUMPBIN=:
 
4570
      ;;
 
4571
    esac
 
4572
  fi
4595
4573
 
4596
4574
  if test "$DUMPBIN" != ":"; then
4597
4575
    NM="$DUMPBIN"
4606
4584
 
4607
4585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4608
4586
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4609
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
4587
if ${lt_cv_nm_interface+:} false; then :
4610
4588
  $as_echo_n "(cached) " >&6
4611
4589
else
4612
4590
  lt_cv_nm_interface="BSD nm"
4613
4591
  echo "int some_variable = 0;" > conftest.$ac_ext
4614
 
  (eval echo "\"\$as_me:4614: $ac_compile\"" >&5)
 
4592
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4615
4593
  (eval "$ac_compile" 2>conftest.err)
4616
4594
  cat conftest.err >&5
4617
 
  (eval echo "\"\$as_me:4617: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4595
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4618
4596
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4619
4597
  cat conftest.err >&5
4620
 
  (eval echo "\"\$as_me:4620: output\"" >&5)
 
4598
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4621
4599
  cat conftest.out >&5
4622
4600
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4623
4601
    lt_cv_nm_interface="MS dumpbin"
4641
4619
# find the maximum length of command line arguments
4642
4620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4643
4621
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4644
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
4622
if ${lt_cv_sys_max_cmd_len+:} false; then :
4645
4623
  $as_echo_n "(cached) " >&6
4646
4624
else
4647
4625
    i=0
4674
4652
    lt_cv_sys_max_cmd_len=8192;
4675
4653
    ;;
4676
4654
 
 
4655
  mint*)
 
4656
    # On MiNT this can take a long time and run out of memory.
 
4657
    lt_cv_sys_max_cmd_len=8192;
 
4658
    ;;
 
4659
 
4677
4660
  amigaos*)
4678
4661
    # On AmigaOS with pdksh, this test takes hours, literally.
4679
4662
    # So we just punt and use a minimum line length of 8192.
4738
4721
      # If test is not a shell built-in, we'll probably end up computing a
4739
4722
      # maximum length that is only half of the actual maximum length, but
4740
4723
      # we can't tell.
4741
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4742
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4724
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
4725
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4743
4726
              test $i != 17 # 1/2 MB should be enough
4744
4727
      do
4745
4728
        i=`expr $i + 1`
4781
4764
# Try some XSI features
4782
4765
xsi_shell=no
4783
4766
( _lt_dummy="a/b/c"
4784
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4785
 
      = c,a/b,, \
 
4767
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
4768
      = c,a/b,b/c, \
4786
4769
    && eval 'test $(( 1 + 1 )) -eq 2 \
4787
4770
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4788
4771
  && xsi_shell=yes
4831
4814
 
4832
4815
 
4833
4816
 
 
4817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
4818
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
4819
if ${lt_cv_to_host_file_cmd+:} false; then :
 
4820
  $as_echo_n "(cached) " >&6
 
4821
else
 
4822
  case $host in
 
4823
  *-*-mingw* )
 
4824
    case $build in
 
4825
      *-*-mingw* ) # actually msys
 
4826
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
4827
        ;;
 
4828
      *-*-cygwin* )
 
4829
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
4830
        ;;
 
4831
      * ) # otherwise, assume *nix
 
4832
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
4833
        ;;
 
4834
    esac
 
4835
    ;;
 
4836
  *-*-cygwin* )
 
4837
    case $build in
 
4838
      *-*-mingw* ) # actually msys
 
4839
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
4840
        ;;
 
4841
      *-*-cygwin* )
 
4842
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
4843
        ;;
 
4844
      * ) # otherwise, assume *nix
 
4845
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
4846
        ;;
 
4847
    esac
 
4848
    ;;
 
4849
  * ) # unhandled hosts (and "normal" native builds)
 
4850
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
4851
    ;;
 
4852
esac
 
4853
 
 
4854
fi
 
4855
 
 
4856
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
4857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
4858
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
4859
 
 
4860
 
 
4861
 
 
4862
 
 
4863
 
 
4864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
4865
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
4866
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
4867
  $as_echo_n "(cached) " >&6
 
4868
else
 
4869
  #assume ordinary cross tools, or native build.
 
4870
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
4871
case $host in
 
4872
  *-*-mingw* )
 
4873
    case $build in
 
4874
      *-*-mingw* ) # actually msys
 
4875
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
4876
        ;;
 
4877
    esac
 
4878
    ;;
 
4879
esac
 
4880
 
 
4881
fi
 
4882
 
 
4883
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
4884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
4885
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
4886
 
 
4887
 
 
4888
 
 
4889
 
 
4890
 
4834
4891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4835
4892
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4836
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
4893
if ${lt_cv_ld_reload_flag+:} false; then :
4837
4894
  $as_echo_n "(cached) " >&6
4838
4895
else
4839
4896
  lt_cv_ld_reload_flag='-r'
4847
4904
esac
4848
4905
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4849
4906
case $host_os in
 
4907
  cygwin* | mingw* | pw32* | cegcc*)
 
4908
    if test "$GCC" != yes; then
 
4909
      reload_cmds=false
 
4910
    fi
 
4911
    ;;
4850
4912
  darwin*)
4851
4913
    if test "$GCC" = yes; then
4852
4914
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4869
4931
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4870
4932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871
4933
$as_echo_n "checking for $ac_word... " >&6; }
4872
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
4934
if ${ac_cv_prog_OBJDUMP+:} false; then :
4873
4935
  $as_echo_n "(cached) " >&6
4874
4936
else
4875
4937
  if test -n "$OBJDUMP"; then
4909
4971
set dummy objdump; ac_word=$2
4910
4972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4911
4973
$as_echo_n "checking for $ac_word... " >&6; }
4912
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
4974
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4913
4975
  $as_echo_n "(cached) " >&6
4914
4976
else
4915
4977
  if test -n "$ac_ct_OBJDUMP"; then
4968
5030
 
4969
5031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4970
5032
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4971
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5033
if ${lt_cv_deplibs_check_method+:} false; then :
4972
5034
  $as_echo_n "(cached) " >&6
4973
5035
else
4974
5036
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5010
5072
  # Base MSYS/MinGW do not provide the 'file' command needed by
5011
5073
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5012
5074
  # unless we find 'file', for example because we are cross-compiling.
5013
 
  if ( file / ) >/dev/null 2>&1; then
 
5075
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5076
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5014
5077
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5015
5078
    lt_cv_file_magic_cmd='func_win32_libid'
5016
5079
  else
5017
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5080
    # Keep this pattern in sync with the one in func_win32_libid.
 
5081
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5018
5082
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5019
5083
  fi
5020
5084
  ;;
5021
5085
 
5022
 
cegcc)
 
5086
cegcc*)
5023
5087
  # use the weaker test based on 'objdump'. See mingw*.
5024
5088
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5025
5089
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5049
5113
  lt_cv_deplibs_check_method=pass_all
5050
5114
  ;;
5051
5115
 
 
5116
haiku*)
 
5117
  lt_cv_deplibs_check_method=pass_all
 
5118
  ;;
 
5119
 
5052
5120
hpux10.20* | hpux11*)
5053
5121
  lt_cv_file_magic_cmd=/usr/bin/file
5054
5122
  case $host_cpu in
5057
5125
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5058
5126
    ;;
5059
5127
  hppa*64*)
5060
 
    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]'
 
5128
    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]'
5061
5129
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5062
5130
    ;;
5063
5131
  *)
5064
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5132
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5065
5133
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5066
5134
    ;;
5067
5135
  esac
5083
5151
  ;;
5084
5152
 
5085
5153
# This must be Linux ELF.
5086
 
linux* | k*bsd*-gnu)
 
5154
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5087
5155
  lt_cv_deplibs_check_method=pass_all
5088
5156
  ;;
5089
5157
 
5164
5232
fi
5165
5233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5166
5234
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5235
 
 
5236
file_magic_glob=
 
5237
want_nocaseglob=no
 
5238
if test "$build" = "$host"; then
 
5239
  case $host_os in
 
5240
  mingw* | pw32*)
 
5241
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5242
      want_nocaseglob=yes
 
5243
    else
 
5244
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5245
    fi
 
5246
    ;;
 
5247
  esac
 
5248
fi
 
5249
 
5167
5250
file_magic_cmd=$lt_cv_file_magic_cmd
5168
5251
deplibs_check_method=$lt_cv_deplibs_check_method
5169
5252
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5179
5262
 
5180
5263
 
5181
5264
 
5182
 
if test -n "$ac_tool_prefix"; then
5183
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5184
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5185
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186
 
$as_echo_n "checking for $ac_word... " >&6; }
5187
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
5265
 
 
5266
 
 
5267
 
 
5268
 
 
5269
 
 
5270
 
 
5271
 
 
5272
 
 
5273
 
 
5274
 
 
5275
if test -n "$ac_tool_prefix"; then
 
5276
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5277
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5278
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5279
$as_echo_n "checking for $ac_word... " >&6; }
 
5280
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5281
  $as_echo_n "(cached) " >&6
 
5282
else
 
5283
  if test -n "$DLLTOOL"; then
 
5284
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5285
else
 
5286
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5287
for as_dir in $PATH
 
5288
do
 
5289
  IFS=$as_save_IFS
 
5290
  test -z "$as_dir" && as_dir=.
 
5291
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5292
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5293
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5294
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5295
    break 2
 
5296
  fi
 
5297
done
 
5298
  done
 
5299
IFS=$as_save_IFS
 
5300
 
 
5301
fi
 
5302
fi
 
5303
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5304
if test -n "$DLLTOOL"; then
 
5305
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5306
$as_echo "$DLLTOOL" >&6; }
 
5307
else
 
5308
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5309
$as_echo "no" >&6; }
 
5310
fi
 
5311
 
 
5312
 
 
5313
fi
 
5314
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5315
  ac_ct_DLLTOOL=$DLLTOOL
 
5316
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5317
set dummy dlltool; ac_word=$2
 
5318
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5319
$as_echo_n "checking for $ac_word... " >&6; }
 
5320
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5321
  $as_echo_n "(cached) " >&6
 
5322
else
 
5323
  if test -n "$ac_ct_DLLTOOL"; then
 
5324
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5325
else
 
5326
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5327
for as_dir in $PATH
 
5328
do
 
5329
  IFS=$as_save_IFS
 
5330
  test -z "$as_dir" && as_dir=.
 
5331
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5332
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5333
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5334
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5335
    break 2
 
5336
  fi
 
5337
done
 
5338
  done
 
5339
IFS=$as_save_IFS
 
5340
 
 
5341
fi
 
5342
fi
 
5343
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5344
if test -n "$ac_ct_DLLTOOL"; then
 
5345
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5346
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5347
else
 
5348
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5349
$as_echo "no" >&6; }
 
5350
fi
 
5351
 
 
5352
  if test "x$ac_ct_DLLTOOL" = x; then
 
5353
    DLLTOOL="false"
 
5354
  else
 
5355
    case $cross_compiling:$ac_tool_warned in
 
5356
yes:)
 
5357
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5358
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5359
ac_tool_warned=yes ;;
 
5360
esac
 
5361
    DLLTOOL=$ac_ct_DLLTOOL
 
5362
  fi
 
5363
else
 
5364
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5365
fi
 
5366
 
 
5367
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5368
 
 
5369
 
 
5370
 
 
5371
 
 
5372
 
 
5373
 
 
5374
 
 
5375
 
 
5376
 
 
5377
 
 
5378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5379
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5380
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5381
  $as_echo_n "(cached) " >&6
 
5382
else
 
5383
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5384
 
 
5385
case $host_os in
 
5386
cygwin* | mingw* | pw32* | cegcc*)
 
5387
  # two different shell functions defined in ltmain.sh
 
5388
  # decide which to use based on capabilities of $DLLTOOL
 
5389
  case `$DLLTOOL --help 2>&1` in
 
5390
  *--identify-strict*)
 
5391
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5392
    ;;
 
5393
  *)
 
5394
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5395
    ;;
 
5396
  esac
 
5397
  ;;
 
5398
*)
 
5399
  # fallback: assume linklib IS sharedlib
 
5400
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5401
  ;;
 
5402
esac
 
5403
 
 
5404
fi
 
5405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5406
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5407
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5408
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5409
 
 
5410
 
 
5411
 
 
5412
 
 
5413
 
 
5414
 
 
5415
 
 
5416
 
 
5417
if test -n "$ac_tool_prefix"; then
 
5418
  for ac_prog in ar
 
5419
  do
 
5420
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5421
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5423
$as_echo_n "checking for $ac_word... " >&6; }
 
5424
if ${ac_cv_prog_AR+:} false; then :
5188
5425
  $as_echo_n "(cached) " >&6
5189
5426
else
5190
5427
  if test -n "$AR"; then
5197
5434
  test -z "$as_dir" && as_dir=.
5198
5435
    for ac_exec_ext in '' $ac_executable_extensions; do
5199
5436
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5200
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5437
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5201
5438
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202
5439
    break 2
5203
5440
  fi
5217
5454
fi
5218
5455
 
5219
5456
 
 
5457
    test -n "$AR" && break
 
5458
  done
5220
5459
fi
5221
 
if test -z "$ac_cv_prog_AR"; then
 
5460
if test -z "$AR"; then
5222
5461
  ac_ct_AR=$AR
5223
 
  # Extract the first word of "ar", so it can be a program name with args.
5224
 
set dummy ar; ac_word=$2
 
5462
  for ac_prog in ar
 
5463
do
 
5464
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5465
set dummy $ac_prog; ac_word=$2
5225
5466
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226
5467
$as_echo_n "checking for $ac_word... " >&6; }
5227
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5468
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5228
5469
  $as_echo_n "(cached) " >&6
5229
5470
else
5230
5471
  if test -n "$ac_ct_AR"; then
5237
5478
  test -z "$as_dir" && as_dir=.
5238
5479
    for ac_exec_ext in '' $ac_executable_extensions; do
5239
5480
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5240
 
    ac_cv_prog_ac_ct_AR="ar"
 
5481
    ac_cv_prog_ac_ct_AR="$ac_prog"
5241
5482
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5242
5483
    break 2
5243
5484
  fi
5256
5497
$as_echo "no" >&6; }
5257
5498
fi
5258
5499
 
 
5500
 
 
5501
  test -n "$ac_ct_AR" && break
 
5502
done
 
5503
 
5259
5504
  if test "x$ac_ct_AR" = x; then
5260
5505
    AR="false"
5261
5506
  else
5267
5512
esac
5268
5513
    AR=$ac_ct_AR
5269
5514
  fi
5270
 
else
5271
 
  AR="$ac_cv_prog_AR"
5272
 
fi
5273
 
 
5274
 
test -z "$AR" && AR=ar
5275
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5276
 
 
5277
 
 
5278
 
 
5279
 
 
 
5515
fi
 
5516
 
 
5517
: ${AR=ar}
 
5518
: ${AR_FLAGS=cru}
 
5519
 
 
5520
 
 
5521
 
 
5522
 
 
5523
 
 
5524
 
 
5525
 
 
5526
 
 
5527
 
 
5528
 
 
5529
 
 
5530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5531
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5532
if ${lt_cv_ar_at_file+:} false; then :
 
5533
  $as_echo_n "(cached) " >&6
 
5534
else
 
5535
  lt_cv_ar_at_file=no
 
5536
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5537
/* end confdefs.h.  */
 
5538
 
 
5539
int
 
5540
main ()
 
5541
{
 
5542
 
 
5543
  ;
 
5544
  return 0;
 
5545
}
 
5546
_ACEOF
 
5547
if ac_fn_c_try_compile "$LINENO"; then :
 
5548
  echo conftest.$ac_objext > conftest.lst
 
5549
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
5550
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5551
  (eval $lt_ar_try) 2>&5
 
5552
  ac_status=$?
 
5553
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5554
  test $ac_status = 0; }
 
5555
      if test "$ac_status" -eq 0; then
 
5556
        # Ensure the archiver fails upon bogus file names.
 
5557
        rm -f conftest.$ac_objext libconftest.a
 
5558
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5559
  (eval $lt_ar_try) 2>&5
 
5560
  ac_status=$?
 
5561
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5562
  test $ac_status = 0; }
 
5563
        if test "$ac_status" -ne 0; then
 
5564
          lt_cv_ar_at_file=@
 
5565
        fi
 
5566
      fi
 
5567
      rm -f conftest.* libconftest.a
 
5568
 
 
5569
fi
 
5570
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5571
 
 
5572
fi
 
5573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
5574
$as_echo "$lt_cv_ar_at_file" >&6; }
 
5575
 
 
5576
if test "x$lt_cv_ar_at_file" = xno; then
 
5577
  archiver_list_spec=
 
5578
else
 
5579
  archiver_list_spec=$lt_cv_ar_at_file
 
5580
fi
5280
5581
 
5281
5582
 
5282
5583
 
5289
5590
set dummy ${ac_tool_prefix}strip; ac_word=$2
5290
5591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5291
5592
$as_echo_n "checking for $ac_word... " >&6; }
5292
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5593
if ${ac_cv_prog_STRIP+:} false; then :
5293
5594
  $as_echo_n "(cached) " >&6
5294
5595
else
5295
5596
  if test -n "$STRIP"; then
5329
5630
set dummy strip; ac_word=$2
5330
5631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5331
5632
$as_echo_n "checking for $ac_word... " >&6; }
5332
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
5633
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5333
5634
  $as_echo_n "(cached) " >&6
5334
5635
else
5335
5636
  if test -n "$ac_ct_STRIP"; then
5388
5689
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5389
5690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5390
5691
$as_echo_n "checking for $ac_word... " >&6; }
5391
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5692
if ${ac_cv_prog_RANLIB+:} false; then :
5392
5693
  $as_echo_n "(cached) " >&6
5393
5694
else
5394
5695
  if test -n "$RANLIB"; then
5428
5729
set dummy ranlib; ac_word=$2
5429
5730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5430
5731
$as_echo_n "checking for $ac_word... " >&6; }
5431
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
5732
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5432
5733
  $as_echo_n "(cached) " >&6
5433
5734
else
5434
5735
  if test -n "$ac_ct_RANLIB"; then
5499
5800
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5500
5801
fi
5501
5802
 
 
5803
case $host_os in
 
5804
  darwin*)
 
5805
    lock_old_archive_extraction=yes ;;
 
5806
  *)
 
5807
    lock_old_archive_extraction=no ;;
 
5808
esac
 
5809
 
 
5810
 
 
5811
 
 
5812
 
 
5813
 
 
5814
 
5502
5815
 
5503
5816
 
5504
5817
 
5545
5858
# Check for command to grab the raw symbol name followed by C symbol from nm.
5546
5859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5547
5860
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5548
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
5861
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5549
5862
  $as_echo_n "(cached) " >&6
5550
5863
else
5551
5864
 
5606
5919
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5607
5920
 
5608
5921
# Transform an extracted symbol line into symbol name and symbol address
5609
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5610
 
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'"
 
5922
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5923
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'"
5611
5924
 
5612
5925
# Handle CRLF in mingw tool chain
5613
5926
opt_cr=
5643
5956
  else
5644
5957
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5645
5958
  fi
 
5959
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5646
5960
 
5647
5961
  # Check to see that the pipe works correctly.
5648
5962
  pipe_works=no
5668
5982
  test $ac_status = 0; }; then
5669
5983
    # Now try to grab the symbols.
5670
5984
    nlist=conftest.nm
5671
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5672
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
5985
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
5986
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5673
5987
  ac_status=$?
5674
5988
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5675
5989
  test $ac_status = 0; } && test -s "$nlist"; then
5684
5998
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5685
5999
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5686
6000
          cat <<_LT_EOF > conftest.$ac_ext
 
6001
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6002
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6003
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6004
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6005
# define LT_DLSYM_CONST
 
6006
#elif defined(__osf__)
 
6007
/* This system does not cope well with relocations in const data.  */
 
6008
# define LT_DLSYM_CONST
 
6009
#else
 
6010
# define LT_DLSYM_CONST const
 
6011
#endif
 
6012
 
5687
6013
#ifdef __cplusplus
5688
6014
extern "C" {
5689
6015
#endif
5695
6021
          cat <<_LT_EOF >> conftest.$ac_ext
5696
6022
 
5697
6023
/* The mapping between symbol names and symbols.  */
5698
 
const struct {
 
6024
LT_DLSYM_CONST struct {
5699
6025
  const char *name;
5700
6026
  void       *address;
5701
6027
}
5721
6047
_LT_EOF
5722
6048
          # Now try linking the two files.
5723
6049
          mv conftest.$ac_objext conftstm.$ac_objext
5724
 
          lt_save_LIBS="$LIBS"
5725
 
          lt_save_CFLAGS="$CFLAGS"
 
6050
          lt_globsym_save_LIBS=$LIBS
 
6051
          lt_globsym_save_CFLAGS=$CFLAGS
5726
6052
          LIBS="conftstm.$ac_objext"
5727
6053
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5728
6054
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5732
6058
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5733
6059
            pipe_works=yes
5734
6060
          fi
5735
 
          LIBS="$lt_save_LIBS"
5736
 
          CFLAGS="$lt_save_CFLAGS"
 
6061
          LIBS=$lt_globsym_save_LIBS
 
6062
          CFLAGS=$lt_globsym_save_CFLAGS
5737
6063
        else
5738
6064
          echo "cannot find nm_test_func in $nlist" >&5
5739
6065
        fi
5770
6096
$as_echo "ok" >&6; }
5771
6097
fi
5772
6098
 
5773
 
 
5774
 
 
5775
 
 
5776
 
 
5777
 
 
5778
 
 
5779
 
 
5780
 
 
5781
 
 
5782
 
 
5783
 
 
5784
 
 
5785
 
 
5786
 
 
5787
 
 
5788
 
 
5789
 
 
 
6099
# Response file support.
 
6100
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6101
  nm_file_list_spec='@'
 
6102
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6103
  nm_file_list_spec='@'
 
6104
fi
 
6105
 
 
6106
 
 
6107
 
 
6108
 
 
6109
 
 
6110
 
 
6111
 
 
6112
 
 
6113
 
 
6114
 
 
6115
 
 
6116
 
 
6117
 
 
6118
 
 
6119
 
 
6120
 
 
6121
 
 
6122
 
 
6123
 
 
6124
 
 
6125
 
 
6126
 
 
6127
 
 
6128
 
 
6129
 
 
6130
 
 
6131
 
 
6132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6133
$as_echo_n "checking for sysroot... " >&6; }
 
6134
 
 
6135
# Check whether --with-sysroot was given.
 
6136
if test "${with_sysroot+set}" = set; then :
 
6137
  withval=$with_sysroot;
 
6138
else
 
6139
  with_sysroot=no
 
6140
fi
 
6141
 
 
6142
 
 
6143
lt_sysroot=
 
6144
case ${with_sysroot} in #(
 
6145
 yes)
 
6146
   if test "$GCC" = yes; then
 
6147
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6148
   fi
 
6149
   ;; #(
 
6150
 /*)
 
6151
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6152
   ;; #(
 
6153
 no|'')
 
6154
   ;; #(
 
6155
 *)
 
6156
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6157
$as_echo "${with_sysroot}" >&6; }
 
6158
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6159
   ;;
 
6160
esac
 
6161
 
 
6162
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6163
$as_echo "${lt_sysroot:-no}" >&6; }
5790
6164
 
5791
6165
 
5792
6166
 
5823
6197
  ;;
5824
6198
*-*-irix6*)
5825
6199
  # Find out which ABI we are using.
5826
 
  echo '#line 5826 "configure"' > conftest.$ac_ext
 
6200
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5827
6201
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5828
6202
  (eval $ac_compile) 2>&5
5829
6203
  ac_status=$?
5917
6291
  CFLAGS="$CFLAGS -belf"
5918
6292
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5919
6293
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5920
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6294
if ${lt_cv_cc_needs_belf+:} false; then :
5921
6295
  $as_echo_n "(cached) " >&6
5922
6296
else
5923
6297
  ac_ext=c
5985
6359
 
5986
6360
need_locks="$enable_libtool_lock"
5987
6361
 
 
6362
if test -n "$ac_tool_prefix"; then
 
6363
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6364
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6366
$as_echo_n "checking for $ac_word... " >&6; }
 
6367
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6368
  $as_echo_n "(cached) " >&6
 
6369
else
 
6370
  if test -n "$MANIFEST_TOOL"; then
 
6371
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6372
else
 
6373
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6374
for as_dir in $PATH
 
6375
do
 
6376
  IFS=$as_save_IFS
 
6377
  test -z "$as_dir" && as_dir=.
 
6378
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6379
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6380
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6381
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6382
    break 2
 
6383
  fi
 
6384
done
 
6385
  done
 
6386
IFS=$as_save_IFS
 
6387
 
 
6388
fi
 
6389
fi
 
6390
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6391
if test -n "$MANIFEST_TOOL"; then
 
6392
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6393
$as_echo "$MANIFEST_TOOL" >&6; }
 
6394
else
 
6395
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6396
$as_echo "no" >&6; }
 
6397
fi
 
6398
 
 
6399
 
 
6400
fi
 
6401
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6402
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6403
  # Extract the first word of "mt", so it can be a program name with args.
 
6404
set dummy mt; ac_word=$2
 
6405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6406
$as_echo_n "checking for $ac_word... " >&6; }
 
6407
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6408
  $as_echo_n "(cached) " >&6
 
6409
else
 
6410
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6411
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6412
else
 
6413
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6414
for as_dir in $PATH
 
6415
do
 
6416
  IFS=$as_save_IFS
 
6417
  test -z "$as_dir" && as_dir=.
 
6418
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6419
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6420
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6421
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6422
    break 2
 
6423
  fi
 
6424
done
 
6425
  done
 
6426
IFS=$as_save_IFS
 
6427
 
 
6428
fi
 
6429
fi
 
6430
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6431
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6432
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6433
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6434
else
 
6435
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6436
$as_echo "no" >&6; }
 
6437
fi
 
6438
 
 
6439
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6440
    MANIFEST_TOOL=":"
 
6441
  else
 
6442
    case $cross_compiling:$ac_tool_warned in
 
6443
yes:)
 
6444
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6445
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6446
ac_tool_warned=yes ;;
 
6447
esac
 
6448
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6449
  fi
 
6450
else
 
6451
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6452
fi
 
6453
 
 
6454
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6456
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6457
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6458
  $as_echo_n "(cached) " >&6
 
6459
else
 
6460
  lt_cv_path_mainfest_tool=no
 
6461
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6462
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6463
  cat conftest.err >&5
 
6464
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6465
    lt_cv_path_mainfest_tool=yes
 
6466
  fi
 
6467
  rm -f conftest*
 
6468
fi
 
6469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6470
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6471
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6472
  MANIFEST_TOOL=:
 
6473
fi
 
6474
 
 
6475
 
 
6476
 
 
6477
 
 
6478
 
5988
6479
 
5989
6480
  case $host_os in
5990
6481
    rhapsody* | darwin*)
5993
6484
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5994
6485
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995
6486
$as_echo_n "checking for $ac_word... " >&6; }
5996
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6487
if ${ac_cv_prog_DSYMUTIL+:} false; then :
5997
6488
  $as_echo_n "(cached) " >&6
5998
6489
else
5999
6490
  if test -n "$DSYMUTIL"; then
6033
6524
set dummy dsymutil; ac_word=$2
6034
6525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6035
6526
$as_echo_n "checking for $ac_word... " >&6; }
6036
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6527
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6037
6528
  $as_echo_n "(cached) " >&6
6038
6529
else
6039
6530
  if test -n "$ac_ct_DSYMUTIL"; then
6085
6576
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6086
6577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6087
6578
$as_echo_n "checking for $ac_word... " >&6; }
6088
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6579
if ${ac_cv_prog_NMEDIT+:} false; then :
6089
6580
  $as_echo_n "(cached) " >&6
6090
6581
else
6091
6582
  if test -n "$NMEDIT"; then
6125
6616
set dummy nmedit; ac_word=$2
6126
6617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6127
6618
$as_echo_n "checking for $ac_word... " >&6; }
6128
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
6619
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6129
6620
  $as_echo_n "(cached) " >&6
6130
6621
else
6131
6622
  if test -n "$ac_ct_NMEDIT"; then
6177
6668
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6178
6669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6179
6670
$as_echo_n "checking for $ac_word... " >&6; }
6180
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
6671
if ${ac_cv_prog_LIPO+:} false; then :
6181
6672
  $as_echo_n "(cached) " >&6
6182
6673
else
6183
6674
  if test -n "$LIPO"; then
6217
6708
set dummy lipo; ac_word=$2
6218
6709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6219
6710
$as_echo_n "checking for $ac_word... " >&6; }
6220
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
6711
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6221
6712
  $as_echo_n "(cached) " >&6
6222
6713
else
6223
6714
  if test -n "$ac_ct_LIPO"; then
6269
6760
set dummy ${ac_tool_prefix}otool; ac_word=$2
6270
6761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6271
6762
$as_echo_n "checking for $ac_word... " >&6; }
6272
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
6763
if ${ac_cv_prog_OTOOL+:} false; then :
6273
6764
  $as_echo_n "(cached) " >&6
6274
6765
else
6275
6766
  if test -n "$OTOOL"; then
6309
6800
set dummy otool; ac_word=$2
6310
6801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6311
6802
$as_echo_n "checking for $ac_word... " >&6; }
6312
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
6803
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6313
6804
  $as_echo_n "(cached) " >&6
6314
6805
else
6315
6806
  if test -n "$ac_ct_OTOOL"; then
6361
6852
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6362
6853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6363
6854
$as_echo_n "checking for $ac_word... " >&6; }
6364
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
6855
if ${ac_cv_prog_OTOOL64+:} false; then :
6365
6856
  $as_echo_n "(cached) " >&6
6366
6857
else
6367
6858
  if test -n "$OTOOL64"; then
6401
6892
set dummy otool64; ac_word=$2
6402
6893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6403
6894
$as_echo_n "checking for $ac_word... " >&6; }
6404
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
6895
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6405
6896
  $as_echo_n "(cached) " >&6
6406
6897
else
6407
6898
  if test -n "$ac_ct_OTOOL64"; then
6476
6967
 
6477
6968
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6478
6969
$as_echo_n "checking for -single_module linker flag... " >&6; }
6479
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
6970
if ${lt_cv_apple_cc_single_mod+:} false; then :
6480
6971
  $as_echo_n "(cached) " >&6
6481
6972
else
6482
6973
  lt_cv_apple_cc_single_mod=no
6505
6996
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6506
6997
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6507
6998
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6508
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
6999
if ${lt_cv_ld_exported_symbols_list+:} false; then :
6509
7000
  $as_echo_n "(cached) " >&6
6510
7001
else
6511
7002
  lt_cv_ld_exported_symbols_list=no
6535
7026
fi
6536
7027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6537
7028
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7029
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7030
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7031
if ${lt_cv_ld_force_load+:} false; then :
 
7032
  $as_echo_n "(cached) " >&6
 
7033
else
 
7034
  lt_cv_ld_force_load=no
 
7035
      cat > conftest.c << _LT_EOF
 
7036
int forced_loaded() { return 2;}
 
7037
_LT_EOF
 
7038
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7039
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7040
      echo "$AR cru libconftest.a conftest.o" >&5
 
7041
      $AR cru libconftest.a conftest.o 2>&5
 
7042
      echo "$RANLIB libconftest.a" >&5
 
7043
      $RANLIB libconftest.a 2>&5
 
7044
      cat > conftest.c << _LT_EOF
 
7045
int main() { return 0;}
 
7046
_LT_EOF
 
7047
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7048
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7049
      _lt_result=$?
 
7050
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
7051
        lt_cv_ld_force_load=yes
 
7052
      else
 
7053
        cat conftest.err >&5
 
7054
      fi
 
7055
        rm -f conftest.err libconftest.a conftest conftest.c
 
7056
        rm -rf conftest.dSYM
 
7057
 
 
7058
fi
 
7059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7060
$as_echo "$lt_cv_ld_force_load" >&6; }
6538
7061
    case $host_os in
6539
7062
    rhapsody* | darwin1.[012])
6540
7063
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6562
7085
    else
6563
7086
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6564
7087
    fi
6565
 
    if test "$DSYMUTIL" != ":"; then
 
7088
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6566
7089
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6567
7090
    else
6568
7091
      _lt_dsymutil=
6582
7105
  CPP=
6583
7106
fi
6584
7107
if test -z "$CPP"; then
6585
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
7108
  if ${ac_cv_prog_CPP+:} false; then :
6586
7109
  $as_echo_n "(cached) " >&6
6587
7110
else
6588
7111
      # Double quotes because CPP needs to be expanded
6612
7135
  # Broken: fails on valid input.
6613
7136
continue
6614
7137
fi
6615
 
rm -f conftest.err conftest.$ac_ext
 
7138
rm -f conftest.err conftest.i conftest.$ac_ext
6616
7139
 
6617
7140
  # OK, works on sane cases.  Now check whether nonexistent headers
6618
7141
  # can be detected and how.
6628
7151
ac_preproc_ok=:
6629
7152
break
6630
7153
fi
6631
 
rm -f conftest.err conftest.$ac_ext
 
7154
rm -f conftest.err conftest.i conftest.$ac_ext
6632
7155
 
6633
7156
done
6634
7157
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6635
 
rm -f conftest.err conftest.$ac_ext
 
7158
rm -f conftest.i conftest.err conftest.$ac_ext
6636
7159
if $ac_preproc_ok; then :
6637
7160
  break
6638
7161
fi
6671
7194
  # Broken: fails on valid input.
6672
7195
continue
6673
7196
fi
6674
 
rm -f conftest.err conftest.$ac_ext
 
7197
rm -f conftest.err conftest.i conftest.$ac_ext
6675
7198
 
6676
7199
  # OK, works on sane cases.  Now check whether nonexistent headers
6677
7200
  # can be detected and how.
6687
7210
ac_preproc_ok=:
6688
7211
break
6689
7212
fi
6690
 
rm -f conftest.err conftest.$ac_ext
 
7213
rm -f conftest.err conftest.i conftest.$ac_ext
6691
7214
 
6692
7215
done
6693
7216
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6694
 
rm -f conftest.err conftest.$ac_ext
 
7217
rm -f conftest.i conftest.err conftest.$ac_ext
6695
7218
if $ac_preproc_ok; then :
6696
7219
 
6697
7220
else
6698
7221
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6699
7222
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6700
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
6701
 
See \`config.log' for more details." "$LINENO" 5; }
 
7223
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7224
See \`config.log' for more details" "$LINENO" 5; }
6702
7225
fi
6703
7226
 
6704
7227
ac_ext=c
6710
7233
 
6711
7234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6712
7235
$as_echo_n "checking for ANSI C header files... " >&6; }
6713
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
7236
if ${ac_cv_header_stdc+:} false; then :
6714
7237
  $as_echo_n "(cached) " >&6
6715
7238
else
6716
7239
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6827
7350
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6828
7351
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6829
7352
"
6830
 
eval as_val=\$$as_ac_Header
6831
 
   if test "x$as_val" = x""yes; then :
 
7353
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6832
7354
  cat >>confdefs.h <<_ACEOF
6833
7355
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6834
7356
_ACEOF
6842
7364
do :
6843
7365
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6844
7366
"
6845
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7367
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
6846
7368
  cat >>confdefs.h <<_ACEOF
6847
7369
#define HAVE_DLFCN_H 1
6848
7370
_ACEOF
6853
7375
 
6854
7376
 
6855
7377
 
 
7378
 
 
7379
 
6856
7380
# Set options
6857
7381
 
6858
7382
 
7005
7529
 
7006
7530
 
7007
7531
 
 
7532
 
7008
7533
test -z "$LN_S" && LN_S="ln -s"
7009
7534
 
7010
7535
 
7026
7551
 
7027
7552
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7028
7553
$as_echo_n "checking for objdir... " >&6; }
7029
 
if test "${lt_cv_objdir+set}" = set; then :
 
7554
if ${lt_cv_objdir+:} false; then :
7030
7555
  $as_echo_n "(cached) " >&6
7031
7556
else
7032
7557
  rm -f .libs 2>/dev/null
7054
7579
 
7055
7580
 
7056
7581
 
7057
 
 
7058
 
 
7059
 
 
7060
 
 
7061
 
 
7062
 
 
7063
 
 
7064
 
 
7065
 
 
7066
 
 
7067
 
 
7068
 
 
7069
 
 
7070
7582
case $host_os in
7071
7583
aix3*)
7072
7584
  # AIX sometimes has problems with the GCC collect2 program.  For some
7079
7591
  ;;
7080
7592
esac
7081
7593
 
7082
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7083
 
# metacharacters that are still active within double-quoted strings.
7084
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7085
 
 
7086
 
# Same as above, but do not quote variable references.
7087
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7088
 
 
7089
 
# Sed substitution to delay expansion of an escaped shell variable in a
7090
 
# double_quote_subst'ed string.
7091
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7092
 
 
7093
 
# Sed substitution to delay expansion of an escaped single quote.
7094
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7095
 
 
7096
 
# Sed substitution to avoid accidental globbing in evaled expressions
7097
 
no_glob_subst='s/\*/\\\*/g'
7098
 
 
7099
7594
# Global variables:
7100
7595
ofile=libtool
7101
7596
can_build_shared=yes
7124
7619
    *) break;;
7125
7620
  esac
7126
7621
done
7127
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7622
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7128
7623
 
7129
7624
 
7130
7625
# Only perform the check for file, if the check method requires it
7134
7629
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7135
7630
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7136
7631
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7137
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7632
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7138
7633
  $as_echo_n "(cached) " >&6
7139
7634
else
7140
7635
  case $MAGIC_CMD in
7200
7695
  if test -n "$ac_tool_prefix"; then
7201
7696
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7202
7697
$as_echo_n "checking for file... " >&6; }
7203
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7698
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7204
7699
  $as_echo_n "(cached) " >&6
7205
7700
else
7206
7701
  case $MAGIC_CMD in
7324
7819
$RM -r conftest*
7325
7820
 
7326
7821
 
 
7822
## CAVEAT EMPTOR:
 
7823
## There is no encapsulation within the following macros, do not change
 
7824
## the running order or otherwise move them around unless you know exactly
 
7825
## what you are doing...
7327
7826
if test -n "$compiler"; then
7328
7827
 
7329
7828
lt_prog_compiler_no_builtin_flag=
7330
7829
 
7331
7830
if test "$GCC" = yes; then
7332
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
7831
  case $cc_basename in
 
7832
  nvcc*)
 
7833
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
7834
  *)
 
7835
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
7836
  esac
7333
7837
 
7334
7838
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7335
7839
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7336
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
7840
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7337
7841
  $as_echo_n "(cached) " >&6
7338
7842
else
7339
7843
  lt_cv_prog_compiler_rtti_exceptions=no
7349
7853
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7350
7854
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7351
7855
   -e 's:$: $lt_compiler_flag:'`
7352
 
   (eval echo "\"\$as_me:7352: $lt_compile\"" >&5)
 
7856
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7353
7857
   (eval "$lt_compile" 2>conftest.err)
7354
7858
   ac_status=$?
7355
7859
   cat conftest.err >&5
7356
 
   echo "$as_me:7356: \$? = $ac_status" >&5
 
7860
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357
7861
   if (exit $ac_status) && test -s "$ac_outfile"; then
7358
7862
     # The compiler can only warn and ignore the option if not recognized
7359
7863
     # So say no if there are warnings other than the usual output.
7360
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7864
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7361
7865
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7362
7866
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7363
7867
       lt_cv_prog_compiler_rtti_exceptions=yes
7386
7890
lt_prog_compiler_pic=
7387
7891
lt_prog_compiler_static=
7388
7892
 
7389
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7390
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7391
7893
 
7392
7894
  if test "$GCC" = yes; then
7393
7895
    lt_prog_compiler_wl='-Wl,'
7435
7937
      lt_prog_compiler_pic='-fno-common'
7436
7938
      ;;
7437
7939
 
 
7940
    haiku*)
 
7941
      # PIC is the default for Haiku.
 
7942
      # The "-static" flag exists, but is broken.
 
7943
      lt_prog_compiler_static=
 
7944
      ;;
 
7945
 
7438
7946
    hpux*)
7439
7947
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7440
7948
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7477
7985
      lt_prog_compiler_pic='-fPIC'
7478
7986
      ;;
7479
7987
    esac
 
7988
 
 
7989
    case $cc_basename in
 
7990
    nvcc*) # Cuda Compiler Driver 2.2
 
7991
      lt_prog_compiler_wl='-Xlinker '
 
7992
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
7993
      ;;
 
7994
    esac
7480
7995
  else
7481
7996
    # PORTME Check for flag to pass linker flags through the system compiler.
7482
7997
    case $host_os in
7518
8033
      lt_prog_compiler_static='-non_shared'
7519
8034
      ;;
7520
8035
 
7521
 
    linux* | k*bsd*-gnu)
 
8036
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7522
8037
      case $cc_basename in
7523
8038
      # old Intel for x86_64 which still supported -KPIC.
7524
8039
      ecc*)
7539
8054
        lt_prog_compiler_pic='--shared'
7540
8055
        lt_prog_compiler_static='--static'
7541
8056
        ;;
7542
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8057
      nagfor*)
 
8058
        # NAG Fortran compiler
 
8059
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8060
        lt_prog_compiler_pic='-PIC'
 
8061
        lt_prog_compiler_static='-Bstatic'
 
8062
        ;;
 
8063
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7543
8064
        # Portland Group compilers (*not* the Pentium gcc compiler,
7544
8065
        # which looks to be a dead project)
7545
8066
        lt_prog_compiler_wl='-Wl,'
7551
8072
        # All Alpha code is PIC.
7552
8073
        lt_prog_compiler_static='-non_shared'
7553
8074
        ;;
7554
 
      xl*)
7555
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8075
      xl* | bgxl* | bgf* | mpixl*)
 
8076
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7556
8077
        lt_prog_compiler_wl='-Wl,'
7557
8078
        lt_prog_compiler_pic='-qpic'
7558
8079
        lt_prog_compiler_static='-qstaticlink'
7559
8080
        ;;
7560
8081
      *)
7561
8082
        case `$CC -V 2>&1 | sed 5q` in
 
8083
        *Sun\ F* | *Sun*Fortran*)
 
8084
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8085
          lt_prog_compiler_pic='-KPIC'
 
8086
          lt_prog_compiler_static='-Bstatic'
 
8087
          lt_prog_compiler_wl=''
 
8088
          ;;
7562
8089
        *Sun\ C*)
7563
8090
          # Sun C 5.9
7564
8091
          lt_prog_compiler_pic='-KPIC'
7565
8092
          lt_prog_compiler_static='-Bstatic'
7566
8093
          lt_prog_compiler_wl='-Wl,'
7567
8094
          ;;
7568
 
        *Sun\ F*)
7569
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7570
 
          lt_prog_compiler_pic='-KPIC'
7571
 
          lt_prog_compiler_static='-Bstatic'
7572
 
          lt_prog_compiler_wl=''
7573
 
          ;;
7574
8095
        esac
7575
8096
        ;;
7576
8097
      esac
7601
8122
      lt_prog_compiler_pic='-KPIC'
7602
8123
      lt_prog_compiler_static='-Bstatic'
7603
8124
      case $cc_basename in
7604
 
      f77* | f90* | f95*)
 
8125
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7605
8126
        lt_prog_compiler_wl='-Qoption ld ';;
7606
8127
      *)
7607
8128
        lt_prog_compiler_wl='-Wl,';;
7658
8179
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7659
8180
    ;;
7660
8181
esac
7661
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7662
 
$as_echo "$lt_prog_compiler_pic" >&6; }
7663
 
 
7664
 
 
7665
 
 
7666
 
 
7667
 
 
 
8182
 
 
8183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8184
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8185
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8186
  $as_echo_n "(cached) " >&6
 
8187
else
 
8188
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8189
fi
 
8190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8191
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8192
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
7668
8193
 
7669
8194
#
7670
8195
# Check to make sure the PIC flag actually works.
7672
8197
if test -n "$lt_prog_compiler_pic"; then
7673
8198
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7674
8199
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7675
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8200
if ${lt_cv_prog_compiler_pic_works+:} false; then :
7676
8201
  $as_echo_n "(cached) " >&6
7677
8202
else
7678
8203
  lt_cv_prog_compiler_pic_works=no
7688
8213
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7689
8214
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7690
8215
   -e 's:$: $lt_compiler_flag:'`
7691
 
   (eval echo "\"\$as_me:7691: $lt_compile\"" >&5)
 
8216
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7692
8217
   (eval "$lt_compile" 2>conftest.err)
7693
8218
   ac_status=$?
7694
8219
   cat conftest.err >&5
7695
 
   echo "$as_me:7695: \$? = $ac_status" >&5
 
8220
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696
8221
   if (exit $ac_status) && test -s "$ac_outfile"; then
7697
8222
     # The compiler can only warn and ignore the option if not recognized
7698
8223
     # So say no if there are warnings other than the usual output.
7699
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8224
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7700
8225
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7701
8226
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7702
8227
       lt_cv_prog_compiler_pic_works=yes
7725
8250
 
7726
8251
 
7727
8252
 
 
8253
 
 
8254
 
 
8255
 
 
8256
 
 
8257
 
7728
8258
#
7729
8259
# Check to make sure the static flag actually works.
7730
8260
#
7731
8261
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7732
8262
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7733
8263
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7734
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8264
if ${lt_cv_prog_compiler_static_works+:} false; then :
7735
8265
  $as_echo_n "(cached) " >&6
7736
8266
else
7737
8267
  lt_cv_prog_compiler_static_works=no
7744
8274
     if test -s conftest.err; then
7745
8275
       # Append any errors to the config.log.
7746
8276
       cat conftest.err 1>&5
7747
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8277
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7748
8278
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7749
8279
       if diff conftest.exp conftest.er2 >/dev/null; then
7750
8280
         lt_cv_prog_compiler_static_works=yes
7774
8304
 
7775
8305
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7776
8306
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7777
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8307
if ${lt_cv_prog_compiler_c_o+:} false; then :
7778
8308
  $as_echo_n "(cached) " >&6
7779
8309
else
7780
8310
  lt_cv_prog_compiler_c_o=no
7793
8323
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7794
8324
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7795
8325
   -e 's:$: $lt_compiler_flag:'`
7796
 
   (eval echo "\"\$as_me:7796: $lt_compile\"" >&5)
 
8326
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7797
8327
   (eval "$lt_compile" 2>out/conftest.err)
7798
8328
   ac_status=$?
7799
8329
   cat out/conftest.err >&5
7800
 
   echo "$as_me:7800: \$? = $ac_status" >&5
 
8330
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801
8331
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7802
8332
   then
7803
8333
     # The compiler can only warn and ignore the option if not recognized
7804
8334
     # So say no if there are warnings
7805
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8335
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7806
8336
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7807
8337
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7808
8338
       lt_cv_prog_compiler_c_o=yes
7829
8359
 
7830
8360
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7831
8361
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7832
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8362
if ${lt_cv_prog_compiler_c_o+:} false; then :
7833
8363
  $as_echo_n "(cached) " >&6
7834
8364
else
7835
8365
  lt_cv_prog_compiler_c_o=no
7848
8378
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7849
8379
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7850
8380
   -e 's:$: $lt_compiler_flag:'`
7851
 
   (eval echo "\"\$as_me:7851: $lt_compile\"" >&5)
 
8381
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7852
8382
   (eval "$lt_compile" 2>out/conftest.err)
7853
8383
   ac_status=$?
7854
8384
   cat out/conftest.err >&5
7855
 
   echo "$as_me:7855: \$? = $ac_status" >&5
 
8385
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7856
8386
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7857
8387
   then
7858
8388
     # The compiler can only warn and ignore the option if not recognized
7859
8389
     # So say no if there are warnings
7860
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8390
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7861
8391
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7862
8392
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7863
8393
       lt_cv_prog_compiler_c_o=yes
7970
8500
  esac
7971
8501
 
7972
8502
  ld_shlibs=yes
 
8503
 
 
8504
  # On some targets, GNU ld is compatible enough with the native linker
 
8505
  # that we're better off using the native interface for both.
 
8506
  lt_use_gnu_ld_interface=no
7973
8507
  if test "$with_gnu_ld" = yes; then
 
8508
    case $host_os in
 
8509
      aix*)
 
8510
        # The AIX port of GNU ld has always aspired to compatibility
 
8511
        # with the native linker.  However, as the warning in the GNU ld
 
8512
        # block says, versions before 2.19.5* couldn't really create working
 
8513
        # shared libraries, regardless of the interface used.
 
8514
        case `$LD -v 2>&1` in
 
8515
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8516
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8517
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8518
          *)
 
8519
            lt_use_gnu_ld_interface=yes
 
8520
            ;;
 
8521
        esac
 
8522
        ;;
 
8523
      *)
 
8524
        lt_use_gnu_ld_interface=yes
 
8525
        ;;
 
8526
    esac
 
8527
  fi
 
8528
 
 
8529
  if test "$lt_use_gnu_ld_interface" = yes; then
7974
8530
    # If archive_cmds runs LD, not CC, wlarc should be empty
7975
8531
    wlarc='${wl}'
7976
8532
 
7988
8544
    fi
7989
8545
    supports_anon_versioning=no
7990
8546
    case `$LD -v 2>&1` in
 
8547
      *GNU\ gold*) supports_anon_versioning=yes ;;
7991
8548
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7992
8549
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7993
8550
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8003
8560
        ld_shlibs=no
8004
8561
        cat <<_LT_EOF 1>&2
8005
8562
 
8006
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8563
*** Warning: the GNU linker, at least up to release 2.19, is reported
8007
8564
*** to be unable to reliably create shared libraries on AIX.
8008
8565
*** Therefore, libtool is disabling shared libraries support.  If you
8009
 
*** really care for shared libraries, you may want to modify your PATH
8010
 
*** so that a non-GNU linker is found, and then restart.
 
8566
*** really care for shared libraries, you may want to install binutils
 
8567
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8568
*** You will then need to restart the configuration process.
8011
8569
 
8012
8570
_LT_EOF
8013
8571
      fi
8043
8601
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8044
8602
      # as there is no search path for DLLs.
8045
8603
      hardcode_libdir_flag_spec='-L$libdir'
 
8604
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8046
8605
      allow_undefined_flag=unsupported
8047
8606
      always_export_symbols=no
8048
8607
      enable_shared_with_static_runtimes=yes
8049
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8608
      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'
 
8609
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8050
8610
 
8051
8611
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8052
8612
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8064
8624
      fi
8065
8625
      ;;
8066
8626
 
 
8627
    haiku*)
 
8628
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8629
      link_all_deplibs=yes
 
8630
      ;;
 
8631
 
8067
8632
    interix[3-9]*)
8068
8633
      hardcode_direct=no
8069
8634
      hardcode_shlibpath_var=no
8079
8644
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8080
8645
      ;;
8081
8646
 
8082
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8647
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8083
8648
      tmp_diet=no
8084
8649
      if test "$host_os" = linux-dietlibc; then
8085
8650
        case $cc_basename in
8089
8654
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8090
8655
         && test "$tmp_diet" = no
8091
8656
      then
8092
 
        tmp_addflag=
 
8657
        tmp_addflag=' $pic_flag'
8093
8658
        tmp_sharedflag='-shared'
8094
8659
        case $cc_basename,$host_cpu in
8095
8660
        pgcc*)                          # Portland Group C compiler
8096
 
          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'
 
8661
          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'
8097
8662
          tmp_addflag=' $pic_flag'
8098
8663
          ;;
8099
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8100
 
          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'
 
8664
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8665
                                        # Portland Group f77 and f90 compilers
 
8666
          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'
8101
8667
          tmp_addflag=' $pic_flag -Mnomain' ;;
8102
8668
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8103
8669
          tmp_addflag=' -i_dynamic' ;;
8108
8674
        lf95*)                          # Lahey Fortran 8.1
8109
8675
          whole_archive_flag_spec=
8110
8676
          tmp_sharedflag='--shared' ;;
8111
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8677
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8112
8678
          tmp_sharedflag='-qmkshrobj'
8113
8679
          tmp_addflag= ;;
 
8680
        nvcc*)  # Cuda Compiler Driver 2.2
 
8681
          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'
 
8682
          compiler_needs_object=yes
 
8683
          ;;
8114
8684
        esac
8115
8685
        case `$CC -V 2>&1 | sed 5q` in
8116
8686
        *Sun\ C*)                       # Sun C 5.9
8117
 
          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'
 
8687
          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'
8118
8688
          compiler_needs_object=yes
8119
8689
          tmp_sharedflag='-G' ;;
8120
8690
        *Sun\ F*)                       # Sun Fortran 8.3
8130
8700
        fi
8131
8701
 
8132
8702
        case $cc_basename in
8133
 
        xlf*)
 
8703
        xlf* | bgf* | bgxlf* | mpixlf*)
8134
8704
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8135
8705
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8136
8706
          hardcode_libdir_flag_spec=
8137
8707
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8138
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8708
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8139
8709
          if test "x$supports_anon_versioning" = xyes; then
8140
8710
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8141
8711
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8142
8712
              echo "local: *; };" >> $output_objdir/$libname.ver~
8143
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8713
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8144
8714
          fi
8145
8715
          ;;
8146
8716
        esac
8154
8724
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8155
8725
        wlarc=
8156
8726
      else
8157
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8158
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8727
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8728
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8159
8729
      fi
8160
8730
      ;;
8161
8731
 
8173
8743
 
8174
8744
_LT_EOF
8175
8745
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8176
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8177
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8746
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8747
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8178
8748
      else
8179
8749
        ld_shlibs=no
8180
8750
      fi
8220
8790
 
8221
8791
    *)
8222
8792
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8223
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8224
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8793
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8794
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8225
8795
      else
8226
8796
        ld_shlibs=no
8227
8797
      fi
8261
8831
      else
8262
8832
        # If we're using GNU nm, then we don't want the "-C" option.
8263
8833
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
8834
        # Also, AIX nm treats weak defined symbols like other global
 
8835
        # defined symbols, whereas GNU nm marks them as "W".
8264
8836
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8265
 
          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'
 
8837
          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'
8266
8838
        else
8267
8839
          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'
8268
8840
        fi
8349
8921
        allow_undefined_flag='-berok'
8350
8922
        # Determine the default libpath from the value encoded in an
8351
8923
        # empty executable.
8352
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8924
        if test "${lt_cv_aix_libpath+set}" = set; then
 
8925
  aix_libpath=$lt_cv_aix_libpath
 
8926
else
 
8927
  if ${lt_cv_aix_libpath_+:} false; then :
 
8928
  $as_echo_n "(cached) " >&6
 
8929
else
 
8930
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8353
8931
/* end confdefs.h.  */
8354
8932
 
8355
8933
int
8362
8940
_ACEOF
8363
8941
if ac_fn_c_try_link "$LINENO"; then :
8364
8942
 
8365
 
lt_aix_libpath_sed='
8366
 
    /Import File Strings/,/^$/ {
8367
 
        /^0/ {
8368
 
            s/^0  *\(.*\)$/\1/
8369
 
            p
8370
 
        }
8371
 
    }'
8372
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8373
 
# Check for a 64-bit object if we didn't find anything.
8374
 
if test -z "$aix_libpath"; then
8375
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8376
 
fi
 
8943
  lt_aix_libpath_sed='
 
8944
      /Import File Strings/,/^$/ {
 
8945
          /^0/ {
 
8946
              s/^0  *\([^ ]*\) *$/\1/
 
8947
              p
 
8948
          }
 
8949
      }'
 
8950
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8951
  # Check for a 64-bit object if we didn't find anything.
 
8952
  if test -z "$lt_cv_aix_libpath_"; then
 
8953
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8954
  fi
8377
8955
fi
8378
8956
rm -f core conftest.err conftest.$ac_objext \
8379
8957
    conftest$ac_exeext conftest.$ac_ext
8380
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
8958
  if test -z "$lt_cv_aix_libpath_"; then
 
8959
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
8960
  fi
 
8961
 
 
8962
fi
 
8963
 
 
8964
  aix_libpath=$lt_cv_aix_libpath_
 
8965
fi
8381
8966
 
8382
8967
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8383
 
        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"
 
8968
        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"
8384
8969
      else
8385
8970
        if test "$host_cpu" = ia64; then
8386
8971
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8389
8974
        else
8390
8975
         # Determine the default libpath from the value encoded in an
8391
8976
         # empty executable.
8392
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8977
         if test "${lt_cv_aix_libpath+set}" = set; then
 
8978
  aix_libpath=$lt_cv_aix_libpath
 
8979
else
 
8980
  if ${lt_cv_aix_libpath_+:} false; then :
 
8981
  $as_echo_n "(cached) " >&6
 
8982
else
 
8983
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8393
8984
/* end confdefs.h.  */
8394
8985
 
8395
8986
int
8402
8993
_ACEOF
8403
8994
if ac_fn_c_try_link "$LINENO"; then :
8404
8995
 
8405
 
lt_aix_libpath_sed='
8406
 
    /Import File Strings/,/^$/ {
8407
 
        /^0/ {
8408
 
            s/^0  *\(.*\)$/\1/
8409
 
            p
8410
 
        }
8411
 
    }'
8412
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8413
 
# Check for a 64-bit object if we didn't find anything.
8414
 
if test -z "$aix_libpath"; then
8415
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8416
 
fi
 
8996
  lt_aix_libpath_sed='
 
8997
      /Import File Strings/,/^$/ {
 
8998
          /^0/ {
 
8999
              s/^0  *\([^ ]*\) *$/\1/
 
9000
              p
 
9001
          }
 
9002
      }'
 
9003
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9004
  # Check for a 64-bit object if we didn't find anything.
 
9005
  if test -z "$lt_cv_aix_libpath_"; then
 
9006
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9007
  fi
8417
9008
fi
8418
9009
rm -f core conftest.err conftest.$ac_objext \
8419
9010
    conftest$ac_exeext conftest.$ac_ext
8420
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9011
  if test -z "$lt_cv_aix_libpath_"; then
 
9012
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9013
  fi
 
9014
 
 
9015
fi
 
9016
 
 
9017
  aix_libpath=$lt_cv_aix_libpath_
 
9018
fi
8421
9019
 
8422
9020
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8423
9021
          # Warning - without using the other run time loading flags,
8424
9022
          # -berok will link without error, but may produce a broken library.
8425
9023
          no_undefined_flag=' ${wl}-bernotok'
8426
9024
          allow_undefined_flag=' ${wl}-berok'
8427
 
          # Exported symbols can be pulled into shared objects from archives
8428
 
          whole_archive_flag_spec='$convenience'
 
9025
          if test "$with_gnu_ld" = yes; then
 
9026
            # We only use this code for GNU lds that support --whole-archive.
 
9027
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9028
          else
 
9029
            # Exported symbols can be pulled into shared objects from archives
 
9030
            whole_archive_flag_spec='$convenience'
 
9031
          fi
8429
9032
          archive_cmds_need_lc=yes
8430
9033
          # This is similar to how AIX traditionally builds its shared libraries.
8431
9034
          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'
8457
9060
      # Microsoft Visual C++.
8458
9061
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8459
9062
      # no search path for DLLs.
8460
 
      hardcode_libdir_flag_spec=' '
8461
 
      allow_undefined_flag=unsupported
8462
 
      # Tell ltmain to make .lib files, not .a files.
8463
 
      libext=lib
8464
 
      # Tell ltmain to make .dll files, not .so files.
8465
 
      shrext_cmds=".dll"
8466
 
      # FIXME: Setting linknames here is a bad hack.
8467
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8468
 
      # The linker will automatically build a .lib file if we build a DLL.
8469
 
      old_archive_from_new_cmds='true'
8470
 
      # FIXME: Should let the user specify the lib program.
8471
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8472
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8473
 
      enable_shared_with_static_runtimes=yes
 
9063
      case $cc_basename in
 
9064
      cl*)
 
9065
        # Native MSVC
 
9066
        hardcode_libdir_flag_spec=' '
 
9067
        allow_undefined_flag=unsupported
 
9068
        always_export_symbols=yes
 
9069
        file_list_spec='@'
 
9070
        # Tell ltmain to make .lib files, not .a files.
 
9071
        libext=lib
 
9072
        # Tell ltmain to make .dll files, not .so files.
 
9073
        shrext_cmds=".dll"
 
9074
        # FIXME: Setting linknames here is a bad hack.
 
9075
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9076
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9077
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9078
          else
 
9079
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9080
          fi~
 
9081
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9082
          linknames='
 
9083
        # The linker will not automatically build a static lib if we build a DLL.
 
9084
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9085
        enable_shared_with_static_runtimes=yes
 
9086
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9087
        # Don't use ranlib
 
9088
        old_postinstall_cmds='chmod 644 $oldlib'
 
9089
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9090
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9091
          case $lt_outputfile in
 
9092
            *.exe|*.EXE) ;;
 
9093
            *)
 
9094
              lt_outputfile="$lt_outputfile.exe"
 
9095
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9096
              ;;
 
9097
          esac~
 
9098
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9099
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9100
            $RM "$lt_outputfile.manifest";
 
9101
          fi'
 
9102
        ;;
 
9103
      *)
 
9104
        # Assume MSVC wrapper
 
9105
        hardcode_libdir_flag_spec=' '
 
9106
        allow_undefined_flag=unsupported
 
9107
        # Tell ltmain to make .lib files, not .a files.
 
9108
        libext=lib
 
9109
        # Tell ltmain to make .dll files, not .so files.
 
9110
        shrext_cmds=".dll"
 
9111
        # FIXME: Setting linknames here is a bad hack.
 
9112
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9113
        # The linker will automatically build a .lib file if we build a DLL.
 
9114
        old_archive_from_new_cmds='true'
 
9115
        # FIXME: Should let the user specify the lib program.
 
9116
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9117
        enable_shared_with_static_runtimes=yes
 
9118
        ;;
 
9119
      esac
8474
9120
      ;;
8475
9121
 
8476
9122
    darwin* | rhapsody*)
8480
9126
  hardcode_direct=no
8481
9127
  hardcode_automatic=yes
8482
9128
  hardcode_shlibpath_var=unsupported
8483
 
  whole_archive_flag_spec=''
 
9129
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9130
    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\"`'
 
9131
  else
 
9132
    whole_archive_flag_spec=''
 
9133
  fi
8484
9134
  link_all_deplibs=yes
8485
9135
  allow_undefined_flag="$_lt_dar_allow_undefined"
8486
9136
  case $cc_basename in
8488
9138
     *) _lt_dar_can_shared=$GCC ;;
8489
9139
  esac
8490
9140
  if test "$_lt_dar_can_shared" = "yes"; then
8491
 
    output_verbose_link_cmd=echo
 
9141
    output_verbose_link_cmd=func_echo_all
8492
9142
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8493
9143
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8494
9144
    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}"
8531
9181
 
8532
9182
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8533
9183
    freebsd* | dragonfly*)
8534
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9184
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8535
9185
      hardcode_libdir_flag_spec='-R$libdir'
8536
9186
      hardcode_direct=yes
8537
9187
      hardcode_shlibpath_var=no
8539
9189
 
8540
9190
    hpux9*)
8541
9191
      if test "$GCC" = yes; then
8542
 
        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'
 
9192
        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'
8543
9193
      else
8544
9194
        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'
8545
9195
      fi
8554
9204
      ;;
8555
9205
 
8556
9206
    hpux10*)
8557
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8558
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9207
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9208
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8559
9209
      else
8560
9210
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8561
9211
      fi
8573
9223
      ;;
8574
9224
 
8575
9225
    hpux11*)
8576
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9226
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8577
9227
        case $host_cpu in
8578
9228
        hppa*64*)
8579
9229
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8580
9230
          ;;
8581
9231
        ia64*)
8582
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9232
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8583
9233
          ;;
8584
9234
        *)
8585
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9235
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8586
9236
          ;;
8587
9237
        esac
8588
9238
      else
8594
9244
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8595
9245
          ;;
8596
9246
        *)
8597
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9247
 
 
9248
          # Older versions of the 11.00 compiler do not understand -b yet
 
9249
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9250
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9251
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9252
if ${lt_cv_prog_compiler__b+:} false; then :
 
9253
  $as_echo_n "(cached) " >&6
 
9254
else
 
9255
  lt_cv_prog_compiler__b=no
 
9256
   save_LDFLAGS="$LDFLAGS"
 
9257
   LDFLAGS="$LDFLAGS -b"
 
9258
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9259
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9260
     # The linker can only warn and ignore the option if not recognized
 
9261
     # So say no if there are warnings
 
9262
     if test -s conftest.err; then
 
9263
       # Append any errors to the config.log.
 
9264
       cat conftest.err 1>&5
 
9265
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9266
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9267
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9268
         lt_cv_prog_compiler__b=yes
 
9269
       fi
 
9270
     else
 
9271
       lt_cv_prog_compiler__b=yes
 
9272
     fi
 
9273
   fi
 
9274
   $RM -r conftest*
 
9275
   LDFLAGS="$save_LDFLAGS"
 
9276
 
 
9277
fi
 
9278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9279
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9280
 
 
9281
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9282
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9283
else
 
9284
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9285
fi
 
9286
 
8598
9287
          ;;
8599
9288
        esac
8600
9289
      fi
8622
9311
 
8623
9312
    irix5* | irix6* | nonstopux*)
8624
9313
      if test "$GCC" = yes; then
8625
 
        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'
 
9314
        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'
8626
9315
        # Try to use the -exported_symbol ld option, if it does not
8627
9316
        # work, assume that -exports_file does not work either and
8628
9317
        # implicitly export all symbols.
8629
 
        save_LDFLAGS="$LDFLAGS"
8630
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8631
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9318
        # This should be the same for all languages, so no per-tag cache variable.
 
9319
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9320
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9321
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9322
  $as_echo_n "(cached) " >&6
 
9323
else
 
9324
  save_LDFLAGS="$LDFLAGS"
 
9325
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9326
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8632
9327
/* end confdefs.h.  */
8633
 
int foo(void) {}
 
9328
int foo (void) { return 0; }
8634
9329
_ACEOF
8635
9330
if ac_fn_c_try_link "$LINENO"; then :
8636
 
  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'
8637
 
 
 
9331
  lt_cv_irix_exported_symbol=yes
 
9332
else
 
9333
  lt_cv_irix_exported_symbol=no
8638
9334
fi
8639
9335
rm -f core conftest.err conftest.$ac_objext \
8640
9336
    conftest$ac_exeext conftest.$ac_ext
8641
 
        LDFLAGS="$save_LDFLAGS"
 
9337
           LDFLAGS="$save_LDFLAGS"
 
9338
fi
 
9339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9340
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9341
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9342
          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'
 
9343
        fi
8642
9344
      else
8643
 
        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'
8644
 
        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'
 
9345
        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'
 
9346
        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'
8645
9347
      fi
8646
9348
      archive_cmds_need_lc='no'
8647
9349
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8703
9405
      hardcode_libdir_flag_spec='-L$libdir'
8704
9406
      hardcode_minus_L=yes
8705
9407
      allow_undefined_flag=unsupported
8706
 
      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'
 
9408
      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'
8707
9409
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8708
9410
      ;;
8709
9411
 
8710
9412
    osf3*)
8711
9413
      if test "$GCC" = yes; then
8712
9414
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8713
 
        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'
 
9415
        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'
8714
9416
      else
8715
9417
        allow_undefined_flag=' -expect_unresolved \*'
8716
 
        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'
 
9418
        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'
8717
9419
      fi
8718
9420
      archive_cmds_need_lc='no'
8719
9421
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8723
9425
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8724
9426
      if test "$GCC" = yes; then
8725
9427
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8726
 
        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'
 
9428
        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'
8727
9429
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8728
9430
      else
8729
9431
        allow_undefined_flag=' -expect_unresolved \*'
8730
 
        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'
 
9432
        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'
8731
9433
        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~
8732
 
        $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'
 
9434
        $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'
8733
9435
 
8734
9436
        # Both c and cxx compiler support -rpath directly
8735
9437
        hardcode_libdir_flag_spec='-rpath $libdir'
8742
9444
      no_undefined_flag=' -z defs'
8743
9445
      if test "$GCC" = yes; then
8744
9446
        wlarc='${wl}'
8745
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9447
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8746
9448
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8747
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9449
          $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'
8748
9450
      else
8749
9451
        case `$CC -V 2>&1` in
8750
9452
        *"Compilers 5.0"*)
8932
9634
      # to ld, don't add -lc before -lgcc.
8933
9635
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8934
9636
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8935
 
      $RM conftest*
8936
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9637
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
9638
  $as_echo_n "(cached) " >&6
 
9639
else
 
9640
  $RM conftest*
 
9641
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8937
9642
 
8938
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9643
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8939
9644
  (eval $ac_compile) 2>&5
8940
9645
  ac_status=$?
8941
9646
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8942
9647
  test $ac_status = 0; } 2>conftest.err; then
8943
 
        soname=conftest
8944
 
        lib=conftest
8945
 
        libobjs=conftest.$ac_objext
8946
 
        deplibs=
8947
 
        wl=$lt_prog_compiler_wl
8948
 
        pic_flag=$lt_prog_compiler_pic
8949
 
        compiler_flags=-v
8950
 
        linker_flags=-v
8951
 
        verstring=
8952
 
        output_objdir=.
8953
 
        libname=conftest
8954
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
8955
 
        allow_undefined_flag=
8956
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9648
          soname=conftest
 
9649
          lib=conftest
 
9650
          libobjs=conftest.$ac_objext
 
9651
          deplibs=
 
9652
          wl=$lt_prog_compiler_wl
 
9653
          pic_flag=$lt_prog_compiler_pic
 
9654
          compiler_flags=-v
 
9655
          linker_flags=-v
 
9656
          verstring=
 
9657
          output_objdir=.
 
9658
          libname=conftest
 
9659
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9660
          allow_undefined_flag=
 
9661
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8957
9662
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8958
9663
  ac_status=$?
8959
9664
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8960
9665
  test $ac_status = 0; }
8961
 
        then
8962
 
          archive_cmds_need_lc=no
8963
 
        else
8964
 
          archive_cmds_need_lc=yes
8965
 
        fi
8966
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
8967
 
      else
8968
 
        cat conftest.err 1>&5
8969
 
      fi
8970
 
      $RM conftest*
8971
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8972
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
9666
          then
 
9667
            lt_cv_archive_cmds_need_lc=no
 
9668
          else
 
9669
            lt_cv_archive_cmds_need_lc=yes
 
9670
          fi
 
9671
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9672
        else
 
9673
          cat conftest.err 1>&5
 
9674
        fi
 
9675
        $RM conftest*
 
9676
 
 
9677
fi
 
9678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9679
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9680
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
8973
9681
      ;;
8974
9682
    esac
8975
9683
  fi
9140
9848
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9141
9849
    *) lt_awk_arg="/^libraries:/" ;;
9142
9850
  esac
9143
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9144
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
9851
  case $host_os in
 
9852
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
9853
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
9854
  esac
 
9855
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
9856
  case $lt_search_path_spec in
 
9857
  *\;*)
9145
9858
    # if the path contains ";" then we assume it to be the separator
9146
9859
    # otherwise default to the standard path separator (i.e. ":") - it is
9147
9860
    # assumed that no part of a normal pathname contains ";" but that should
9148
9861
    # okay in the real world where ";" in dirpaths is itself problematic.
9149
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9150
 
  else
9151
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9152
 
  fi
 
9862
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
9863
    ;;
 
9864
  *)
 
9865
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
9866
    ;;
 
9867
  esac
9153
9868
  # Ok, now we have the path, separated by spaces, we can step through it
9154
9869
  # and add multilib dir if necessary.
9155
9870
  lt_tmp_lt_search_path_spec=
9162
9877
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9163
9878
    fi
9164
9879
  done
9165
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
9880
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9166
9881
BEGIN {RS=" "; FS="/|\n";} {
9167
9882
  lt_foo="";
9168
9883
  lt_count=0;
9182
9897
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9183
9898
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9184
9899
}'`
9185
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
9900
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
9901
  # for these hosts.
 
9902
  case $host_os in
 
9903
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
9904
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
9905
  esac
 
9906
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9186
9907
else
9187
9908
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9188
9909
fi
9270
9991
  m68k)
9271
9992
    library_names_spec='$libname.ixlibrary $libname.a'
9272
9993
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9273
 
    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'
 
9994
    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'
9274
9995
    ;;
9275
9996
  esac
9276
9997
  ;;
9301
10022
  need_version=no
9302
10023
  need_lib_prefix=no
9303
10024
 
9304
 
  case $GCC,$host_os in
9305
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10025
  case $GCC,$cc_basename in
 
10026
  yes,*)
 
10027
    # gcc
9306
10028
    library_names_spec='$libname.dll.a'
9307
10029
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9308
10030
    postinstall_cmds='base_file=`basename \${file}`~
9323
10045
    cygwin*)
9324
10046
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9325
10047
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9326
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10048
 
 
10049
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9327
10050
      ;;
9328
10051
    mingw* | cegcc*)
9329
10052
      # MinGW DLLs use traditional 'lib' prefix
9330
10053
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9331
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9332
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9333
 
        # It is most probably a Windows format PATH printed by
9334
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9335
 
        # path with ; separators, and with drive letters. We can handle the
9336
 
        # drive letters (cygwin fileutils understands them), so leave them,
9337
 
        # especially as we might pass files found there to a mingw objdump,
9338
 
        # which wouldn't understand a cygwinified path. Ahh.
9339
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9340
 
      else
9341
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9342
 
      fi
9343
10054
      ;;
9344
10055
    pw32*)
9345
10056
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9346
10057
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9347
10058
      ;;
9348
10059
    esac
 
10060
    dynamic_linker='Win32 ld.exe'
 
10061
    ;;
 
10062
 
 
10063
  *,cl*)
 
10064
    # Native MSVC
 
10065
    libname_spec='$name'
 
10066
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10067
    library_names_spec='${libname}.dll.lib'
 
10068
 
 
10069
    case $build_os in
 
10070
    mingw*)
 
10071
      sys_lib_search_path_spec=
 
10072
      lt_save_ifs=$IFS
 
10073
      IFS=';'
 
10074
      for lt_path in $LIB
 
10075
      do
 
10076
        IFS=$lt_save_ifs
 
10077
        # Let DOS variable expansion print the short 8.3 style file name.
 
10078
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10079
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10080
      done
 
10081
      IFS=$lt_save_ifs
 
10082
      # Convert to MSYS style.
 
10083
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10084
      ;;
 
10085
    cygwin*)
 
10086
      # Convert to unix form, then to dos form, then back to unix form
 
10087
      # but this time dos style (no spaces!) so that the unix form looks
 
10088
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10089
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10090
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10091
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10092
      ;;
 
10093
    *)
 
10094
      sys_lib_search_path_spec="$LIB"
 
10095
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10096
        # It is most probably a Windows format PATH.
 
10097
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10098
      else
 
10099
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10100
      fi
 
10101
      # FIXME: find the short name or the path components, as spaces are
 
10102
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10103
      ;;
 
10104
    esac
 
10105
 
 
10106
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10107
    postinstall_cmds='base_file=`basename \${file}`~
 
10108
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10109
      dldir=$destdir/`dirname \$dlpath`~
 
10110
      test -d \$dldir || mkdir -p \$dldir~
 
10111
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10112
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10113
      dlpath=$dir/\$dldll~
 
10114
       $RM \$dlpath'
 
10115
    shlibpath_overrides_runpath=yes
 
10116
    dynamic_linker='Win32 link.exe'
9349
10117
    ;;
9350
10118
 
9351
10119
  *)
 
10120
    # Assume MSVC wrapper
9352
10121
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10122
    dynamic_linker='Win32 ld.exe'
9353
10123
    ;;
9354
10124
  esac
9355
 
  dynamic_linker='Win32 ld.exe'
9356
10125
  # FIXME: first we should search . and the directory the executable is in
9357
10126
  shlibpath_var=PATH
9358
10127
  ;;
9439
10208
  hardcode_into_libs=yes
9440
10209
  ;;
9441
10210
 
 
10211
haiku*)
 
10212
  version_type=linux
 
10213
  need_lib_prefix=no
 
10214
  need_version=no
 
10215
  dynamic_linker="$host_os runtime_loader"
 
10216
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10217
  soname_spec='${libname}${release}${shared_ext}$major'
 
10218
  shlibpath_var=LIBRARY_PATH
 
10219
  shlibpath_overrides_runpath=yes
 
10220
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
10221
  hardcode_into_libs=yes
 
10222
  ;;
 
10223
 
9442
10224
hpux9* | hpux10* | hpux11*)
9443
10225
  # Give a soname corresponding to the major version so that dld.sl refuses to
9444
10226
  # link against other versions.
9481
10263
    soname_spec='${libname}${release}${shared_ext}$major'
9482
10264
    ;;
9483
10265
  esac
9484
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10266
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9485
10267
  postinstall_cmds='chmod 555 $lib'
 
10268
  # or fails outright, so override atomically:
 
10269
  install_override_mode=555
9486
10270
  ;;
9487
10271
 
9488
10272
interix[3-9]*)
9540
10324
  ;;
9541
10325
 
9542
10326
# This must be Linux ELF.
9543
 
linux* | k*bsd*-gnu)
 
10327
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9544
10328
  version_type=linux
9545
10329
  need_lib_prefix=no
9546
10330
  need_version=no
9549
10333
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9550
10334
  shlibpath_var=LD_LIBRARY_PATH
9551
10335
  shlibpath_overrides_runpath=no
 
10336
 
9552
10337
  # Some binutils ld are patched to set DT_RUNPATH
9553
 
  save_LDFLAGS=$LDFLAGS
9554
 
  save_libdir=$libdir
9555
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9556
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9557
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10338
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10339
  $as_echo_n "(cached) " >&6
 
10340
else
 
10341
  lt_cv_shlibpath_overrides_runpath=no
 
10342
    save_LDFLAGS=$LDFLAGS
 
10343
    save_libdir=$libdir
 
10344
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10345
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10346
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9558
10347
/* end confdefs.h.  */
9559
10348
 
9560
10349
int
9567
10356
_ACEOF
9568
10357
if ac_fn_c_try_link "$LINENO"; then :
9569
10358
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9570
 
  shlibpath_overrides_runpath=yes
 
10359
  lt_cv_shlibpath_overrides_runpath=yes
9571
10360
fi
9572
10361
fi
9573
10362
rm -f core conftest.err conftest.$ac_objext \
9574
10363
    conftest$ac_exeext conftest.$ac_ext
9575
 
  LDFLAGS=$save_LDFLAGS
9576
 
  libdir=$save_libdir
 
10364
    LDFLAGS=$save_LDFLAGS
 
10365
    libdir=$save_libdir
 
10366
 
 
10367
fi
 
10368
 
 
10369
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9577
10370
 
9578
10371
  # This implies no fast_install, which is unacceptable.
9579
10372
  # Some rework will be needed to allow for fast_install
9585
10378
 
9586
10379
  # Append ld.so.conf contents to the search path
9587
10380
  if test -f /etc/ld.so.conf; then
9588
 
    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' ' '`
 
10381
    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' ' '`
9589
10382
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
10383
 
9590
10384
  fi
9591
10385
 
9592
10386
  # We used to test for /lib/ld.so.1 and disable shared libraries on
9888
10682
 
9889
10683
 
9890
10684
 
 
10685
 
 
10686
 
 
10687
 
 
10688
 
 
10689
 
9891
10690
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9892
10691
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9893
10692
hardcode_action=
9960
10759
  # if libdl is installed we need to link against it
9961
10760
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9962
10761
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9963
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10762
if ${ac_cv_lib_dl_dlopen+:} false; then :
9964
10763
  $as_echo_n "(cached) " >&6
9965
10764
else
9966
10765
  ac_check_lib_save_LIBS=$LIBS
9994
10793
fi
9995
10794
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9996
10795
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9997
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10796
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
9998
10797
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9999
10798
else
10000
10799
 
10008
10807
 
10009
10808
  *)
10010
10809
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10011
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
10810
if test "x$ac_cv_func_shl_load" = xyes; then :
10012
10811
  lt_cv_dlopen="shl_load"
10013
10812
else
10014
10813
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10015
10814
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10016
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
10815
if ${ac_cv_lib_dld_shl_load+:} false; then :
10017
10816
  $as_echo_n "(cached) " >&6
10018
10817
else
10019
10818
  ac_check_lib_save_LIBS=$LIBS
10047
10846
fi
10048
10847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10049
10848
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10050
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
10849
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10051
10850
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10052
10851
else
10053
10852
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10054
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
10853
if test "x$ac_cv_func_dlopen" = xyes; then :
10055
10854
  lt_cv_dlopen="dlopen"
10056
10855
else
10057
10856
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10058
10857
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10059
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10858
if ${ac_cv_lib_dl_dlopen+:} false; then :
10060
10859
  $as_echo_n "(cached) " >&6
10061
10860
else
10062
10861
  ac_check_lib_save_LIBS=$LIBS
10090
10889
fi
10091
10890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10092
10891
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10093
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10892
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10094
10893
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10095
10894
else
10096
10895
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10097
10896
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10098
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
10897
if ${ac_cv_lib_svld_dlopen+:} false; then :
10099
10898
  $as_echo_n "(cached) " >&6
10100
10899
else
10101
10900
  ac_check_lib_save_LIBS=$LIBS
10129
10928
fi
10130
10929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10131
10930
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10132
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
10931
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10133
10932
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10134
10933
else
10135
10934
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10136
10935
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10137
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
10936
if ${ac_cv_lib_dld_dld_link+:} false; then :
10138
10937
  $as_echo_n "(cached) " >&6
10139
10938
else
10140
10939
  ac_check_lib_save_LIBS=$LIBS
10168
10967
fi
10169
10968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10170
10969
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10171
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
10970
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10172
10971
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10173
10972
fi
10174
10973
 
10209
11008
 
10210
11009
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10211
11010
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10212
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11011
if ${lt_cv_dlopen_self+:} false; then :
10213
11012
  $as_echo_n "(cached) " >&6
10214
11013
else
10215
11014
          if test "$cross_compiling" = yes; then :
10218
11017
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10219
11018
  lt_status=$lt_dlunknown
10220
11019
  cat > conftest.$ac_ext <<_LT_EOF
10221
 
#line 10221 "configure"
 
11020
#line $LINENO "configure"
10222
11021
#include "confdefs.h"
10223
11022
 
10224
11023
#if HAVE_DLFCN_H
10259
11058
#  endif
10260
11059
#endif
10261
11060
 
10262
 
void fnord() { int i=42;}
 
11061
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11062
   correspondingly for the symbols needed.  */
 
11063
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11064
int fnord () __attribute__((visibility("default")));
 
11065
#endif
 
11066
 
 
11067
int fnord () { return 42; }
10263
11068
int main ()
10264
11069
{
10265
11070
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10268
11073
  if (self)
10269
11074
    {
10270
11075
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10271
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11076
      else
 
11077
        {
 
11078
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11079
          else puts (dlerror ());
 
11080
        }
10272
11081
      /* dlclose (self); */
10273
11082
    }
10274
11083
  else
10305
11114
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10306
11115
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10307
11116
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10308
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11117
if ${lt_cv_dlopen_self_static+:} false; then :
10309
11118
  $as_echo_n "(cached) " >&6
10310
11119
else
10311
11120
          if test "$cross_compiling" = yes; then :
10314
11123
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10315
11124
  lt_status=$lt_dlunknown
10316
11125
  cat > conftest.$ac_ext <<_LT_EOF
10317
 
#line 10317 "configure"
 
11126
#line $LINENO "configure"
10318
11127
#include "confdefs.h"
10319
11128
 
10320
11129
#if HAVE_DLFCN_H
10355
11164
#  endif
10356
11165
#endif
10357
11166
 
10358
 
void fnord() { int i=42;}
 
11167
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11168
   correspondingly for the symbols needed.  */
 
11169
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11170
int fnord () __attribute__((visibility("default")));
 
11171
#endif
 
11172
 
 
11173
int fnord () { return 42; }
10359
11174
int main ()
10360
11175
{
10361
11176
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10364
11179
  if (self)
10365
11180
    {
10366
11181
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10367
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11182
      else
 
11183
        {
 
11184
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11185
          else puts (dlerror ());
 
11186
        }
10368
11187
      /* dlclose (self); */
10369
11188
    }
10370
11189
  else
10548
11367
set dummy $ac_prog; ac_word=$2
10549
11368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10550
11369
$as_echo_n "checking for $ac_word... " >&6; }
10551
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
11370
if ${ac_cv_prog_AWK+:} false; then :
10552
11371
  $as_echo_n "(cached) " >&6
10553
11372
else
10554
11373
  if test -n "$AWK"; then
10590
11409
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10591
11410
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10592
11411
if test -n "$ac_tool_prefix"; then
10593
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10594
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
10595
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10596
 
$as_echo_n "checking for $ac_word... " >&6; }
10597
 
if test "${ac_cv_prog_CC+set}" = set; then :
10598
 
  $as_echo_n "(cached) " >&6
10599
 
else
10600
 
  if test -n "$CC"; then
10601
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
10602
 
else
10603
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10604
 
for as_dir in $PATH
10605
 
do
10606
 
  IFS=$as_save_IFS
10607
 
  test -z "$as_dir" && as_dir=.
10608
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10609
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10610
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
10611
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10612
 
    break 2
10613
 
  fi
10614
 
done
10615
 
  done
10616
 
IFS=$as_save_IFS
10617
 
 
10618
 
fi
10619
 
fi
10620
 
CC=$ac_cv_prog_CC
10621
 
if test -n "$CC"; then
10622
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10623
 
$as_echo "$CC" >&6; }
10624
 
else
10625
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10626
 
$as_echo "no" >&6; }
10627
 
fi
10628
 
 
10629
 
 
10630
 
fi
10631
 
if test -z "$ac_cv_prog_CC"; then
10632
 
  ac_ct_CC=$CC
10633
 
  # Extract the first word of "gcc", so it can be a program name with args.
10634
 
set dummy gcc; ac_word=$2
10635
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10636
 
$as_echo_n "checking for $ac_word... " >&6; }
10637
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10638
 
  $as_echo_n "(cached) " >&6
10639
 
else
10640
 
  if test -n "$ac_ct_CC"; then
10641
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10642
 
else
10643
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10644
 
for as_dir in $PATH
10645
 
do
10646
 
  IFS=$as_save_IFS
10647
 
  test -z "$as_dir" && as_dir=.
10648
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10649
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10650
 
    ac_cv_prog_ac_ct_CC="gcc"
10651
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10652
 
    break 2
10653
 
  fi
10654
 
done
10655
 
  done
10656
 
IFS=$as_save_IFS
10657
 
 
10658
 
fi
10659
 
fi
10660
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
10661
 
if test -n "$ac_ct_CC"; then
10662
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10663
 
$as_echo "$ac_ct_CC" >&6; }
10664
 
else
10665
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10666
 
$as_echo "no" >&6; }
10667
 
fi
10668
 
 
10669
 
  if test "x$ac_ct_CC" = x; then
10670
 
    CC=""
10671
 
  else
10672
 
    case $cross_compiling:$ac_tool_warned in
10673
 
yes:)
10674
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10675
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10676
 
ac_tool_warned=yes ;;
10677
 
esac
10678
 
    CC=$ac_ct_CC
10679
 
  fi
10680
 
else
10681
 
  CC="$ac_cv_prog_CC"
10682
 
fi
10683
 
 
10684
 
if test -z "$CC"; then
10685
 
          if test -n "$ac_tool_prefix"; then
10686
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10687
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
10688
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10689
 
$as_echo_n "checking for $ac_word... " >&6; }
10690
 
if test "${ac_cv_prog_CC+set}" = set; then :
10691
 
  $as_echo_n "(cached) " >&6
10692
 
else
10693
 
  if test -n "$CC"; then
10694
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
10695
 
else
10696
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10697
 
for as_dir in $PATH
10698
 
do
10699
 
  IFS=$as_save_IFS
10700
 
  test -z "$as_dir" && as_dir=.
10701
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10702
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10703
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
10704
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10705
 
    break 2
10706
 
  fi
10707
 
done
10708
 
  done
10709
 
IFS=$as_save_IFS
10710
 
 
10711
 
fi
10712
 
fi
10713
 
CC=$ac_cv_prog_CC
10714
 
if test -n "$CC"; then
10715
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10716
 
$as_echo "$CC" >&6; }
10717
 
else
10718
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10719
 
$as_echo "no" >&6; }
10720
 
fi
10721
 
 
10722
 
 
10723
 
  fi
10724
 
fi
10725
 
if test -z "$CC"; then
10726
 
  # Extract the first word of "cc", so it can be a program name with args.
10727
 
set dummy cc; ac_word=$2
10728
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10729
 
$as_echo_n "checking for $ac_word... " >&6; }
10730
 
if test "${ac_cv_prog_CC+set}" = set; then :
10731
 
  $as_echo_n "(cached) " >&6
10732
 
else
10733
 
  if test -n "$CC"; then
10734
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
10735
 
else
10736
 
  ac_prog_rejected=no
10737
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10738
 
for as_dir in $PATH
10739
 
do
10740
 
  IFS=$as_save_IFS
10741
 
  test -z "$as_dir" && as_dir=.
10742
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10743
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10744
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10745
 
       ac_prog_rejected=yes
10746
 
       continue
10747
 
     fi
10748
 
    ac_cv_prog_CC="cc"
10749
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10750
 
    break 2
10751
 
  fi
10752
 
done
10753
 
  done
10754
 
IFS=$as_save_IFS
10755
 
 
10756
 
if test $ac_prog_rejected = yes; then
10757
 
  # We found a bogon in the path, so make sure we never use it.
10758
 
  set dummy $ac_cv_prog_CC
10759
 
  shift
10760
 
  if test $# != 0; then
10761
 
    # We chose a different compiler from the bogus one.
10762
 
    # However, it has the same basename, so the bogon will be chosen
10763
 
    # first if we set CC to just the basename; use the full file name.
10764
 
    shift
10765
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10766
 
  fi
10767
 
fi
10768
 
fi
10769
 
fi
10770
 
CC=$ac_cv_prog_CC
10771
 
if test -n "$CC"; then
10772
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10773
 
$as_echo "$CC" >&6; }
10774
 
else
10775
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10776
 
$as_echo "no" >&6; }
10777
 
fi
10778
 
 
10779
 
 
10780
 
fi
10781
 
if test -z "$CC"; then
10782
 
  if test -n "$ac_tool_prefix"; then
10783
 
  for ac_prog in cl.exe
 
11412
  for ac_prog in icc gcc cc
10784
11413
  do
10785
11414
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10786
11415
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10787
11416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10788
11417
$as_echo_n "checking for $ac_word... " >&6; }
10789
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
11418
if ${ac_cv_prog_CC+:} false; then :
10790
11419
  $as_echo_n "(cached) " >&6
10791
11420
else
10792
11421
  if test -n "$CC"; then
10824
11453
fi
10825
11454
if test -z "$CC"; then
10826
11455
  ac_ct_CC=$CC
10827
 
  for ac_prog in cl.exe
 
11456
  for ac_prog in icc gcc cc
10828
11457
do
10829
11458
  # Extract the first word of "$ac_prog", so it can be a program name with args.
10830
11459
set dummy $ac_prog; ac_word=$2
10831
11460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10832
11461
$as_echo_n "checking for $ac_word... " >&6; }
10833
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
11462
if ${ac_cv_prog_ac_ct_CC+:} false; then :
10834
11463
  $as_echo_n "(cached) " >&6
10835
11464
else
10836
11465
  if test -n "$ac_ct_CC"; then
10879
11508
  fi
10880
11509
fi
10881
11510
 
10882
 
fi
10883
 
 
10884
11511
 
10885
11512
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10886
11513
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10887
 
as_fn_error "no acceptable C compiler found in \$PATH
10888
 
See \`config.log' for more details." "$LINENO" 5; }
 
11514
as_fn_error $? "no acceptable C compiler found in \$PATH
 
11515
See \`config.log' for more details" "$LINENO" 5; }
10889
11516
 
10890
11517
# Provide some information about the compiler.
10891
11518
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
10914
11541
 
10915
11542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
10916
11543
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10917
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
11544
if ${ac_cv_c_compiler_gnu+:} false; then :
10918
11545
  $as_echo_n "(cached) " >&6
10919
11546
else
10920
11547
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10951
11578
ac_save_CFLAGS=$CFLAGS
10952
11579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
10953
11580
$as_echo_n "checking whether $CC accepts -g... " >&6; }
10954
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
11581
if ${ac_cv_prog_cc_g+:} false; then :
10955
11582
  $as_echo_n "(cached) " >&6
10956
11583
else
10957
11584
  ac_save_c_werror_flag=$ac_c_werror_flag
11029
11656
fi
11030
11657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11031
11658
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11032
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
11659
if ${ac_cv_prog_cc_c89+:} false; then :
11033
11660
  $as_echo_n "(cached) " >&6
11034
11661
else
11035
11662
  ac_cv_prog_cc_c89=no
11128
11755
 
11129
11756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11130
11757
$as_echo_n "checking dependency style of $depcc... " >&6; }
11131
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
11758
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
11132
11759
  $as_echo_n "(cached) " >&6
11133
11760
else
11134
11761
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11263
11890
  CPP=
11264
11891
fi
11265
11892
if test -z "$CPP"; then
11266
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
11893
  if ${ac_cv_prog_CPP+:} false; then :
11267
11894
  $as_echo_n "(cached) " >&6
11268
11895
else
11269
11896
      # Double quotes because CPP needs to be expanded
11293
11920
  # Broken: fails on valid input.
11294
11921
continue
11295
11922
fi
11296
 
rm -f conftest.err conftest.$ac_ext
 
11923
rm -f conftest.err conftest.i conftest.$ac_ext
11297
11924
 
11298
11925
  # OK, works on sane cases.  Now check whether nonexistent headers
11299
11926
  # can be detected and how.
11309
11936
ac_preproc_ok=:
11310
11937
break
11311
11938
fi
11312
 
rm -f conftest.err conftest.$ac_ext
 
11939
rm -f conftest.err conftest.i conftest.$ac_ext
11313
11940
 
11314
11941
done
11315
11942
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11316
 
rm -f conftest.err conftest.$ac_ext
 
11943
rm -f conftest.i conftest.err conftest.$ac_ext
11317
11944
if $ac_preproc_ok; then :
11318
11945
  break
11319
11946
fi
11352
11979
  # Broken: fails on valid input.
11353
11980
continue
11354
11981
fi
11355
 
rm -f conftest.err conftest.$ac_ext
 
11982
rm -f conftest.err conftest.i conftest.$ac_ext
11356
11983
 
11357
11984
  # OK, works on sane cases.  Now check whether nonexistent headers
11358
11985
  # can be detected and how.
11368
11995
ac_preproc_ok=:
11369
11996
break
11370
11997
fi
11371
 
rm -f conftest.err conftest.$ac_ext
 
11998
rm -f conftest.err conftest.i conftest.$ac_ext
11372
11999
 
11373
12000
done
11374
12001
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11375
 
rm -f conftest.err conftest.$ac_ext
 
12002
rm -f conftest.i conftest.err conftest.$ac_ext
11376
12003
if $ac_preproc_ok; then :
11377
12004
 
11378
12005
else
11379
12006
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11380
12007
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11381
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
11382
 
See \`config.log' for more details." "$LINENO" 5; }
 
12008
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
12009
See \`config.log' for more details" "$LINENO" 5; }
11383
12010
fi
11384
12011
 
11385
12012
ac_ext=c
11390
12017
 
11391
12018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
11392
12019
$as_echo_n "checking for inline... " >&6; }
11393
 
if test "${ac_cv_c_inline+set}" = set; then :
 
12020
if ${ac_cv_c_inline+:} false; then :
11394
12021
  $as_echo_n "(cached) " >&6
11395
12022
else
11396
12023
  ac_cv_c_inline=no
11432
12059
 
11433
12060
 
11434
12061
 
11435
 
if test "`uname`" = "IRIX" || test "`uname`" = "IRIX64" ; then
11436
 
if test "$CC" != "gcc"; then
11437
 
  CC=cc
11438
 
  #
 
12062
 
 
12063
 
 
12064
use_64bit_ptrs=no
 
12065
# Check whether --enable-64 was given.
 
12066
if test "${enable_64+set}" = set; then :
 
12067
  enableval=$enable_64;
 
12068
fi
 
12069
 
 
12070
 
 
12071
if test "x$enable_64" = "xyes"; then :
 
12072
 
 
12073
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64bit compilation support" >&5
 
12074
$as_echo_n "checking for 64bit compilation support... " >&6; }
 
12075
  use_64bit_ptrs=yes
 
12076
 
 
12077
  case $host_os in
 
12078
  aix*)
 
12079
        CPPFLAGS="-DAJ_AIX64 $CPPFLAGS"
 
12080
        case $CC in
 
12081
          gcc)
 
12082
            ;;
 
12083
          *)
 
12084
            CC="$CC -q64"
 
12085
            ;;
 
12086
        esac
 
12087
        NM="nm -B -X 64"
 
12088
        AR="ar -X 64"
 
12089
        ;;
 
12090
 
 
12091
  hpux*)
 
12092
        case $CC in
 
12093
          gcc)
 
12094
            ;;
 
12095
          *)
 
12096
            CC="$CC +DD64"
 
12097
            ;;
 
12098
        esac
 
12099
 
 
12100
$as_echo "#define HPUX64PTRS 1" >>confdefs.h
 
12101
 
 
12102
        ;;
 
12103
  *)
 
12104
        ;;
 
12105
  esac
 
12106
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 
12107
$as_echo "done" >&6; }
 
12108
 
 
12109
fi
 
12110
 
 
12111
 
 
12112
 
 
12113
 
 
12114
 
 
12115
 
 
12116
 
 
12117
 
 
12118
 
 
12119
# Check whether --with-optimisation was given.
 
12120
if test "${with_optimisation+set}" = set; then :
 
12121
  withval=$with_optimisation;
 
12122
fi
 
12123
 
 
12124
 
 
12125
if test "x$with_optimisation" != "xno"; then :
 
12126
 
 
12127
 
 
12128
case $CC in
 
12129
 
 
12130
gcc)
 
12131
                        case $host_os in
 
12132
        darwin*)
 
12133
                if test "$host_cpu" = "i386"; then
 
12134
                   CFLAGS="$CFLAGS -O1"
 
12135
                else
 
12136
                   CFLAGS="$CFLAGS -O2"
 
12137
                fi
 
12138
                ;;
 
12139
 
 
12140
        *)
 
12141
                CFLAGS="$CFLAGS -O2"
 
12142
                ;;
 
12143
        esac
 
12144
        ;;
 
12145
 
 
12146
*)
 
12147
        case $host_os in
 
12148
 
 
12149
        aix*)
 
12150
                CFLAGS="$CFLAGS -O3 -qstrict -qarch=auto -qtune=auto"
 
12151
                ;;
 
12152
 
 
12153
        irix*)
 
12154
                LD="/usr/bin/ld -IPA"
 
12155
                CFLAGS="$CFLAGS -O3"
 
12156
                ;;
 
12157
 
 
12158
        hpux*)
 
12159
                CFLAGS="$CFLAGS -fast"
 
12160
                ;;
 
12161
 
 
12162
        osf*)
 
12163
                CFLAGS="$CFLAGS -fast -U_FASTMATH"
 
12164
                ;;
 
12165
 
 
12166
        solaris*)
 
12167
                CFLAGS="$CFLAGS -O"
 
12168
 
 
12169
 
 
12170
                if test "${enable_64}" = "yes" ; then
 
12171
                   CFLAGS="$CFLAGS -xtarget=ultra -xarch=v9"
 
12172
                fi
 
12173
                ;;
 
12174
 
 
12175
        linux*)
 
12176
                        CFLAGS="$CFLAGS -O2"
 
12177
                ;;
 
12178
 
 
12179
 
 
12180
        freebsd*)
 
12181
                CFLAGS="$CFLAGS -O2"
 
12182
                ;;
 
12183
 
 
12184
        esac
 
12185
esac
 
12186
 
 
12187
fi
 
12188
 
 
12189
 
 
12190
 
 
12191
 
 
12192
# Check whether --enable-warnings was given.
 
12193
if test "${enable_warnings+set}" = set; then :
 
12194
  enableval=$enable_warnings;
 
12195
fi
 
12196
 
 
12197
if test "${enable_warnings}" = "yes" ; then
 
12198
  case $CC in
 
12199
    gcc)
 
12200
        CFLAGS="$CFLAGS -Wall -fno-strict-aliasing"
 
12201
        ;;
 
12202
  esac
 
12203
fi
 
12204
 
 
12205
 
 
12206
 
 
12207
 
 
12208
# Check whether --enable-devwarnings was given.
 
12209
if test "${enable_devwarnings+set}" = set; then :
 
12210
  enableval=$enable_devwarnings;
 
12211
fi
 
12212
 
 
12213
if test "${enable_devwarnings}" = "yes" ; then
 
12214
  case $CC in
 
12215
    gcc)
 
12216
        CFLAGS="$CFLAGS -Wstrict-prototypes -Wmissing-prototypes"
 
12217
        ;;
 
12218
  esac
 
12219
fi
 
12220
 
 
12221
 
 
12222
 
 
12223
 
 
12224
 
 
12225
case $host_os in
 
12226
irix*)
 
12227
        case $CC in
 
12228
        gcc)
 
12229
            ;;
 
12230
        cc)
 
12231
            #
11439
12232
# Handle SGI compiler flags
11440
12233
#
11441
12234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sgiabi" >&5
11447
12240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11448
12241
$as_echo "yes" >&6; }
11449
12242
 
11450
 
  if test "`uname`" = "IRIX64" || test "`uname`" = "IRIX" ; then
11451
 
 
 
12243
  case $host_os in
 
12244
  irix*)
11452
12245
    if test "$withval" = n32m3 ; then
11453
12246
      CFLAGS="-n32 -mips3 $CFLAGS"
11454
12247
      LD="/usr/bin/ld -n32 -mips3 -IPA -L/usr/lib32"
11480
12273
          LDFLAGS="-L/usr/freeware/lib64 $LDFLAGS"
11481
12274
        fi
11482
12275
    fi
11483
 
 
11484
 
  fi
 
12276
    ;;
 
12277
  esac
11485
12278
 
11486
12279
 
11487
12280
fi
11494
12287
 
11495
12288
 
11496
12289
 
11497
 
fi
11498
 
fi
11499
 
 
11500
 
 
11501
 
if test "${enable_64+set}" != set; then
11502
 
enable_64=no
11503
 
fi
11504
 
 
11505
 
 
11506
 
# Check whether --enable-64 was given.
11507
 
if test "${enable_64+set}" = set; then :
11508
 
  enableval=$enable_64;
11509
 
fi
11510
 
 
11511
 
if test "${enable_64}" = "yes" ; then
11512
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64bit compilation support" >&5
11513
 
$as_echo_n "checking for 64bit compilation support... " >&6; }
11514
 
 
11515
 
if test "`uname`" = "Linux"; then
11516
 
CPPFLAGS="-DAJ_Linux64 $CPPFLAGS"
11517
 
fi
11518
 
 
11519
 
if test "`uname`" = "FreeBSD"; then
11520
 
CPPFLAGS="-DAJ_FreeBSD64 $CPPFLAGS"
11521
 
fi
11522
 
 
11523
 
 
11524
 
 
11525
 
if test "`uname`" = "OSF1"; then
11526
 
CPPFLAGS="-DAJ_OSF164 $CPPFLAGS"
11527
 
fi
11528
 
 
11529
 
if test "`uname`" = "IRIX" || test "`uname`" = "IRIX64"; then
11530
 
CPPFLAGS="-DAJ_IRIX64 $CPPFLAGS"
11531
 
fi
11532
 
 
11533
 
if test "`uname`" = "AIX"; then
11534
 
CPPFLAGS="-DAJ_AIX64 $CPPFLAGS"
11535
 
if test "$CC" != "gcc"; then
11536
 
CC="$CC -q64"
11537
 
fi
11538
 
NM="nm -B -X 64"
11539
 
AR="ar -X 64"
11540
 
fi
11541
 
 
11542
 
if test "`uname`" = "HP-UX"; then
11543
 
if test "$CC" != "gcc"; then
11544
 
CC="$CC +DD64"
11545
 
fi
11546
 
CPPFLAGS="-DAJ_HPUX64 $CPPFLAGS"
11547
 
fi
11548
 
 
11549
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
11550
 
$as_echo "done" >&6; }
11551
 
fi
11552
 
 
11553
 
 
11554
 
 
11555
 
 
11556
 
 
11557
 
 
11558
 
 
11559
 
if test "$CC" != "gcc"; then
11560
 
 
11561
 
if test "`uname`" = "AIX"; then
11562
 
CFLAGS="$CFLAGS -O3 -qstrict -qarch=auto -qtune=auto"
11563
 
fi
11564
 
 
11565
 
if test "`uname`" = "IRIX" || test "`uname`" = "IRIX64" ; then
11566
 
LD="/usr/bin/ld -IPA"
11567
 
CFLAGS="$CFLAGS -Ofast"
11568
 
fi
11569
 
 
11570
 
if test "`uname`" = "HP-UX"; then
11571
 
CFLAGS="$CFLAGS -fast"
11572
 
fi
11573
 
 
11574
 
if test "`uname`" = "OSF1"; then
11575
 
CFLAGS="$CFLAGS -fast -U_FASTMATH"
11576
 
fi
11577
 
 
11578
 
if test "`uname`" = "SunOS"; then
11579
 
CFLAGS="$CFLAGS -O"
11580
 
if test "${enable_64}" = "yes" ; then
11581
 
CFLAGS="$CFLAGS -xtarget=ultra -xarch=v9"
11582
 
fi
11583
 
fi
11584
 
 
11585
 
if test "`uname`" = "Linux"; then
11586
 
CFLAGS="$CFLAGS -O2"
11587
 
fi
11588
 
 
11589
 
if test "`uname`" = "FreeBSD"; then
11590
 
CFLAGS="$CFLAGS -O2"
11591
 
fi
11592
 
 
11593
 
else
11594
 
CFLAGS="$CFLAGS -O2"
11595
 
fi
11596
 
 
11597
 
 
11598
 
 
11599
 
 
11600
 
 
 
12290
            ;;
 
12291
        esac
 
12292
        ;;
 
12293
esac
11601
12294
 
11602
12295
 
11603
12296
 
11604
12297
 
11605
12298
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
11606
12299
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
11607
 
if test "${ac_cv_c_bigendian+set}" = set; then :
 
12300
if ${ac_cv_c_bigendian+:} false; then :
11608
12301
  $as_echo_n "(cached) " >&6
11609
12302
else
11610
12303
  ac_cv_c_bigendian=unknown
11812
12505
$as_echo "$ac_cv_c_bigendian" >&6; }
11813
12506
 case $ac_cv_c_bigendian in #(
11814
12507
   yes)
11815
 
     CPPFLAGS="$CPPFLAGS -DBENDIAN";; #(
 
12508
     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
 
12509
;; #(
11816
12510
   no)
11817
 
     CPPFLAGS="$CPPFLAGS -DLENDIAN" ;; #(
 
12511
      ;; #(
11818
12512
   universal)
11819
12513
 
11820
12514
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
11821
12515
 
11822
12516
     ;; #(
11823
12517
   *)
11824
 
     as_fn_error "unknown endianness
 
12518
     as_fn_error $? "unknown endianness
11825
12519
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
11826
12520
 esac
11827
12521
 
11842
12536
 
11843
12537
 
11844
12538
 
11845
 
AJAX_FIXED_ROOT="\\\"`pwd`/emboss\\\""
11846
 
 
11847
 
EMBOSS_TOP=`pwd`
11848
 
 
11849
 
 
11850
12539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
11851
12540
$as_echo_n "checking whether ln -s works... " >&6; }
11852
12541
LN_S=$as_ln_s
11862
12551
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
11863
12552
set x ${MAKE-make}
11864
12553
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
11865
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
12554
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
11866
12555
  $as_echo_n "(cached) " >&6
11867
12556
else
11868
12557
  cat >conftest.make <<\_ACEOF
11870
12559
all:
11871
12560
        @echo '@@@%%%=$(MAKE)=@@@%%%'
11872
12561
_ACEOF
11873
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
12562
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11874
12563
case `${MAKE-make} -f conftest.make 2>/dev/null` in
11875
12564
  *@@@%%%=?*=@@@%%%*)
11876
12565
    eval ac_cv_prog_make_${ac_make}_set=yes;;
11891
12580
 
11892
12581
 
11893
12582
if test "${with_x}" != "no" ; then
11894
 
if test "`uname -a | grep Darwin`"; then
11895
 
OSXX=`sw_vers -productVersion | sed 's/\(10\.[0-9]*\).*/\1/'`
11896
 
if test ${OSXX} '>' '10.4'; then
11897
 
CFLAGS="$CFLAGS -I/usr/X11/include -L/usr/X11/lib"
11898
 
fi
11899
 
fi
11900
 
fi
 
12583
case $host_os in
 
12584
darwin*)
 
12585
        OSXX=`sw_vers -productVersion | sed 's/\(10\.[0-9]*\).*/\1/'`
 
12586
        if test ${OSXX} '>' '10.4'; then
 
12587
           CFLAGS="$CFLAGS -I/usr/X11/include -L/usr/X11/lib"
 
12588
        fi
 
12589
        ;;
 
12590
esac
 
12591
fi
 
12592
 
11901
12593
 
11902
12594
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
11903
12595
$as_echo_n "checking for X... " >&6; }
11914
12606
  have_x=disabled
11915
12607
else
11916
12608
  case $x_includes,$x_libraries in #(
11917
 
    *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
11918
 
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
 
12609
    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
 
12610
    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
11919
12611
  $as_echo_n "(cached) " >&6
11920
12612
else
11921
12613
  # One or both of the vars are not set, and there is no cached value.
11932
12624
        @echo libdir='${LIBDIR}'
11933
12625
_ACEOF
11934
12626
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
11935
 
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
12627
    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11936
12628
    for ac_var in incroot usrlibdir libdir; do
11937
12629
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11938
12630
    done
12018
12710
  fi
12019
12711
done
12020
12712
fi
12021
 
rm -f conftest.err conftest.$ac_ext
 
12713
rm -f conftest.err conftest.i conftest.$ac_ext
12022
12714
fi # $ac_x_includes = no
12023
12715
 
12024
12716
if test "$ac_x_libraries" = no; then
12192
12884
else
12193
12885
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
12194
12886
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
12195
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 
12887
if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
12196
12888
  $as_echo_n "(cached) " >&6
12197
12889
else
12198
12890
  ac_check_lib_save_LIBS=$LIBS
12226
12918
fi
12227
12919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
12228
12920
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
12229
 
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
 
12921
if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
12230
12922
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
12231
12923
fi
12232
12924
 
12233
12925
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
12234
12926
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
12235
12927
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
12236
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 
12928
if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
12237
12929
  $as_echo_n "(cached) " >&6
12238
12930
else
12239
12931
  ac_check_lib_save_LIBS=$LIBS
12267
12959
fi
12268
12960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
12269
12961
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
12270
 
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
 
12962
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
12271
12963
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
12272
12964
fi
12273
12965
 
12286
12978
    # The functions gethostbyname, getservbyname, and inet_addr are
12287
12979
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
12288
12980
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12289
 
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 
12981
if test "x$ac_cv_func_gethostbyname" = xyes; then :
12290
12982
 
12291
12983
fi
12292
12984
 
12293
12985
    if test $ac_cv_func_gethostbyname = no; then
12294
12986
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
12295
12987
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12296
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 
12988
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
12297
12989
  $as_echo_n "(cached) " >&6
12298
12990
else
12299
12991
  ac_check_lib_save_LIBS=$LIBS
12327
13019
fi
12328
13020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
12329
13021
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12330
 
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
 
13022
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
12331
13023
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
12332
13024
fi
12333
13025
 
12334
13026
      if test $ac_cv_lib_nsl_gethostbyname = no; then
12335
13027
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
12336
13028
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
12337
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 
13029
if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
12338
13030
  $as_echo_n "(cached) " >&6
12339
13031
else
12340
13032
  ac_check_lib_save_LIBS=$LIBS
12368
13060
fi
12369
13061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
12370
13062
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
12371
 
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
 
13063
if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
12372
13064
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
12373
13065
fi
12374
13066
 
12383
13075
    # must be given before -lnsl if both are needed.  We assume that
12384
13076
    # if connect needs -lnsl, so does gethostbyname.
12385
13077
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
12386
 
if test "x$ac_cv_func_connect" = x""yes; then :
 
13078
if test "x$ac_cv_func_connect" = xyes; then :
12387
13079
 
12388
13080
fi
12389
13081
 
12390
13082
    if test $ac_cv_func_connect = no; then
12391
13083
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
12392
13084
$as_echo_n "checking for connect in -lsocket... " >&6; }
12393
 
if test "${ac_cv_lib_socket_connect+set}" = set; then :
 
13085
if ${ac_cv_lib_socket_connect+:} false; then :
12394
13086
  $as_echo_n "(cached) " >&6
12395
13087
else
12396
13088
  ac_check_lib_save_LIBS=$LIBS
12424
13116
fi
12425
13117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
12426
13118
$as_echo "$ac_cv_lib_socket_connect" >&6; }
12427
 
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
 
13119
if test "x$ac_cv_lib_socket_connect" = xyes; then :
12428
13120
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
12429
13121
fi
12430
13122
 
12432
13124
 
12433
13125
    # Guillermo Gomez says -lposix is necessary on A/UX.
12434
13126
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
12435
 
if test "x$ac_cv_func_remove" = x""yes; then :
 
13127
if test "x$ac_cv_func_remove" = xyes; then :
12436
13128
 
12437
13129
fi
12438
13130
 
12439
13131
    if test $ac_cv_func_remove = no; then
12440
13132
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
12441
13133
$as_echo_n "checking for remove in -lposix... " >&6; }
12442
 
if test "${ac_cv_lib_posix_remove+set}" = set; then :
 
13134
if ${ac_cv_lib_posix_remove+:} false; then :
12443
13135
  $as_echo_n "(cached) " >&6
12444
13136
else
12445
13137
  ac_check_lib_save_LIBS=$LIBS
12473
13165
fi
12474
13166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
12475
13167
$as_echo "$ac_cv_lib_posix_remove" >&6; }
12476
 
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
 
13168
if test "x$ac_cv_lib_posix_remove" = xyes; then :
12477
13169
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12478
13170
fi
12479
13171
 
12481
13173
 
12482
13174
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12483
13175
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
12484
 
if test "x$ac_cv_func_shmat" = x""yes; then :
 
13176
if test "x$ac_cv_func_shmat" = xyes; then :
12485
13177
 
12486
13178
fi
12487
13179
 
12488
13180
    if test $ac_cv_func_shmat = no; then
12489
13181
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
12490
13182
$as_echo_n "checking for shmat in -lipc... " >&6; }
12491
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 
13183
if ${ac_cv_lib_ipc_shmat+:} false; then :
12492
13184
  $as_echo_n "(cached) " >&6
12493
13185
else
12494
13186
  ac_check_lib_save_LIBS=$LIBS
12522
13214
fi
12523
13215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
12524
13216
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
12525
 
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
 
13217
if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
12526
13218
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12527
13219
fi
12528
13220
 
12540
13232
  # John Interrante, Karl Berry
12541
13233
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
12542
13234
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
12543
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 
13235
if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
12544
13236
  $as_echo_n "(cached) " >&6
12545
13237
else
12546
13238
  ac_check_lib_save_LIBS=$LIBS
12574
13266
fi
12575
13267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12576
13268
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
12577
 
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
 
13269
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
12578
13270
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12579
13271
fi
12580
13272
 
12587
13279
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
12588
13280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
12589
13281
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12590
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
 
13282
if eval \${$as_ac_Header+:} false; then :
12591
13283
  $as_echo_n "(cached) " >&6
12592
13284
else
12593
13285
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12614
13306
eval ac_res=\$$as_ac_Header
12615
13307
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12616
13308
$as_echo "$ac_res" >&6; }
12617
 
eval as_val=\$$as_ac_Header
12618
 
   if test "x$as_val" = x""yes; then :
 
13309
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12619
13310
  cat >>confdefs.h <<_ACEOF
12620
13311
#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
12621
13312
_ACEOF
12628
13319
if test $ac_header_dirent = dirent.h; then
12629
13320
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12630
13321
$as_echo_n "checking for library containing opendir... " >&6; }
12631
 
if test "${ac_cv_search_opendir+set}" = set; then :
 
13322
if ${ac_cv_search_opendir+:} false; then :
12632
13323
  $as_echo_n "(cached) " >&6
12633
13324
else
12634
13325
  ac_func_search_save_LIBS=$LIBS
12662
13353
fi
12663
13354
rm -f core conftest.err conftest.$ac_objext \
12664
13355
    conftest$ac_exeext
12665
 
  if test "${ac_cv_search_opendir+set}" = set; then :
 
13356
  if ${ac_cv_search_opendir+:} false; then :
12666
13357
  break
12667
13358
fi
12668
13359
done
12669
 
if test "${ac_cv_search_opendir+set}" = set; then :
 
13360
if ${ac_cv_search_opendir+:} false; then :
12670
13361
 
12671
13362
else
12672
13363
  ac_cv_search_opendir=no
12685
13376
else
12686
13377
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12687
13378
$as_echo_n "checking for library containing opendir... " >&6; }
12688
 
if test "${ac_cv_search_opendir+set}" = set; then :
 
13379
if ${ac_cv_search_opendir+:} false; then :
12689
13380
  $as_echo_n "(cached) " >&6
12690
13381
else
12691
13382
  ac_func_search_save_LIBS=$LIBS
12719
13410
fi
12720
13411
rm -f core conftest.err conftest.$ac_objext \
12721
13412
    conftest$ac_exeext
12722
 
  if test "${ac_cv_search_opendir+set}" = set; then :
 
13413
  if ${ac_cv_search_opendir+:} false; then :
12723
13414
  break
12724
13415
fi
12725
13416
done
12726
 
if test "${ac_cv_search_opendir+set}" = set; then :
 
13417
if ${ac_cv_search_opendir+:} false; then :
12727
13418
 
12728
13419
else
12729
13420
  ac_cv_search_opendir=no
12743
13434
 
12744
13435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12745
13436
$as_echo_n "checking for ANSI C header files... " >&6; }
12746
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
13437
if ${ac_cv_header_stdc+:} false; then :
12747
13438
  $as_echo_n "(cached) " >&6
12748
13439
else
12749
13440
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12857
13548
for ac_header in unistd.h
12858
13549
do :
12859
13550
  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12860
 
if test "x$ac_cv_header_unistd_h" = x""yes; then :
 
13551
if test "x$ac_cv_header_unistd_h" = xyes; then :
12861
13552
  cat >>confdefs.h <<_ACEOF
12862
13553
#define HAVE_UNISTD_H 1
12863
13554
_ACEOF
12869
13560
 
12870
13561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12871
13562
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12872
 
if test "${ac_cv_c_const+set}" = set; then :
 
13563
if ${ac_cv_c_const+:} false; then :
12873
13564
  $as_echo_n "(cached) " >&6
12874
13565
else
12875
13566
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948
13639
fi
12949
13640
 
12950
13641
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12951
 
if test "x$ac_cv_type_pid_t" = x""yes; then :
 
13642
if test "x$ac_cv_type_pid_t" = xyes; then :
12952
13643
 
12953
13644
else
12954
13645
 
12959
13650
fi
12960
13651
 
12961
13652
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12962
 
if test "x$ac_cv_type_size_t" = x""yes; then :
 
13653
if test "x$ac_cv_type_size_t" = xyes; then :
12963
13654
 
12964
13655
else
12965
13656
 
12971
13662
 
12972
13663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12973
13664
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12974
 
if test "${ac_cv_struct_tm+set}" = set; then :
 
13665
if ${ac_cv_struct_tm+:} false; then :
12975
13666
  $as_echo_n "(cached) " >&6
12976
13667
else
12977
13668
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13007
13698
 
13008
13699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
13009
13700
$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
13010
 
if test "${ac_cv_func_getpgrp_void+set}" = set; then :
 
13701
if ${ac_cv_func_getpgrp_void+:} false; then :
13011
13702
  $as_echo_n "(cached) " >&6
13012
13703
else
13013
13704
  # Use it with a single arg.
13041
13732
for ac_func in strftime
13042
13733
do :
13043
13734
  ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
13044
 
if test "x$ac_cv_func_strftime" = x""yes; then :
 
13735
if test "x$ac_cv_func_strftime" = xyes; then :
13045
13736
  cat >>confdefs.h <<_ACEOF
13046
13737
#define HAVE_STRFTIME 1
13047
13738
_ACEOF
13050
13741
  # strftime is in -lintl on SCO UNIX.
13051
13742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
13052
13743
$as_echo_n "checking for strftime in -lintl... " >&6; }
13053
 
if test "${ac_cv_lib_intl_strftime+set}" = set; then :
 
13744
if ${ac_cv_lib_intl_strftime+:} false; then :
13054
13745
  $as_echo_n "(cached) " >&6
13055
13746
else
13056
13747
  ac_check_lib_save_LIBS=$LIBS
13084
13775
fi
13085
13776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
13086
13777
$as_echo "$ac_cv_lib_intl_strftime" >&6; }
13087
 
if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
 
13778
if test "x$ac_cv_lib_intl_strftime" = xyes; then :
13088
13779
  $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
13089
13780
 
13090
13781
LIBS="-lintl $LIBS"
13096
13787
for ac_header in vfork.h
13097
13788
do :
13098
13789
  ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
13099
 
if test "x$ac_cv_header_vfork_h" = x""yes; then :
 
13790
if test "x$ac_cv_header_vfork_h" = xyes; then :
13100
13791
  cat >>confdefs.h <<_ACEOF
13101
13792
#define HAVE_VFORK_H 1
13102
13793
_ACEOF
13109
13800
do :
13110
13801
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13111
13802
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13112
 
eval as_val=\$$as_ac_var
13113
 
   if test "x$as_val" = x""yes; then :
 
13803
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13114
13804
  cat >>confdefs.h <<_ACEOF
13115
13805
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13116
13806
_ACEOF
13121
13811
if test "x$ac_cv_func_fork" = xyes; then
13122
13812
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
13123
13813
$as_echo_n "checking for working fork... " >&6; }
13124
 
if test "${ac_cv_func_fork_works+set}" = set; then :
 
13814
if ${ac_cv_func_fork_works+:} false; then :
13125
13815
  $as_echo_n "(cached) " >&6
13126
13816
else
13127
13817
  if test "$cross_compiling" = yes; then :
13174
13864
if test "x$ac_cv_func_vfork" = xyes; then
13175
13865
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
13176
13866
$as_echo_n "checking for working vfork... " >&6; }
13177
 
if test "${ac_cv_func_vfork_works+set}" = set; then :
 
13867
if ${ac_cv_func_vfork_works+:} false; then :
13178
13868
  $as_echo_n "(cached) " >&6
13179
13869
else
13180
13870
  if test "$cross_compiling" = yes; then :
13310
14000
for ac_func in vprintf
13311
14001
do :
13312
14002
  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
13313
 
if test "x$ac_cv_func_vprintf" = x""yes; then :
 
14003
if test "x$ac_cv_func_vprintf" = xyes; then :
13314
14004
  cat >>confdefs.h <<_ACEOF
13315
14005
#define HAVE_VPRINTF 1
13316
14006
_ACEOF
13317
14007
 
13318
14008
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
13319
 
if test "x$ac_cv_func__doprnt" = x""yes; then :
 
14009
if test "x$ac_cv_func__doprnt" = xyes; then :
13320
14010
 
13321
14011
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
13322
14012
 
13331
14021
do :
13332
14022
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13333
14023
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13334
 
eval as_val=\$$as_ac_var
13335
 
   if test "x$as_val" = x""yes; then :
 
14024
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13336
14025
  cat >>confdefs.h <<_ACEOF
13337
14026
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13338
14027
_ACEOF
13344
14033
if test "${with_x}" != "no" ; then
13345
14034
 
13346
14035
  CFLAGS="$CFLAGS $X_CFLAGS"
13347
 
if test "`uname`" != "IRIX64" && test "`uname`" != "IRIX" ; then
13348
 
  XLIB="$X_LIBS -lX11 $X_EXTRA_LIBS"
13349
 
else
13350
 
  XLIB="-lX11 $X_EXTRA_LIBS"
13351
 
fi
 
14036
 
 
14037
case $host_os in
 
14038
irix*)
 
14039
    XLIB="-lX11 $X_EXTRA_LIBS"
 
14040
    ;;
 
14041
*)
 
14042
    XLIB="$X_LIBS -lX11 $X_EXTRA_LIBS"
 
14043
    ;;
 
14044
esac
 
14045
 
13352
14046
 
13353
14047
 
13354
14048
ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default"
13355
 
if test "x$ac_cv_header_X11_Xlib_h" = x""yes; then :
13356
 
 
13357
 
        $as_echo "#define PLD_xwin 1" >>confdefs.h
 
14049
if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
 
14050
 
 
14051
 
 
14052
$as_echo "#define PLD_xwin 1" >>confdefs.h
13358
14053
 
13359
14054
 
13360
14055
else
13388
14083
 
13389
14084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lc" >&5
13390
14085
$as_echo_n "checking for socket in -lc... " >&6; }
13391
 
if test "${ac_cv_lib_c_socket+set}" = set; then :
 
14086
if ${ac_cv_lib_c_socket+:} false; then :
13392
14087
  $as_echo_n "(cached) " >&6
13393
14088
else
13394
14089
  ac_check_lib_save_LIBS=$LIBS
13422
14117
fi
13423
14118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_socket" >&5
13424
14119
$as_echo "$ac_cv_lib_c_socket" >&6; }
13425
 
if test "x$ac_cv_lib_c_socket" = x""yes; then :
 
14120
if test "x$ac_cv_lib_c_socket" = xyes; then :
13426
14121
  LIBS="$LIBS"
13427
14122
else
13428
14123
  LIBS="$LIBS -lsocket"
13430
14125
 
13431
14126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
13432
14127
$as_echo_n "checking for main in -lm... " >&6; }
13433
 
if test "${ac_cv_lib_m_main+set}" = set; then :
 
14128
if ${ac_cv_lib_m_main+:} false; then :
13434
14129
  $as_echo_n "(cached) " >&6
13435
14130
else
13436
14131
  ac_check_lib_save_LIBS=$LIBS
13458
14153
fi
13459
14154
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
13460
14155
$as_echo "$ac_cv_lib_m_main" >&6; }
13461
 
if test "x$ac_cv_lib_m_main" = x""yes; then :
 
14156
if test "x$ac_cv_lib_m_main" = xyes; then :
13462
14157
  cat >>confdefs.h <<_ACEOF
13463
14158
#define HAVE_LIBM 1
13464
14159
_ACEOF
13468
14163
fi
13469
14164
 
13470
14165
 
13471
 
if test "`uname`" = "FreeBSD"; then
13472
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -liconv" >&5
 
14166
case $host_os in
 
14167
freebsd*)
 
14168
        if test ${with_pngdriver} != "no"; then
 
14169
           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -liconv" >&5
13473
14170
$as_echo_n "checking for main in -liconv... " >&6; }
13474
 
if test "${ac_cv_lib_iconv_main+set}" = set; then :
 
14171
if ${ac_cv_lib_iconv_main+:} false; then :
13475
14172
  $as_echo_n "(cached) " >&6
13476
14173
else
13477
14174
  ac_check_lib_save_LIBS=$LIBS
13499
14196
fi
13500
14197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_main" >&5
13501
14198
$as_echo "$ac_cv_lib_iconv_main" >&6; }
13502
 
if test "x$ac_cv_lib_iconv_main" = x""yes; then :
 
14199
if test "x$ac_cv_lib_iconv_main" = xyes; then :
13503
14200
  LIBS="$LIBS"
13504
14201
else
13505
14202
  LIBS="-liconv $LIBS"
13506
14203
fi
13507
14204
 
13508
 
fi
 
14205
        fi
 
14206
        ;;
 
14207
esac
13509
14208
 
13510
14209
 if false; then
13511
14210
  AMPNG_TRUE=
13595
14294
set dummy javac; ac_word=$2
13596
14295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13597
14296
$as_echo_n "checking for $ac_word... " >&6; }
13598
 
if test "${ac_cv_prog_havejavac+set}" = set; then :
 
14297
if ${ac_cv_prog_havejavac+:} false; then :
13599
14298
  $as_echo_n "(cached) " >&6
13600
14299
else
13601
14300
  if test -n "$havejavac"; then
13633
14332
  echo "Error: Either JAVA not installed or 'javac' not in your PATH"
13634
14333
  exit 1
13635
14334
  fi
 
14335
  if test -f /etc/debian_release || test -f /etc/debian_version ; then
 
14336
     CFLAGS="$CFLAGS -DDEBIAN"
 
14337
  fi
13636
14338
  JAVA_OK=yes
13637
14339
 
13638
14340
else
13654
14356
 
13655
14357
if test -n "${JALT_HOME}"
13656
14358
then
13657
 
        CPPFLAGS="$CPPFLAGS -I${JALT_HOME}"
 
14359
        CFLAGS="$CFLAGS -I${JALT_HOME}"
13658
14360
fi
13659
14361
 
13660
14362
 
13694
14396
 
13695
14397
if test -n "${ALT_HOMEOS}"
13696
14398
then
13697
 
        CPPFLAGS="$CPPFLAGS -I${ALT_HOMEOS}"
 
14399
        CFLAGS="$CFLAGS -I${ALT_HOMEOS}"
13698
14400
fi
13699
14401
 
13700
14402
 
13708
14410
# Check whether --with-hpdf was given.
13709
14411
if test "${with_hpdf+set}" = set; then :
13710
14412
  withval=$with_hpdf; if test "$withval" != no ; then
13711
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14413
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13712
14414
$as_echo "yes" >&6; }
13713
 
  ALT_HOME="$withval"
13714
 
else
13715
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14415
      ALT_HOME="$withval"
 
14416
    else
 
14417
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13716
14418
$as_echo "no" >&6; }
13717
 
fi
 
14419
    fi
13718
14420
else
13719
14421
 
13720
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14422
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13721
14423
$as_echo "yes" >&6; }
13722
 
ALT_HOME=/usr
 
14424
    ALT_HOME=/usr
13723
14425
 
13724
14426
fi
13725
14427
 
13748
14450
#
13749
14451
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HPDF_New in -lhpdf" >&5
13750
14452
$as_echo_n "checking for HPDF_New in -lhpdf... " >&6; }
13751
 
if test "${ac_cv_lib_hpdf_HPDF_New+set}" = set; then :
 
14453
if ${ac_cv_lib_hpdf_HPDF_New+:} false; then :
13752
14454
  $as_echo_n "(cached) " >&6
13753
14455
else
13754
14456
  ac_check_lib_save_LIBS=$LIBS
13782
14484
fi
13783
14485
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hpdf_HPDF_New" >&5
13784
14486
$as_echo "$ac_cv_lib_hpdf_HPDF_New" >&6; }
13785
 
if test "x$ac_cv_lib_hpdf_HPDF_New" = x""yes; then :
 
14487
if test "x$ac_cv_lib_hpdf_HPDF_New" = xyes; then :
13786
14488
  CHECK=1
13787
14489
else
13788
14490
  CHECK=0
13795
14497
        if test $CHECK = "1" ; then
13796
14498
          LIBS="$LIBS -lhpdf"
13797
14499
 
13798
 
          if test "`uname`" = "SunOS"; then
13799
 
            LDFLAGS="$LDFLAGS -R$ALT_HOME/lib"
13800
 
          fi
13801
 
 
13802
 
          $as_echo "#define PLD_pdf 1" >>confdefs.h
 
14500
          case $host_os in
 
14501
          solaris*)
 
14502
                LDFLAGS="$LDFLAGS -R$ALT_HOME/lib"
 
14503
                ;;
 
14504
          esac
 
14505
 
 
14506
 
 
14507
$as_echo "#define PLD_pdf 1" >>confdefs.h
13803
14508
 
13804
14509
           if true; then
13805
14510
  AMPDF_TRUE=
13883
14588
        CPPFLAGS="$CPPFLAGS -I$ALT_HOME/include"
13884
14589
 
13885
14590
          ICCHECK=0
13886
 
          if test "`uname`" = "SunOS"; then
 
14591
          case $host_os in
 
14592
          solaris*)
13887
14593
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv_close in -liconv" >&5
13888
14594
$as_echo_n "checking for libiconv_close in -liconv... " >&6; }
13889
 
if test "${ac_cv_lib_iconv_libiconv_close+set}" = set; then :
 
14595
if ${ac_cv_lib_iconv_libiconv_close+:} false; then :
13890
14596
  $as_echo_n "(cached) " >&6
13891
14597
else
13892
14598
  ac_check_lib_save_LIBS=$LIBS
13920
14626
fi
13921
14627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libiconv_close" >&5
13922
14628
$as_echo "$ac_cv_lib_iconv_libiconv_close" >&6; }
13923
 
if test "x$ac_cv_lib_iconv_libiconv_close" = x""yes; then :
 
14629
if test "x$ac_cv_lib_iconv_libiconv_close" = xyes; then :
13924
14630
  ICCHECK=1
13925
14631
else
13926
14632
  ICCHECK=0
13927
14633
fi
13928
14634
 
13929
 
        if test $ICCHECK = "1" ; then
13930
 
                LDFLAGS="${LDFLAGS} -L${ALT_HOME}/lib -liconv"
13931
 
        fi
13932
 
            LDFLAGS="$LDFLAGS -R$ALT_HOME/lib"
13933
 
          fi
 
14635
                   if test $ICCHECK = "1" ; then
 
14636
                       LDFLAGS="${LDFLAGS} -L${ALT_HOME}/lib -liconv"
 
14637
                   fi
 
14638
                LDFLAGS="$LDFLAGS -R$ALT_HOME/lib"
 
14639
                ;;
 
14640
          esac
13934
14641
 
13935
14642
 
13936
14643
 
13941
14648
#
13942
14649
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5
13943
14650
$as_echo_n "checking for inflateEnd in -lz... " >&6; }
13944
 
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then :
 
14651
if ${ac_cv_lib_z_inflateEnd+:} false; then :
13945
14652
  $as_echo_n "(cached) " >&6
13946
14653
else
13947
14654
  ac_check_lib_save_LIBS=$LIBS
13975
14682
fi
13976
14683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5
13977
14684
$as_echo "$ac_cv_lib_z_inflateEnd" >&6; }
13978
 
if test "x$ac_cv_lib_z_inflateEnd" = x""yes; then :
 
14685
if test "x$ac_cv_lib_z_inflateEnd" = xyes; then :
13979
14686
  CHECK=1
13980
14687
else
13981
14688
  CHECK=0
13989
14696
        if test $CHECK = "1" ; then
13990
14697
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_destroy_read_struct in -lpng" >&5
13991
14698
$as_echo_n "checking for png_destroy_read_struct in -lpng... " >&6; }
13992
 
if test "${ac_cv_lib_png_png_destroy_read_struct+set}" = set; then :
 
14699
if ${ac_cv_lib_png_png_destroy_read_struct+:} false; then :
13993
14700
  $as_echo_n "(cached) " >&6
13994
14701
else
13995
14702
  ac_check_lib_save_LIBS=$LIBS
14023
14730
fi
14024
14731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_destroy_read_struct" >&5
14025
14732
$as_echo "$ac_cv_lib_png_png_destroy_read_struct" >&6; }
14026
 
if test "x$ac_cv_lib_png_png_destroy_read_struct" = x""yes; then :
 
14733
if test "x$ac_cv_lib_png_png_destroy_read_struct" = xyes; then :
14027
14734
  CHECK=1
14028
14735
else
14029
14736
  CHECK=0
14040
14747
        if test $CHECK = "1"; then
14041
14748
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdImageCreateFromPng in -lgd" >&5
14042
14749
$as_echo_n "checking for gdImageCreateFromPng in -lgd... " >&6; }
14043
 
if test "${ac_cv_lib_gd_gdImageCreateFromPng+set}" = set; then :
 
14750
if ${ac_cv_lib_gd_gdImageCreateFromPng+:} false; then :
14044
14751
  $as_echo_n "(cached) " >&6
14045
14752
else
14046
14753
  ac_check_lib_save_LIBS=$LIBS
14074
14781
fi
14075
14782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdImageCreateFromPng" >&5
14076
14783
$as_echo "$ac_cv_lib_gd_gdImageCreateFromPng" >&6; }
14077
 
if test "x$ac_cv_lib_gd_gdImageCreateFromPng" = x""yes; then :
 
14784
if test "x$ac_cv_lib_gd_gdImageCreateFromPng" = xyes; then :
14078
14785
  CHECK=1
14079
14786
else
14080
14787
  CHECK=0
14094
14801
                  LIBS="$LIBS -liconv"
14095
14802
          fi
14096
14803
 
14097
 
          if test "`uname`" = "SunOS"; then
14098
 
            LDFLAGS="$LDFLAGS -R$ALT_HOME/lib"
14099
 
          fi
14100
 
 
14101
 
          $as_echo "#define PLD_png 1" >>confdefs.h
 
14804
          case $host_os in
 
14805
          solaris*)
 
14806
              LDFLAGS="$LDFLAGS -R$ALT_HOME/lib"
 
14807
              ;;
 
14808
          esac
 
14809
 
 
14810
 
 
14811
$as_echo "#define PLD_png 1" >>confdefs.h
14102
14812
 
14103
14813
           if true; then
14104
14814
  AMPNG_TRUE=
14181
14891
          if test "$withval" = "hpuxshadow" ; then
14182
14892
                ALT_AUTHTYPE="-DHPUX_SHADOW"
14183
14893
          fi
14184
 
if test "`uname`" != "IRIX64" && test "`uname`" != "IRIX" ; then
14185
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
 
14894
 
 
14895
case $host_os in
 
14896
irix*)
 
14897
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
14186
14898
$as_echo_n "checking for main in -lcrypt... " >&6; }
14187
 
if test "${ac_cv_lib_crypt_main+set}" = set; then :
 
14899
if ${ac_cv_lib_crypt_main+:} false; then :
14188
14900
  $as_echo_n "(cached) " >&6
14189
14901
else
14190
14902
  ac_check_lib_save_LIBS=$LIBS
14212
14924
fi
14213
14925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
14214
14926
$as_echo "$ac_cv_lib_crypt_main" >&6; }
14215
 
if test "x$ac_cv_lib_crypt_main" = x""yes; then :
 
14927
if test "x$ac_cv_lib_crypt_main" = xyes; then :
14216
14928
  LDFLAGS="$LDFLAGS -lcrypt"
14217
14929
else
14218
14930
  LDFLAGS="$LDFLAGS"
14219
14931
fi
14220
14932
 
14221
 
fi
 
14933
        ;;
 
14934
esac
 
14935
 
14222
14936
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpam" >&5
14223
14937
$as_echo_n "checking for main in -lpam... " >&6; }
14224
 
if test "${ac_cv_lib_pam_main+set}" = set; then :
 
14938
if ${ac_cv_lib_pam_main+:} false; then :
14225
14939
  $as_echo_n "(cached) " >&6
14226
14940
else
14227
14941
  ac_check_lib_save_LIBS=$LIBS
14249
14963
fi
14250
14964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_main" >&5
14251
14965
$as_echo "$ac_cv_lib_pam_main" >&6; }
14252
 
if test "x$ac_cv_lib_pam_main" = x""yes; then :
 
14966
if test "x$ac_cv_lib_pam_main" = xyes; then :
14253
14967
  LDFLAGS="$LDFLAGS -lpam"
14254
14968
else
14255
14969
  LDFLAGS="$LDFLAGS"
14263
14977
 
14264
14978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14265
14979
$as_echo "no" >&6; }
14266
 
#       if test "$JAVA_OK" = "yes" ; then
14267
 
#               echo "Error: --with-java=dir unspecified"
14268
 
#               exit 0
14269
 
#       fi
 
14980
 
14270
14981
 
14271
14982
fi
14272
14983
 
14273
14984
 
14274
14985
if test -n "${ALT_AUTHTYPE}"
14275
14986
then
14276
 
        CPPFLAGS="$CPPFLAGS ${ALT_AUTHTYPE}"
 
14987
        CFLAGS="$CFLAGS ${ALT_AUTHTYPE}"
14277
14988
else
14278
 
        CPPFLAGS="$CPPFLAGS -DNO_AUTH"
 
14989
        CFLAGS="$CFLAGS -DNO_AUTH"
14279
14990
fi
14280
14991
 
14281
14992
 
14286
14997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if Linux x86_64" >&5
14287
14998
$as_echo_n "checking if Linux x86_64... " >&6; }
14288
14999
 
14289
 
 
14290
 
if test "`uname -a | grep Linux`"; then
14291
 
  if test "`uname -a | grep x86_64`"; then
14292
 
    CFLAGS="${CFLAGS} -D__amd64__"
14293
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15000
case $host_os in
 
15001
linux*)
 
15002
        if test "$host_cpu" = "x86_64"; then
 
15003
            CFLAGS="${CFLAGS} -D__amd64__"
 
15004
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14294
15005
$as_echo "yes" >&6; }
14295
 
  else
14296
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14297
 
$as_echo "no" >&6; }
14298
 
  fi
14299
 
else
14300
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14301
 
$as_echo "no" >&6; }
14302
 
fi
 
15006
        else
 
15007
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15008
$as_echo "no" >&6; }
 
15009
        fi
 
15010
        ;;
 
15011
*)
 
15012
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15013
$as_echo "no" >&6; }
 
15014
        ;;
 
15015
esac
14303
15016
 
14304
15017
 
14305
15018
 
14324
15037
 
14325
15038
 
14326
15039
    MYSQL_CFLAGS=""
 
15040
    MYSQL_CPPFLAGS=""
14327
15041
    MYSQL_LDFLAGS=""
14328
15042
    MYSQL_VERSION=""
14329
15043
 
14335
15049
set dummy mysql_config; ac_word=$2
14336
15050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14337
15051
$as_echo_n "checking for $ac_word... " >&6; }
14338
 
if test "${ac_cv_path_MYSQL_CONFIG+set}" = set; then :
 
15052
if ${ac_cv_path_MYSQL_CONFIG+:} false; then :
14339
15053
  $as_echo_n "(cached) " >&6
14340
15054
else
14341
15055
  case $MYSQL_CONFIG in
14378
15092
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MySQL libraries" >&5
14379
15093
$as_echo_n "checking for MySQL libraries... " >&6; }
14380
15094
 
14381
 
            MYSQL_CFLAGS="`$MYSQL_CONFIG --include`"
 
15095
            MYSQL_CFLAGS="`$MYSQL_CONFIG --cflags`"
 
15096
            MYSQL_CPPFLAGS="`$MYSQL_CONFIG --include`"
14382
15097
            MYSQL_LDFLAGS="`$MYSQL_CONFIG --libs`"
14383
15098
 
14384
15099
            MYSQL_VERSION=`$MYSQL_CONFIG --version`
14385
15100
 
14386
15101
 
14387
 
            EMBCFLAGS=$CFLAGS
 
15102
            EMBCPPFLAGS=$CPPFLAGS
14388
15103
            EMBLDFLAGS=$LDFLAGS
14389
 
            CFLAGS="$MYSQL_CFLAGS $EMBCFLAGS"
 
15104
 
 
15105
            CPPFLAGS="$MYSQL_CPPFLAGS $EMBCPPFLAGS"
14390
15106
            LDFLAGS="$MYSQL_LDFLAGS $EMBLDFLAGS"
14391
15107
 
14392
15108
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409
15125
rm -f core conftest.err conftest.$ac_objext \
14410
15126
    conftest$ac_exeext conftest.$ac_ext
14411
15127
 
14412
 
            CFLAGS=$EMBCFLAGS
 
15128
            CPPFLAGS=$EMBCPPFLAGS
14413
15129
            LDFLAGS=$EMBLDFLAGS
14414
15130
 
14415
15131
            if test "$havemysql" = yes; then
14421
15137
$as_echo "yes" >&6; }
14422
15138
            else
14423
15139
                MYSQL_CFLAGS=""
 
15140
                MYSQL_CPPFLAGS=""
14424
15141
                MYSQL_LDFLAGS=""
14425
15142
                found_mysql="no"
14426
15143
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14480
15197
 
14481
15198
 
14482
15199
 
 
15200
 
14483
15201
# Check whether --with-postgresql was given.
14484
15202
if test "${with_postgresql+set}" = set; then :
14485
15203
  withval=$with_postgresql;
14499
15217
 
14500
15218
 
14501
15219
    POSTGRESQL_CFLAGS=""
 
15220
    POSTGRESQL_CPPFLAGS=""
14502
15221
    POSTGRESQL_LDFLAGS=""
14503
15222
    POSTGRESQL_POSTGRESQL=""
14504
15223
 
14510
15229
set dummy pg_config; ac_word=$2
14511
15230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14512
15231
$as_echo_n "checking for $ac_word... " >&6; }
14513
 
if test "${ac_cv_path_PG_CONFIG+set}" = set; then :
 
15232
if ${ac_cv_path_PG_CONFIG+:} false; then :
14514
15233
  $as_echo_n "(cached) " >&6
14515
15234
else
14516
15235
  case $PG_CONFIG in
14554
15273
$as_echo_n "checking for PostgreSQL libraries... " >&6; }
14555
15274
 
14556
15275
            POSTGRESQL_CFLAGS="-I`$PG_CONFIG --includedir`"
 
15276
            POSTGRESQL_CPPFLAGS="-I`$PG_CONFIG --includedir`"
14557
15277
            POSTGRESQL_LDFLAGS="-L`$PG_CONFIG --libdir` -lpq"
14558
15278
 
14559
15279
            POSTGRESQL_VERSION=`$PG_CONFIG --version | sed -e 's#PostgreSQL ##'`
14560
15280
 
14561
15281
 
 
15282
            EMBCPPFLAGS=$CPPFLAGS
 
15283
            EMBLDFLAGS=$LDFLAGS
 
15284
 
 
15285
            CPPFLAGS="$POSTGRESSQL_CPPFLAGS $EMBCPPFLAGS"
 
15286
            LDFLAGS="$POSTGRESQL_LDFLAGS $EMBLDFLAGS"
 
15287
 
 
15288
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15289
/* end confdefs.h.  */
 
15290
#include <stdio.h>
 
15291
                                              #include "libpq-fe.h"
 
15292
int
 
15293
main ()
 
15294
{
 
15295
PQconnectdb(NULL)
 
15296
  ;
 
15297
  return 0;
 
15298
}
 
15299
_ACEOF
 
15300
if ac_fn_c_try_link "$LINENO"; then :
 
15301
  havepostgresql=yes
 
15302
else
 
15303
  havepostgresql=no
 
15304
fi
 
15305
rm -f core conftest.err conftest.$ac_objext \
 
15306
    conftest$ac_exeext conftest.$ac_ext
 
15307
 
 
15308
            CPPFLAGS=$EMBCPPFLAGS
 
15309
            LDFLAGS=$EMBLDFLAGS
 
15310
 
 
15311
            if test "$havepostgresql" = yes; then
 
15312
 
14562
15313
$as_echo "#define HAVE_POSTGRESQL 1" >>confdefs.h
14563
15314
 
14564
 
 
14565
 
            found_postgresql="yes"
14566
 
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15315
                found_postgresql="yes"
 
15316
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14567
15317
$as_echo "yes" >&6; }
14568
 
        else
 
15318
            else
 
15319
                POSTGRESQL_CFLAGS=""
 
15320
                POSTGRESQL_CPPFLAGS=""
 
15321
                POSTGRESQL_LDFLAGS=""
 
15322
                found_postgresql="no"
 
15323
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15324
$as_echo "no" >&6; }
 
15325
            fi
 
15326
        else
14569
15327
            found_postgresql="no"
14570
15328
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not configuring for PostgreSQL" >&5
14571
15329
$as_echo "Not configuring for PostgreSQL" >&6; }
14572
 
        fi
 
15330
        fi
 
15331
 
14573
15332
    fi
14574
15333
 
14575
15334
 
14618
15377
 
14619
15378
 
14620
15379
 
14621
 
CFLAGS="$CFLAGS $MYSQL_CFLAGS"
14622
 
LDFLAGS="$LDFLAGS $MYSQL_LDFLAGS"
14623
 
 
14624
 
CFLAGS="$CFLAGS $POSTGRESQL_CFLAGS"
14625
 
LDFLAGS="$LDFLAGS $POSTGRESQL_LDFLAGS"
14626
15380
 
14627
15381
 
14628
15382
 
14643
15397
  enableval=$enable_localforce;
14644
15398
fi
14645
15399
 
 
15400
 
14646
15401
if test "${enable_localforce}" = "yes" ; then
14647
15402
embprefix=/usr/local
14648
15403
fi
14667
15422
 
14668
15423
 
14669
15424
 
14670
 
#dnl Test if --enable-corba is given
14671
 
#AC_ARG_ENABLE(corba,
14672
 
#[ --enable-corba          corba (need glib and orbit)])
14673
 
#if test "${enable_corba}" = "yes" ; then
14674
 
#AC_MSG_CHECKING(for ORBit and glib)
14675
 
#CPPFLAGS="$CPPFLAGS -I/usr/lib/glib/include -I/usr/local/lib/glib/include"
14676
 
#
14677
 
#AC_CHECK_HEADERS(glib.h)
14678
 
#AC_CHECK_HEADERS(orb/orbit.h)
14679
 
#AC_CHECK_LIB(glib, main)
14680
 
#
14681
 
#AC_CHECK_LIB(ORBitutil, main)
14682
 
#AC_CHECK_LIB(IIOP, main)
14683
 
#AC_CHECK_LIB(ORBit, main)
14684
 
#fi
14685
 
 
14686
15425
# Check whether --enable-debug was given.
14687
15426
if test "${enable_debug+set}" = set; then :
14688
15427
  enableval=$enable_debug;
14689
15428
fi
14690
15429
 
14691
15430
if test "${enable_debug}" = "yes" ; then
14692
 
CFLAGS="$CFLAGS -g"
14693
 
fi
14694
 
 
14695
 
 
14696
 
if test "`uname`" = "IRIX" || test "`uname`" = "IRIX64"; then
14697
 
CFLAGS="-Wl,-LD_MSG:off=85:off=84:off=16:off=134 $CFLAGS"
14698
 
fi
14699
 
 
 
15431
  CFLAGS="$CFLAGS -g"
 
15432
fi
 
15433
 
 
15434
 
 
15435
case $host_os in
 
15436
irix*)
 
15437
        CFLAGS="-Wl,-LD_MSG:off=85:off=84:off=16:off=134 $CFLAGS"
 
15438
        ;;
 
15439
esac
14700
15440
 
14701
15441
 
14702
15442
 
14714
15454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for large file support" >&5
14715
15455
$as_echo_n "checking for large file support... " >&6; }
14716
15456
 
14717
 
if test "`uname`" = "Linux"; then
14718
 
CPPFLAGS="-DAJ_LinuxLF -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $CPPFLAGS"
14719
 
fi
14720
 
 
14721
 
if test "`uname`" = "FreeBSD"; then
14722
 
CPPFLAGS="-DAJ_FreeBSDLF $CPPFLAGS"
14723
 
fi
14724
 
 
14725
 
if test "`uname`" = "SunOS"; then
14726
 
CPPFLAGS="-DAJ_SolarisLF -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $CPPFLAGS"
14727
 
fi
14728
 
 
14729
 
if test "`uname`" = "OSF1"; then
14730
 
CPPFLAGS="-DAJ_OSF1LF $CPPFLAGS"
14731
 
fi
14732
 
 
14733
 
if test "`uname`" = "IRIX" || test "`uname`" = "IRIX64"; then
14734
 
CPPFLAGS="-DAJ_IRIXLF -D_LARGEFILE64_SOURCE $CPPFLAGS"
14735
 
fi
14736
 
 
14737
 
if test "`uname`" = "AIX"; then
14738
 
CPPFLAGS="-DAJ_AIXLF -D_LARGE_FILES $CPPFLAGS"
14739
 
fi
14740
 
 
14741
 
if test "`uname`" = "HP-UX"; then
14742
 
CPPFLAGS="-DAJ_HPUXLF -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $CPPFLAGS"
14743
 
fi
14744
 
 
14745
 
if test "`uname`" = "Darwin"; then
14746
 
CPPFLAGS="-DAJ_MACOSXLF"
14747
 
fi
 
15457
 
 
15458
case $host_os in
 
15459
linux*)
 
15460
        CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $CPPFLAGS"
 
15461
        CPPFLAGS="-DAJ_LinuxLF -D_FILE_OFFSET_BITS=64 $CPPFLAGS"
 
15462
        ;;
 
15463
 
 
15464
freebsd*)
 
15465
        CPPFLAGS="-DAJ_FreeBSDLF $CPPFLAGS"
 
15466
        ;;
 
15467
 
 
15468
solaris*)
 
15469
        CPPFLAGS="-D_LARGEFILE_SOURCE $CPPFLAGS"
 
15470
        CPPFLAGS="-DAJ_SolarisLF -D_FILE_OFFSET_BITS=64 $CPPFLAGS"
 
15471
        ;;
 
15472
 
 
15473
osf*)
 
15474
        CPPFLAGS="-DAJ_OSF1LF $CPPFLAGS"
 
15475
        ;;
 
15476
 
 
15477
 
 
15478
irix*)
 
15479
        CPPFLAGS="-DAJ_IRIXLF -D_LARGEFILE64_SOURCE $CPPFLAGS"
 
15480
        ;;
 
15481
 
 
15482
aix*)
 
15483
        CPPFLAGS="-DAJ_AIXLF -D_LARGE_FILES $CPPFLAGS"
 
15484
        ;;
 
15485
 
 
15486
hpux*)
 
15487
        CPPFLAGS="-D_FILE_OFFSET_BITS=64 $CPPFLAGS"
 
15488
        CPPFLAGS="-DAJ_HPUXLF -D_LARGEFILE_SOURCE $CPPFLAGS"
 
15489
        ;;
 
15490
 
 
15491
darwin*)
 
15492
        CPPFLAGS="-DAJ_MACOSXLF $CPPFLAGS"
 
15493
        ;;
 
15494
esac
14748
15495
 
14749
15496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14750
15497
$as_echo "done" >&6; }
14752
15499
 
14753
15500
 
14754
15501
 
 
15502
 
 
15503
 
14755
15504
have_systemlibs=no
14756
15505
# Check whether --enable-systemlibs was given.
14757
15506
if test "${enable_systemlibs+set}" = set; then :
14775
15524
 
14776
15525
 
14777
15526
 
 
15527
 
14778
15528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for purify" >&5
14779
15529
$as_echo_n "checking for purify... " >&6; }
14780
 
#if(purify -version) < /dev/null > /dev/null 2>&1; then
14781
15530
   # Check whether --enable-purify was given.
14782
15531
if test "${enable_purify+set}" = set; then :
14783
15532
  enableval=$enable_purify;
14792
15541
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14793
15542
$as_echo "no" >&6; }
14794
15543
fi
14795
 
#fi
14796
 
 
14797
 
 
14798
 
# Check whether --enable-warnings was given.
14799
 
if test "${enable_warnings+set}" = set; then :
14800
 
  enableval=$enable_warnings;
14801
 
fi
14802
 
 
14803
 
if test "${enable_warnings}" = "yes" ; then
14804
 
  CFLAGS="$CFLAGS -Wall -fno-strict-aliasing"
14805
 
fi
 
15544
 
 
15545
 
 
15546
 
14806
15547
 
14807
15548
if test "$CC" = "cc"; then
14808
15549
  case "$host" in
14818
15559
fi
14819
15560
 
14820
15561
 
14821
 
# Check whether --enable-devwarnings was given.
14822
 
if test "${enable_devwarnings+set}" = set; then :
14823
 
  enableval=$enable_devwarnings;
14824
 
fi
14825
 
 
14826
 
if test "${enable_devwarnings}" = "yes" ; then
14827
 
if test "$CC" = "gcc"; then
14828
 
  CFLAGS="$CFLAGS -Wstrict-prototypes -Wmissing-prototypes"
14829
 
fi
14830
 
fi
 
15562
 
 
15563
 
14831
15564
 
14832
15565
platform_cygwin='no'
14833
15566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cygwin" >&5
14853
15586
 
14854
15587
 
14855
15588
needajax=no
14856
 
 if test "`uname`" = "AIX"; then
14857
 
  ISAIXIA64_TRUE=
14858
 
  ISAIXIA64_FALSE='#'
14859
 
else
14860
 
  ISAIXIA64_TRUE='#'
14861
 
  ISAIXIA64_FALSE=
14862
 
fi
 
15589
 
 
15590
case $host_os in
 
15591
aix*)
 
15592
         if true; then
 
15593
  ISAIXIA64_TRUE=
 
15594
  ISAIXIA64_FALSE='#'
 
15595
else
 
15596
  ISAIXIA64_TRUE='#'
 
15597
  ISAIXIA64_FALSE=
 
15598
fi
 
15599
 
 
15600
        ;;
 
15601
*)
 
15602
         if false; then
 
15603
  ISAIXIA64_TRUE=
 
15604
  ISAIXIA64_FALSE='#'
 
15605
else
 
15606
  ISAIXIA64_TRUE='#'
 
15607
  ISAIXIA64_FALSE=
 
15608
fi
 
15609
 
 
15610
        ;;
 
15611
esac
14863
15612
 
14864
15613
 if test "${enable_shared}" = "yes"; then
14865
15614
  ISSHARED_TRUE=
14871
15620
 
14872
15621
 
14873
15622
 
14874
 
if test "`uname`" = "AIX"; then
14875
15623
case $host_os in
14876
 
        aix5*) needajax=no ;;
14877
 
        aix4.3.3*) needajax=yes ;;
14878
 
        *) needajax=no ;;
 
15624
aix*)
 
15625
        if test -d ajax/.libs ; then
 
15626
           echo AIX ajax/.libs exists
 
15627
        else
 
15628
           mkdir ajax/.libs
 
15629
        fi
 
15630
 
 
15631
        case $host_os in
 
15632
             aix5*) needajax=no ;;
 
15633
             aix4.3.3*) needajax=yes ;;
 
15634
             *) needajax=no ;;
 
15635
             esac
14879
15636
esac
14880
 
fi
 
15637
 
14881
15638
 if test "$needajax" = "yes"; then
14882
15639
  NEEDAJAX_TRUE=
14883
15640
  NEEDAJAX_FALSE='#'
14889
15646
 
14890
15647
 
14891
15648
 
14892
 
if test "`uname`" = "HP-UX"; then
14893
 
LDFLAGS="$LDFLAGS -lsec"
14894
 
fi
 
15649
case $host_os in
 
15650
hpux*)
 
15651
        LDFLAGS="$LDFLAGS -lsec"
 
15652
        ;;
 
15653
esac
14895
15654
 
14896
15655
 
14897
15656
#
14969
15728
 
14970
15729
 
14971
15730
 
14972
 
 
14973
15731
ac_config_files="$ac_config_files Makefile src/Makefile emboss_acd/Makefile emboss_doc/Makefile emboss_doc/html/Makefile emboss_doc/text/Makefile"
14974
15732
 
 
15733
 
14975
15734
cat >confcache <<\_ACEOF
14976
15735
# This file is a shell script that caches the results of configure
14977
15736
# tests run on this system so they can be shared between configure
15036
15795
     :end' >>confcache
15037
15796
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15038
15797
  if test -w "$cache_file"; then
15039
 
    test "x$cache_file" != "x/dev/null" &&
 
15798
    if test "x$cache_file" != "x/dev/null"; then
15040
15799
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15041
15800
$as_echo "$as_me: updating cache $cache_file" >&6;}
15042
 
    cat confcache >$cache_file
 
15801
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
15802
        cat confcache >"$cache_file"
 
15803
      else
 
15804
        case $cache_file in #(
 
15805
        */* | ?:*)
 
15806
          mv -f confcache "$cache_file"$$ &&
 
15807
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
15808
        *)
 
15809
          mv -f confcache "$cache_file" ;;
 
15810
        esac
 
15811
      fi
 
15812
    fi
15043
15813
  else
15044
15814
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15045
15815
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15051
15821
# Let make expand exec_prefix.
15052
15822
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15053
15823
 
15054
 
# Transform confdefs.h into DEFS.
15055
 
# Protect against shell expansion while executing Makefile rules.
15056
 
# Protect against Makefile macro expansion.
15057
 
#
15058
 
# If the first sed substitution is executed (which looks for macros that
15059
 
# take arguments), then branch to the quote section.  Otherwise,
15060
 
# look for a macro that doesn't take arguments.
15061
 
ac_script='
15062
 
:mline
15063
 
/\\$/{
15064
 
 N
15065
 
 s,\\\n,,
15066
 
 b mline
15067
 
}
15068
 
t clear
15069
 
:clear
15070
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
15071
 
t quote
15072
 
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
15073
 
t quote
15074
 
b any
15075
 
:quote
15076
 
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15077
 
s/\[/\\&/g
15078
 
s/\]/\\&/g
15079
 
s/\$/$$/g
15080
 
H
15081
 
:any
15082
 
${
15083
 
        g
15084
 
        s/^\n//
15085
 
        s/\n/ /g
15086
 
        p
15087
 
}
15088
 
'
15089
 
DEFS=`sed -n "$ac_script" confdefs.h`
15090
 
 
 
15824
DEFS=-DHAVE_CONFIG_H
15091
15825
 
15092
15826
ac_libobjs=
15093
15827
ac_ltlibobjs=
 
15828
U=
15094
15829
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15095
15830
  # 1. Remove the extension, and $U if already installed.
15096
15831
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15114
15849
fi
15115
15850
 
15116
15851
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15117
 
  as_fn_error "conditional \"AMDEP\" was never defined.
15118
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15119
 
fi
15120
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15121
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
15122
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15123
 
fi
15124
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15125
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
15852
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
15853
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15854
fi
 
15855
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15856
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
15857
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15858
fi
 
15859
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15860
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15126
15861
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15127
15862
fi
15128
15863
 
15129
15864
if test -z "${AMPNG_TRUE}" && test -z "${AMPNG_FALSE}"; then
15130
 
  as_fn_error "conditional \"AMPNG\" was never defined.
15131
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15132
 
fi
15133
 
if test -z "${AMPDF_TRUE}" && test -z "${AMPDF_FALSE}"; then
15134
 
  as_fn_error "conditional \"AMPDF\" was never defined.
15135
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15136
 
fi
15137
 
if test -z "${AMPDF_TRUE}" && test -z "${AMPDF_FALSE}"; then
15138
 
  as_fn_error "conditional \"AMPDF\" was never defined.
15139
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15140
 
fi
15141
 
if test -z "${AMPDF_TRUE}" && test -z "${AMPDF_FALSE}"; then
15142
 
  as_fn_error "conditional \"AMPDF\" was never defined.
15143
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15144
 
fi
15145
 
if test -z "${AMPNG_TRUE}" && test -z "${AMPNG_FALSE}"; then
15146
 
  as_fn_error "conditional \"AMPNG\" was never defined.
15147
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15148
 
fi
15149
 
if test -z "${AMPNG_TRUE}" && test -z "${AMPNG_FALSE}"; then
15150
 
  as_fn_error "conditional \"AMPNG\" was never defined.
 
15865
  as_fn_error $? "conditional \"AMPNG\" was never defined.
 
15866
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15867
fi
 
15868
if test -z "${AMPDF_TRUE}" && test -z "${AMPDF_FALSE}"; then
 
15869
  as_fn_error $? "conditional \"AMPDF\" was never defined.
 
15870
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15871
fi
 
15872
if test -z "${AMPDF_TRUE}" && test -z "${AMPDF_FALSE}"; then
 
15873
  as_fn_error $? "conditional \"AMPDF\" was never defined.
 
15874
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15875
fi
 
15876
if test -z "${AMPDF_TRUE}" && test -z "${AMPDF_FALSE}"; then
 
15877
  as_fn_error $? "conditional \"AMPDF\" was never defined.
 
15878
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15879
fi
 
15880
if test -z "${AMPNG_TRUE}" && test -z "${AMPNG_FALSE}"; then
 
15881
  as_fn_error $? "conditional \"AMPNG\" was never defined.
 
15882
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15883
fi
 
15884
if test -z "${AMPNG_TRUE}" && test -z "${AMPNG_FALSE}"; then
 
15885
  as_fn_error $? "conditional \"AMPNG\" was never defined.
15151
15886
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15152
15887
fi
15153
15888
if test -z "${LOCALLINK_TRUE}" && test -z "${LOCALLINK_FALSE}"; then
15154
 
  as_fn_error "conditional \"LOCALLINK\" was never defined.
 
15889
  as_fn_error $? "conditional \"LOCALLINK\" was never defined.
15155
15890
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15156
15891
fi
15157
15892
if test -z "${ESYSTEMLIBS_TRUE}" && test -z "${ESYSTEMLIBS_FALSE}"; then
15158
 
  as_fn_error "conditional \"ESYSTEMLIBS\" was never defined.
 
15893
  as_fn_error $? "conditional \"ESYSTEMLIBS\" was never defined.
15159
15894
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15160
15895
fi
15161
15896
if test -z "${PURIFY_TRUE}" && test -z "${PURIFY_FALSE}"; then
15162
 
  as_fn_error "conditional \"PURIFY\" was never defined.
 
15897
  as_fn_error $? "conditional \"PURIFY\" was never defined.
15163
15898
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15164
15899
fi
15165
15900
if test -z "${ISCYGWIN_TRUE}" && test -z "${ISCYGWIN_FALSE}"; then
15166
 
  as_fn_error "conditional \"ISCYGWIN\" was never defined.
15167
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15168
 
fi
15169
 
if test -z "${ISAIXIA64_TRUE}" && test -z "${ISAIXIA64_FALSE}"; then
15170
 
  as_fn_error "conditional \"ISAIXIA64\" was never defined.
 
15901
  as_fn_error $? "conditional \"ISCYGWIN\" was never defined.
 
15902
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15903
fi
 
15904
if test -z "${ISAIXIA64_TRUE}" && test -z "${ISAIXIA64_FALSE}"; then
 
15905
  as_fn_error $? "conditional \"ISAIXIA64\" was never defined.
 
15906
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15907
fi
 
15908
if test -z "${ISAIXIA64_TRUE}" && test -z "${ISAIXIA64_FALSE}"; then
 
15909
  as_fn_error $? "conditional \"ISAIXIA64\" was never defined.
15171
15910
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15172
15911
fi
15173
15912
if test -z "${ISSHARED_TRUE}" && test -z "${ISSHARED_FALSE}"; then
15174
 
  as_fn_error "conditional \"ISSHARED\" was never defined.
 
15913
  as_fn_error $? "conditional \"ISSHARED\" was never defined.
15175
15914
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15176
15915
fi
15177
15916
if test -z "${NEEDAJAX_TRUE}" && test -z "${NEEDAJAX_FALSE}"; then
15178
 
  as_fn_error "conditional \"NEEDAJAX\" was never defined.
 
15917
  as_fn_error $? "conditional \"NEEDAJAX\" was never defined.
15179
15918
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15180
15919
fi
15181
15920
 
15182
 
: ${CONFIG_STATUS=./config.status}
 
15921
: "${CONFIG_STATUS=./config.status}"
15183
15922
ac_write_fail=0
15184
15923
ac_clean_files_save=$ac_clean_files
15185
15924
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15280
16019
IFS=" ""        $as_nl"
15281
16020
 
15282
16021
# Find who we are.  Look in the path if we contain no directory separator.
 
16022
as_myself=
15283
16023
case $0 in #((
15284
16024
  *[\\/]* ) as_myself=$0 ;;
15285
16025
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15325
16065
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15326
16066
 
15327
16067
 
15328
 
# as_fn_error ERROR [LINENO LOG_FD]
15329
 
# ---------------------------------
 
16068
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
16069
# ----------------------------------------
15330
16070
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15331
16071
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15332
 
# script with status $?, using 1 if that was 0.
 
16072
# script with STATUS, using 1 if that was 0.
15333
16073
as_fn_error ()
15334
16074
{
15335
 
  as_status=$?; test $as_status -eq 0 && as_status=1
15336
 
  if test "$3"; then
15337
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15338
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
16075
  as_status=$1; test $as_status -eq 0 && as_status=1
 
16076
  if test "$4"; then
 
16077
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
16078
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15339
16079
  fi
15340
 
  $as_echo "$as_me: error: $1" >&2
 
16080
  $as_echo "$as_me: error: $2" >&2
15341
16081
  as_fn_exit $as_status
15342
16082
} # as_fn_error
15343
16083
 
15533
16273
      test -d "$as_dir" && break
15534
16274
    done
15535
16275
    test -z "$as_dirs" || eval "mkdir $as_dirs"
15536
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
16276
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15537
16277
 
15538
16278
 
15539
16279
} # as_fn_mkdir_p
15586
16326
# report actual input values of CONFIG_FILES etc. instead of their
15587
16327
# values after options handling.
15588
16328
ac_log="
15589
 
This file was extended by $as_me, which was
15590
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
16329
This file was extended by DOMSEARCH $as_me 0.1.0, which was
 
16330
generated by GNU Autoconf 2.68.  Invocation command line was
15591
16331
 
15592
16332
  CONFIG_FILES    = $CONFIG_FILES
15593
16333
  CONFIG_HEADERS  = $CONFIG_HEADERS
15604
16344
"*) set x $ac_config_files; shift; ac_config_files=$*;;
15605
16345
esac
15606
16346
 
 
16347
case $ac_config_headers in *"
 
16348
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
16349
esac
15607
16350
 
15608
16351
 
15609
16352
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15610
16353
# Files that config.status was made for.
15611
16354
config_files="$ac_config_files"
 
16355
config_headers="$ac_config_headers"
15612
16356
config_commands="$ac_config_commands"
15613
16357
 
15614
16358
_ACEOF
15630
16374
      --recheck    update $as_me by reconfiguring in the same conditions
15631
16375
      --file=FILE[:TEMPLATE]
15632
16376
                   instantiate the configuration file FILE
 
16377
      --header=FILE[:TEMPLATE]
 
16378
                   instantiate the configuration header FILE
15633
16379
 
15634
16380
Configuration files:
15635
16381
$config_files
15636
16382
 
 
16383
Configuration headers:
 
16384
$config_headers
 
16385
 
15637
16386
Configuration commands:
15638
16387
$config_commands
15639
16388
 
15640
 
Report bugs to the package provider."
 
16389
Report bugs to <emboss-bug@emboss.open-bio.org>.
 
16390
DOMSEARCH home page: <http://emboss.sourceforge.net/>."
15641
16391
 
15642
16392
_ACEOF
15643
16393
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15644
16394
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15645
16395
ac_cs_version="\\
15646
 
config.status
15647
 
configured by $0, generated by GNU Autoconf 2.65,
 
16396
DOMSEARCH config.status 0.1.0
 
16397
configured by $0, generated by GNU Autoconf 2.68,
15648
16398
  with options \\"\$ac_cs_config\\"
15649
16399
 
15650
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
16400
Copyright (C) 2010 Free Software Foundation, Inc.
15651
16401
This config.status script is free software; the Free Software Foundation
15652
16402
gives unlimited permission to copy, distribute and modify it."
15653
16403
 
15665
16415
while test $# != 0
15666
16416
do
15667
16417
  case $1 in
15668
 
  --*=*)
 
16418
  --*=?*)
15669
16419
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15670
16420
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15671
16421
    ac_shift=:
15672
16422
    ;;
 
16423
  --*=)
 
16424
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
16425
    ac_optarg=
 
16426
    ac_shift=:
 
16427
    ;;
15673
16428
  *)
15674
16429
    ac_option=$1
15675
16430
    ac_optarg=$2
15691
16446
    $ac_shift
15692
16447
    case $ac_optarg in
15693
16448
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16449
    '') as_fn_error $? "missing file argument" ;;
15694
16450
    esac
15695
16451
    as_fn_append CONFIG_FILES " '$ac_optarg'"
15696
16452
    ac_need_defaults=false;;
15697
 
  --he | --h |  --help | --hel | -h )
 
16453
  --header | --heade | --head | --hea )
 
16454
    $ac_shift
 
16455
    case $ac_optarg in
 
16456
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16457
    esac
 
16458
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
16459
    ac_need_defaults=false;;
 
16460
  --he | --h)
 
16461
    # Conflict between --help and --header
 
16462
    as_fn_error $? "ambiguous option: \`$1'
 
16463
Try \`$0 --help' for more information.";;
 
16464
  --help | --hel | -h )
15698
16465
    $as_echo "$ac_cs_usage"; exit ;;
15699
16466
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15700
16467
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15701
16468
    ac_cs_silent=: ;;
15702
16469
 
15703
16470
  # This is an error.
15704
 
  -*) as_fn_error "unrecognized option: \`$1'
 
16471
  -*) as_fn_error $? "unrecognized option: \`$1'
15705
16472
Try \`$0 --help' for more information." ;;
15706
16473
 
15707
16474
  *) as_fn_append ac_config_targets " $1"
15755
16522
sed_quote_subst='$sed_quote_subst'
15756
16523
double_quote_subst='$double_quote_subst'
15757
16524
delay_variable_subst='$delay_variable_subst'
15758
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15759
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15760
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15761
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15762
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15763
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15764
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15765
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15766
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15767
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15768
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15769
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15770
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15771
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15772
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15773
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15774
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15775
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15776
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15777
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15778
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15779
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15780
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15781
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15782
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15783
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15784
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15785
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15786
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15787
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15788
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15789
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15790
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15791
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15792
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15793
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15794
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15795
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15796
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15797
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15798
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15799
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15800
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15801
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15802
 
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"`'
15803
 
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"`'
15804
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15805
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15806
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15807
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15808
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15809
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15810
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15811
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15812
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15813
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15814
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15815
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15816
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15817
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15818
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15819
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15820
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15821
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15822
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15823
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15824
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15825
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15826
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15827
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15828
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15829
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15830
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15831
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15832
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15833
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15834
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15835
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15836
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15837
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15838
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15839
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15840
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15841
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15842
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15843
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15844
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15845
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15846
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15847
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15848
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15849
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15850
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15851
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15852
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15853
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15854
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15855
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15856
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15857
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15858
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15859
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15860
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15861
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15862
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15863
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15864
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15865
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15866
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15867
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15868
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15869
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15870
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15871
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15872
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15873
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15874
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15875
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
16525
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
16526
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
16527
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
16528
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
16529
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
16530
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
16531
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
16532
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
16533
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
16534
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
16535
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
16536
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
16537
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
16538
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
16539
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
16540
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
16541
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
16542
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
16543
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
16544
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
16545
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
16546
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
16547
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
16548
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
16549
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
16550
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
16551
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
16552
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
16553
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
16554
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
16555
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
16556
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
16557
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
16558
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
16559
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
16560
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
16561
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
16562
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
16563
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
16564
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
16565
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
16566
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
16567
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
16568
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
16569
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16570
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16571
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
16572
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
16573
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
16574
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
16575
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
16576
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
16577
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
16578
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
16579
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
16580
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"`'
 
16581
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
16582
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
16583
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
16584
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
16585
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
16586
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
16587
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
16588
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
16589
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
16590
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
16591
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
16592
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
16593
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
16594
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
16595
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
16596
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
16597
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
16598
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
16599
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
16600
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
16601
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
16602
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16603
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16604
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
16605
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
16606
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
16607
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
16608
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
16609
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
16610
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
16611
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
16612
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
16613
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
16614
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16615
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
16616
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
16617
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
16618
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
16619
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
16620
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
16621
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
16622
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
16623
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
16624
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
16625
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
16626
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
16627
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
16628
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
16629
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
16630
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
16631
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
16632
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
16633
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
16634
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
16635
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
16636
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
16637
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
16638
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
16639
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
16640
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
16641
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
16642
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16643
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16644
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
16645
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
16646
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
16647
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
16648
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
16649
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
16650
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
16651
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
16652
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
16653
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
16654
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15876
16655
 
15877
16656
LTCC='$LTCC'
15878
16657
LTCFLAGS='$LTCFLAGS'
15879
16658
compiler='$compiler_DEFAULT'
15880
16659
 
 
16660
# A function that is used when there is no print builtin or printf.
 
16661
func_fallback_echo ()
 
16662
{
 
16663
  eval 'cat <<_LTECHO_EOF
 
16664
\$1
 
16665
_LTECHO_EOF'
 
16666
}
 
16667
 
15881
16668
# Quote evaled strings.
15882
 
for var in SED \
 
16669
for var in SHELL \
 
16670
ECHO \
 
16671
SED \
15883
16672
GREP \
15884
16673
EGREP \
15885
16674
FGREP \
15892
16681
OBJDUMP \
15893
16682
deplibs_check_method \
15894
16683
file_magic_cmd \
 
16684
file_magic_glob \
 
16685
want_nocaseglob \
 
16686
DLLTOOL \
 
16687
sharedlib_from_linklib_cmd \
15895
16688
AR \
15896
16689
AR_FLAGS \
 
16690
archiver_list_spec \
15897
16691
STRIP \
15898
16692
RANLIB \
15899
16693
CC \
15903
16697
lt_cv_sys_global_symbol_to_cdecl \
15904
16698
lt_cv_sys_global_symbol_to_c_name_address \
15905
16699
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15906
 
SHELL \
15907
 
ECHO \
 
16700
nm_file_list_spec \
15908
16701
lt_prog_compiler_no_builtin_flag \
 
16702
lt_prog_compiler_pic \
15909
16703
lt_prog_compiler_wl \
15910
 
lt_prog_compiler_pic \
15911
16704
lt_prog_compiler_static \
15912
16705
lt_cv_prog_compiler_c_o \
15913
16706
need_locks \
 
16707
MANIFEST_TOOL \
15914
16708
DSYMUTIL \
15915
16709
NMEDIT \
15916
16710
LIPO \
15926
16720
hardcode_libdir_flag_spec \
15927
16721
hardcode_libdir_flag_spec_ld \
15928
16722
hardcode_libdir_separator \
15929
 
fix_srcfile_path \
15930
16723
exclude_expsyms \
15931
16724
include_expsyms \
15932
16725
file_list_spec \
15934
16727
libname_spec \
15935
16728
library_names_spec \
15936
16729
soname_spec \
 
16730
install_override_mode \
15937
16731
finish_eval \
15938
16732
old_striplib \
15939
16733
striplib; do
15940
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16734
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15941
16735
    *[\\\\\\\`\\"\\\$]*)
15942
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
16736
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15943
16737
      ;;
15944
16738
    *)
15945
16739
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15961
16755
module_expsym_cmds \
15962
16756
export_symbols_cmds \
15963
16757
prelink_cmds \
 
16758
postlink_cmds \
15964
16759
postinstall_cmds \
15965
16760
postuninstall_cmds \
15966
16761
finish_cmds \
15967
16762
sys_lib_search_path_spec \
15968
16763
sys_lib_dlsearch_path_spec; do
15969
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16764
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15970
16765
    *[\\\\\\\`\\"\\\$]*)
15971
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
16766
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15972
16767
      ;;
15973
16768
    *)
15974
16769
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15976
16771
    esac
15977
16772
done
15978
16773
 
15979
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
15980
 
case \$lt_ECHO in
15981
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15982
 
  ;;
15983
 
esac
15984
 
 
15985
16774
ac_aux_dir='$ac_aux_dir'
15986
16775
xsi_shell='$xsi_shell'
15987
16776
lt_shell_append='$lt_shell_append'
16010
16799
for ac_config_target in $ac_config_targets
16011
16800
do
16012
16801
  case $ac_config_target in
 
16802
    "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
16013
16803
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16014
16804
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16015
16805
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16019
16809
    "emboss_doc/html/Makefile") CONFIG_FILES="$CONFIG_FILES emboss_doc/html/Makefile" ;;
16020
16810
    "emboss_doc/text/Makefile") CONFIG_FILES="$CONFIG_FILES emboss_doc/text/Makefile" ;;
16021
16811
 
16022
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
16812
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16023
16813
  esac
16024
16814
done
16025
16815
 
16030
16820
# bizarre bug on SunOS 4.1.3.
16031
16821
if $ac_need_defaults; then
16032
16822
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
16823
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16033
16824
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16034
16825
fi
16035
16826
 
16041
16832
# after its creation but before its name has been assigned to `$tmp'.
16042
16833
$debug ||
16043
16834
{
16044
 
  tmp=
 
16835
  tmp= ac_tmp=
16045
16836
  trap 'exit_status=$?
16046
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
16837
  : "${ac_tmp:=$tmp}"
 
16838
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16047
16839
' 0
16048
16840
  trap 'as_fn_exit 1' 1 2 13 15
16049
16841
}
16051
16843
 
16052
16844
{
16053
16845
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16054
 
  test -n "$tmp" && test -d "$tmp"
 
16846
  test -d "$tmp"
16055
16847
}  ||
16056
16848
{
16057
16849
  tmp=./conf$$-$RANDOM
16058
16850
  (umask 077 && mkdir "$tmp")
16059
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
16851
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
16852
ac_tmp=$tmp
16060
16853
 
16061
16854
# Set up the scripts for CONFIG_FILES section.
16062
16855
# No need to generate them if there are no CONFIG_FILES.
16073
16866
fi
16074
16867
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16075
16868
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16076
 
  ac_cs_awk_cr='\r'
 
16869
  ac_cs_awk_cr='\\r'
16077
16870
else
16078
16871
  ac_cs_awk_cr=$ac_cr
16079
16872
fi
16080
16873
 
16081
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
16874
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16082
16875
_ACEOF
16083
16876
 
16084
16877
 
16087
16880
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16088
16881
  echo "_ACEOF"
16089
16882
} >conf$$subs.sh ||
16090
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16091
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
16883
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
16884
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16092
16885
ac_delim='%!_!# '
16093
16886
for ac_last_try in false false false false false :; do
16094
16887
  . ./conf$$subs.sh ||
16095
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
16888
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16096
16889
 
16097
16890
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16098
16891
  if test $ac_delim_n = $ac_delim_num; then
16099
16892
    break
16100
16893
  elif $ac_last_try; then
16101
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
16894
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16102
16895
  else
16103
16896
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16104
16897
  fi
16106
16899
rm -f conf$$subs.sh
16107
16900
 
16108
16901
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16109
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
16902
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16110
16903
_ACEOF
16111
16904
sed -n '
16112
16905
h
16154
16947
rm -f conf$$subs.awk
16155
16948
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16156
16949
_ACAWK
16157
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
16950
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16158
16951
  for (key in S) S_is_set[key] = 1
16159
16952
  FS = ""
16160
16953
 
16186
16979
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16187
16980
else
16188
16981
  cat
16189
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16190
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
16982
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
16983
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16191
16984
_ACEOF
16192
16985
 
16193
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
16194
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
16986
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
16987
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16195
16988
# trailing colons and then remove the whole line if VPATH becomes empty
16196
16989
# (actually we leave an empty line to preserve line numbers).
16197
16990
if test "x$srcdir" = x.; then
16198
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
16199
 
s/:*\$(srcdir):*/:/
16200
 
s/:*\${srcdir}:*/:/
16201
 
s/:*@srcdir@:*/:/
16202
 
s/^\([^=]*=[     ]*\):*/\1/
 
16991
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
16992
h
 
16993
s///
 
16994
s/^/:/
 
16995
s/[      ]*$/:/
 
16996
s/:\$(srcdir):/:/g
 
16997
s/:\${srcdir}:/:/g
 
16998
s/:@srcdir@:/:/g
 
16999
s/^:*//
16203
17000
s/:*$//
 
17001
x
 
17002
s/\(=[   ]*\).*/\1/
 
17003
G
 
17004
s/\n//
16204
17005
s/^[^=]*=[       ]*$//
16205
17006
}'
16206
17007
fi
16208
17009
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16209
17010
fi # test -n "$CONFIG_FILES"
16210
17011
 
16211
 
 
16212
 
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
 
17012
# Set up the scripts for CONFIG_HEADERS section.
 
17013
# No need to generate them if there are no CONFIG_HEADERS.
 
17014
# This happens for instance with `./config.status Makefile'.
 
17015
if test -n "$CONFIG_HEADERS"; then
 
17016
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
17017
BEGIN {
 
17018
_ACEOF
 
17019
 
 
17020
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
17021
# here-document in config.status, that substitutes the proper values into
 
17022
# config.h.in to produce config.h.
 
17023
 
 
17024
# Create a delimiter string that does not exist in confdefs.h, to ease
 
17025
# handling of long lines.
 
17026
ac_delim='%!_!# '
 
17027
for ac_last_try in false false :; do
 
17028
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
17029
  if test -z "$ac_tt"; then
 
17030
    break
 
17031
  elif $ac_last_try; then
 
17032
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
17033
  else
 
17034
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
17035
  fi
 
17036
done
 
17037
 
 
17038
# For the awk script, D is an array of macro values keyed by name,
 
17039
# likewise P contains macro parameters if any.  Preserve backslash
 
17040
# newline sequences.
 
17041
 
 
17042
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
17043
sed -n '
 
17044
s/.\{148\}/&'"$ac_delim"'/g
 
17045
t rset
 
17046
:rset
 
17047
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
17048
t def
 
17049
d
 
17050
:def
 
17051
s/\\$//
 
17052
t bsnl
 
17053
s/["\\]/\\&/g
 
17054
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
17055
D["\1"]=" \3"/p
 
17056
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
17057
d
 
17058
:bsnl
 
17059
s/["\\]/\\&/g
 
17060
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
17061
D["\1"]=" \3\\\\\\n"\\/p
 
17062
t cont
 
17063
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
17064
t cont
 
17065
d
 
17066
:cont
 
17067
n
 
17068
s/.\{148\}/&'"$ac_delim"'/g
 
17069
t clear
 
17070
:clear
 
17071
s/\\$//
 
17072
t bsnlc
 
17073
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
17074
d
 
17075
:bsnlc
 
17076
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
17077
b cont
 
17078
' <confdefs.h | sed '
 
17079
s/'"$ac_delim"'/"\\\
 
17080
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
17081
 
 
17082
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17083
  for (key in D) D_is_set[key] = 1
 
17084
  FS = ""
 
17085
}
 
17086
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
17087
  line = \$ 0
 
17088
  split(line, arg, " ")
 
17089
  if (arg[1] == "#") {
 
17090
    defundef = arg[2]
 
17091
    mac1 = arg[3]
 
17092
  } else {
 
17093
    defundef = substr(arg[1], 2)
 
17094
    mac1 = arg[2]
 
17095
  }
 
17096
  split(mac1, mac2, "(") #)
 
17097
  macro = mac2[1]
 
17098
  prefix = substr(line, 1, index(line, defundef) - 1)
 
17099
  if (D_is_set[macro]) {
 
17100
    # Preserve the white space surrounding the "#".
 
17101
    print prefix "define", macro P[macro] D[macro]
 
17102
    next
 
17103
  } else {
 
17104
    # Replace #undef with comments.  This is necessary, for example,
 
17105
    # in the case of _POSIX_SOURCE, which is predefined and required
 
17106
    # on some systems where configure will not decide to define it.
 
17107
    if (defundef == "undef") {
 
17108
      print "/*", prefix defundef, macro, "*/"
 
17109
      next
 
17110
    }
 
17111
  }
 
17112
}
 
17113
{ print }
 
17114
_ACAWK
 
17115
_ACEOF
 
17116
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17117
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
17118
fi # test -n "$CONFIG_HEADERS"
 
17119
 
 
17120
 
 
17121
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16213
17122
shift
16214
17123
for ac_tag
16215
17124
do
16218
17127
  esac
16219
17128
  case $ac_mode$ac_tag in
16220
17129
  :[FHL]*:*);;
16221
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
17130
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16222
17131
  :[FH]-) ac_tag=-:-;;
16223
17132
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16224
17133
  esac
16237
17146
    for ac_f
16238
17147
    do
16239
17148
      case $ac_f in
16240
 
      -) ac_f="$tmp/stdin";;
 
17149
      -) ac_f="$ac_tmp/stdin";;
16241
17150
      *) # Look for the file first in the build tree, then in the source tree
16242
17151
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
16243
17152
         # because $ac_f cannot contain `:'.
16246
17155
           [\\/$]*) false;;
16247
17156
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16248
17157
           esac ||
16249
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
17158
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16250
17159
      esac
16251
17160
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16252
17161
      as_fn_append ac_file_inputs " '$ac_f'"
16272
17181
    esac
16273
17182
 
16274
17183
    case $ac_tag in
16275
 
    *:-:* | *:-) cat >"$tmp/stdin" \
16276
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
17184
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
17185
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16277
17186
    esac
16278
17187
    ;;
16279
17188
  esac
16409
17318
s&@MKDIR_P@&$ac_MKDIR_P&;t t
16410
17319
$ac_datarootdir_hack
16411
17320
"
16412
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16413
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17321
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
17322
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16414
17323
 
16415
17324
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16416
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16417
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
17325
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
17326
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
17327
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16418
17328
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16419
 
which seems to be undefined.  Please make sure it is defined." >&5
 
17329
which seems to be undefined.  Please make sure it is defined" >&5
16420
17330
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16421
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
17331
which seems to be undefined.  Please make sure it is defined" >&2;}
16422
17332
 
16423
 
  rm -f "$tmp/stdin"
 
17333
  rm -f "$ac_tmp/stdin"
16424
17334
  case $ac_file in
16425
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
16426
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
17335
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
17336
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16427
17337
  esac \
16428
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
16429
 
 ;;
16430
 
 
 
17338
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
17339
 ;;
 
17340
  :H)
 
17341
  #
 
17342
  # CONFIG_HEADER
 
17343
  #
 
17344
  if test x"$ac_file" != x-; then
 
17345
    {
 
17346
      $as_echo "/* $configure_input  */" \
 
17347
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
17348
    } >"$ac_tmp/config.h" \
 
17349
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
17350
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
17351
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
17352
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
17353
    else
 
17354
      rm -f "$ac_file"
 
17355
      mv "$ac_tmp/config.h" "$ac_file" \
 
17356
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
17357
    fi
 
17358
  else
 
17359
    $as_echo "/* $configure_input  */" \
 
17360
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
17361
      || as_fn_error $? "could not create -" "$LINENO" 5
 
17362
  fi
 
17363
# Compute "$ac_file"'s index in $config_headers.
 
17364
_am_arg="$ac_file"
 
17365
_am_stamp_count=1
 
17366
for _am_header in $config_headers :; do
 
17367
  case $_am_header in
 
17368
    $_am_arg | $_am_arg:* )
 
17369
      break ;;
 
17370
    * )
 
17371
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
17372
  esac
 
17373
done
 
17374
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
17375
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17376
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
17377
         X"$_am_arg" : 'X\(//\)$' \| \
 
17378
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
17379
$as_echo X"$_am_arg" |
 
17380
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17381
            s//\1/
 
17382
            q
 
17383
          }
 
17384
          /^X\(\/\/\)[^/].*/{
 
17385
            s//\1/
 
17386
            q
 
17387
          }
 
17388
          /^X\(\/\/\)$/{
 
17389
            s//\1/
 
17390
            q
 
17391
          }
 
17392
          /^X\(\/\).*/{
 
17393
            s//\1/
 
17394
            q
 
17395
          }
 
17396
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
17397
 ;;
16431
17398
 
16432
17399
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16433
17400
$as_echo "$as_me: executing $ac_file commands" >&6;}
16552
17519
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16553
17520
#
16554
17521
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16555
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
17522
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
17523
#                 Inc.
16556
17524
#   Written by Gordon Matzigkeit, 1996
16557
17525
#
16558
17526
#   This file is part of GNU Libtool.
16600
17568
# Whether or not to optimize for fast installation.
16601
17569
fast_install=$enable_fast_install
16602
17570
 
 
17571
# Shell to use when invoking shell scripts.
 
17572
SHELL=$lt_SHELL
 
17573
 
 
17574
# An echo program that protects backslashes.
 
17575
ECHO=$lt_ECHO
 
17576
 
16603
17577
# The host system.
16604
17578
host_alias=$host_alias
16605
17579
host=$host
16649
17623
# turn newlines into spaces.
16650
17624
NL2SP=$lt_lt_NL2SP
16651
17625
 
16652
 
# How to create reloadable object files.
16653
 
reload_flag=$lt_reload_flag
16654
 
reload_cmds=$lt_reload_cmds
 
17626
# convert \$build file names to \$host format.
 
17627
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
17628
 
 
17629
# convert \$build files to toolchain format.
 
17630
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16655
17631
 
16656
17632
# An object symbol dumper.
16657
17633
OBJDUMP=$lt_OBJDUMP
16659
17635
# Method to check whether dependent libraries are shared objects.
16660
17636
deplibs_check_method=$lt_deplibs_check_method
16661
17637
 
16662
 
# Command to use when deplibs_check_method == "file_magic".
 
17638
# Command to use when deplibs_check_method = "file_magic".
16663
17639
file_magic_cmd=$lt_file_magic_cmd
16664
17640
 
 
17641
# How to find potential files when deplibs_check_method = "file_magic".
 
17642
file_magic_glob=$lt_file_magic_glob
 
17643
 
 
17644
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
17645
want_nocaseglob=$lt_want_nocaseglob
 
17646
 
 
17647
# DLL creation program.
 
17648
DLLTOOL=$lt_DLLTOOL
 
17649
 
 
17650
# Command to associate shared and link libraries.
 
17651
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
17652
 
16665
17653
# The archiver.
16666
17654
AR=$lt_AR
 
17655
 
 
17656
# Flags to create an archive.
16667
17657
AR_FLAGS=$lt_AR_FLAGS
16668
17658
 
 
17659
# How to feed a file listing to the archiver.
 
17660
archiver_list_spec=$lt_archiver_list_spec
 
17661
 
16669
17662
# A symbol stripping program.
16670
17663
STRIP=$lt_STRIP
16671
17664
 
16674
17667
old_postinstall_cmds=$lt_old_postinstall_cmds
16675
17668
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16676
17669
 
 
17670
# Whether to use a lock for old archive extraction.
 
17671
lock_old_archive_extraction=$lock_old_archive_extraction
 
17672
 
16677
17673
# A C compiler.
16678
17674
LTCC=$lt_CC
16679
17675
 
16692
17688
# Transform the output of nm in a C name address pair when lib prefix is needed.
16693
17689
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16694
17690
 
 
17691
# Specify filename containing input files for \$NM.
 
17692
nm_file_list_spec=$lt_nm_file_list_spec
 
17693
 
 
17694
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
17695
lt_sysroot=$lt_sysroot
 
17696
 
16695
17697
# The name of the directory that contains temporary libtool files.
16696
17698
objdir=$objdir
16697
17699
 
16698
 
# Shell to use when invoking shell scripts.
16699
 
SHELL=$lt_SHELL
16700
 
 
16701
 
# An echo program that does not interpret backslashes.
16702
 
ECHO=$lt_ECHO
16703
 
 
16704
17700
# Used to examine libraries when file_magic_cmd begins with "file".
16705
17701
MAGIC_CMD=$MAGIC_CMD
16706
17702
 
16707
17703
# Must we lock files when doing compilation?
16708
17704
need_locks=$lt_need_locks
16709
17705
 
 
17706
# Manifest tool.
 
17707
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
17708
 
16710
17709
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16711
17710
DSYMUTIL=$lt_DSYMUTIL
16712
17711
 
16763
17762
# The coded name of the library, if different from the real name.
16764
17763
soname_spec=$lt_soname_spec
16765
17764
 
 
17765
# Permission mode override for installation of shared libraries.
 
17766
install_override_mode=$lt_install_override_mode
 
17767
 
16766
17768
# Command to use after installation of a shared archive.
16767
17769
postinstall_cmds=$lt_postinstall_cmds
16768
17770
 
16802
17804
# The linker used to build libraries.
16803
17805
LD=$lt_LD
16804
17806
 
 
17807
# How to create reloadable object files.
 
17808
reload_flag=$lt_reload_flag
 
17809
reload_cmds=$lt_reload_cmds
 
17810
 
16805
17811
# Commands used to build an old-style archive.
16806
17812
old_archive_cmds=$lt_old_archive_cmds
16807
17813
 
16814
17820
# Compiler flag to turn off builtin functions.
16815
17821
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16816
17822
 
 
17823
# Additional compiler flags for building library objects.
 
17824
pic_flag=$lt_lt_prog_compiler_pic
 
17825
 
16817
17826
# How to pass a linker flag through the compiler.
16818
17827
wl=$lt_lt_prog_compiler_wl
16819
17828
 
16820
 
# Additional compiler flags for building library objects.
16821
 
pic_flag=$lt_lt_prog_compiler_pic
16822
 
 
16823
17829
# Compiler flag to prevent dynamic linking.
16824
17830
link_static_flag=$lt_lt_prog_compiler_static
16825
17831
 
16906
17912
# Whether libtool must link a program against all its dependency libraries.
16907
17913
link_all_deplibs=$link_all_deplibs
16908
17914
 
16909
 
# Fix the shell variable \$srcfile for the compiler.
16910
 
fix_srcfile_path=$lt_fix_srcfile_path
16911
 
 
16912
17915
# Set to "yes" if exported symbols are required.
16913
17916
always_export_symbols=$always_export_symbols
16914
17917
 
16924
17927
# Commands necessary for linking programs (against libraries) with templates.
16925
17928
prelink_cmds=$lt_prelink_cmds
16926
17929
 
 
17930
# Commands necessary for finishing linking programs.
 
17931
postlink_cmds=$lt_postlink_cmds
 
17932
 
16927
17933
# Specify filename containing input files.
16928
17934
file_list_spec=$lt_file_list_spec
16929
17935
 
16956
17962
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16957
17963
  # text mode, it properly converts lines to CR/LF.  This bash problem
16958
17964
  # is reportedly fixed, but why not run on old versions too?
16959
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16960
 
    || (rm -f "$cfgfile"; exit 1)
16961
 
 
16962
 
  case $xsi_shell in
16963
 
  yes)
16964
 
    cat << \_LT_EOF >> "$cfgfile"
16965
 
 
16966
 
# func_dirname file append nondir_replacement
16967
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16968
 
# otherwise set result to NONDIR_REPLACEMENT.
16969
 
func_dirname ()
16970
 
{
16971
 
  case ${1} in
16972
 
    */*) func_dirname_result="${1%/*}${2}" ;;
16973
 
    *  ) func_dirname_result="${3}" ;;
16974
 
  esac
16975
 
}
16976
 
 
16977
 
# func_basename file
16978
 
func_basename ()
16979
 
{
16980
 
  func_basename_result="${1##*/}"
16981
 
}
16982
 
 
16983
 
# func_dirname_and_basename file append nondir_replacement
16984
 
# perform func_basename and func_dirname in a single function
16985
 
# call:
16986
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
16987
 
#             add APPEND to the result, otherwise set result
16988
 
#             to NONDIR_REPLACEMENT.
16989
 
#             value returned in "$func_dirname_result"
16990
 
#   basename: Compute filename of FILE.
16991
 
#             value retuned in "$func_basename_result"
16992
 
# Implementation must be kept synchronized with func_dirname
16993
 
# and func_basename. For efficiency, we do not delegate to
16994
 
# those functions but instead duplicate the functionality here.
16995
 
func_dirname_and_basename ()
16996
 
{
16997
 
  case ${1} in
16998
 
    */*) func_dirname_result="${1%/*}${2}" ;;
16999
 
    *  ) func_dirname_result="${3}" ;;
17000
 
  esac
17001
 
  func_basename_result="${1##*/}"
17002
 
}
17003
 
 
17004
 
# func_stripname prefix suffix name
17005
 
# strip PREFIX and SUFFIX off of NAME.
17006
 
# PREFIX and SUFFIX must not contain globbing or regex special
17007
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
17008
 
# dot (in which case that matches only a dot).
17009
 
func_stripname ()
17010
 
{
17011
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17012
 
  # positional parameters, so assign one to ordinary parameter first.
17013
 
  func_stripname_result=${3}
17014
 
  func_stripname_result=${func_stripname_result#"${1}"}
17015
 
  func_stripname_result=${func_stripname_result%"${2}"}
17016
 
}
17017
 
 
17018
 
# func_opt_split
17019
 
func_opt_split ()
17020
 
{
17021
 
  func_opt_split_opt=${1%%=*}
17022
 
  func_opt_split_arg=${1#*=}
17023
 
}
17024
 
 
17025
 
# func_lo2o object
17026
 
func_lo2o ()
17027
 
{
17028
 
  case ${1} in
17029
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17030
 
    *)    func_lo2o_result=${1} ;;
17031
 
  esac
17032
 
}
17033
 
 
17034
 
# func_xform libobj-or-source
17035
 
func_xform ()
17036
 
{
17037
 
  func_xform_result=${1%.*}.lo
17038
 
}
17039
 
 
17040
 
# func_arith arithmetic-term...
17041
 
func_arith ()
17042
 
{
17043
 
  func_arith_result=$(( $* ))
17044
 
}
17045
 
 
17046
 
# func_len string
17047
 
# STRING may not start with a hyphen.
17048
 
func_len ()
17049
 
{
17050
 
  func_len_result=${#1}
17051
 
}
17052
 
 
17053
 
_LT_EOF
17054
 
    ;;
17055
 
  *) # Bourne compatible functions.
17056
 
    cat << \_LT_EOF >> "$cfgfile"
17057
 
 
17058
 
# func_dirname file append nondir_replacement
17059
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17060
 
# otherwise set result to NONDIR_REPLACEMENT.
17061
 
func_dirname ()
17062
 
{
17063
 
  # Extract subdirectory from the argument.
17064
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17065
 
  if test "X$func_dirname_result" = "X${1}"; then
17066
 
    func_dirname_result="${3}"
17067
 
  else
17068
 
    func_dirname_result="$func_dirname_result${2}"
17069
 
  fi
17070
 
}
17071
 
 
17072
 
# func_basename file
17073
 
func_basename ()
17074
 
{
17075
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17076
 
}
17077
 
 
17078
 
 
17079
 
# func_stripname prefix suffix name
17080
 
# strip PREFIX and SUFFIX off of NAME.
17081
 
# PREFIX and SUFFIX must not contain globbing or regex special
17082
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
17083
 
# dot (in which case that matches only a dot).
17084
 
# func_strip_suffix prefix name
17085
 
func_stripname ()
17086
 
{
17087
 
  case ${2} in
17088
 
    .*) func_stripname_result=`$ECHO "X${3}" \
17089
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17090
 
    *)  func_stripname_result=`$ECHO "X${3}" \
17091
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17092
 
  esac
17093
 
}
17094
 
 
17095
 
# sed scripts:
17096
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17097
 
my_sed_long_arg='1s/^-[^=]*=//'
17098
 
 
17099
 
# func_opt_split
17100
 
func_opt_split ()
17101
 
{
17102
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17103
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17104
 
}
17105
 
 
17106
 
# func_lo2o object
17107
 
func_lo2o ()
17108
 
{
17109
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17110
 
}
17111
 
 
17112
 
# func_xform libobj-or-source
17113
 
func_xform ()
17114
 
{
17115
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17116
 
}
17117
 
 
17118
 
# func_arith arithmetic-term...
17119
 
func_arith ()
17120
 
{
17121
 
  func_arith_result=`expr "$@"`
17122
 
}
17123
 
 
17124
 
# func_len string
17125
 
# STRING may not start with a hyphen.
17126
 
func_len ()
17127
 
{
17128
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17129
 
}
17130
 
 
17131
 
_LT_EOF
17132
 
esac
17133
 
 
17134
 
case $lt_shell_append in
17135
 
  yes)
17136
 
    cat << \_LT_EOF >> "$cfgfile"
17137
 
 
17138
 
# func_append var value
17139
 
# Append VALUE to the end of shell variable VAR.
17140
 
func_append ()
17141
 
{
17142
 
  eval "$1+=\$2"
17143
 
}
17144
 
_LT_EOF
17145
 
    ;;
17146
 
  *)
17147
 
    cat << \_LT_EOF >> "$cfgfile"
17148
 
 
17149
 
# func_append var value
17150
 
# Append VALUE to the end of shell variable VAR.
17151
 
func_append ()
17152
 
{
17153
 
  eval "$1=\$$1\$2"
17154
 
}
17155
 
 
17156
 
_LT_EOF
17157
 
    ;;
17158
 
  esac
17159
 
 
17160
 
 
17161
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17162
 
    || (rm -f "$cfgfile"; exit 1)
17163
 
 
17164
 
  mv -f "$cfgfile" "$ofile" ||
 
17965
  sed '$q' "$ltmain" >> "$cfgfile" \
 
17966
     || (rm -f "$cfgfile"; exit 1)
 
17967
 
 
17968
  if test x"$xsi_shell" = xyes; then
 
17969
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
17970
func_dirname ()\
 
17971
{\
 
17972
\    case ${1} in\
 
17973
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17974
\      *  ) func_dirname_result="${3}" ;;\
 
17975
\    esac\
 
17976
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
17977
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17978
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17979
test 0 -eq $? || _lt_function_replace_fail=:
 
17980
 
 
17981
 
 
17982
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
17983
func_basename ()\
 
17984
{\
 
17985
\    func_basename_result="${1##*/}"\
 
17986
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17987
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17988
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17989
test 0 -eq $? || _lt_function_replace_fail=:
 
17990
 
 
17991
 
 
17992
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
17993
func_dirname_and_basename ()\
 
17994
{\
 
17995
\    case ${1} in\
 
17996
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17997
\      *  ) func_dirname_result="${3}" ;;\
 
17998
\    esac\
 
17999
\    func_basename_result="${1##*/}"\
 
18000
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
18001
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18002
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18003
test 0 -eq $? || _lt_function_replace_fail=:
 
18004
 
 
18005
 
 
18006
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
18007
func_stripname ()\
 
18008
{\
 
18009
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
18010
\    # positional parameters, so assign one to ordinary parameter first.\
 
18011
\    func_stripname_result=${3}\
 
18012
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
18013
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
18014
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
18015
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18016
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18017
test 0 -eq $? || _lt_function_replace_fail=:
 
18018
 
 
18019
 
 
18020
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
18021
func_split_long_opt ()\
 
18022
{\
 
18023
\    func_split_long_opt_name=${1%%=*}\
 
18024
\    func_split_long_opt_arg=${1#*=}\
 
18025
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
18026
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18027
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18028
test 0 -eq $? || _lt_function_replace_fail=:
 
18029
 
 
18030
 
 
18031
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
18032
func_split_short_opt ()\
 
18033
{\
 
18034
\    func_split_short_opt_arg=${1#??}\
 
18035
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
18036
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
18037
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18038
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18039
test 0 -eq $? || _lt_function_replace_fail=:
 
18040
 
 
18041
 
 
18042
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
18043
func_lo2o ()\
 
18044
{\
 
18045
\    case ${1} in\
 
18046
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
18047
\      *)    func_lo2o_result=${1} ;;\
 
18048
\    esac\
 
18049
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
18050
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18051
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18052
test 0 -eq $? || _lt_function_replace_fail=:
 
18053
 
 
18054
 
 
18055
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
18056
func_xform ()\
 
18057
{\
 
18058
    func_xform_result=${1%.*}.lo\
 
18059
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
18060
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18061
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18062
test 0 -eq $? || _lt_function_replace_fail=:
 
18063
 
 
18064
 
 
18065
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
18066
func_arith ()\
 
18067
{\
 
18068
    func_arith_result=$(( $* ))\
 
18069
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
18070
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18071
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18072
test 0 -eq $? || _lt_function_replace_fail=:
 
18073
 
 
18074
 
 
18075
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
18076
func_len ()\
 
18077
{\
 
18078
    func_len_result=${#1}\
 
18079
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
18080
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18081
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18082
test 0 -eq $? || _lt_function_replace_fail=:
 
18083
 
 
18084
fi
 
18085
 
 
18086
if test x"$lt_shell_append" = xyes; then
 
18087
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
18088
func_append ()\
 
18089
{\
 
18090
    eval "${1}+=\\${2}"\
 
18091
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
18092
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18093
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18094
test 0 -eq $? || _lt_function_replace_fail=:
 
18095
 
 
18096
 
 
18097
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
18098
func_append_quoted ()\
 
18099
{\
 
18100
\    func_quote_for_eval "${2}"\
 
18101
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
18102
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
18103
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18104
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18105
test 0 -eq $? || _lt_function_replace_fail=:
 
18106
 
 
18107
 
 
18108
  # Save a `func_append' function call where possible by direct use of '+='
 
18109
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
18110
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18111
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18112
  test 0 -eq $? || _lt_function_replace_fail=:
 
18113
else
 
18114
  # Save a `func_append' function call even when '+=' is not available
 
18115
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
18116
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18117
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18118
  test 0 -eq $? || _lt_function_replace_fail=:
 
18119
fi
 
18120
 
 
18121
if test x"$_lt_function_replace_fail" = x":"; then
 
18122
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
18123
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
18124
fi
 
18125
 
 
18126
 
 
18127
   mv -f "$cfgfile" "$ofile" ||
17165
18128
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17166
18129
  chmod +x "$ofile"
17167
18130
 
17176
18139
ac_clean_files=$ac_clean_files_save
17177
18140
 
17178
18141
test $ac_write_fail = 0 ||
17179
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
18142
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17180
18143
 
17181
18144
 
17182
18145
# configure is writing to config.log, and then calls config.status.
17197
18160
  exec 5>>config.log
17198
18161
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17199
18162
  # would make configure fail if this is the last instruction.
17200
 
  $ac_cs_success || as_fn_exit $?
 
18163
  $ac_cs_success || as_fn_exit 1
17201
18164
fi
17202
18165
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17203
18166
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5