~ubuntu-branches/ubuntu/raring/powermanga/raring

« back to all changes in this revision

Viewing changes to autom4te.cache/output.0

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2006-08-19 10:15:56 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060819101556-llg7innyzoadukro
Tags: 0.80-3ubuntu1
* Re-merge with Debian
* Fix desktop file for validation
* Install icon in /usr/share/pixmaps

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
@%:@! /bin/sh
2
2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
 
@%:@ Generated by GNU Autoconf 2.57.
 
3
@%:@ Generated by GNU Autoconf 2.59.
4
4
@%:@ 
5
 
@%:@ Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
 
@%:@ Free Software Foundation, Inc.
 
5
@%:@ Copyright (C) 2003 Free Software Foundation, Inc.
7
6
@%:@ This configure script is free software; the Free Software Foundation
8
7
@%:@ gives unlimited permission to copy, distribute and modify it.
9
8
## --------------------- ##
20
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21
20
  set -o posix
22
21
fi
 
22
DUALCASE=1; export DUALCASE # for MKS sh
23
23
 
24
24
# Support unset when possible.
25
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26
26
  as_unset=unset
27
27
else
28
28
  as_unset=false
41
41
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42
42
  LC_TELEPHONE LC_TIME
43
43
do
44
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
44
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
45
    eval $as_var=C; export $as_var
46
46
  else
47
47
    $as_unset $as_var
218
218
if mkdir -p . 2>/dev/null; then
219
219
  as_mkdir_p=:
220
220
else
 
221
  test -d ./-p && rmdir ./-p
221
222
  as_mkdir_p=false
222
223
fi
223
224
 
224
225
as_executable_p="test -f"
225
226
 
226
227
# Sed expression to map a string onto a valid CPP name.
227
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
228
229
 
229
230
# Sed expression to map a string onto a valid variable name.
230
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231
232
 
232
233
 
233
234
# IFS
271
272
PACKAGE_BUGREPORT=
272
273
 
273
274
ac_unique_file="src/powermanga.cpp"
274
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CCAS CCASFLAGS CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CPP XLIB_CFLAGS XLIB_LIBS SDL_CONFIG SDL_CFLAGS SDL_LIBS ASSEMBLY_TRUE ASSEMBLY_FALSE LIB@&t@OBJS LTLIBOBJS'
 
275
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CCAS CCASFLAGS CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CPP XLIB_CFLAGS XLIB_LIBS ASSEMBLY_TRUE ASSEMBLY_FALSE LIB@&t@OBJS LTLIBOBJS'
275
276
ac_subst_files=''
276
277
 
277
278
# Initialize some variables set by options.
630
631
 
631
632
# Be sure to have absolute paths.
632
633
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633
 
              localstatedir libdir includedir oldincludedir infodir mandir
 
634
              localstatedir libdir includedir oldincludedir infodir mandir
634
635
do
635
636
  eval ac_val=$`echo $ac_var`
636
637
  case $ac_val in
670
671
  # Try the directory containing this script, then its parent.
671
672
  ac_confdir=`(dirname "$0") 2>/dev/null ||
672
673
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673
 
         X"$0" : 'X\(//\)[^/]' \| \
674
 
         X"$0" : 'X\(//\)$' \| \
675
 
         X"$0" : 'X\(/\)' \| \
676
 
         .     : '\(.\)' 2>/dev/null ||
 
674
         X"$0" : 'X\(//\)[^/]' \| \
 
675
         X"$0" : 'X\(//\)$' \| \
 
676
         X"$0" : 'X\(/\)' \| \
 
677
         .     : '\(.\)' 2>/dev/null ||
677
678
echo X"$0" |
678
679
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679
680
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
728
729
ac_env_CPPFLAGS_value=$CPPFLAGS
729
730
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
730
731
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
 
732
ac_env_CCAS_set=${CCAS+set}
 
733
ac_env_CCAS_value=$CCAS
 
734
ac_cv_env_CCAS_set=${CCAS+set}
 
735
ac_cv_env_CCAS_value=$CCAS
 
736
ac_env_CCASFLAGS_set=${CCASFLAGS+set}
 
737
ac_env_CCASFLAGS_value=$CCASFLAGS
 
738
ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
 
739
ac_cv_env_CCASFLAGS_value=$CCASFLAGS
731
740
ac_env_CXX_set=${CXX+set}
732
741
ac_env_CXX_value=$CXX
733
742
ac_cv_env_CXX_set=${CXX+set}
773
782
  cat <<_ACEOF
774
783
Installation directories:
775
784
  --prefix=PREFIX         install architecture-independent files in PREFIX
776
 
                          [$ac_default_prefix]
 
785
                          [$ac_default_prefix]
777
786
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
778
 
                          [PREFIX]
 
787
                          [PREFIX]
779
788
 
780
789
By default, \`make install' will install all the files in
781
790
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
824
833
Optional Features:
825
834
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
826
835
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
827
 
  --disable-dependency-tracking Speeds up one-time builds
828
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
829
 
  --disable-sdltest       Do not try to compile and run a test SDL program
 
836
  --disable-dependency-tracking  speeds up one-time build
 
837
  --enable-dependency-tracking   do not reject slow dependency extractors
830
838
 
831
839
Optional Packages:
832
840
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
833
841
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
834
842
  --with-x                use the X Window System
835
 
  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
836
 
  --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
837
843
 
838
844
Some influential environment variables:
839
845
  CC          C compiler command
842
848
              nonstandard directory <lib dir>
843
849
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
844
850
              headers in a nonstandard directory <include dir>
 
851
  CCAS        assembler compiler command (defaults to CC)
 
852
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
845
853
  CXX         C++ compiler command
846
854
  CXXFLAGS    C++ compiler flags
847
855
  CPP         C preprocessor
882
890
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
883
891
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
884
892
esac
885
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
886
 
# absolute.
887
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
888
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
889
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
890
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
893
 
 
894
# Do not use `cd foo && pwd` to compute absolute paths, because
 
895
# the directories may not exist.
 
896
case `pwd` in
 
897
.) ac_abs_builddir="$ac_dir";;
 
898
*)
 
899
  case "$ac_dir" in
 
900
  .) ac_abs_builddir=`pwd`;;
 
901
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
902
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
903
  esac;;
 
904
esac
 
905
case $ac_abs_builddir in
 
906
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
907
*)
 
908
  case ${ac_top_builddir}. in
 
909
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
910
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
911
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
912
  esac;;
 
913
esac
 
914
case $ac_abs_builddir in
 
915
.) ac_abs_srcdir=$ac_srcdir;;
 
916
*)
 
917
  case $ac_srcdir in
 
918
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
919
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
920
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
921
  esac;;
 
922
esac
 
923
case $ac_abs_builddir in
 
924
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
925
*)
 
926
  case $ac_top_srcdir in
 
927
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
928
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
929
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
930
  esac;;
 
931
esac
891
932
 
892
933
    cd $ac_dir
893
934
    # Check for guested configure; otherwise get Cygnus style configure.
898
939
      echo
899
940
      $SHELL $ac_srcdir/configure  --help=recursive
900
941
    elif test -f $ac_srcdir/configure.ac ||
901
 
           test -f $ac_srcdir/configure.in; then
 
942
           test -f $ac_srcdir/configure.in; then
902
943
      echo
903
944
      $ac_configure --help
904
945
    else
905
946
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
906
947
    fi
907
 
    cd $ac_popdir
 
948
    cd "$ac_popdir"
908
949
  done
909
950
fi
910
951
 
912
953
if $ac_init_version; then
913
954
  cat <<\_ACEOF
914
955
 
915
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
916
 
Free Software Foundation, Inc.
 
956
Copyright (C) 2003 Free Software Foundation, Inc.
917
957
This configure script is free software; the Free Software Foundation
918
958
gives unlimited permission to copy, distribute and modify it.
919
959
_ACEOF
925
965
running configure, to aid debugging if configure makes a mistake.
926
966
 
927
967
It was created by $as_me, which was
928
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
968
generated by GNU Autoconf 2.59.  Invocation command line was
929
969
 
930
970
  $ $0 $@
931
971
 
1002
1042
    2)
1003
1043
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1004
1044
      if test $ac_must_keep_next = true; then
1005
 
        ac_must_keep_next=false # Got value, back to normal.
 
1045
        ac_must_keep_next=false # Got value, back to normal.
1006
1046
      else
1007
 
        case $ac_arg in
1008
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1009
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1010
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1011
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1012
 
            case "$ac_configure_args0 " in
1013
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1014
 
            esac
1015
 
            ;;
1016
 
          -* ) ac_must_keep_next=true ;;
1017
 
        esac
 
1047
        case $ac_arg in
 
1048
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
1049
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
1050
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
1051
          | -with-* | --with-* | -without-* | --without-* | --x)
 
1052
            case "$ac_configure_args0 " in
 
1053
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
1054
            esac
 
1055
            ;;
 
1056
          -* ) ac_must_keep_next=true ;;
 
1057
        esac
1018
1058
      fi
1019
1059
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1020
1060
      # Get rid of the leading space.
1048
1088
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1049
1089
    *ac_space=\ *)
1050
1090
      sed -n \
1051
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1052
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 
1091
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 
1092
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1053
1093
      ;;
1054
1094
    *)
1055
1095
      sed -n \
1056
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1096
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1057
1097
      ;;
1058
1098
    esac;
1059
1099
}
1082
1122
      for ac_var in $ac_subst_files
1083
1123
      do
1084
1124
        eval ac_val=$`echo $ac_var`
1085
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1125
        echo "$ac_var='"'"'$ac_val'"'"'"
1086
1126
      done | sort
1087
1127
      echo
1088
1128
    fi
1101
1141
      echo "$as_me: caught signal $ac_signal"
1102
1142
    echo "$as_me: exit $exit_status"
1103
1143
  } >&5
1104
 
  rm -f core core.* *.core &&
 
1144
  rm -f core *.core &&
1105
1145
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1106
1146
    exit $exit_status
1107
1147
     ' 0
1181
1221
# value.
1182
1222
ac_cache_corrupted=false
1183
1223
for ac_var in `(set) 2>&1 |
1184
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1224
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1185
1225
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1186
1226
  eval ac_new_set=\$ac_env_${ac_var}_set
1187
1227
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1198
1238
    ,);;
1199
1239
    *)
1200
1240
      if test "x$ac_old_val" != "x$ac_new_val"; then
1201
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1241
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1202
1242
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1203
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 
1243
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1204
1244
echo "$as_me:   former value:  $ac_old_val" >&2;}
1205
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 
1245
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1206
1246
echo "$as_me:   current value: $ac_new_val" >&2;}
1207
 
        ac_cache_corrupted=:
 
1247
        ac_cache_corrupted=:
1208
1248
      fi;;
1209
1249
  esac
1210
1250
  # Pass precious variables to config.status.
1359
1399
  test "$program_prefix$program_suffix$program_transform_name" = \
1360
1400
    NONENONEs,x,x, &&
1361
1401
  program_prefix=${target_alias}-
1362
 
am__api_version="1.7"
 
