~ubuntu-branches/debian/sid/monopd/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Schepler
  • Date: 2006-08-12 17:05:23 UTC
  • mfrom: (2.1.1 dapper)
  • Revision ID: james.westby@ubuntu.com-20060812170523-scgnd675p5jpg7lw
Tags: 0.9.3-2
* New patch monopd-0.9.3-dosfix.diff for CVE-2006-1046:
  Fixes a remote DOS vulnerability which could cause the daemon to eat up
  CPU time on the server.  Closes: #355797.
* Bump Standards-Version to 3.7.2 (no changes needed).

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.54.
 
3
# Generated by GNU Autoconf 2.53.
4
4
#
5
5
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
6
# Free Software Foundation, Inc.
7
7
# This configure script is free software; the Free Software Foundation
8
8
# gives unlimited permission to copy, distribute and modify it.
 
9
 
 
10
if expr a : '\(a\)' >/dev/null 2>&1; then
 
11
  as_expr=expr
 
12
else
 
13
  as_expr=false
 
14
fi
 
15
 
 
16
 
9
17
## --------------------- ##
10
18
## M4sh Initialization.  ##
11
19
## --------------------- ##
14
22
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15
23
  emulate sh
16
24
  NULLCMD=:
17
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18
 
  # is contrary to our usage.  Disable this feature.
19
 
  alias -g '${1+"$@"}'='"$@"'
20
25
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21
26
  set -o posix
22
27
fi
23
28
 
 
29
# NLS nuisances.
24
30
# Support unset when possible.
25
31
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
26
32
  as_unset=unset
28
34
  as_unset=false
29
35
fi
30
36
 
31
 
 
32
 
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
34
 
PS1='$ '
35
 
PS2='> '
36
 
PS4='+ '
37
 
 
38
 
# NLS nuisances.
39
 
for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
40
 
do
41
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
42
 
    eval $as_var=C; export $as_var
43
 
  else
44
 
    $as_unset $as_var
45
 
  fi
46
 
done
47
 
 
48
 
# Required to use basename.
49
 
if expr a : '\(a\)' >/dev/null 2>&1; then
50
 
  as_expr=expr
51
 
else
52
 
  as_expr=false
53
 
fi
54
 
 
55
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
56
 
  as_basename=basename
57
 
else
58
 
  as_basename=false
59
 
fi
 
37
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
 
38
    { $as_unset LANG || test "${LANG+set}" != set; } ||
 
39
      { LANG=C; export LANG; }
 
40
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
 
41
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
 
42
      { LC_ALL=C; export LC_ALL; }
 
43
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
 
44
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
 
45
      { LC_TIME=C; export LC_TIME; }
 
46
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
 
47
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
 
48
      { LC_CTYPE=C; export LC_CTYPE; }
 
49
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
 
50
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
 
51
      { LANGUAGE=C; export LANGUAGE; }
 
52
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
 
53
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
 
54
      { LC_COLLATE=C; export LC_COLLATE; }
 
55
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
 
56
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
 
57
      { LC_NUMERIC=C; export LC_NUMERIC; }
 
58
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
 
59
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
 
60
      { LC_MESSAGES=C; export LC_MESSAGES; }
60
61
 
61
62
 
62
63
# Name of the executable.
63
 
as_me=`$as_basename "$0" ||
 
64
as_me=`(basename "$0") 2>/dev/null ||
64
65
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
65
66
         X"$0" : 'X\(//\)$' \| \
66
67
         X"$0" : 'X\(/\)$' \| \
71
72
          /^X\/\(\/\).*/{ s//\1/; q; }
72
73
          s/.*/./; q'`
73
74
 
74
 
 
75
75
# PATH needs CR, and LINENO needs CR and PATH.
76
76
# Avoid depending upon Character Ranges.
77
77
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
85
85
  echo "#! /bin/sh" >conftest.sh
86
86
  echo  "exit 0"   >>conftest.sh
87
87
  chmod +x conftest.sh
88
 
  if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
 
88
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
89
89
    PATH_SEPARATOR=';'
90
90
  else
91
91
    PATH_SEPARATOR=:
138
138
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139
139
  test "x$as_lineno_1" != "x$as_lineno_2" &&
140
140
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
141
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
142
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
143
141
             CONFIG_SHELL=$as_dir/$as_base
144
142
             export CONFIG_SHELL
145
143
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
212
210
fi
213
211
rm -f conf$$ conf$$.exe conf$$.file
214
212
 
215
 
if mkdir -p . 2>/dev/null; then
216
 
  as_mkdir_p=:
217
 
else
218
 
  as_mkdir_p=false
219
 
fi
220
 
 
221
213
as_executable_p="test -f"
222
214
 
223
215
# Sed expression to map a string onto a valid CPP name.
234
226
IFS="   $as_nl"
235
227
 
236
228
# CDPATH.
237
 
$as_unset CDPATH
 
229
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
238
230
 
239
231
 
240
232
# Name of the host.
248
240
# Initializations.
249
241
#
250
242
ac_default_prefix=/usr/local
251
 
ac_config_libobj_dir=.
252
243
cross_compiling=no
253
244
subdirs=
254
245
MFLAGS=
305
296
# include <unistd.h>
306
297
#endif"
307
298
 
308
 
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 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 CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP EGREP LIBOBJS LTLIBOBJS'
309
 
ac_subst_files=''
310
299
 
311
300
# Initialize some variables set by options.
312
301
ac_init_help=
730
719
   { (exit 1); exit 1; }; }
731
720
  fi
732
721
fi
733
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
734
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
735
 
   { (exit 1); exit 1; }; }
736
722
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
737
723
ac_env_build_alias_set=${build_alias+set}
738
724
ac_env_build_alias_value=$build_alias
892
878
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
893
879
# absolute.
894
880
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
895
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 
881
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
896
882
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
897
883
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
898
884
 
932
918
running configure, to aid debugging if configure makes a mistake.
933
919
 
934
920
It was created by $as_me, which was
935
 
generated by GNU Autoconf 2.54.  Invocation command line was
 
921
generated by GNU Autoconf 2.53.  Invocation command line was
936
922
 
937
923
  $ $0 $@
938
924
 
998
984
  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