1402
am__api_version="1.9"
1363
1403
# Find a good install program.  We prefer a C program (faster),
1364
1404
# so one script is as good as another.  But avoid the broken or
1365
1405
# incompatible versions:
1371
1411
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1372
1412
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1373
1413
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
1414
# OS/2's system install, which has a completely different semantic
1374
1415
# ./install, which can be erroneously created by make from ./install.sh.
1375
1416
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1376
1417
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1387
1428
case $as_dir/ in
1388
1429
  ./ | .// | /cC/* | \
1389
1430
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
1431
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1390
1432
  /usr/ucb/* ) ;;
1391
1433
  *)
1392
1434
    # OSF1 and SCO ODT 3.0 have their own names for install.
1394
1436
    # by default.
1395
1437
    for ac_prog in ginstall scoinst install; do
1396
1438
      for ac_exec_ext in '' $ac_executable_extensions; do
1397
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1398
 
          if test $ac_prog = install &&
1399
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1400
 
            # AIX install.  It has an incompatible calling convention.
1401
 
            :
1402
 
          elif test $ac_prog = install &&
1403
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1404
 
            # program-specific install script used by HP pwplus--don't use.
1405
 
            :
1406
 
          else
1407
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1408
 
            break 3
1409
 
          fi
1410
 
        fi
 
1439
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1440
          if test $ac_prog = install &&
 
1441
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1442
            # AIX install.  It has an incompatible calling convention.
 
1443
            :
 
1444
          elif test $ac_prog = install &&
 
1445
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
1446
            # program-specific install script used by HP pwplus--don't use.
 
1447
            :
 
1448
          else
 
1449
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1450
            break 3
 
1451
          fi
 
1452
        fi
1411
1453
      done
1412
1454
    done
1413
1455
    ;;
1495
1537
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1496
1538
rm conftest.sed
1497
1539
 
1498
 
 
1499
1540
# expand $ac_aux_dir to an absolute path
1500
1541
am_aux_dir=`cd $ac_aux_dir && pwd`
1501
1542
 
1509
1550
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1510
1551
fi
1511
1552
 
 
1553
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1554
  # We used to keeping the `.' as first argument, in order to
 
1555
  # allow $(mkdir_p) to be used without argument.  As in
 
1556
  #   $(mkdir_p) $(somedir)
 
1557
  # where $(somedir) is conditionally defined.  However this is wrong
 
1558
  # for two reasons:
 
1559
  #  1. if the package is installed by a user who cannot write `.'
 
1560
  #     make install will fail,
 
1561
  #  2. the above comment should most certainly read
 
1562
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
1563
  #     so it does not work when $(somedir) is undefined and
 
1564
  #     $(DESTDIR) is not.
 
1565
  #  To support the latter case, we have to write
 
1566
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
1567
  #  so the `.' trick is pointless.
 
1568
  mkdir_p='mkdir -p --'
 
1569
else
 
1570
  # On NextStep and OpenStep, the `mkdir' command does not
 
1571
  # recognize any option.  It will interpret all options as
 
1572
  # directories to create, and then abort because `.' already
 
1573
  # exists.
 
1574
  for d in ./-p ./--version;
 
1575
  do
 
1576
    test -d $d && rmdir $d
 
1577
  done
 
1578
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1579
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1580
    mkdir_p='$(mkinstalldirs)'
 
1581
  else
 
1582
    mkdir_p='$(install_sh) -d'
 
1583
  fi
 
1584
fi
 
1585
 
1512
1586
for ac_prog in gawk mawk nawk awk
1513
1587
do
1514
1588
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1551
1625
 
1552
1626
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1553
1627
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1554
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 
1628
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1555
1629
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1556
1630
  echo $ECHO_N "(cached) $ECHO_C" >&6
1557
1631
else
1578
1652
  SET_MAKE="MAKE=${MAKE-make}"
1579
1653
fi
1580
1654
 
1581
 
 # test to see if srcdir already configured
 
1655
rm -rf .tst 2>/dev/null
 
1656
mkdir .tst 2>/dev/null
 
1657
if test -d .tst; then
 
1658
  am__leading_dot=.
 
1659
else
 
1660
  am__leading_dot=_
 
1661
fi
 
1662
rmdir .tst 2>/dev/null
 
1663
 
 
1664
# test to see if srcdir already configured
1582
1665
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1583
1666
   test -f $srcdir/config.status; then
1584
1667
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1598
1681
 
1599
1682
# Define the identity of the package.
1600
1683
 PACKAGE=powermanga
1601
 
 VERSION=0.78
 
1684
 VERSION=0.80
1602
1685
 
1603
1686
 
1604
1687
cat >>confdefs.h <<_ACEOF
1626
1709
 
1627
1710
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1628
1711
 
1629
 
 
1630
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
1631
 
 
1632
1712
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1633
1713
 
1634
1714
# Installed binaries are usually stripped using `strip' when the user
1721
1801
 
1722
1802
# We need awk for the "check" target.  The system "awk" is bad on
1723
1803
# some platforms.
 
1804
# Always define AMTAR for backward compatibility.
 
1805
 
 
1806
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
1807
 
 
1808
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
1809
 
 
1810
 
1724
1811
 
1725
1812
 
1726
1813
 
2063
2150
  (exit $ac_status); }
2064
2151
 
2065
2152
cat >conftest.$ac_ext <<_ACEOF
2066
 
#line $LINENO "configure"
2067
2153
/* confdefs.h.  */
2068
2154
_ACEOF
2069
2155
cat confdefs.h >>conftest.$ac_ext
2083
2169
# Try to create an executable without -o first, disregard a.out.
2084
2170
# It will help us diagnose broken compilers, and finding out an intuition
2085
2171
# of exeext.
2086
 
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2087
 
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
 
2172
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2173
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2088
2174
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2089
2175
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2090
2176
  (eval $ac_link_default) 2>&5
2104
2190
  test -f "$ac_file" || continue
2105
2191
  case $ac_file in
2106
2192
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2107
 
        ;;
 
2193
        ;;
2108
2194
    conftest.$ac_ext )
2109
 
        # This is the source file.
2110
 
        ;;
 
2195
        # This is the source file.
 
2196
        ;;
2111
2197
    [ab].out )
2112
 
        # We found the default executable, but exeext='' is most
2113
 
        # certainly right.
2114
 
        break;;
 
2198
        # We found the default executable, but exeext='' is most
 
2199
        # certainly right.
 
2200
        break;;
2115
2201
    *.* )
2116
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2117
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2118
 
        # but it would be cool to find out if it's true.  Does anybody
2119
 
        # maintain Libtool? --akim.
2120
 
        export ac_cv_exeext
2121
 
        break;;
 
2202
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2203
        # FIXME: I believe we export ac_cv_exeext for Libtool,
 
2204
        # but it would be cool to find out if it's true.  Does anybody
 
2205
        # maintain Libtool? --akim.
 
2206
        export ac_cv_exeext
 
2207
        break;;
2122
2208
    * )
2123
 
        break;;
 
2209
        break;;
2124
2210
  esac
2125
2211
done
2126
2212
else
2194
2280
  case $ac_file in
2195
2281
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2196
2282
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2197
 
          export ac_cv_exeext
2198
 
          break;;
 
2283
          export ac_cv_exeext
 
2284
          break;;
2199
2285
    * ) break;;
2200
2286
  esac
2201
2287
done
2220
2306
  echo $ECHO_N "(cached) $ECHO_C" >&6
2221
2307
else
2222
2308
  cat >conftest.$ac_ext <<_ACEOF
2223
 
#line $LINENO "configure"
2224
2309
/* confdefs.h.  */
2225
2310
_ACEOF
2226
2311
cat confdefs.h >>conftest.$ac_ext
2271
2356
  echo $ECHO_N "(cached) $ECHO_C" >&6
2272
2357
else
2273
2358
  cat >conftest.$ac_ext <<_ACEOF
2274
 
#line $LINENO "configure"
2275
2359
/* confdefs.h.  */
2276
2360
_ACEOF
2277
2361
cat confdefs.h >>conftest.$ac_ext
2291
2375
_ACEOF
2292
2376
rm -f conftest.$ac_objext
2293
2377
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2294
 
  (eval $ac_compile) 2>&5
 
2378
  (eval $ac_compile) 2>conftest.er1
2295
2379
  ac_status=$?
 
2380
  grep -v '^ *+' conftest.er1 >conftest.err
 
2381
  rm -f conftest.er1
 
2382
  cat conftest.err >&5
2296
2383
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297
2384
  (exit $ac_status); } &&
2298
 
         { ac_try='test -s conftest.$ac_objext'
 
2385
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2386
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2387
  (eval $ac_try) 2>&5
 
2388
  ac_status=$?
 
2389
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2390
  (exit $ac_status); }; } &&
 
2391
         { ac_try='test -s conftest.$ac_objext'
2299
2392
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2300
2393
  (eval $ac_try) 2>&5
2301
2394
  ac_status=$?
2308
2401
 
2309
2402
ac_compiler_gnu=no
2310
2403
fi
2311
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2404
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2312
2405
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2313
2406
 
2314
2407
fi
2324
2417
  echo $ECHO_N "(cached) $ECHO_C" >&6
2325
2418
else
2326
2419
  cat >conftest.$ac_ext <<_ACEOF
2327
 
#line $LINENO "configure"
2328
2420
/* confdefs.h.  */
2329
2421
_ACEOF
2330
2422
cat confdefs.h >>conftest.$ac_ext
2341
2433
_ACEOF
2342
2434
rm -f conftest.$ac_objext
2343
2435
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344
 
  (eval $ac_compile) 2>&5
 
2436
  (eval $ac_compile) 2>conftest.er1
2345
2437
  ac_status=$?
 
2438
  grep -v '^ *+' conftest.er1 >conftest.err
 
2439
  rm -f conftest.er1
 
2440
  cat conftest.err >&5
2346
2441
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347
2442
  (exit $ac_status); } &&
2348
 
         { ac_try='test -s conftest.$ac_objext'
 
2443
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2444
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2445
  (eval $ac_try) 2>&5
 
2446
  ac_status=$?
 
2447
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2448
  (exit $ac_status); }; } &&
 
2449
         { ac_try='test -s conftest.$ac_objext'
2349
2450
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2350
2451
  (eval $ac_try) 2>&5
2351
2452
  ac_status=$?
2358
2459
 
2359
2460
ac_cv_prog_cc_g=no
2360
2461
fi
2361
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2462
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2362
2463
fi
2363
2464
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2364
2465
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2385
2486
  ac_cv_prog_cc_stdc=no
2386
2487
ac_save_CC=$CC
2387
2488
cat >conftest.$ac_ext <<_ACEOF
2388
 
#line $LINENO "configure"
2389
2489
/* confdefs.h.  */
2390
2490
_ACEOF
2391
2491
cat confdefs.h >>conftest.$ac_ext
2413
2513
  va_end (v);
2414
2514
  return s;
2415
2515
}
 
2516
 
 
2517
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
2518
   function prototypes and stuff, but not '\xHH' hex character constants.
 
2519
   These don't provoke an error unfortunately, instead are silently treated
 
2520
   as 'x'.  The following induces an error, until -std1 is added to get
 
2521
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
2522
   array size at least.  It's necessary to write '\x00'==0 to get something
 
2523
   that's true only with -std1.  */
 
2524
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
2525
 
2416
2526
int test (int i, double x);
2417
2527
struct s1 {int (*f) (int a);};
2418
2528
struct s2 {int (*f) (double a);};
2439
2549
  CC="$ac_save_CC $ac_arg"
2440
2550
  rm -f conftest.$ac_objext
2441
2551
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2442
 
  (eval $ac_compile) 2>&5
 
2552
  (eval $ac_compile) 2>conftest.er1
2443
2553
  ac_status=$?
 
2554
  grep -v '^ *+' conftest.er1 >conftest.err
 
2555
  rm -f conftest.er1
 
2556
  cat conftest.err >&5
2444
2557
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445
2558
  (exit $ac_status); } &&
2446
 
         { ac_try='test -s conftest.$ac_objext'
 
2559
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2560
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2561
  (eval $ac_try) 2>&5
 
2562
  ac_status=$?
 
2563
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2564
  (exit $ac_status); }; } &&
 
2565
         { ac_try='test -s conftest.$ac_objext'
2447
2566
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2448
2567
  (eval $ac_try) 2>&5
2449
2568
  ac_status=$?
2456
2575
sed 's/^/| /' conftest.$ac_ext >&5
2457
2576
 
2458
2577
fi
2459
 
rm -f conftest.$ac_objext 
 
2578
rm -f conftest.err conftest.$ac_objext 
2460
2579
done
2461
2580
rm -f conftest.$ac_ext conftest.$ac_objext
2462
2581
CC=$ac_save_CC
2484
2603
_ACEOF
2485
2604
rm -f conftest.$ac_objext
2486
2605
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2487
 
  (eval $ac_compile) 2>&5
 
2606
  (eval $ac_compile) 2>conftest.er1
2488
2607
  ac_status=$?
 
2608
  grep -v '^ *+' conftest.er1 >conftest.err
 
2609
  rm -f conftest.er1
 
2610
  cat conftest.err >&5
2489
2611
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490
2612
  (exit $ac_status); } &&
2491
 
         { ac_try='test -s conftest.$ac_objext'
 
2613
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2614
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2615
  (eval $ac_try) 2>&5
 
2616
  ac_status=$?
 
2617
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2618
  (exit $ac_status); }; } &&
 
2619
         { ac_try='test -s conftest.$ac_objext'
2492
2620
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2493
2621
  (eval $ac_try) 2>&5
2494
2622
  ac_status=$?
2495
2623
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496
2624
  (exit $ac_status); }; }; then
2497
2625
  for ac_declaration in \
2498
 
   ''\
2499
 
   '#include <stdlib.h>' \
 
2626
   '' \
2500
2627
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2501
2628
   'extern "C" void std::exit (int); using std::exit;' \
2502
2629
   'extern "C" void exit (int) throw ();' \
2504
2631
   'void exit (int);'
2505
2632
do
2506
2633
  cat >conftest.$ac_ext <<_ACEOF
2507
 
#line $LINENO "configure"
2508
2634
/* confdefs.h.  */
2509
2635
_ACEOF
2510
2636
cat confdefs.h >>conftest.$ac_ext
2511
2637
cat >>conftest.$ac_ext <<_ACEOF
2512
2638
/* end confdefs.h.  */
 
2639
$ac_declaration
2513
2640
@%:@include <stdlib.h>
2514
 
$ac_declaration
2515
2641
int
2516
2642
main ()
2517
2643
{
2522
2648
_ACEOF
2523
2649
rm -f conftest.$ac_objext
2524
2650
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2525
 
  (eval $ac_compile) 2>&5
 
2651
  (eval $ac_compile) 2>conftest.er1
2526
2652
  ac_status=$?
 
2653
  grep -v '^ *+' conftest.er1 >conftest.err
 
2654
  rm -f conftest.er1
 
2655
  cat conftest.err >&5
2527
2656
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528
2657
  (exit $ac_status); } &&
2529
 
         { ac_try='test -s conftest.$ac_objext'
 
2658
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2659
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2660
  (eval $ac_try) 2>&5
 
2661
  ac_status=$?
 
2662
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2663
  (exit $ac_status); }; } &&
 
2664
         { ac_try='test -s conftest.$ac_objext'
2530
2665
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2531
2666
  (eval $ac_try) 2>&5
2532
2667
  ac_status=$?
2539
2674
 
2540
2675
continue
2541
2676
fi
2542
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2677
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2543
2678
  cat >conftest.$ac_ext <<_ACEOF
2544
 
#line $LINENO "configure"
2545
2679
/* confdefs.h.  */
2546
2680
_ACEOF
2547
2681
cat confdefs.h >>conftest.$ac_ext
2558
2692
_ACEOF
2559
2693
rm -f conftest.$ac_objext
2560
2694
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2561
 
  (eval $ac_compile) 2>&5
 
2695
  (eval $ac_compile) 2>conftest.er1
2562
2696
  ac_status=$?
 
2697
  grep -v '^ *+' conftest.er1 >conftest.err
 
2698
  rm -f conftest.er1
 
2699
  cat conftest.err >&5
2563
2700
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564
2701
  (exit $ac_status); } &&
2565
 
         { ac_try='test -s conftest.$ac_objext'
 
2702
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2703
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
2704
  (eval $ac_try) 2>&5
 
2705
  ac_status=$?
 
2706
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2707
  (exit $ac_status); }; } &&
 
2708
         { ac_try='test -s conftest.$ac_objext'
2566
2709
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567
2710
  (eval $ac_try) 2>&5
2568
2711
  ac_status=$?
2574
2717
sed 's/^/| /' conftest.$ac_ext >&5
2575
2718
 
2576
2719
fi
2577
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2720
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2578
2721
done
2579
2722
rm -f conftest*
2580
2723
if test -n "$ac_declaration"; then
2588
2731
sed 's/^/| /' conftest.$ac_ext >&5
2589
2732
 
2590
2733
fi
2591
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
2734
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2592
2735
ac_ext=c
2593
2736
ac_cpp='$CPP $CPPFLAGS'
2594
2737
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2595
2738
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2596
2739
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2597
 
rm -f .deps 2>/dev/null
2598
 
mkdir .deps 2>/dev/null
2599
 
if test -d .deps; then
2600
 
  DEPDIR=.deps
2601
 
else
2602
 
  # MS-DOS does not allow filenames that begin with a dot.
2603
 
  DEPDIR=_deps
2604
 
fi
2605
 
rmdir .deps 2>/dev/null
2606
 
 
 
2740
DEPDIR="${am__leading_dot}deps"
2607
2741
 
2608
2742
          ac_config_commands="$ac_config_commands depfiles"
2609
2743
 
2610
2744
 
2611
2745
am_make=${MAKE-make}
2612
2746
cat > confinc << 'END'
2613
 
doit:
 
2747
am__doit:
2614
2748
        @echo done
 
2749
.PHONY: am__doit
2615
2750
END
2616
2751
# If we don't find an include directive, just comment out the code.
2617
2752
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2655
2790
  am_depcomp="$ac_aux_dir/depcomp"
2656
2791
  AMDEPBACKSLASH='\'
2657
2792
fi
2658
 
 
 
2793
 
2659
2794
 
2660
2795
if test "x$enable_dependency_tracking" != xno; then
2661
2796
  AMDEP_TRUE=
2686
2821
  # using a relative directory.
2687
2822
  cp "$am_depcomp" conftest.dir
2688
2823
  cd conftest.dir
 
2824
  # We will build objects and dependencies in a subdirectory because
 
2825
  # it helps to detect inapplicable dependency modes.  For instance
 
2826
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
2827
  # side effect of compilation, but ICC will put the dependencies in
 
2828
  # the current directory while Tru64 will put them in the object
 
2829
  # directory.
 
2830
  mkdir sub
2689
2831
 
2690
2832
  am_cv_CC_dependencies_compiler_type=none
2691
2833
  if test "$am_compiler_list" = ""; then
2692
2834
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2693
2835
  fi
2694
2836
  for depmode in $am_compiler_list; do
 
2837
    # Setup a source with many dependencies, because some compilers
 
2838
    # like to wrap large dependency lists on column 80 (with \), and
 
2839
    # we should not choose a depcomp mode which is confused by this.
 
2840
    #
2695
2841
    # We need to recreate these files for each test, as the compiler may
2696
2842
    # overwrite some of them when testing with obscure command lines.
2697
2843
    # This happens at least with the AIX C compiler.
2698
 
    echo '#include "conftest.h"' > conftest.c
2699
 
    echo 'int i;' > conftest.h
2700
 
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
 
2844
    : > sub/conftest.c
 
2845
    for i in 1 2 3 4 5 6; do
 
2846
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
2847
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
2848
      # Solaris 8's {/usr,}/bin/sh.
 
2849
      touch sub/conftst$i.h
 
2850
    done
 
2851
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2701
2852
 
2702
2853
    case $depmode in
2703
2854
    nosideeffect)
2715
2866
    # mode.  It turns out that the SunPro C++ compiler does not properly
2716
2867
    # handle `-M -o', and we need to detect this.
2717
2868
    if depmode=$depmode \
2718
 
       source=conftest.c object=conftest.o \
2719
 
       depfile=conftest.Po tmpdepfile=conftest.TPo \
2720
 
       $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
2721
 
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
 
2869
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
2870
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
2871
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
2872
         >/dev/null 2>conftest.err &&
 
2873
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
2874
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2722
2875
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2723
 
      am_cv_CC_dependencies_compiler_type=$depmode
2724
 
      break
 
2876
      # icc doesn't choke on unknown options, it will just issue warnings
 
2877
      # or remarks (even with -Werror).  So we grep stderr for any message
 
2878
      # that says an option was ignored or not supported.
 
2879
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
2880
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
2881
      # The diagnosis changed in icc 8.0:
 
2882
      #   icc: Command line remark: option '-MP' not supported
 
2883
      if (grep 'ignoring option' conftest.err ||
 
2884
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
2885
        am_cv_CC_dependencies_compiler_type=$depmode
 
2886
        break
 
2887
      fi
2725
2888
    fi
2726
2889
  done
2727
2890
 
2736
2899
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2737
2900
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2738
2901
 
2739
 
 
 
2902
 
2740
2903
 
2741
2904
if 
2742
2905
  test "x$enable_dependency_tracking" != xno \
2751
2914
 
2752
2915
# By default we simply use the C compiler to build assembly code.
2753
2916
 
2754
 
: ${CCAS='$(CC)'}
2755
 
# Set ASFLAGS if not already set.
2756
 
: ${CCASFLAGS='$(CFLAGS)'}
 
2917
test "${CCAS+set}" = set || CCAS=$CC
 
2918
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
 
2919
 
2757
2920
 
2758
2921
 
2759
2922
ac_ext=cc
2875
3038
  echo $ECHO_N "(cached) $ECHO_C" >&6
2876
3039
else
2877
3040
  cat >conftest.$ac_ext <<_ACEOF
2878
 
#line $LINENO "configure"
2879
3041
/* confdefs.h.  */
2880
3042
_ACEOF
2881
3043
cat confdefs.h >>conftest.$ac_ext
2895
3057
_ACEOF
2896
3058
rm -f conftest.$ac_objext
2897
3059
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2898
 
  (eval $ac_compile) 2>&5
 
3060
  (eval $ac_compile) 2>conftest.er1
2899
3061
  ac_status=$?
 
3062
  grep -v '^ *+' conftest.er1 >conftest.err
 
3063
  rm -f conftest.er1
 
3064
  cat conftest.err >&5
2900
3065
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901
3066
  (exit $ac_status); } &&