999
985
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1000
986
  esac
1001
 
  ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
987
  case " $ac_configure_args " in
 
988
    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
989
    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 
990
       ac_sep=" " ;;
 
991
  esac
1002
992
  # Get rid of the leading space.
1003
 
  ac_sep=" "
1004
993
done
1005
994
 
1006
995
# When interrupted or exit'd, cleanup temporary files, and complete
1012
1001
  # Save into config.log some information that might help in debugging.
1013
1002
  {
1014
1003
    echo
1015
 
 
1016
1004
    cat <<\_ASBOX
1017
1005
## ---------------- ##
1018
1006
## Cache variables. ##
1035
1023
    esac;
1036
1024
}
1037
1025
    echo
1038
 
 
1039
 
    cat <<\_ASBOX
1040
 
## ----------------- ##
1041
 
## Output variables. ##
1042
 
## ----------------- ##
1043
 
_ASBOX
1044
 
    echo
1045
 
    for ac_var in $ac_subst_vars
1046
 
    do
1047
 
      eval ac_val=$`echo $ac_var`
1048
 
      echo "$ac_var='"'"'$ac_val'"'"'"
1049
 
    done | sort
1050
 
    echo
1051
 
 
1052
 
    if test -n "$ac_subst_files"; then
1053
 
      cat <<\_ASBOX
1054
 
## ------------- ##
1055
 
## Output files. ##
1056
 
## ------------- ##
1057
 
_ASBOX
1058
 
      echo
1059
 
      for ac_var in $ac_subst_files
1060
 
      do
1061
 
        eval ac_val=$`echo $ac_var`
1062
 
        echo "$ac_var='"'"'$ac_val'"'"'"
1063
 
      done | sort
1064
 
      echo
1065
 
    fi
1066
 
 
1067
1026
    if test -s confdefs.h; then
1068
1027
      cat <<\_ASBOX
1069
1028
## ----------- ##
1071
1030
## ----------- ##
1072
1031
_ASBOX
1073
1032
      echo
1074
 
      sed "/^$/d" confdefs.h | sort
 
1033
      sed "/^$/d" confdefs.h
1075
1034
      echo
1076
1035
    fi
1077
1036
    test "$ac_signal" != 0 &&
1228
1187
 
1229
1188
 
1230
1189
 
1231
 
 
1232
 
am__api_version="1.7"
1233
1190
ac_aux_dir=
1234
1191
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1235
1192
  if test -f $ac_dir/install-sh; then
1392
1349
 
1393
1350
 
1394
1351
# expand $ac_aux_dir to an absolute path
1395
 
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1352
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
1396
1353
 
1397
1354
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1398
1355
# Use eval to expand $SHELL
1400
1357
  am_missing_run="$MISSING --run "
1401
1358
else
1402
1359
  am_missing_run=
1403
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1404
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
1360
  am_backtick='`'
 
1361
  { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
 
1362
echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1405
1363
fi
1406
1364
 
1407
1365
for ac_prog in gawk mawk nawk awk
1473
1431
  SET_MAKE="MAKE=${MAKE-make}"
1474
1432
fi
1475
1433
 
1476
 
 # test to see if srcdir already configured
1477
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
1434
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
1435
if test "${enable_dependency_tracking+set}" = set; then
 
1436
  enableval="$enable_dependency_tracking"
 
1437
 
 
1438
fi;
 
1439
if test "x$enable_dependency_tracking" != xno; then
 
1440
  am_depcomp="$ac_aux_dir/depcomp"
 
1441
  AMDEPBACKSLASH='\'
 
1442
fi
 
1443
 
 
1444
 
 
1445
if test "x$enable_dependency_tracking" != xno; then
 
1446
  AMDEP_TRUE=
 
1447
  AMDEP_FALSE='#'
 
1448
else
 
1449
  AMDEP_TRUE='#'
 
1450
  AMDEP_FALSE=
 
1451
fi
 
1452
 
 
1453
 
 
1454
 
 
1455
 
 
1456
rm -f .deps 2>/dev/null
 
1457
mkdir .deps 2>/dev/null
 
1458
if test -d .deps; then
 
1459
  DEPDIR=.deps
 
1460
else
 
1461
  # MS-DOS does not allow filenames that begin with a dot.
 
1462
  DEPDIR=_deps
 
1463
fi
 
1464
rmdir .deps 2>/dev/null
 
1465
 
 
1466
 
 
1467
# test to see if srcdir already configured
 
1468
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1478
1469
   test -f $srcdir/config.status; then
1479
1470
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1480
1471
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1481
1472
   { (exit 1); exit 1; }; }
1482
1473
fi
1483
1474
 
1484
 
# test whether we have cygpath
1485
 
if test -z "$CYGPATH_W"; then
1486
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
1487
 
    CYGPATH_W='cygpath -w'
1488
 
  else
1489
 
    CYGPATH_W=echo
1490
 
  fi
1491
 
fi
1492
 
 
1493
 
 
1494
1475
# Define the identity of the package.
1495
 
 PACKAGE=monopd
1496
 
 VERSION=0.9.0
1497
 
 
 
1476
PACKAGE=monopd
 
1477
VERSION=0.9.3
1498
1478
 
1499
1479
cat >>confdefs.h <<_ACEOF
1500
1480
#define PACKAGE "$PACKAGE"
1505
1485
#define VERSION "$VERSION"
1506
1486
_ACEOF
1507
1487
 
 
1488
 
 
1489
# Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
 
1490
# the ones we care about.
 
1491
 
 
1492
# Autoconf 2.50 always computes EXEEXT.  However we need to be
 
1493
# compatible with 2.13, for now.  So we always define EXEEXT, but we
 
1494
# don't compute it.
 
1495
 
 
1496
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
 
1497
# requests that it be used.  This is a bit dumb.
 
1498
: ${OBJEXT=o}
 
1499
 
 
1500
 
1508
1501
# Some tools Automake needs.
1509
1502
 
1510
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
1503
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1511
1504
 
1512
1505
 
1513
1506
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1514
1507
 
1515
1508
 
1516
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
1509
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1517
1510
 
1518
1511
 
1519
1512
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1526
1519
 
1527
1520
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1528
1521
 