2902
 
         { ac_try='test -s conftest.$ac_objext'
 
3067
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
3068
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3069
  (eval $ac_try) 2>&5
 
3070
  ac_status=$?
 
3071
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3072
  (exit $ac_status); }; } &&
 
3073
         { ac_try='test -s conftest.$ac_objext'
2903
3074
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2904
3075
  (eval $ac_try) 2>&5
2905
3076
  ac_status=$?
2912
3083
 
2913
3084
ac_compiler_gnu=no
2914
3085
fi
2915
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3086
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2916
3087
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2917
3088
 
2918
3089
fi
2928
3099
  echo $ECHO_N "(cached) $ECHO_C" >&6
2929
3100
else
2930
3101
  cat >conftest.$ac_ext <<_ACEOF
2931
 
#line $LINENO "configure"
2932
3102
/* confdefs.h.  */
2933
3103
_ACEOF
2934
3104
cat confdefs.h >>conftest.$ac_ext
2945
3115
_ACEOF
2946
3116
rm -f conftest.$ac_objext
2947
3117
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2948
 
  (eval $ac_compile) 2>&5
 
3118
  (eval $ac_compile) 2>conftest.er1
2949
3119
  ac_status=$?
 
3120
  grep -v '^ *+' conftest.er1 >conftest.err
 
3121
  rm -f conftest.er1
 
3122
  cat conftest.err >&5
2950
3123
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951
3124
  (exit $ac_status); } &&
2952
 
         { ac_try='test -s conftest.$ac_objext'
 
3125
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
3126
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3127
  (eval $ac_try) 2>&5
 
3128
  ac_status=$?
 
3129
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3130
  (exit $ac_status); }; } &&
 
3131
         { ac_try='test -s conftest.$ac_objext'
2953
3132
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954
3133
  (eval $ac_try) 2>&5
2955
3134
  ac_status=$?
2962
3141
 
2963
3142
ac_cv_prog_cxx_g=no
2964
3143
fi
2965
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3144
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2966
3145
fi
2967
3146
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2968
3147
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2982
3161
  fi
2983
3162
fi
2984
3163
for ac_declaration in \
2985
 
   ''\
2986
 
   '#include <stdlib.h>' \
 
3164
   '' \
2987
3165
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2988
3166
   'extern "C" void std::exit (int); using std::exit;' \
2989
3167
   'extern "C" void exit (int) throw ();' \
2991
3169
   'void exit (int);'
2992
3170
do
2993
3171
  cat >conftest.$ac_ext <<_ACEOF
2994
 
#line $LINENO "configure"
2995
3172
/* confdefs.h.  */
2996
3173
_ACEOF
2997
3174
cat confdefs.h >>conftest.$ac_ext
2998
3175
cat >>conftest.$ac_ext <<_ACEOF
2999
3176
/* end confdefs.h.  */
 
3177
$ac_declaration
3000
3178
@%:@include <stdlib.h>
3001
 
$ac_declaration
3002
3179
int
3003
3180
main ()
3004
3181
{
3009
3186
_ACEOF
3010
3187
rm -f conftest.$ac_objext
3011
3188
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3012
 
  (eval $ac_compile) 2>&5
 
3189
  (eval $ac_compile) 2>conftest.er1
3013
3190
  ac_status=$?
 
3191
  grep -v '^ *+' conftest.er1 >conftest.err
 
3192
  rm -f conftest.er1
 
3193
  cat conftest.err >&5
3014
3194
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015
3195
  (exit $ac_status); } &&
3016
 
         { ac_try='test -s conftest.$ac_objext'
 
3196
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
3197
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3198
  (eval $ac_try) 2>&5
 
3199
  ac_status=$?
 
3200
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3201
  (exit $ac_status); }; } &&
 
3202
         { ac_try='test -s conftest.$ac_objext'
3017
3203
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3018
3204
  (eval $ac_try) 2>&5
3019
3205
  ac_status=$?
3026
3212
 
3027
3213
continue
3028
3214
fi
3029
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3215
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3030
3216
  cat >conftest.$ac_ext <<_ACEOF
3031
 
#line $LINENO "configure"
3032
3217
/* confdefs.h.  */
3033
3218
_ACEOF
3034
3219
cat confdefs.h >>conftest.$ac_ext
3045
3230
_ACEOF
3046
3231
rm -f conftest.$ac_objext
3047
3232
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3048
 
  (eval $ac_compile) 2>&5
 
3233
  (eval $ac_compile) 2>conftest.er1
3049
3234
  ac_status=$?
 
3235
  grep -v '^ *+' conftest.er1 >conftest.err
 
3236
  rm -f conftest.er1
 
3237
  cat conftest.err >&5
3050
3238
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051
3239
  (exit $ac_status); } &&
3052
 
         { ac_try='test -s conftest.$ac_objext'
 
3240
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
3241
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3242
  (eval $ac_try) 2>&5
 
3243
  ac_status=$?
 
3244
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3245
  (exit $ac_status); }; } &&
 
3246
         { ac_try='test -s conftest.$ac_objext'
3053
3247
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054
3248
  (eval $ac_try) 2>&5
3055
3249
  ac_status=$?
3061
3255
sed 's/^/| /' conftest.$ac_ext >&5
3062
3256
 
3063
3257
fi
3064
 
rm -f conftest.$ac_objext conftest.$ac_ext
 
3258
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3065
3259
done
3066
3260
rm -f conftest*
3067
3261
if test -n "$ac_declaration"; then
3094
3288
  # using a relative directory.
3095
3289
  cp "$am_depcomp" conftest.dir
3096
3290
  cd conftest.dir
 
3291
  # We will build objects and dependencies in a subdirectory because
 
3292
  # it helps to detect inapplicable dependency modes.  For instance
 
3293
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3294
  # side effect of compilation, but ICC will put the dependencies in
 
3295
  # the current directory while Tru64 will put them in the object
 
3296
  # directory.
 
3297
  mkdir sub
3097
3298
 
3098
3299
  am_cv_CXX_dependencies_compiler_type=none
3099
3300
  if test "$am_compiler_list" = ""; then
3100
3301
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3101
3302
  fi
3102
3303
  for depmode in $am_compiler_list; do
 
3304
    # Setup a source with many dependencies, because some compilers
 
3305
    # like to wrap large dependency lists on column 80 (with \), and
 
3306
    # we should not choose a depcomp mode which is confused by this.
 
3307
    #
3103
3308
    # We need to recreate these files for each test, as the compiler may
3104
3309
    # overwrite some of them when testing with obscure command lines.
3105
3310
    # This happens at least with the AIX C compiler.
3106
 
    echo '#include "conftest.h"' > conftest.c
3107
 
    echo 'int i;' > conftest.h
3108
 
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
 
3311
    : > sub/conftest.c
 
3312
    for i in 1 2 3 4 5 6; do
 
3313
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3314
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3315
      # Solaris 8's {/usr,}/bin/sh.
 
3316
      touch sub/conftst$i.h
 
3317
    done
 
3318
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3109
3319
 
3110
3320
    case $depmode in
3111
3321
    nosideeffect)
3123
3333
    # mode.  It turns out that the SunPro C++ compiler does not properly
3124
3334
    # handle `-M -o', and we need to detect this.
3125
3335
    if depmode=$depmode \
3126
 
       source=conftest.c object=conftest.o \
3127
 
       depfile=conftest.Po tmpdepfile=conftest.TPo \
3128
 
       $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
3129
 
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
 
3336
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3337
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3338
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3339
         >/dev/null 2>conftest.err &&
 
3340
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3341
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3130
3342
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3131
 
      am_cv_CXX_dependencies_compiler_type=$depmode
3132
 
      break
 
3343
      # icc doesn't choke on unknown options, it will just issue warnings
 
3344
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3345
      # that says an option was ignored or not supported.
 
3346
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3347
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3348
      # The diagnosis changed in icc 8.0:
 
3349
      #   icc: Command line remark: option '-MP' not supported
 
3350
      if (grep 'ignoring option' conftest.err ||
 
3351
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3352
        am_cv_CXX_dependencies_compiler_type=$depmode
 
3353
        break
 
3354
      fi
3133
3355
    fi
3134
3356
  done
3135
3357
 
3144
3366
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3145
3367
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3146
3368
 
3147
 
 
 
3369
 
3148
3370
 
3149
3371
if 
3150
3372
  test "x$enable_dependency_tracking" != xno \
3189
3411
  # On the NeXT, cc -E runs the code through the compiler's parser,
3190
3412
  # not just through cpp. "Syntax error" is here to catch this case.
3191
3413
  cat >conftest.$ac_ext <<_ACEOF
3192
 
#line $LINENO "configure"
3193
3414
/* confdefs.h.  */
3194
3415
_ACEOF
3195
3416
cat confdefs.h >>conftest.$ac_ext
3200
3421
@%:@else
3201
3422
@%:@ include <assert.h>
3202
3423
@%:@endif
3203
 
                     Syntax error
 
3424
                     Syntax error
3204
3425
_ACEOF
3205
3426
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3206
3427
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3212
3433
  (exit $ac_status); } >/dev/null; then
3213
3434
  if test -s conftest.err; then
3214
3435
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3436
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3215
3437
  else
3216
3438
    ac_cpp_err=
3217
3439
  fi
3232
3454
  # OK, works on sane cases.  Now check whether non-existent headers
3233
3455
  # can be detected and how.
3234
3456
  cat >conftest.$ac_ext <<_ACEOF
3235
 
#line $LINENO "configure"
3236
3457
/* confdefs.h.  */
3237
3458
_ACEOF
3238
3459
cat confdefs.h >>conftest.$ac_ext
3250
3471
  (exit $ac_status); } >/dev/null; then
3251
3472
  if test -s conftest.err; then
3252
3473
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3474
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3253
3475
  else
3254
3476
    ac_cpp_err=
3255
3477
  fi
3296
3518
  # On the NeXT, cc -E runs the code through the compiler's parser,
3297
3519
  # not just through cpp. "Syntax error" is here to catch this case.
3298
3520
  cat >conftest.$ac_ext <<_ACEOF
3299
 
#line $LINENO "configure"
3300
3521
/* confdefs.h.  */
3301
3522
_ACEOF
3302
3523
cat confdefs.h >>conftest.$ac_ext
3307
3528
@%:@else
3308
3529
@%:@ include <assert.h>
3309
3530
@%:@endif
3310
 
                     Syntax error
 
3531
                     Syntax error
3311
3532
_ACEOF
3312
3533
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3313
3534
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3319
3540
  (exit $ac_status); } >/dev/null; then
3320
3541
  if test -s conftest.err; then
3321
3542
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3543
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3322
3544
  else
3323
3545
    ac_cpp_err=
3324
3546
  fi
3339
3561
  # OK, works on sane cases.  Now check whether non-existent headers
3340
3562
  # can be detected and how.
3341
3563
  cat >conftest.$ac_ext <<_ACEOF
3342
 
#line $LINENO "configure"
3343
3564
/* confdefs.h.  */
3344
3565
_ACEOF
3345
3566
cat confdefs.h >>conftest.$ac_ext
3357
3578
  (exit $ac_status); } >/dev/null; then
3358
3579
  if test -s conftest.err; then
3359
3580
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3581
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3360
3582
  else
3361
3583
    ac_cpp_err=
3362
3584
  fi
3399
3621
echo "$as_me:$LINENO: checking for X" >&5
3400
3622
echo $ECHO_N "checking for X... $ECHO_C" >&6
3401
3623
 
 
3624
ac_path_x_has_been_run=yes
3402
3625
 
3403
3626
# Check whether --with-x or --without-x was given.
3404
3627
if test "${with_x+set}" = set; then
3433
3656
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3434
3657
    for ac_extension in a so sl; do
3435
3658
      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
3436
 
         test -f $ac_im_libdir/libX11.$ac_extension; then
3437
 
        ac_im_usrlibdir=$ac_im_libdir; break
 
3659
         test -f $ac_im_libdir/libX11.$ac_extension; then
 
3660
        ac_im_usrlibdir=$ac_im_libdir; break
3438
3661
      fi
3439
3662
    done
3440
3663
    # Screen out bogus values from the imake configuration.  They are
3491
3714
/usr/openwin/share/include'
3492
3715
 
3493
3716
if test "$ac_x_includes" = no; then
3494
 
  # Guess where to find include files, by looking for Intrinsic.h.
 
3717
  # Guess where to find include files, by looking for a specified header file.
3495
3718
  # First, try using that file with no special directory specified.
3496
3719
  cat >conftest.$ac_ext <<_ACEOF
3497
 
#line $LINENO "configure"
3498
3720
/* confdefs.h.  */
3499
3721
_ACEOF
3500
3722
cat confdefs.h >>conftest.$ac_ext
3501
3723
cat >>conftest.$ac_ext <<_ACEOF
3502
3724
/* end confdefs.h.  */
3503
 
@%:@include <X11/Intrinsic.h>
 
3725
@%:@include <X11/Xlib.h>
3504
3726
_ACEOF
3505
3727
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3506
3728
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3512
3734
  (exit $ac_status); } >/dev/null; then
3513
3735
  if test -s conftest.err; then
3514
3736
    ac_cpp_err=$ac_c_preproc_warn_flag
 
3737
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3515
3738
  else
3516
3739
    ac_cpp_err=
3517
3740
  fi
3526
3749
sed 's/^/| /' conftest.$ac_ext >&5
3527
3750
 
3528
3751
  for ac_dir in $ac_x_header_dirs; do
3529
 
  if test -r "$ac_dir/X11/Intrinsic.h"; then
 
3752
  if test -r "$ac_dir/X11/Xlib.h"; then
3530
3753
    ac_x_includes=$ac_dir
3531
3754
    break
3532
3755
  fi
3540
3763
  # See if we find them without any special options.
3541
3764
  # Don't add to $LIBS permanently.
3542
3765
  ac_save_LIBS=$LIBS
3543
 
  LIBS="-lXt $LIBS"
 
3766
  LIBS="-lX11 $LIBS"
3544
3767
  cat >conftest.$ac_ext <<_ACEOF
3545
 
#line $LINENO "configure"
3546
3768
/* confdefs.h.  */
3547
3769
_ACEOF
3548
3770
cat confdefs.h >>conftest.$ac_ext
3549
3771
cat >>conftest.$ac_ext <<_ACEOF
3550
3772
/* end confdefs.h.  */
3551
 
@%:@include <X11/Intrinsic.h>
 
3773
@%:@include <X11/Xlib.h>
3552
3774
int
3553
3775
main ()
3554
3776
{
3555
 
XtMalloc (0)
 
3777
XrmInitialize ()
3556
3778
  ;
3557
3779
  return 0;
3558
3780
}
3559
3781
_ACEOF
3560
3782
rm -f conftest.$ac_objext conftest$ac_exeext
3561
3783
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3562
 
  (eval $ac_link) 2>&5
 
3784
  (eval $ac_link) 2>conftest.er1
3563
3785
  ac_status=$?
 
3786
  grep -v '^ *+' conftest.er1 >conftest.err
 
3787
  rm -f conftest.er1
 
3788
  cat conftest.err >&5
3564
3789
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565
3790
  (exit $ac_status); } &&
3566
 
         { ac_try='test -s conftest$ac_exeext'
 
3791
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3792
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3793
  (eval $ac_try) 2>&5
 
3794
  ac_status=$?
 
3795
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3796
  (exit $ac_status); }; } &&
 
3797
         { ac_try='test -s conftest$ac_exeext'
3567
3798
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568
3799
  (eval $ac_try) 2>&5
3569
3800
  ac_status=$?
3581
3812
do
3582
3813
  # Don't even attempt the hair of trying to link an X program!
3583
3814
  for ac_extension in a so sl; do
3584
 
    if test -r $ac_dir/libXt.$ac_extension; then
 
3815
    if test -r $ac_dir/libX11.$ac_extension; then
3585
3816
      ac_x_libraries=$ac_dir
3586
3817
      break 2
3587
3818
    fi
3588
3819
  done
3589
3820
done
3590
3821
fi
3591
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3822
rm -f conftest.err conftest.$ac_objext \
 
3823
      conftest$ac_exeext conftest.$ac_ext
3592
3824
fi # $ac_x_libraries = no
3593
3825
 
3594
3826
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
3597
3829
else
3598
3830
  # Record where we found X for the cache.
3599
3831
  ac_cv_have_x="have_x=yes \
3600
 
                ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
 
3832
                ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3601
3833
fi
3602
3834
fi
3603
3835
 
3616
3848
  # Update the cache value to reflect the command line values.
3617
3849
  ac_cv_have_x="have_x=yes \
3618
3850
                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3619
 
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3620
 
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
 
3851
  # It might be that x_includes is empty (headers are found in the
 
3852
  # standard search path. Then output the corresponding message
 
3853
  ac_out_x_includes=$x_includes
 
3854
  test "x$x_includes" = x && ac_out_x_includes="in standard search path"
 
3855
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
 
3856
echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3621
3857
fi
3622
3858
 
3623
3859
XLIB_CFLAGS="-I${x_includes}"
3625
3861
 
3626
3862
 
3627
3863
 
3628
 
 
3629
 
# Check whether --with-sdl-prefix or --without-sdl-prefix was given.
3630
 
if test "${with_sdl_prefix+set}" = set; then
3631
 
  withval="$with_sdl_prefix"
3632
 
  sdl_prefix="$withval"
3633
 
else
3634
 
  sdl_prefix=""
3635
 
fi; 
3636
 
 
3637
 
# Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
3638
 
if test "${with_sdl_exec_prefix+set}" = set; then
3639
 
  withval="$with_sdl_exec_prefix"
3640
 
  sdl_exec_prefix="$withval"
3641
 
else
3642
 
  sdl_exec_prefix=""
3643
 
fi; 
3644
 
# Check whether --enable-sdltest or --disable-sdltest was given.
3645
 
if test "${enable_sdltest+set}" = set; then
3646
 
  enableval="$enable_sdltest"
3647
 
  
3648
 
else
3649
 
  enable_sdltest=yes
3650
 
fi; 
3651
 
 
3652
 
  if test x$sdl_exec_prefix != x ; then
3653
 
     sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
3654
 
     if test x${SDL_CONFIG+set} != xset ; then
3655
 
        SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
3656
 
     fi
3657
 
  fi
3658
 
  if test x$sdl_prefix != x ; then
3659
 
     sdl_args="$sdl_args --prefix=$sdl_prefix"
3660
 
     if test x${SDL_CONFIG+set} != xset ; then
3661
 
        SDL_CONFIG=$sdl_prefix/bin/sdl-config
3662
 
     fi
3663
 
  fi
3664
 
 
3665
 
  
3666
 
  PATH="$prefix/bin:$prefix/usr/bin:$PATH"
3667
 
  # Extract the first word of "sdl-config", so it can be a program name with args.
3668
 
set dummy sdl-config; ac_word=$2
3669
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3670
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3671
 
if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
3672
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3673
 
else
3674
 
  case $SDL_CONFIG in
3675
 
  [\\/]* | ?:[\\/]*)
3676
 
  ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
3677
 
  ;;
3678
 
  *)
3679
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3680
 
for as_dir in $PATH
3681
 
do
3682
 
  IFS=$as_save_IFS
3683
 
  test -z "$as_dir" && as_dir=.
3684
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3685
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3686
 
    ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3687
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3688
 
    break 2
3689
 
  fi
3690
 
done
3691
 
done
3692
 
 
3693
 
  test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
3694
 
  ;;
3695
 
esac
3696
 
fi
3697
 
SDL_CONFIG=$ac_cv_path_SDL_CONFIG
3698
 
 
3699
 
if test -n "$SDL_CONFIG"; then
3700
 
  echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
3701
 
echo "${ECHO_T}$SDL_CONFIG" >&6
3702
 
else
3703
 
  echo "$as_me:$LINENO: result: no" >&5
3704
 
echo "${ECHO_T}no" >&6
3705
 
fi
3706
 
 
3707
 
  min_sdl_version=0.11.0
3708
 
  echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
3709
 
echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
3710
 
  no_sdl=""
3711
 
  if test "$SDL_CONFIG" = "no" ; then
3712
 
    no_sdl=yes
3713
 
  else
3714
 
    SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
3715
 
    SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
3716
 
 
3717
 
    sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
3718
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3719
 
    sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
3720
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3721
 
    sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
3722
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3723
 
    if test "x$enable_sdltest" = "xyes" ; then
3724
 
      ac_save_CFLAGS="$CFLAGS"
3725
 
      ac_save_LIBS="$LIBS"
3726
 
      CFLAGS="$CFLAGS $SDL_CFLAGS"
3727
 
      LIBS="$LIBS $SDL_LIBS"
3728
 
      rm -f conf.sdltest
3729
 
      if test "$cross_compiling" = yes; then
3730
 
  echo $ac_n "cross compiling; assumed OK... $ac_c"
3731
 
else
3732
 
  cat >conftest.$ac_ext <<_ACEOF
3733
 
#line $LINENO "configure"
3734
 
/* confdefs.h.  */
3735
 
_ACEOF
3736
 
cat confdefs.h >>conftest.$ac_ext
3737
 
cat >>conftest.$ac_ext <<_ACEOF
3738
 
/* end confdefs.h.  */
3739
 
 
3740
 
#include <stdio.h>
3741
 
#include <stdlib.h>
3742
 
#include <string.h>
3743
 
#include "SDL.h"
3744
 
 
3745
 
char*
3746
 
my_strdup (char *str)
3747
 
{
3748
 
  char *new_str;
3749
 
  
3750
 
  if (str)
3751
 
    {
3752
 
      new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
3753
 
      strcpy (new_str, str);
3754
 
    }
3755
 
  else
3756
 
    new_str = NULL;
3757
 
  
3758
 
  return new_str;
3759
 
}
3760
 
 
3761
 
int main (int argc, char *argv[])
3762
 