1529
 
# Installed binaries are usually stripped using `strip' when the user
1530
 
# run `make install-strip'.  However `strip' might not be the right
1531
 
# tool to use in cross-compilation environments, therefore Automake
1532
 
# will honor the `STRIP' environment variable to overrule this program.
1533
 
if test "$cross_compiling" != no; then
1534
 
  if test -n "$ac_tool_prefix"; then
1535
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1536
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
1537
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1538
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1539
 
if test "${ac_cv_prog_STRIP+set}" = set; then
1540
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1541
 
else
1542
 
  if test -n "$STRIP"; then
1543
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1544
 
else
1545
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1546
 
for as_dir in $PATH
1547
 
do
1548
 
  IFS=$as_save_IFS
1549
 
  test -z "$as_dir" && as_dir=.
1550
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1551
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1552
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1553
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1554
 
    break 2
1555
 
  fi
1556
 
done
1557
 
done
1558
 
 
1559
 
fi
1560
 
fi
1561
 
STRIP=$ac_cv_prog_STRIP
1562
 
if test -n "$STRIP"; then
1563
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1564
 
echo "${ECHO_T}$STRIP" >&6
1565
 
else
1566
 
  echo "$as_me:$LINENO: result: no" >&5
1567
 
echo "${ECHO_T}no" >&6
1568
 
fi
1569
 
 
1570
 
fi
1571
 
if test -z "$ac_cv_prog_STRIP"; then
1572
 
  ac_ct_STRIP=$STRIP
1573
 
  # Extract the first word of "strip", so it can be a program name with args.
1574
 
set dummy strip; ac_word=$2
1575
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1576
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1577
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1578
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1579
 
else
1580
 
  if test -n "$ac_ct_STRIP"; then
1581
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1582
 
else
1583
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1584
 
for as_dir in $PATH
1585
 
do
1586
 
  IFS=$as_save_IFS
1587
 
  test -z "$as_dir" && as_dir=.
1588
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1589
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1590
 
    ac_cv_prog_ac_ct_STRIP="strip"
1591
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1592
 
    break 2
1593
 
  fi
1594
 
done
1595
 
done
1596
 
 
1597
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1598
 
fi
1599
 
fi
1600
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1601
 
if test -n "$ac_ct_STRIP"; then
1602
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1603
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
1604
 
else
1605
 
  echo "$as_me:$LINENO: result: no" >&5
1606
 
echo "${ECHO_T}no" >&6
1607
 
fi
1608
 
 
1609
 
  STRIP=$ac_ct_STRIP
1610
 
else
1611
 
  STRIP="$ac_cv_prog_STRIP"
1612
 
fi
1613
 
 
1614
 
fi
1615
1522
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1616
1523
 
1617
1524
# We need awk for the "check" target.  The system "awk" is bad on
1619
1526
 
1620
1527
 
1621
1528
 
1622
 
          ac_config_headers="$ac_config_headers config.h"
 
1529
 
 
1530
                                                    ac_config_headers="$ac_config_headers config.h"
1623
1531
 
1624
1532
ac_ext=cc
1625
1533
ac_cpp='$CXXCPP $CPPFLAGS'
1746
1654
#line $LINENO "configure"
1747
1655
#include "confdefs.h"
1748
1656
 
 
1657
#ifdef F77_DUMMY_MAIN
 
1658
#  ifdef __cplusplus
 
1659
     extern "C"
 
1660
#  endif
 
1661
   int F77_DUMMY_MAIN() { return 1; }
 