{
3763
 
  int major, minor, micro;
3764
 
  char *tmp_version;
3765
 
 
3766
 
  /* This hangs on some systems (?)
3767
 
  system ("touch conf.sdltest");
3768
 
  */
3769
 
  { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
3770
 
 
3771
 
  /* HP/UX 9 (%@#!) writes to sscanf strings */
3772
 
  tmp_version = my_strdup("$min_sdl_version");
3773
 
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
3774
 
     printf("%s, bad version string\n", "$min_sdl_version");
3775
 
     exit(1);
3776
 
   }
3777
 
 
3778
 
   if (($sdl_major_version > major) ||
3779
 
      (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
3780
 
      (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
3781
 
    {
3782
 
      return 0;
3783
 
    }
3784
 
  else
3785
 
    {
3786
 
      printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
3787
 
      printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
3788
 
      printf("*** best to upgrade to the required version.\n");
3789
 
      printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
3790
 
      printf("*** to point to the correct copy of sdl-config, and remove the file\n");
3791
 
      printf("*** config.cache before re-running configure\n");
3792
 
      return 1;
3793
 
    }
3794
 
}
3795
 
 
3796
 
 
3797
 
_ACEOF
3798
 
rm -f conftest$ac_exeext
3799
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3800
 
  (eval $ac_link) 2>&5
3801
 
  ac_status=$?
3802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3804
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3805
 
  (eval $ac_try) 2>&5
3806
 
  ac_status=$?
3807
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808
 
  (exit $ac_status); }; }; then
3809
 
  :
3810
 
else
3811
 
  echo "$as_me: program exited with status $ac_status" >&5
3812
 
echo "$as_me: failed program was:" >&5
3813
 
sed 's/^/| /' conftest.$ac_ext >&5
3814
 
 
3815
 
( exit $ac_status )
3816
 
no_sdl=yes
3817
 
fi
3818
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3819
 
fi
3820
 
       CFLAGS="$ac_save_CFLAGS"
3821
 
       LIBS="$ac_save_LIBS"
3822
 
     fi
3823
 
  fi
3824
 
  if test "x$no_sdl" = x ; then
3825
 
     echo "$as_me:$LINENO: result: yes" >&5
3826
 
echo "${ECHO_T}yes" >&6
3827
 
     :     
3828
 
  else
3829
 
     echo "$as_me:$LINENO: result: no" >&5
3830
 
echo "${ECHO_T}no" >&6
3831
 
     if test "$SDL_CONFIG" = "no" ; then
3832
 
       echo "*** The sdl-config script installed by SDL could not be found"
3833
 
       echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
3834
 
       echo "*** your path, or set the SDL_CONFIG environment variable to the"
3835
 
       echo "*** full path to sdl-config."
3836
 
     else
3837
 
       if test -f conf.sdltest ; then
3838
 
        :
3839
 
       else
3840
 
          echo "*** Could not run SDL test program, checking why..."
3841
 
          CFLAGS="$CFLAGS $SDL_CFLAGS"
3842
 
          LIBS="$LIBS $SDL_LIBS"
3843
 
          cat >conftest.$ac_ext <<_ACEOF
3844
 
#line $LINENO "configure"
3845
 
/* confdefs.h.  */
3846
 
_ACEOF
3847
 
cat confdefs.h >>conftest.$ac_ext
3848
 
cat >>conftest.$ac_ext <<_ACEOF
3849
 
/* end confdefs.h.  */
3850
 
 
3851
 
#include <stdio.h>
3852
 
#include "SDL.h"
3853
 
 
3854
 
int main(int argc, char *argv[])
3855
 
{ return 0; }
3856
 
#undef  main
3857
 
#define main K_and_R_C_main
3858
 
 
3859
 
int
3860
 
main ()
3861
 
{
3862
 
 return 0; 
3863
 
  ;
3864
 
  return 0;
3865
 
}
3866
 
_ACEOF
3867
 
rm -f conftest.$ac_objext conftest$ac_exeext
3868
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3869
 
  (eval $ac_link) 2>&5
3870
 
  ac_status=$?
3871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872
 
  (exit $ac_status); } &&
3873
 
         { ac_try='test -s conftest$ac_exeext'
3874
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3875
 
  (eval $ac_try) 2>&5
3876
 
  ac_status=$?
3877
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878
 
  (exit $ac_status); }; }; then
3879
 
   echo "*** The test program compiled, but did not run. This usually means"
3880
 
          echo "*** that the run-time linker is not finding SDL or finding the wrong"
3881
 
          echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
3882
 
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
3883
 
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
3884
 
          echo "*** is required on your system"
3885
 
          echo "***"
3886
 
          echo "*** If you have an old version installed, it is best to remove it, although"
3887
 
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
3888
 
else
3889
 
  echo "$as_me: failed program was:" >&5
3890
 
sed 's/^/| /' conftest.$ac_ext >&5
3891
 
 
3892
 
 echo "*** The test program failed to compile or link. See the file config.log for the"
3893
 
          echo "*** exact error that occured. This usually means SDL was incorrectly installed"
3894
 
          echo "*** or that you have moved SDL since it was installed. In the latter case, you"
3895
 
          echo "*** may want to edit the sdl-config script: $SDL_CONFIG" 
3896
 
fi
3897
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3898
 
          CFLAGS="$ac_save_CFLAGS"
3899
 
          LIBS="$ac_save_LIBS"
3900
 
       fi
3901
 
     fi
3902
 
     SDL_CFLAGS=""
3903
 
     SDL_LIBS=""
3904
 
     :
3905
 
  fi
3906
 
  
3907
 
  
3908
 
  rm -f conf.sdltest
3909
 
 
 
3864
AM_PATH_SDL
3910
3865
 
3911
3866
LDFLAGS_save="${LDFLAGS} ${SDL_LIBS}"
3912
3867
LDFLAGS="${LDFLAGS} ${SDL_LIBS}"
3918
3873
  ac_check_lib_save_LIBS=$LIBS
3919
3874
LIBS="-lSDL_mixer  $LIBS"
3920
3875
cat >conftest.$ac_ext <<_ACEOF
3921
 
#line $LINENO "configure"
3922
3876
/* confdefs.h.  */
3923
3877
_ACEOF
3924
3878
cat confdefs.h >>conftest.$ac_ext
3942
3896
_ACEOF
3943
3897
rm -f conftest.$ac_objext conftest$ac_exeext
3944
3898
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3945
 
  (eval $ac_link) 2>&5
 
3899
  (eval $ac_link) 2>conftest.er1
3946
3900
  ac_status=$?
 
3901
  grep -v '^ *+' conftest.er1 >conftest.err
 
3902
  rm -f conftest.er1
 
3903
  cat conftest.err >&5
3947
3904
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948
3905
  (exit $ac_status); } &&
3949
 
         { ac_try='test -s conftest$ac_exeext'
 
3906
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3907
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3908
  (eval $ac_try) 2>&5
 
3909
  ac_status=$?
 
3910
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3911
  (exit $ac_status); }; } &&
 
3912
         { ac_try='test -s conftest$ac_exeext'
3950
3913
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3951
3914
  (eval $ac_try) 2>&5
3952
3915
  ac_status=$?
3959
3922
 
3960
3923
ac_cv_lib_SDL_mixer_Mix_GetChunk=no
3961
3924
fi
3962
 
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 
3925
rm -f conftest.err conftest.$ac_objext \
 
3926
      conftest$ac_exeext conftest.$ac_ext
3963
3927
LIBS=$ac_check_lib_save_LIBS
3964
3928
fi
3965
3929
echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_Mix_GetChunk" >&5
3986
3950
esac
3987
3951
echo "$as_me:$LINENO: result: ${ac_cv_need_asm}" >&5
3988
3952
echo "${ECHO_T}${ac_cv_need_asm}" >&6
3989
 
 
 
3953
 
3990
3954
 
3991
3955
if test "${ac_cv_need_asm}" = "yes"; then
3992
3956
  ASSEMBLY_TRUE=
4026
3990
      # `set' does not quote correctly, so add quotes (double-quote
4027
3991
      # substitution turns \\\\ into \\, and sed turns \\ into \).
4028
3992
      sed -n \
4029
 
        "s/'/'\\\\''/g;
4030
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
3993
        "s/'/'\\\\''/g;
 
3994
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4031
3995
      ;;
4032
3996
    *)
4033
3997
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4034
3998
      sed -n \
4035
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
3999
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4036
4000
      ;;
4037
4001
    esac;
4038
4002
} |
4062
4026
# trailing colons and then remove the whole line if VPATH becomes empty
4063
4027
# (actually we leave an empty line to preserve line numbers).
4064
4028
if test "x$srcdir" = x.; then
4065
 
  ac_vpsub='/^[         ]*VPATH[        ]*=/{
 
4029
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4066
4030
s/:*\$(srcdir):*/:/;
4067
4031
s/:*\${srcdir}:*/:/;
4068
4032
s/:*@srcdir@:*/:/;
4069
 
s/^\([^=]*=[    ]*\):*/\1/;
 
4033
s/^\([^=]*=[     ]*\):*/\1/;
4070
4034
s/:*$//;
4071
 
s/^[^=]*=[      ]*$//;
 
4035
s/^[^=]*=[       ]*$//;
4072
4036
}'
4073
4037
fi
4074
4038
 
4079
4043
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
4080
4044
  # 1. Remove the extension, and $U if already installed.