1662
#endif
1749
1663
int
1750
1664
main ()
1751
1665
{
1774
1688
# Be careful to initialize this variable, since it used to be cached.
1775
1689
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1776
1690
ac_cv_exeext=
1777
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
1778
 
  test -f "$ac_file" || continue
 
1691
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
 
1692
                ls a.out conftest 2>/dev/null;
 
1693
                ls a.* conftest.* 2>/dev/null`; do
1779
1694
  case $ac_file in
1780
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
1695
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1781
1696
    a.out ) # We found the default executable, but exeext='' is most
1782
1697
            # certainly right.
1783
1698
            break;;
1791
1706
else
1792
1707
  echo "$as_me: failed program was:" >&5
1793
1708
cat conftest.$ac_ext >&5
1794
 
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1795
 
check \`config.log' for details." >&5
1796
 
echo "$as_me: error: C++ compiler cannot create executables
1797
 
check \`config.log' for details." >&2;}
 
1709
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables" >&5
 
1710
echo "$as_me: error: C++ compiler cannot create executables" >&2;}
1798
1711
   { (exit 77); exit 77; }; }
1799
1712
fi
1800
1713
 
1851
1764
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1852
1765
# work properly (i.e., refer to `conftest.exe'), while it won't with
1853
1766
# `rm'.
1854
 
for ac_file in conftest.exe conftest conftest.*; do
1855
 
  test -f "$ac_file" || continue
 
1767
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1856
1768
  case $ac_file in
1857
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
1769
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1858
1770
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1859
1771
          export ac_cv_exeext
1860
1772
          break;;
1883
1795
#line $LINENO "configure"
1884
1796
#include "confdefs.h"
1885
1797
 
 
1798
#ifdef F77_DUMMY_MAIN
 
1799
#  ifdef __cplusplus
 
1800
     extern "C"
 
1801
#  endif
 
1802
   int F77_DUMMY_MAIN() { return 1; }
 
1803
#endif
1886
1804
int
1887
1805
main ()
1888
1806
{
1899
1817
  (exit $ac_status); }; then
1900
1818
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1901
1819
  case $ac_file in
1902
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
1820
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1903
1821
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1904
1822
       break;;
1905
1823
  esac
1927
1845
#line $LINENO "configure"
1928
1846
#include "confdefs.h"
1929
1847
 
 
1848
#ifdef F77_DUMMY_MAIN
 
1849
#  ifdef __cplusplus
 
1850
     extern "C"
 
1851
#  endif
 
1852
   int F77_DUMMY_MAIN() { return 1; }
 
1853
#endif
1930
1854
int
1931
1855
main ()
1932
1856
{
1975
1899
#line $LINENO "configure"
1976
1900
#include "confdefs.h"
1977
1901
 
 
1902
#ifdef F77_DUMMY_MAIN
 
1903
#  ifdef __cplusplus
 
1904
     extern "C"
 
1905
#  endif
 
1906
   int F77_DUMMY_MAIN() { return 1; }
 
1907
#endif
1978
1908
int
1979
1909
main ()
1980
1910
{
2034
1964
#include "confdefs.h"
2035
1965
#include <stdlib.h>
2036
1966
$ac_declaration
 
1967
#ifdef F77_DUMMY_MAIN
 
1968
#  ifdef __cplusplus
 
1969
     extern "C"
 
1970
#  endif
 
1971
   int F77_DUMMY_MAIN() { return 1; }
 
1972
#endif
2037
1973
int
2038
1974
main ()
2039
1975
{
2065
2001
#line $LINENO "configure"
2066
2002
#include "confdefs.h"
2067
2003
$ac_declaration
 
2004
#ifdef F77_DUMMY_MAIN
 
2005
#  ifdef __cplusplus
 
2006
     extern "C"
 
2007
#  endif
 
2008
   int F77_DUMMY_MAIN() { return 1; }
 
2009
#endif
2068
2010
int
2069
2011
main ()
2070
2012
{
2104
2046
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2105
2047
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2106
2048
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2107
 
rm -f .deps 2>/dev/null
2108
 
mkdir .deps 2>/dev/null
2109
 
if test -d .deps; then
2110
 
  DEPDIR=.deps
2111
 
else
2112
 
  # MS-DOS does not allow filenames that begin with a dot.
2113
 
  DEPDIR=_deps
2114
 
fi
2115
 
rmdir .deps 2>/dev/null
2116
 
 
2117
 
 
2118
 
          ac_config_commands="$ac_config_commands depfiles"
2119
 
 
 
2049
 
 
2050
ac_config_commands="$ac_config_commands default-1"
2120
2051
 
2121
2052
am_make=${MAKE-make}
2122
2053
cat > confinc << 'END'
2126
2057
# If we don't find an include directive, just comment out the code.
2127
2058
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2128
2059
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2129
 
am__include="#"
 
2060
am__include='#'
2130
2061
am__quote=
2131
2062
_am_result=none
2132
2063
# First try GNU make style include.
2136
2067
# In particular we don't look at `^make:' because GNU make might
2137
2068
# be invoked under some other name (usually "gmake"), in which
2138
2069
# case it prints its new name instead of `make'.
2139
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
2070
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2140
2071
   am__include=include
2141
2072
   am__quote=
2142
2073
   _am_result=GNU
2146
2077
   echo '.include "confinc"' > confmf
2147
2078
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2148
2079
      am__include=.include
2149
 
      am__quote="\""
 
2080
      am__quote='"'
2150
2081
      _am_result=BSD
2151
2082
   fi
2152
2083
fi
2156
2087
echo "${ECHO_T}$_am_result" >&6
2157
2088
rm -f confinc confmf
2158
2089
 
2159
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2160
 
if test "${enable_dependency_tracking+set}" = set; then
2161
 
  enableval="$enable_dependency_tracking"
2162
 
 
2163
 
fi;
2164
 
if test "x$enable_dependency_tracking" != xno; then
2165
 
  am_depcomp="$ac_aux_dir/depcomp"
2166
 
  AMDEPBACKSLASH='\'
2167
 
fi
2168
 
 
2169
 
 
2170
 
if test "x$enable_dependency_tracking" != xno; then
2171
 
  AMDEP_TRUE=
2172
 
  AMDEP_FALSE='#'
2173
 
else
2174
 
  AMDEP_TRUE='#'
2175
 
  AMDEP_FALSE=
2176
 
fi
2177
 
 
2178
 
 
2179
 
 
2180
2090
 
2181
2091
depcc="$CXX"  am_compiler_list=
2182
2092
 
2244
2154
fi
2245
2155
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2246
2156
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2247
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2248
 
 
2249
 
 
2250
 
 
2251
 
if
2252
 
  test "x$enable_dependency_tracking" != xno \
2253
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2254
 
  am__fastdepCXX_TRUE=
2255
 
  am__fastdepCXX_FALSE='#'
2256
 
else
2257
 
  am__fastdepCXX_TRUE='#'
2258
 
  am__fastdepCXX_FALSE=
2259
 
fi
 
2157
CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type"
2260
2158
 
2261
2159
 
2262
2160
 
2294
2192
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2295
2193
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2296
2194
  ac_status=$?
2297
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
2195
  egrep -v '^ *\+' conftest.er1 >conftest.err
2298
2196
  rm -f conftest.er1
2299
2197
  cat conftest.err >&5
2300
2198
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327
2225
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2328
2226
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2329
2227
  ac_status=$?
2330
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
2228
  egrep -v '^ *\+' conftest.er1 >conftest.err
2331
2229
  rm -f conftest.er1
2332
2230
  cat conftest.err >&5
2333
2231
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385
2283
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2386
2284
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2387
2285
  ac_status=$?
2388
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
2286
  egrep -v '^ *\+' conftest.er1 >conftest.err
2389
2287
  rm -f conftest.er1
2390
2288
  cat conftest.err >&5
2391
2289
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418
2316
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2419
2317
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2420
2318
  ac_status=$?
2421
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
2319
  egrep -v '^ *\+' conftest.er1 >conftest.err
2422
2320
  rm -f conftest.er1
2423
2321
  cat conftest.err >&5
2424
2322
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461
2359
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2462
2360
 
2463
2361
 
2464
 
echo "$as_me:$LINENO: checking for egrep" >&5
2465
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2466
 
if test "${ac_cv_prog_egrep+set}" = set; then
2467
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2468
 
else
2469
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2470
 
    then ac_cv_prog_egrep='grep -E'
2471
 
    else ac_cv_prog_egrep='egrep'
2472
 
    fi
2473
 
fi
2474
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2475
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2476
 
 EGREP=$ac_cv_prog_egrep
2477
 
 
2478
 
 
2479
2362
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2480
2363
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2481
2364
if test "${ac_cv_header_stdc+set}" = set; then
2493
2376
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2494
2377
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2495
2378
  ac_status=$?
2496
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
2379
  egrep -v '^ *\+' conftest.er1 >conftest.err
2497
2380
  rm -f conftest.er1
2498
2381
  cat conftest.err >&5
2499
2382
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524
2407
 
2525
2408
_ACEOF
2526
2409
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2527
 
  $EGREP "memchr" >/dev/null 2>&1; then
 
2410
  egrep "memchr" >/dev/null 2>&1; then
2528
2411
  :
2529
2412
else
2530
2413
  ac_cv_header_stdc=no
2542
2425
 
2543
2426
_ACEOF
2544
2427
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2545
 
  $EGREP "free" >/dev/null 2>&1; then
 
2428
  egrep "free" >/dev/null 2>&1; then
2546
2429
  :
2547
2430
else
2548
2431
  ac_cv_header_stdc=no
2601
2484
( exit $ac_status )
2602
2485
ac_cv_header_stdc=no
2603
2486
fi
2604
 
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
2487
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2605
2488
fi
2606
2489
fi
2607
2490
fi
2724
2607
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2725
2608
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2726
2609
  ac_status=$?
2727
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
2610
  egrep -v '^ *\+' conftest.er1 >conftest.err
2728
2611
  rm -f conftest.er1
2729
2612
  cat conftest.err >&5
2730
2613
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777
2660
if test $ac_cv_header_libcapsinetwork_listener_h = yes; then
2778
2661
  :
2779
2662
else
2780
 
  { { echo "$as_me:$LINENO: error: Please install libCapsiNetwork >= 0.2.5 from http://unixcode.org/libcapsinetwork/" >&5
2781
 
echo "$as_me: error: Please install libCapsiNetwork >= 0.2.5 from http://unixcode.org/libcapsinetwork/" >&2;}
 
2663
  { { echo "$as_me:$LINENO: error: Please install libCapsiNetwork >= 0.3.0 from http://unixcode.org/libcapsinetwork/" >&5
 
2664
echo "$as_me: error: Please install libCapsiNetwork >= 0.3.0 from http://unixcode.org/libcapsinetwork/" >&2;}
2782
2665
   { (exit 1); exit 1; }; }
2783
2666
fi
2784
2667
 
2834
2717
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2835
2718
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2836
2719
  ac_status=$?
2837
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
2720
  egrep -v '^ *\+' conftest.er1 >conftest.err
2838
2721
  rm -f conftest.er1
2839
2722
  cat conftest.err >&5
2840
2723
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887
2770
if test $ac_cv_header_libcapsinetwork_socket_h = yes; then
2888
2771
  :
2889
2772
else
2890
 
  { { echo "$as_me:$LINENO: error: Please install libCapsiNetwork >= 0.2.5 from http://unixcode.org/libcapsinetwork/" >&5
2891
 
echo "$as_me: error: Please install libCapsiNetwork >= 0.2.5 from http://unixcode.org/libcapsinetwork/" >&2;}
 
2773
  { { echo "$as_me:$LINENO: error: Please install libCapsiNetwork >= 0.3.0 from http://unixcode.org/libcapsinetwork/" >&5
 
2774
echo "$as_me: error: Please install libCapsiNetwork >= 0.3.0 from http://unixcode.org/libcapsinetwork/" >&2;}
2892
2775
   { (exit 1); exit 1; }; }
2893
2776
fi
2894
2777
 
2944
2827
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2945
2828
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2946
2829
  ac_status=$?
2947
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
2830
  egrep -v '^ *\+' conftest.er1 >conftest.err
2948
2831
  rm -f conftest.er1
2949
2832
  cat conftest.err >&5
2950
2833
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054
2937
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3055
2938
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3056
2939
  ac_status=$?
3057
 
  grep -v '^ *+' conftest.er1 >conftest.err
 
2940
  egrep -v '^ *\+' conftest.er1 >conftest.err
3058
2941
  rm -f conftest.er1
3059
2942
  cat conftest.err >&5
3060
2943
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118
3001
 
3119
3002
# Checks for library functions.
3120
3003
 
3121
 
                                                            ac_config_files="$ac_config_files Makefile conf/Makefile doc/Makefile doc/api/Makefile games/Makefile src/Makefile"
 
3004
ac_config_files="$ac_config_files Makefile conf/Makefile doc/Makefile doc/api/Makefile games/Makefile src/Makefile"
3122
3005
cat >confcache <<\_ACEOF
3123
3006
# This file is a shell script that caches the results of configure
3124
3007
# tests run on this system so they can be shared between configure
3129
3012
# config.status only pays attention to the cache file if you give it
3130
3013
# the --recheck option to rerun configure.
3131
3014
#
3132
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
3015
# `ac_cv_env_foo' variables (set or unset) will be overriden when
3133
3016
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3134
3017
# following values.
3135
3018
 
3195
3078
 
3196
3079
DEFS=-DHAVE_CONFIG_H
3197
3080
 
3198
 
ac_libobjs=
3199
 
ac_ltlibobjs=
3200
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3201
 
  # 1. Remove the extension, and $U if already installed.
3202
 
  ac_i=`echo "$ac_i" |
3203
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3204
 
  # 2. Add them.
3205
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3206
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3207
 
done
3208
 
LIBOBJS=$ac_libobjs
3209
 
 
3210
 
LTLIBOBJS=$ac_ltlibobjs
3211
 
 
3212
 
 
3213
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3214
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3215
 
Usually this means the macro was only invoked conditionally." >&5
3216
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3217
 
Usually this means the macro was only invoked conditionally." >&2;}
3218
 
   { (exit 1); exit 1; }; }
3219
 
fi
3220
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
3221
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
3222
 
Usually this means the macro was only invoked conditionally." >&5
3223
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
3224
 
Usually this means the macro was only invoked conditionally." >&2;}
3225
 
   { (exit 1); exit 1; }; }
3226
 
fi
3227
3081
 
3228
3082
: ${CONFIG_STATUS=./config.status}
3229
3083
ac_clean_files_save=$ac_clean_files
3242
3096
_ACEOF
3243
3097
 
3244
3098
cat >>$CONFIG_STATUS <<\_ACEOF
 
3099
 
3245
3100
## --------------------- ##
3246
3101
## M4sh Initialization.  ##
3247
3102
## --------------------- ##
3250
3105
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3251
3106
  emulate sh
3252
3107
  NULLCMD=:
3253
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3254
 
  # is contrary to our usage.  Disable this feature.
3255
 
  alias -g '${1+"$@"}'='"$@"'
3256
3108
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3257
3109
  set -o posix
3258
3110
fi
3259
3111
 
 
3112
# NLS nuisances.
3260
3113
# Support unset when possible.
3261
3114
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3262
3115
  as_unset=unset
3264
3117
  as_unset=false
3265
3118
fi
3266
3119
 
3267
 
 
3268
 
# Work around bugs in pre-3.0 UWIN ksh.
3269
 
$as_unset ENV MAIL MAILPATH
3270
 
PS1='$ '
3271
 
PS2='> '
3272
 
PS4='+ '
3273
 
 
3274
 
# NLS nuisances.
3275
 
for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
3276
 
do
3277
 
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
3278
 
    eval $as_var=C; export $as_var
3279
 
  else
3280
 
    $as_unset $as_var
3281
 
  fi
3282
 
done
3283
 
 
3284
 
# Required to use basename.
3285
 
if expr a : '\(a\)' >/dev/null 2>&1; then
3286
 
  as_expr=expr
3287
 
else
3288
 
  as_expr=false
3289
 
fi
3290
 
 
3291
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3292
 
  as_basename=basename
3293
 
else
3294
 
  as_basename=false
3295
 
fi
 
3120
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
 
3121
    { $as_unset LANG || test "${LANG+set}" != set; } ||
 
3122
      { LANG=C; export LANG; }
 
3123
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
 
3124
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
 
3125
      { LC_ALL=C; export LC_ALL; }
 
3126
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
 
3127
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
 
3128
      { LC_TIME=C; export LC_TIME; }
 
3129
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
 
3130
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
 
3131
      { LC_CTYPE=C; export LC_CTYPE; }
 
3132
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
 
3133
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
 
3134
      { LANGUAGE=C; export LANGUAGE; }
 
3135
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
 
3136
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
 
3137
      { LC_COLLATE=C; export LC_COLLATE; }
 
3138
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
 
3139
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
 
3140
      { LC_NUMERIC=C; export LC_NUMERIC; }
 
3141
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
 
3142
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
 
3143
      { LC_MESSAGES=C; export LC_MESSAGES; }
3296
3144
 
3297
3145
 
3298
3146
# Name of the executable.
3299
 
as_me=`$as_basename "$0" ||
 
3147
as_me=`(basename "$0") 2>/dev/null ||
3300
3148
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3301
3149
         X"$0" : 'X\(//\)$' \| \
3302
3150
         X"$0" : 'X\(/\)$' \| \
3307
3155
          /^X\/\(\/\).*/{ s//\1/; q; }
3308
3156
          s/.*/./; q'`
3309
3157
 
3310
 
 
3311
3158
# PATH needs CR, and LINENO needs CR and PATH.
3312
3159
# Avoid depending upon Character Ranges.
3313
3160
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3321
3168
  echo "#! /bin/sh" >conftest.sh
3322
3169
  echo  "exit 0"   >>conftest.sh
3323
3170
  chmod +x conftest.sh
3324
 
  if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
 
3171
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
3325
3172
    PATH_SEPARATOR=';'
3326
3173
  else
3327
3174
    PATH_SEPARATOR=:
3375
3222
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3376
3223
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3377
3224
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3378
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3379
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3380
3225
             CONFIG_SHELL=$as_dir/$as_base
3381
3226
             export CONFIG_SHELL
3382
3227
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3450
3295
fi
3451
3296
rm -f conf$$ conf$$.exe conf$$.file
3452
3297
 
3453
 
if mkdir -p . 2>/dev/null; then
3454
 
  as_mkdir_p=:
3455
 
else
3456
 
  as_mkdir_p=false
3457
 
fi
3458
 
 
3459
3298
as_executable_p="test -f"
3460
3299
 
3461
3300
# Sed expression to map a string onto a valid CPP name.
3472
3311
IFS="   $as_nl"
3473
3312
 
3474
3313
# CDPATH.
3475
 
$as_unset CDPATH
 
3314
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
3476
3315
 
3477
3316
exec 6>&1
3478
3317
 
3489
3328
cat >&5 <<_CSEOF
3490
3329
 
3491
3330
This file was extended by $as_me, which was
3492
 
generated by GNU Autoconf 2.54.  Invocation command line was
 
3331
generated by GNU Autoconf 2.53.  Invocation command line was
3493
3332
 
3494
3333
  CONFIG_FILES    = $CONFIG_FILES
3495
3334
  CONFIG_HEADERS  = $CONFIG_HEADERS
3551
3390
cat >>$CONFIG_STATUS <<_ACEOF
3552
3391
ac_cs_version="\\
3553
3392
config.status
3554
 
configured by $0, generated by GNU Autoconf 2.54,
 
3393
configured by $0, generated by GNU Autoconf 2.53,
3555
3394
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3556
3395
 
3557
3396
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3572
3411
  --*=*)
3573
3412
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3574
3413
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3575
 
    ac_shift=:
3576
 
    ;;
3577
 
  -*)
3578
 
    ac_option=$1
3579
 
    ac_optarg=$2
3580
 
    ac_shift=shift
3581
 
    ;;
 
3414
    shift
 
3415
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
 
3416
    shift
 
3417
    ;;
 
3418
  -*);;
3582
3419
  *) # This is not an option, so the user has probably given explicit
3583
3420
     # arguments.
3584
 
     ac_option=$1
3585
3421
     ac_need_defaults=false;;
3586
3422
  esac
3587
3423
 
3588
 
  case $ac_option in
 
3424
  case $1 in
3589
3425
  # Handling of the options.
3590
3426
_ACEOF
3591
3427
cat >>$CONFIG_STATUS <<_ACEOF
3608
3444
  --debug | --d* | -d )
3609
3445
    debug=: ;;
3610
3446
  --file | --fil | --fi | --f )
3611
 
    $ac_shift
3612
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
3447
    shift
 
3448
    CONFIG_FILES="$CONFIG_FILES $1"
3613
3449
    ac_need_defaults=false;;
3614
3450
  --header | --heade | --head | --hea )
3615
 
    $ac_shift
3616
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
3451
    shift
 
3452
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
3617
3453
    ac_need_defaults=false;;
3618
3454
 
3619
3455
  # This is an error.
3636
3472
# INIT-COMMANDS section.
3637
3473
#
3638
3474
 
3639
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
3475
AMDEP_TRUE="$AMDEP_TRUE"
 
3476
ac_aux_dir="$ac_aux_dir"
3640
3477
 
3641
3478
_ACEOF
3642
3479
 
3653
3490
  "doc/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
3654
3491
  "games/Makefile" ) CONFIG_FILES="$CONFIG_FILES games/Makefile" ;;
3655
3492
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3656
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
3493
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
3657
3494
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3658
3495
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3659
3496
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3740
3577
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3741
3578
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3742
3579
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3743
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
3744
3580
s,@PACKAGE@,$PACKAGE,;t t
3745
3581
s,@VERSION@,$VERSION,;t t
 
3582
s,@EXEEXT@,$EXEEXT,;t t
 
3583
s,@OBJEXT@,$OBJEXT,;t t
3746
3584
s,@ACLOCAL@,$ACLOCAL,;t t
3747
3585
s,@AUTOCONF@,$AUTOCONF,;t t
3748
3586
s,@AUTOMAKE@,$AUTOMAKE,;t t
3750
3588
s,@MAKEINFO@,$MAKEINFO,;t t
3751
3589
s,@AMTAR@,$AMTAR,;t t
3752
3590
s,@install_sh@,$install_sh,;t t
3753
 