4081
4045
  ac_i=`echo "$ac_i" |
4082
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 
4046
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4083
4047
  # 2. Add them.
4084
4048
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4085
4049
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4151
4115
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4152
4116
  set -o posix
4153
4117
fi
 
4118
DUALCASE=1; export DUALCASE # for MKS sh
4154
4119
 
4155
4120
# Support unset when possible.
4156
 
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
 
4121
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4157
4122
  as_unset=unset
4158
4123
else
4159
4124
  as_unset=false
4172
4137
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4173
4138
  LC_TELEPHONE LC_TIME
4174
4139
do
4175
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
 
4140
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4176
4141
    eval $as_var=C; export $as_var
4177
4142
  else
4178
4143
    $as_unset $as_var
4351
4316
if mkdir -p . 2>/dev/null; then
4352
4317
  as_mkdir_p=:
4353
4318
else
 
4319
  test -d ./-p && rmdir ./-p
4354
4320
  as_mkdir_p=false
4355
4321
fi
4356
4322
 
4357
4323
as_executable_p="test -f"
4358
4324
 
4359
4325
# Sed expression to map a string onto a valid CPP name.
4360
 
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
 
4326
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4361
4327
 
4362
4328
# Sed expression to map a string onto a valid variable name.
4363
 
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
 
4329
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4364
4330
 
4365
4331
 
4366
4332
# IFS
4387
4353
cat >&5 <<_CSEOF
4388
4354
 
4389
4355
This file was extended by $as_me, which was
4390
 
generated by GNU Autoconf 2.57.  Invocation command line was
 
4356
generated by GNU Autoconf 2.59.  Invocation command line was
4391
4357
 
4392
4358
  CONFIG_FILES    = $CONFIG_FILES
4393
4359
  CONFIG_HEADERS  = $CONFIG_HEADERS
4431
4397
  -d, --debug      don't remove temporary files
4432
4398
      --recheck    update $as_me by reconfiguring in the same conditions
4433
4399
  --file=FILE[:TEMPLATE]
4434
 
                   instantiate the configuration file FILE
 
4400
                   instantiate the configuration file FILE
4435
4401
  --header=FILE[:TEMPLATE]
4436
 
                   instantiate the configuration header FILE
 
4402
                   instantiate the configuration header FILE
4437
4403
 
4438
4404
Configuration files:
4439
4405
$config_files
4450
4416
cat >>$CONFIG_STATUS <<_ACEOF
4451
4417
ac_cs_version="\\
4452
4418
config.status
4453
 
configured by $0, generated by GNU Autoconf 2.57,
 
4419
configured by $0, generated by GNU Autoconf 2.59,
4454
4420
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4455
4421
 
4456
 
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4457
 
Free Software Foundation, Inc.
 
4422
Copyright (C) 2003 Free Software Foundation, Inc.
4458
4423
This config.status script is free software; the Free Software Foundation
4459
4424
gives unlimited permission to copy, distribute and modify it."
4460
4425
srcdir=$srcdir
4674
4639
s,@AUTOMAKE@,$AUTOMAKE,;t t
4675
4640
s,@AUTOHEADER@,$AUTOHEADER,;t t
4676
4641
s,@MAKEINFO@,$MAKEINFO,;t t
4677
 
s,@AMTAR@,$AMTAR,;t t
4678
4642
s,@install_sh@,$install_sh,;t t
4679
4643
s,@STRIP@,$STRIP,;t t
4680
4644
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4681
4645
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
4646
s,@mkdir_p@,$mkdir_p,;t t
4682
4647
s,@AWK@,$AWK,;t t
4683
4648
s,@SET_MAKE@,$SET_MAKE,;t t
 
4649
s,@am__leading_dot@,$am__leading_dot,;t t
 
4650
s,@AMTAR@,$AMTAR,;t t
 
4651
s,@am__tar@,$am__tar,;t t
 
4652
s,@am__untar@,$am__untar,;t t
4684
4653
s,@CC@,$CC,;t t
4685
4654
s,@CFLAGS@,$CFLAGS,;t t
4686
4655
s,@LDFLAGS@,$LDFLAGS,;t t
4708
4677
s,@CPP@,$CPP,;t t
4709
4678
s,@XLIB_CFLAGS@,$XLIB_CFLAGS,;t t
4710
4679
s,@XLIB_LIBS@,$XLIB_LIBS,;t t
4711
 
s,@SDL_CONFIG@,$SDL_CONFIG,;t t
4712
 
s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
4713
 
s,@SDL_LIBS@,$SDL_LIBS,;t t
4714
4680
s,@ASSEMBLY_TRUE@,$ASSEMBLY_TRUE,;t t
4715
4681
s,@ASSEMBLY_FALSE@,$ASSEMBLY_FALSE,;t t
4716
4682
s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
4744
4710
      (echo ':t
4745
4711
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4746
4712
      if test -z "$ac_sed_cmds"; then
4747
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 
4713
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4748
4714
      else
4749
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 
4715
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4750
4716
      fi
4751
4717
      ac_sed_frag=`expr $ac_sed_frag + 1`
4752
4718
      ac_beg=$ac_end
4764
4730
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4765
4731
  case $ac_file in
4766
4732
  - | *:- | *:-:* ) # input from stdin
4767
 
        cat >$tmp/stdin
4768
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4769
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4733
        cat >$tmp/stdin
 
4734
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
4735
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4770
4736
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4771
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4737
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4772
4738
  * )   ac_file_in=$ac_file.in ;;
4773
4739
  esac
4774
4740
 
4775
4741
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4776
4742
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4777
4743
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4778
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
4779
 
         X"$ac_file" : 'X\(//\)$' \| \
4780
 
         X"$ac_file" : 'X\(/\)' \| \
4781
 
         .     : '\(.\)' 2>/dev/null ||
 
4744
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
4745
         X"$ac_file" : 'X\(//\)$' \| \
 
4746
         X"$ac_file" : 'X\(/\)' \| \
 
4747
         .     : '\(.\)' 2>/dev/null ||
4782
4748
echo X"$ac_file" |
4783
4749
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4784
4750
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4794
4760
      as_dirs="$as_dir $as_dirs"
4795
4761
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4796
4762
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4797
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4798
 
         X"$as_dir" : 'X\(//\)$' \| \
4799
 
         X"$as_dir" : 'X\(/\)' \| \
4800
 
         .     : '\(.\)' 2>/dev/null ||
 
4763
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
4764
         X"$as_dir" : 'X\(//\)$' \| \
 
4765
         X"$as_dir" : 'X\(/\)' \| \
 
4766
         .     : '\(.\)' 2>/dev/null ||
4801
4767
echo X"$as_dir" |
4802
4768
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4803
4769
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4835
4801
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4836
4802
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4837
4803
esac
4838
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4839
 
# absolute.
4840
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4841
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4842
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4843
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
4804
 
 
4805
# Do not use `cd foo && pwd` to compute absolute paths, because
 
4806
# the directories may not exist.
 
4807
case `pwd` in
 
4808
.) ac_abs_builddir="$ac_dir";;
 
4809
*)
 
4810
  case "$ac_dir" in
 
4811
  .) ac_abs_builddir=`pwd`;;
 
4812
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
4813
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
4814
  esac;;
 
4815
esac
 
4816
case $ac_abs_builddir in
 
4817
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4818
*)
 
4819
  case ${ac_top_builddir}. in
 
4820
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
4821
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
4822
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
4823
  esac;;
 
4824
esac
 
4825
case $ac_abs_builddir in
 
4826
.) ac_abs_srcdir=$ac_srcdir;;
 
4827
*)
 
4828
  case $ac_srcdir in
 
4829
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
4830
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
4831
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
4832
  esac;;
 
4833
esac
 
4834
case $ac_abs_builddir in
 
4835
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4836
*)
 
4837
  case $ac_top_srcdir in
 
4838
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
4839
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
4840
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
4841
  esac;;
 
4842
esac
4844
4843
 
4845
4844
 
4846
4845
  case $INSTALL in
4848
4847
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4849
4848
  esac
4850
4849
 
4851
 
  if test x"$ac_file" != x-; then
4852
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
4853
 
echo "$as_me: creating $ac_file" >&6;}
4854
 
    rm -f "$ac_file"
4855
 
  fi
4856
4850
  # Let's still pretend it is `configure' which instantiates (i.e., don't
4857
4851
  # use $as_me), people would be surprised to read:
4858
4852
  #    /* config.h.  Generated by config.status.  */
4862
4856
    configure_input="$ac_file.  "
4863
4857
  fi
4864
4858
  configure_input=$configure_input"Generated from `echo $ac_file_in |
4865
 
                                     sed 's,.*/,,'` by configure."
 
4859
                                     sed 's,.*/,,'` by configure."
4866
4860
 
4867
4861
  # First look for the input files in the build tree, otherwise in the
4868
4862
  # src tree.
4871
4865
      case $f in
4872
4866
      -) echo $tmp/stdin ;;
4873
4867
      [\\/$]*)
4874
 
         # Absolute (can't be DOS-style, as IFS=:)
4875
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4868
         # Absolute (can't be DOS-style, as IFS=:)
 
4869
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4876
4870
echo "$as_me: error: cannot find input file: $f" >&2;}
4877
4871
   { (exit 1); exit 1; }; }
4878
 
         echo $f;;
 
4872
         echo "$f";;
4879
4873
      *) # Relative
4880
 
         if test -f "$f"; then
4881
 
           # Build tree
4882
 
           echo $f
4883
 
         elif test -f "$srcdir/$f"; then
4884
 
           # Source tree
4885
 
           echo $srcdir/$f
4886
 
         else
4887
 
           # /dev/null tree
4888
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4874
         if test -f "$f"; then
 
4875
           # Build tree
 
4876
           echo "$f"
 
4877
         elif test -f "$srcdir/$f"; then
 
4878
           # Source tree
 
4879
           echo "$srcdir/$f"
 
4880
         else
 
4881
           # /dev/null tree
 
4882
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4889
4883
echo "$as_me: error: cannot find input file: $f" >&2;}
4890
4884
   { (exit 1); exit 1; }; }
4891
 
         fi;;
 
4885
         fi;;
4892
4886
      esac
4893
4887
    done` || { (exit 1); exit 1; }
 
4888
 
 
4889
  if test x"$ac_file" != x-; then
 
4890
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
4891
echo "$as_me: creating $ac_file" >&6;}
 
4892
    rm -f "$ac_file"
 
4893
  fi
4894
4894
_ACEOF
4895
4895
cat >>$CONFIG_STATUS <<_ACEOF
4896
4896
  sed "$ac_vpsub
4930
4930
# NAME is the cpp macro being defined and VALUE is the value it is being given.
4931
4931
#
4932
4932
# ac_d sets the value in "#define NAME VALUE" lines.
4933
 
ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
4934
 
ac_dB='[        ].*$,\1#\2'
 
4933
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
 
4934
ac_dB='[         ].*$,\1#\2'
4935
4935
ac_dC=' '
4936
4936
ac_dD=',;t'
4937
4937
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4938
 
ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 
4938
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
4939
4939
ac_uB='$,\1#\2define\3'
4940
4940
ac_uC=' '
4941
4941
ac_uD=',;t'
4944
4944
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4945
4945
  case $ac_file in
4946
4946
  - | *:- | *:-:* ) # input from stdin
4947
 
        cat >$tmp/stdin
4948
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4949
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4947
        cat >$tmp/stdin
 
4948
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 
4949
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4950
4950
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4951
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 
4951
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4952
4952
  * )   ac_file_in=$ac_file.in ;;
4953
4953
  esac
4954
4954
 
4962
4962
      case $f in
4963
4963
      -) echo $tmp/stdin ;;
4964
4964
      [\\/$]*)
4965
 
         # Absolute (can't be DOS-style, as IFS=:)
4966
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4965
         # Absolute (can't be DOS-style, as IFS=:)
 
4966
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4967
4967
echo "$as_me: error: cannot find input file: $f" >&2;}
4968
4968
   { (exit 1); exit 1; }; }
4969
 
         echo $f;;
 
4969
         # Do quote $f, to prevent DOS paths from being IFS'd.
 
4970
         echo "$f";;
4970
4971
      *) # Relative
4971
 
         if test -f "$f"; then
4972
 
           # Build tree
4973
 
           echo $f
4974
 
         elif test -f "$srcdir/$f"; then
4975
 
           # Source tree
4976
 
           echo $srcdir/$f
4977
 
         else
4978
 
           # /dev/null tree
4979
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 
4972
         if test -f "$f"; then
 
4973
           # Build tree
 
4974
           echo "$f"
 
4975
         elif test -f "$srcdir/$f"; then
 
4976
           # Source tree
 
4977
           echo "$srcdir/$f"
 
4978
         else
 
4979
           # /dev/null tree
 
4980
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4980
4981
echo "$as_me: error: cannot find input file: $f" >&2;}
4981
4982
   { (exit 1); exit 1; }; }
4982
 
         fi;;
 
4983
         fi;;
4983
4984
      esac
4984
4985
    done` || { (exit 1); exit 1; }