s,@STRIP@,$STRIP,;t t
3754
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3755
3591
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3756
3592
s,@AWK@,$AWK,;t t
3757
3593
s,@SET_MAKE@,$SET_MAKE,;t t
 
3594
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
 
3595
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
 
3596
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
 
3597
s,@DEPDIR@,$DEPDIR,;t t
3758
3598
s,@CXX@,$CXX,;t t
3759
3599
s,@CXXFLAGS@,$CXXFLAGS,;t t
3760
3600
s,@LDFLAGS@,$LDFLAGS,;t t
3761
3601
s,@CPPFLAGS@,$CPPFLAGS,;t t
3762
3602
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3763
 
s,@EXEEXT@,$EXEEXT,;t t
3764
 
s,@OBJEXT@,$OBJEXT,;t t
3765
 
s,@DEPDIR@,$DEPDIR,;t t
3766
3603
s,@am__include@,$am__include,;t t
3767
3604
s,@am__quote@,$am__quote,;t t
3768
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3769
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3770
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3771
3605
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
3772
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
3773
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
3774
3606
s,@CXXCPP@,$CXXCPP,;t t
3775
 
s,@EGREP@,$EGREP,;t t
3776
 
s,@LIBOBJS@,$LIBOBJS,;t t
3777
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3778
3607
CEOF
3779
3608
 
3780
3609
_ACEOF
3845
3674
          /^X\(\/\/\)$/{ s//\1/; q; }
3846
3675
          /^X\(\/\).*/{ s//\1/; q; }
3847
3676
          s/.*/./; q'`
3848
 
  { if $as_mkdir_p; then
3849
 
    mkdir -p "$ac_dir"
3850
 
  else
3851
 
    as_dir="$ac_dir"
3852
 
    as_dirs=
3853
 
    while test ! -d "$as_dir"; do
3854
 
      as_dirs="$as_dir $as_dirs"
3855
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3856
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3857
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
3858
 
         X"$as_dir" : 'X\(//\)$' \| \
3859
 
         X"$as_dir" : 'X\(/\)' \| \
3860
 
         .     : '\(.\)' 2>/dev/null ||
3861
 
echo X"$as_dir" |
3862
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3863
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3864
 
          /^X\(\/\/\)$/{ s//\1/; q; }
3865
 
          /^X\(\/\).*/{ s//\1/; q; }
3866
 
          s/.*/./; q'`
3867
 
    done
3868
 
    test ! -n "$as_dirs" || mkdir $as_dirs
3869
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3870
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3871
 
   { (exit 1); exit 1; }; }; }
 
3677
  { case "$ac_dir" in
 
3678
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
 
3679
  *)                      as_incr_dir=.;;
 
3680
esac
 
3681
as_dummy="$ac_dir"
 
3682
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
 
3683
  case $as_mkdir_dir in
 
3684
    # Skip DOS drivespec
 
3685
    ?:) as_incr_dir=$as_mkdir_dir ;;
 
3686
    *)
 
3687
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
 
3688
      test -d "$as_incr_dir" ||
 
3689
        mkdir "$as_incr_dir" ||
 
3690
        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
 
3691
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
 
3692
   { (exit 1); exit 1; }; }
 
3693
    ;;
 
3694
  esac
 
3695
done; }
3872
3696
 
3873
3697
  ac_builddir=.
3874
3698
 
3898
3722
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3899
3723
# absolute.
3900
3724
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
3901
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 
3725
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
3902
3726
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3903
3727
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
3904
3728
 
4088
3912
# Break up conftest.defines because some shells have a limit on the size
4089
3913
# of here documents, and old seds have small limits too (100 cmds).
4090
3914
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4091
 
echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 
3915
echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4092
3916
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4093
3917
echo '  :' >>$CONFIG_STATUS
4094
3918
rm -f conftest.tail
4112
3936
  mv conftest.tail conftest.defines
4113
3937
done
4114
3938
rm -f conftest.defines
4115
 
echo '  fi # grep' >>$CONFIG_STATUS
 
3939
echo '  fi # egrep' >>$CONFIG_STATUS
4116
3940
echo >>$CONFIG_STATUS
4117
3941
 
4118
3942
# Break up conftest.undefs because some shells have a limit on the size
4168
3992
          /^X\(\/\/\)$/{ s//\1/; q; }
4169
3993
          /^X\(\/\).*/{ s//\1/; q; }
4170
3994
          s/.*/./; q'`
4171
 
      { if $as_mkdir_p; then
4172
 
    mkdir -p "$ac_dir"
4173
 
  else
4174
 
    as_dir="$ac_dir"
4175
 
    as_dirs=
4176
 
    while test ! -d "$as_dir"; do
4177
 
      as_dirs="$as_dir $as_dirs"
4178
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4179
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4180
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4181
 
         X"$as_dir" : 'X\(//\)$' \| \
4182
 
         X"$as_dir" : 'X\(/\)' \| \
4183
 
         .     : '\(.\)' 2>/dev/null ||
4184
 
echo X"$as_dir" |
4185
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4186
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4187
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4188
 
          /^X\(\/\).*/{ s//\1/; q; }
4189
 
          s/.*/./; q'`
4190
 
    done
4191
 
    test ! -n "$as_dirs" || mkdir $as_dirs
4192
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4193
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4194
 
   { (exit 1); exit 1; }; }; }
 
3995
      { case "$ac_dir" in
 
3996
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
 
3997
  *)                      as_incr_dir=.;;
 
3998
esac
 
3999
as_dummy="$ac_dir"
 
4000
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
 
4001
  case $as_mkdir_dir in
 
4002
    # Skip DOS drivespec
 
4003
    ?:) as_incr_dir=$as_mkdir_dir ;;
 
4004
    *)
 
4005
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
 
4006
      test -d "$as_incr_dir" ||
 
4007
        mkdir "$as_incr_dir" ||
 
4008
        { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
 
4009
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
 
4010
   { (exit 1); exit 1; }; }
 
4011
    ;;
 
4012
  esac
 
4013
done; }
4195
4014
 
4196
4015
      rm -f $ac_file
4197
4016
      mv $tmp/config.h $ac_file
4200
4019
    cat $tmp/config.h
4201
4020
    rm -f $tmp/config.h
4202
4021
  fi
4203
 
_am_stamp_count=`expr ${_am_stamp_count-0} + 1`
4204
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4205
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4206
 
         X$ac_file : 'X\(//\)[^/]' \| \
4207
 
         X$ac_file : 'X\(//\)$' \| \
4208
 
         X$ac_file : 'X\(/\)' \| \
4209
 
         .     : '\(.\)' 2>/dev/null ||
4210
 
echo X$ac_file |
4211
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4212
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4213
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4214
 
          /^X\(\/\).*/{ s//\1/; q; }
4215
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
4022
  # Run the commands associated with the file.
 
4023
  case $ac_file in
 
4024
    config.h ) # update the timestamp
 
4025
echo timestamp >"./stamp-h1"
 
4026
 ;;
 
4027
  esac
4216
4028
done
4217
4029
_ACEOF
4218
4030
cat >>$CONFIG_STATUS <<\_ACEOF
4263
4075
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4264
4076
# absolute.
4265
4077
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4266
 
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 
4078
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4267
4079
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4268
4080
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4269
4081
 
4271
4083
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4272
4084
echo "$as_me: executing $ac_dest commands" >&6;}
4273
4085
  case $ac_dest in
4274
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4275
 
  # Strip MF so we end up with the name of the file.
4276
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
4277
 
  # Check whether this is an Automake generated Makefile or not.
4278
 
  # We used to match only the files named `Makefile.in', but
4279
 
  # some people rename them; so instead we look at the file content.
4280
 
  # Grep'ing the first line is not enough: some people post-process
4281
 
  # each Makefile.in and add a new line on top of each file to say so.
4282
 
  # So let's grep whole file.
4283
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4284
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
4285
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4286
 
         X"$mf" : 'X\(//\)[^/]' \| \
4287
 
         X"$mf" : 'X\(//\)$' \| \
4288
 
         X"$mf" : 'X\(/\)' \| \
4289
 
         .     : '\(.\)' 2>/dev/null ||
4290
 
echo X"$mf" |
4291
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4292
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4293
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4294
 
          /^X\(\/\).*/{ s//\1/; q; }
4295
 
          s/.*/./; q'`
4296
 
  else
4297
 
    continue
4298
 
  fi
 
4086
    default-1 )
 
4087
test x"$AMDEP_TRUE" != x"" ||
 
4088
for mf in $CONFIG_FILES; do
 
4089
  case "$mf" in
 
4090
  Makefile) dirpart=.;;
 
4091
  */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
 
4092
  *) continue;;
 
4093
  esac
4299
4094
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4300
4095
  # Extract the definition of DEP_FILES from the Makefile without
4301
4096
  # running `make'.
4320
4115
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4321
4116
    # Make sure the directory exists.
4322
4117
    test -f "$dirpart/$file" && continue
4323
 
    fdir=`(dirname "$file") 2>/dev/null ||
4324
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4325
 
         X"$file" : 'X\(//\)[^/]' \| \
4326
 
         X"$file" : 'X\(//\)$' \| \
4327
 
         X"$file" : 'X\(/\)' \| \
4328
 
         .     : '\(.\)' 2>/dev/null ||
4329
 
echo X"$file" |
4330
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4331
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4332
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4333
 
          /^X\(\/\).*/{ s//\1/; q; }
4334
 
          s/.*/./; q'`
4335
 
    { if $as_mkdir_p; then
4336
 
    mkdir -p $dirpart/$fdir
4337
 
  else
4338
 
    as_dir=$dirpart/$fdir
4339
 
    as_dirs=
4340
 
    while test ! -d "$as_dir"; do
4341
 
      as_dirs="$as_dir $as_dirs"
4342
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4343
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4344
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
4345
 
         X"$as_dir" : 'X\(//\)$' \| \
4346
 
         X"$as_dir" : 'X\(/\)' \| \
4347
 
         .     : '\(.\)' 2>/dev/null ||
4348
 
echo X"$as_dir" |
4349
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4350
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4351
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4352
 
          /^X\(\/\).*/{ s//\1/; q; }
4353
 
          s/.*/./; q'`
4354
 
    done
4355
 
    test ! -n "$as_dirs" || mkdir $as_dirs
4356
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4357
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4358
 
   { (exit 1); exit 1; }; }; }
4359
 
 
 
4118
    fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
 
4119
    $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
4360
4120
    # echo "creating $dirpart/$file"
4361
4121
    echo '# dummy' > "$dirpart/$file"
4362
4122
  done