4985
4986
  # Remove the trailing spaces.
4986
 
  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
 
4987
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
4987
4988
 
4988
4989
_ACEOF
4989
4990
 
5006
5007
s,[\\$`],\\&,g
5007
5008
t clear
5008
5009
: clear
5009
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 
5010
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5010
5011
t end
5011
 
s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 
5012
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5012
5013
: end
5013
5014
_ACEOF
5014
5015
# If some macros were called several times there might be several times
5022
5023
# example, in the case of _POSIX_SOURCE, which is predefined and required
5023
5024
# on some systems where configure will not decide to define it.
5024
5025
cat >>conftest.undefs <<\_ACEOF
5025
 
s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
5026
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5026
5027
_ACEOF
5027
5028
 
5028
5029
# Break up conftest.defines because some shells have a limit on the size
5029
5030
# of here documents, and old seds have small limits too (100 cmds).
5030
5031
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5031
 
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
5032
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5032
5033
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5033
5034
echo '  :' >>$CONFIG_STATUS
5034
5035
rm -f conftest.tail
5037
5038
  # Write a limited-size here document to $tmp/defines.sed.
5038
5039
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5039
5040
  # Speed up: don't consider the non `#define' lines.
5040
 
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
 
5041
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
5041
5042
  # Work around the forget-to-reset-the-flag bug.
5042
5043
  echo 't clr' >>$CONFIG_STATUS
5043
5044
  echo ': clr' >>$CONFIG_STATUS
5064
5065
  # Write a limited-size here document to $tmp/undefs.sed.
5065
5066
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5066
5067
  # Speed up: don't consider the non `#undef'
5067
 
  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
 
5068
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
5068
5069
  # Work around the forget-to-reset-the-flag bug.
5069
5070
  echo 't clr' >>$CONFIG_STATUS
5070
5071
  echo ': clr' >>$CONFIG_STATUS
5098
5099
    else
5099
5100
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5100
5101
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5101
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
5102
 
         X"$ac_file" : 'X\(//\)$' \| \
5103
 
         X"$ac_file" : 'X\(/\)' \| \
5104
 
         .     : '\(.\)' 2>/dev/null ||
 
5102
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
5103
         X"$ac_file" : 'X\(//\)$' \| \
 
5104
         X"$ac_file" : 'X\(/\)' \| \
 
5105
         .     : '\(.\)' 2>/dev/null ||
5105
5106
echo X"$ac_file" |
5106
5107
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5107
5108
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5117
5118
      as_dirs="$as_dir $as_dirs"
5118
5119
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5119
5120
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5120
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5121
 
         X"$as_dir" : 'X\(//\)$' \| \
5122
 
         X"$as_dir" : 'X\(/\)' \| \
5123
 
         .     : '\(.\)' 2>/dev/null ||
 
5121
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5122
         X"$as_dir" : 'X\(//\)$' \| \
 
5123
         X"$as_dir" : 'X\(/\)' \| \
 
5124
         .     : '\(.\)' 2>/dev/null ||
5124
5125
echo X"$as_dir" |
5125
5126
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5126
5127
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5140
5141
    cat $tmp/config.h
5141
5142
    rm -f $tmp/config.h
5142
5143
  fi
5143
 
_am_stamp_count=`expr ${_am_stamp_count-0} + 1`
 
5144
# Compute $ac_file's index in $config_headers.
 
5145
_am_stamp_count=1
 
5146
for _am_header in $config_headers :; do
 
5147
  case $_am_header in
 
5148
    $ac_file | $ac_file:* )
 
5149
      break ;;
 
5150
    * )
 
5151
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
5152
  esac
 
5153
done
5144
5154
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5145
5155
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5146
 
         X$ac_file : 'X\(//\)[^/]' \| \
5147
 
         X$ac_file : 'X\(//\)$' \| \
5148
 
         X$ac_file : 'X\(/\)' \| \
5149
 
         .     : '\(.\)' 2>/dev/null ||
 
5156
         X$ac_file : 'X\(//\)[^/]' \| \
 
5157
         X$ac_file : 'X\(//\)$' \| \
 
5158
         X$ac_file : 'X\(/\)' \| \
 
5159
         .     : '\(.\)' 2>/dev/null ||
5150
5160
echo X$ac_file |
5151
5161
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5152
5162
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5165
5175
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5166
5176
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5167
5177
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5168
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
5169
 
         X"$ac_dest" : 'X\(//\)$' \| \
5170
 
         X"$ac_dest" : 'X\(/\)' \| \
5171
 
         .     : '\(.\)' 2>/dev/null ||
 
5178
         X"$ac_dest" : 'X\(//\)[^/]' \| \
 
5179
         X"$ac_dest" : 'X\(//\)$' \| \
 
5180
         X"$ac_dest" : 'X\(/\)' \| \
 
5181
         .     : '\(.\)' 2>/dev/null ||
5172
5182
echo X"$ac_dest" |
5173
5183
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5174
5184
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5175
5185
          /^X\(\/\/\)$/{ s//\1/; q; }
5176
5186
          /^X\(\/\).*/{ s//\1/; q; }
5177
5187
          s/.*/./; q'`
 
5188
  { if $as_mkdir_p; then
 
5189
    mkdir -p "$ac_dir"
 
5190
  else
 
5191
    as_dir="$ac_dir"
 
5192
    as_dirs=
 
5193
    while test ! -d "$as_dir"; do
 
5194
      as_dirs="$as_dir $as_dirs"
 
5195
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
5196
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5197
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5198
         X"$as_dir" : 'X\(//\)$' \| \
 
5199
         X"$as_dir" : 'X\(/\)' \| \
 
5200
         .     : '\(.\)' 2>/dev/null ||
 
5201
echo X"$as_dir" |
 
5202
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
5203
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
5204
          /^X\(\/\/\)$/{ s//\1/; q; }
 
5205
          /^X\(\/\).*/{ s//\1/; q; }
 
5206
          s/.*/./; q'`
 
5207
    done
 
5208
    test ! -n "$as_dirs" || mkdir $as_dirs
 
5209
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 
5210
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
5211
   { (exit 1); exit 1; }; }; }
 
5212
 
5178
5213
  ac_builddir=.
5179
5214
 
5180
5215
if test "$ac_dir" != .; then
5200
5235
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5201
5236
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5202
5237
esac
5203
 
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5204
 
# absolute.
5205
 
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5206
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5207
 
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5208
 
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
5238
 
 
5239
# Do not use `cd foo && pwd` to compute absolute paths, because
 
5240
# the directories may not exist.
 
5241
case `pwd` in
 
5242
.) ac_abs_builddir="$ac_dir";;
 
5243
*)
 
5244
  case "$ac_dir" in
 
5245
  .) ac_abs_builddir=`pwd`;;
 
5246
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 
5247
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
 
5248
  esac;;
 
5249
esac
 
5250
case $ac_abs_builddir in
 
5251
.) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5252
*)
 
5253
  case ${ac_top_builddir}. in
 
5254
  .) ac_abs_top_builddir=$ac_abs_builddir;;
 
5255
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 
5256
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 
5257
  esac;;
 
5258
esac
 
5259
case $ac_abs_builddir in
 
5260
.) ac_abs_srcdir=$ac_srcdir;;
 
5261
*)
 
5262
  case $ac_srcdir in
 
5263
  .) ac_abs_srcdir=$ac_abs_builddir;;
 
5264
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 
5265
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 
5266
  esac;;
 
5267
esac
 
5268
case $ac_abs_builddir in
 
5269
.) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5270
*)
 
5271
  case $ac_top_srcdir in
 
5272
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
 
5273
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 
5274
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 
5275
  esac;;
 
5276
esac
5209
5277
 
5210
5278
 
5211
5279
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5223
5291
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5224
5292
    dirpart=`(dirname "$mf") 2>/dev/null ||
5225
5293
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5226
 
         X"$mf" : 'X\(//\)[^/]' \| \
5227
 
         X"$mf" : 'X\(//\)$' \| \
5228
 
         X"$mf" : 'X\(/\)' \| \
5229
 
         .     : '\(.\)' 2>/dev/null ||
 
5294
         X"$mf" : 'X\(//\)[^/]' \| \
 
5295
         X"$mf" : 'X\(//\)$' \| \
 
5296
         X"$mf" : 'X\(/\)' \| \
 
5297
         .     : '\(.\)' 2>/dev/null ||
5230
5298
echo X"$mf" |
5231
5299
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5232
5300
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5236
5304
  else
5237
5305
    continue
5238
5306
  fi
5239
 
  grep '^DEP_FILES *= *[^ @%:@]' < "$mf" > /dev/null || continue
5240
 
  # Extract the definition of DEP_FILES from the Makefile without
5241
 
  # running `make'.
5242
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
5307
  # Extract the definition of DEPDIR, am__include, and am__quote
 
5308
  # from the Makefile without running `make'.
 
5309
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5243
5310
  test -z "$DEPDIR" && continue
 
5311
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
5312
  test -z "am__include" && continue
 
5313
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5244
5314
  # When using ansi2knr, U may be empty or an underscore; expand it
5245
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
5246
 
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5247
 
  # We invoke sed twice because it is the simplest approach to
5248
 
  # changing $(DEPDIR) to its actual value in the expansion.
5249
 
  for file in `sed -n -e '
5250
 
    /^DEP_FILES = .*\\\\$/ {
5251
 
      s/^DEP_FILES = //
5252
 
      :loop
5253
 
        s/\\\\$//
5254
 
        p
5255
 
        n
5256
 
        /\\\\$/ b loop
5257
 
      p
5258
 
    }
5259
 
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
5315
  U=`sed -n 's/^U = //p' < "$mf"`
 
5316
  # Find all dependency output files, they are included files with
 
5317
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
5318
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
5319
  # expansion.
 
5320
  for file in `sed -n "
 
5321
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5260
5322
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5261
5323
    # Make sure the directory exists.
5262
5324
    test -f "$dirpart/$file" && continue
5263
5325
    fdir=`(dirname "$file") 2>/dev/null ||
5264
5326
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5265
 
         X"$file" : 'X\(//\)[^/]' \| \
5266
 
         X"$file" : 'X\(//\)$' \| \
5267
 
         X"$file" : 'X\(/\)' \| \
5268
 
         .     : '\(.\)' 2>/dev/null ||
 
5327
         X"$file" : 'X\(//\)[^/]' \| \
 
5328
         X"$file" : 'X\(//\)$' \| \
 
5329
         X"$file" : 'X\(/\)' \| \
 
5330
         .     : '\(.\)' 2>/dev/null ||
5269
5331
echo X"$file" |
5270
5332
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5271
5333
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5281
5343
      as_dirs="$as_dir $as_dirs"
5282
5344
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5283
5345
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5284
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5285
 
         X"$as_dir" : 'X\(//\)$' \| \
5286
 
         X"$as_dir" : 'X\(/\)' \| \
5287
 
         .     : '\(.\)' 2>/dev/null ||
 
5346
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5347
         X"$as_dir" : 'X\(//\)$' \| \
 
5348
         X"$as_dir" : 'X\(/\)' \| \
 
5349
         .     : '\(.\)' 2>/dev/null ||
5288
5350
echo X"$as_dir" |
5289
5351
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5290
5352
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }