~ubuntu-branches/ubuntu/precise/x11-utils/precise-updates

« back to all changes in this revision

Viewing changes to xlsclients/configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2011-02-09 20:34:01 UTC
  • mfrom: (3.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110209203401-43knowb75duvo9td
Tags: 7.6+1
* Remove David Nusinow and Brice Goglin from Uploaders.  Thanks for your
  work!
* Drop Pre-Depends on x11-common.
* Bump Standards-Version to 3.9.1.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.65 for xlsclients 1.1.0.
 
3
# Generated by GNU Autoconf 2.68 for xlsclients 1.1.1.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6
6
#
7
7
#
8
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10
 
# Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
11
11
#
12
12
#
13
13
# This configure script is free software; the Free Software Foundation
91
91
IFS=" ""        $as_nl"
92
92
 
93
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
94
95
case $0 in #((
95
96
  *[\\/]* ) as_myself=$0 ;;
96
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
216
217
  # We cannot yet assume a decent shell, so we have to provide a
217
218
        # neutralization value for shells without unset; and this also
218
219
        # works around shells that cannot unset nonexistent variables.
 
220
        # Preserve -v and -x to the replacement shell.
219
221
        BASH_ENV=/dev/null
220
222
        ENV=/dev/null
221
223
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
224
        export CONFIG_SHELL
223
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
225
        case $- in # ((((
 
226
          *v*x* | *x*v* ) as_opts=-vx ;;
 
227
          *v* ) as_opts=-v ;;
 
228
          *x* ) as_opts=-x ;;
 
229
          * ) as_opts= ;;
 
230
        esac
 
231
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
224
232
fi
225
233
 
226
234
    if test x$as_have_required = xno; then :
320
328
      test -d "$as_dir" && break
321
329
    done
322
330
    test -z "$as_dirs" || eval "mkdir $as_dirs"
323
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
331
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324
332
 
325
333
 
326
334
} # as_fn_mkdir_p
360
368
fi # as_fn_arith
361
369
 
362
370
 
363
 
# as_fn_error ERROR [LINENO LOG_FD]
364
 
# ---------------------------------
 
371
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
372
# ----------------------------------------
365
373
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366
374
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367
 
# script with status $?, using 1 if that was 0.
 
375
# script with STATUS, using 1 if that was 0.
368
376
as_fn_error ()
369
377
{
370
 
  as_status=$?; test $as_status -eq 0 && as_status=1
371
 
  if test "$3"; then
372
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
378
  as_status=$1; test $as_status -eq 0 && as_status=1
 
379
  if test "$4"; then
 
380
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
381
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374
382
  fi
375
 
  $as_echo "$as_me: error: $1" >&2
 
383
  $as_echo "$as_me: error: $2" >&2
376
384
  as_fn_exit $as_status
377
385
} # as_fn_error
378
386
 
534
542
exec 6>&1
535
543
 
536
544
# Name of the host.
537
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
545
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
538
546
# so uname gets run too.
539
547
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540
548
 
553
561
# Identity of this package.
554
562
PACKAGE_NAME='xlsclients'
555
563
PACKAGE_TARNAME='xlsclients'
556
 
PACKAGE_VERSION='1.1.0'
557
 
PACKAGE_STRING='xlsclients 1.1.0'
 
564
PACKAGE_VERSION='1.1.1'
 
565
PACKAGE_STRING='xlsclients 1.1.1'
558
566
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
559
567
PACKAGE_URL=''
560
568
 
615
623
FILE_MAN_SUFFIX
616
624
LIB_MAN_SUFFIX
617
625
APP_MAN_SUFFIX
 
626
SED
 
627
INSTALL_CMD
 
628
PKG_CONFIG
 
629
CHANGELOG_CMD
 
630
CWARNFLAGS
 
631
LIBOBJS
618
632
host_os
619
633
host_vendor
620
634
host_cpu
623
637
build_vendor
624
638
build_cpu
625
639
build
626
 
INSTALL_CMD
627
 
PKG_CONFIG
628
 
CHANGELOG_CMD
629
 
CWARNFLAGS
630
 
LIBOBJS
631
640
EGREP
632
641
GREP
633
642
CPP
717
726
enable_maintainer_mode
718
727
enable_dependency_tracking
719
728
enable_strict_compilation
720
 
with_release_version
721
729
enable_silent_rules
722
730
'
723
731
      ac_precious_vars='build_alias
794
802
  fi
795
803
 
796
804
  case $ac_option in
797
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
798
 
  *)    ac_optarg=yes ;;
 
805
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
806
  *=)   ac_optarg= ;;
 
807
  *)    ac_optarg=yes ;;
799
808
  esac
800
809
 
801
810
  # Accept the important Cygnus configure options, so we can diagnose typos.
840
849
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
841
850
    # Reject names that are not valid shell variable names.
842
851
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
843
 
      as_fn_error "invalid feature name: $ac_useropt"
 
852
      as_fn_error $? "invalid feature name: $ac_useropt"
844
853
    ac_useropt_orig=$ac_useropt
845
854
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
846
855
    case $ac_user_opts in
866
875
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
867
876
    # Reject names that are not valid shell variable names.
868
877
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
869
 
      as_fn_error "invalid feature name: $ac_useropt"
 
878
      as_fn_error $? "invalid feature name: $ac_useropt"
870
879
    ac_useropt_orig=$ac_useropt
871
880
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872
881
    case $ac_user_opts in
1070
1079
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1071
1080
    # Reject names that are not valid shell variable names.
1072
1081
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1073
 
      as_fn_error "invalid package name: $ac_useropt"
 
1082
      as_fn_error $? "invalid package name: $ac_useropt"
1074
1083
    ac_useropt_orig=$ac_useropt
1075
1084
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076
1085
    case $ac_user_opts in
1086
1095
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1087
1096
    # Reject names that are not valid shell variable names.
1088
1097
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089
 
      as_fn_error "invalid package name: $ac_useropt"
 
1098
      as_fn_error $? "invalid package name: $ac_useropt"
1090
1099
    ac_useropt_orig=$ac_useropt
1091
1100
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092
1101
    case $ac_user_opts in
1116
1125
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1117
1126
    x_libraries=$ac_optarg ;;
1118
1127
 
1119
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1120
 
Try \`$0 --help' for more information."
 
1128
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1129
Try \`$0 --help' for more information"
1121
1130
    ;;
1122
1131
 
1123
1132
  *=*)
1125
1134
    # Reject names that are not valid shell variable names.
1126
1135
    case $ac_envvar in #(
1127
1136
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1128
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1137
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1129
1138
    esac
1130
1139
    eval $ac_envvar=\$ac_optarg
1131
1140
    export $ac_envvar ;;
1135
1144
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1136
1145
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1137
1146
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1138
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1147
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1139
1148
    ;;
1140
1149
 
1141
1150
  esac
1143
1152
 
1144
1153
if test -n "$ac_prev"; then
1145
1154
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1146
 
  as_fn_error "missing argument to $ac_option"
 
1155
  as_fn_error $? "missing argument to $ac_option"
1147
1156
fi
1148
1157
 
1149
1158
if test -n "$ac_unrecognized_opts"; then
1150
1159
  case $enable_option_checking in
1151
1160
    no) ;;
1152
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1161
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1153
1162
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1154
1163
  esac
1155
1164
fi
1172
1181
    [\\/$]* | ?:[\\/]* )  continue;;
1173
1182
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1174
1183
  esac
1175
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1184
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1176
1185
done
1177
1186
 
1178
1187
# There might be people who depend on the old broken behavior: `$host'
1186
1195
if test "x$host_alias" != x; then
1187
1196
  if test "x$build_alias" = x; then
1188
1197
    cross_compiling=maybe
1189
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1190
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1198
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1199
    If a cross compiler is detected then cross compile mode will be used" >&2
1191
1200
  elif test "x$build_alias" != "x$host_alias"; then
1192
1201
    cross_compiling=yes
1193
1202
  fi
1202
1211
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1203
1212
ac_ls_di=`ls -di .` &&
1204
1213
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1205
 
  as_fn_error "working directory cannot be determined"
 
1214
  as_fn_error $? "working directory cannot be determined"
1206
1215
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1207
 
  as_fn_error "pwd does not report name of working directory"
 
1216
  as_fn_error $? "pwd does not report name of working directory"
1208
1217
 
1209
1218
 
1210
1219
# Find the source files, if location was not specified.
1243
1252
fi
1244
1253
if test ! -r "$srcdir/$ac_unique_file"; then
1245
1254
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1246
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1255
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1247
1256
fi
1248
1257
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1249
1258
ac_abs_confdir=`(
1250
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1259
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1251
1260
        pwd)`
1252
1261
# When building in place, set srcdir=.
1253
1262
if test "$ac_abs_confdir" = "$ac_pwd"; then
1273
1282
  # Omit some internal or obsolete options to make the list less imposing.
1274
1283
  # This message is too long to be a string in the A/UX 3.1 sh.
1275
1284
  cat <<_ACEOF
1276
 
\`configure' configures xlsclients 1.1.0 to adapt to many kinds of systems.
 
1285
\`configure' configures xlsclients 1.1.1 to adapt to many kinds of systems.
1277
1286
 
1278
1287
Usage: $0 [OPTION]... [VAR=VALUE]...
1279
1288
 
1287
1296
      --help=short        display options specific to this package
1288
1297
      --help=recursive    display the short help of all the included packages
1289
1298
  -V, --version           display version information and exit
1290
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1299
  -q, --quiet, --silent   do not print \`checking ...' messages
1291
1300
      --cache-file=FILE   cache test results in FILE [disabled]
1292
1301
  -C, --config-cache      alias for \`--cache-file=config.cache'
1293
1302
  -n, --no-create         do not create output files
1343
1352
 
1344
1353
if test -n "$ac_init_help"; then
1345
1354
  case $ac_init_help in
1346
 
     short | recursive ) echo "Configuration of xlsclients 1.1.0:";;
 
1355
     short | recursive ) echo "Configuration of xlsclients 1.1.1:";;
1347
1356
   esac
1348
1357
  cat <<\_ACEOF
1349
1358
 
1361
1370
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1362
1371
  --disable-silent-rules         verbose build output (undo: `make V=0')
1363
1372
 
1364
 
Optional Packages:
1365
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1366
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1367
 
  --with-release-version=STRING
1368
 
                          Use release version string in package name
1369
 
 
1370
1373
Some influential environment variables:
1371
1374
  CC          C compiler command
1372
1375
  CFLAGS      C compiler flags
1448
1451
test -n "$ac_init_help" && exit $ac_status
1449
1452
if $ac_init_version; then
1450
1453
  cat <<\_ACEOF
1451
 
xlsclients configure 1.1.0
1452
 
generated by GNU Autoconf 2.65
 
1454
xlsclients configure 1.1.1
 
1455
generated by GNU Autoconf 2.68
1453
1456
 
1454
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1457
Copyright (C) 2010 Free Software Foundation, Inc.
1455
1458
This configure script is free software; the Free Software Foundation
1456
1459
gives unlimited permission to copy, distribute and modify it.
1457
1460
_ACEOF
1495
1498
 
1496
1499
        ac_retval=1
1497
1500
fi
1498
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1501
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1499
1502
  as_fn_set_status $ac_retval
1500
1503
 
1501
1504
} # ac_fn_c_try_compile
1521
1524
    mv -f conftest.er1 conftest.err
1522
1525
  fi
1523
1526
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1524
 
  test $ac_status = 0; } >/dev/null && {
 
1527
  test $ac_status = 0; } > conftest.i && {
1525
1528
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1526
1529
         test ! -s conftest.err
1527
1530
       }; then :
1532
1535
 
1533
1536
    ac_retval=1
1534
1537
fi
1535
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1538
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1536
1539
  as_fn_set_status $ac_retval
1537
1540
 
1538
1541
} # ac_fn_c_try_cpp
1545
1548
ac_fn_c_check_header_mongrel ()
1546
1549
{
1547
1550
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1551
  if eval \${$3+:} false; then :
1549
1552
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1550
1553
$as_echo_n "checking for $2... " >&6; }
1551
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1554
if eval \${$3+:} false; then :
1552
1555
  $as_echo_n "(cached) " >&6
1553
1556
fi
1554
1557
eval ac_res=\$$3
1584
1587
else
1585
1588
  ac_header_preproc=no
1586
1589
fi
1587
 
rm -f conftest.err conftest.$ac_ext
 
1590
rm -f conftest.err conftest.i conftest.$ac_ext
1588
1591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1589
1592
$as_echo "$ac_header_preproc" >&6; }
1590
1593
 
1607
1610
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1608
1611
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1609
1612
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1610
 
( cat <<\_ASBOX
1611
 
## ---------------------------------------------------------------------- ##
 
1613
( $as_echo "## ---------------------------------------------------------------------- ##
1612
1614
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
1613
 
## ---------------------------------------------------------------------- ##
1614
 
_ASBOX
 
1615
## ---------------------------------------------------------------------- ##"
1615
1616
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1616
1617
    ;;
1617
1618
esac
1618
1619
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1619
1620
$as_echo_n "checking for $2... " >&6; }
1620
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1621
if eval \${$3+:} false; then :
1621
1622
  $as_echo_n "(cached) " >&6
1622
1623
else
1623
1624
  eval "$3=\$ac_header_compiler"
1626
1627
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1627
1628
$as_echo "$ac_res" >&6; }
1628
1629
fi
1629
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1630
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630
1631
 
1631
1632
} # ac_fn_c_check_header_mongrel
1632
1633
 
1667
1668
       ac_retval=$ac_status
1668
1669
fi
1669
1670
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1670
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1671
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671
1672
  as_fn_set_status $ac_retval
1672
1673
 
1673
1674
} # ac_fn_c_try_run
1681
1682
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682
1683
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683
1684
$as_echo_n "checking for $2... " >&6; }
1684
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1685
if eval \${$3+:} false; then :
1685
1686
  $as_echo_n "(cached) " >&6
1686
1687
else
1687
1688
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1699
1700
eval ac_res=\$$3
1700
1701
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1701
1702
$as_echo "$ac_res" >&6; }
1702
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1703
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703
1704
 
1704
1705
} # ac_fn_c_check_header_compile
1705
1706
 
1706
 
# ac_fn_c_check_decl LINENO SYMBOL VAR
1707
 
# ------------------------------------
1708
 
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
 
1707
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 
1708
# ---------------------------------------------
 
1709
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
1710
# accordingly.
1709
1711
ac_fn_c_check_decl ()
1710
1712
{
1711
1713
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1713
 
$as_echo_n "checking whether $2 is declared... " >&6; }
1714
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1714
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
1715
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
1716
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
1717
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
1718
if eval \${$3+:} false; then :
1715
1719
  $as_echo_n "(cached) " >&6
1716
1720
else
1717
1721
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720
1724
int
1721
1725
main ()
1722
1726
{
1723
 
#ifndef $2
1724
 
  (void) $2;
 
1727
#ifndef $as_decl_name
 
1728
#ifdef __cplusplus
 
1729
  (void) $as_decl_use;
 
1730
#else
 
1731
  (void) $as_decl_name;
 
1732
#endif
1725
1733
#endif
1726
1734
 
1727
1735
  ;
1738
1746
eval ac_res=\$$3
1739
1747
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740
1748
$as_echo "$ac_res" >&6; }
1741
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1749
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742
1750
 
1743
1751
} # ac_fn_c_check_decl
1744
1752
cat >config.log <<_ACEOF
1745
1753
This file contains any messages produced by compilers while
1746
1754
running configure, to aid debugging if configure makes a mistake.
1747
1755
 
1748
 
It was created by xlsclients $as_me 1.1.0, which was
1749
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
1756
It was created by xlsclients $as_me 1.1.1, which was
 
1757
generated by GNU Autoconf 2.68.  Invocation command line was
1750
1758
 
1751
1759
  $ $0 $@
1752
1760
 
1856
1864
  {
1857
1865
    echo
1858
1866
 
1859
 
    cat <<\_ASBOX
1860
 
## ---------------- ##
 
1867
    $as_echo "## ---------------- ##
1861
1868
## Cache variables. ##
1862
 
## ---------------- ##
1863
 
_ASBOX
 
1869
## ---------------- ##"
1864
1870
    echo
1865
1871
    # The following way of writing the cache mishandles newlines in values,
1866
1872
(
1894
1900
)
1895
1901
    echo
1896
1902
 
1897
 
    cat <<\_ASBOX
1898
 
## ----------------- ##
 
1903
    $as_echo "## ----------------- ##
1899
1904
## Output variables. ##
1900
 
## ----------------- ##
1901
 
_ASBOX
 
1905
## ----------------- ##"
1902
1906
    echo
1903
1907
    for ac_var in $ac_subst_vars
1904
1908
    do
1911
1915
    echo
1912
1916
 
1913
1917
    if test -n "$ac_subst_files"; then
1914
 
      cat <<\_ASBOX
1915
 
## ------------------- ##
 
1918
      $as_echo "## ------------------- ##
1916
1919
## File substitutions. ##
1917
 
## ------------------- ##
1918
 
_ASBOX
 
1920
## ------------------- ##"
1919
1921
      echo
1920
1922
      for ac_var in $ac_subst_files
1921
1923
      do
1929
1931
    fi
1930
1932
 
1931
1933
    if test -s confdefs.h; then
1932
 
      cat <<\_ASBOX
1933
 
## ----------- ##
 
1934
      $as_echo "## ----------- ##
1934
1935
## confdefs.h. ##
1935
 
## ----------- ##
1936
 
_ASBOX
 
1936
## ----------- ##"
1937
1937
      echo
1938
1938
      cat confdefs.h
1939
1939
      echo
1988
1988
ac_site_file1=NONE
1989
1989
ac_site_file2=NONE
1990
1990
if test -n "$CONFIG_SITE"; then
1991
 
  ac_site_file1=$CONFIG_SITE
 
1991
  # We do not want a PATH search for config.site.
 
1992
  case $CONFIG_SITE in #((
 
1993
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
1994
    */*) ac_site_file1=$CONFIG_SITE;;
 
1995
    *)   ac_site_file1=./$CONFIG_SITE;;
 
1996
  esac
1992
1997
elif test "x$prefix" != xNONE; then
1993
1998
  ac_site_file1=$prefix/share/config.site
1994
1999
  ac_site_file2=$prefix/etc/config.site
2003
2008
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2004
2009
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2005
2010
    sed 's/^/| /' "$ac_site_file" >&5
2006
 
    . "$ac_site_file"
 
2011
    . "$ac_site_file" \
 
2012
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2013
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2014
as_fn_error $? "failed to load site script $ac_site_file
 
2015
See \`config.log' for more details" "$LINENO" 5; }
2007
2016
  fi
2008
2017
done
2009
2018
 
2079
2088
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2080
2089
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2081
2090
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2082
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2091
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2083
2092
fi
2084
2093
## -------------------- ##
2085
2094
## Main body of script. ##
2096
2105
 
2097
2106
ac_aux_dir=
2098
2107
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2099
 
  for ac_t in install-sh install.sh shtool; do
2100
 
    if test -f "$ac_dir/$ac_t"; then
2101
 
      ac_aux_dir=$ac_dir
2102
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2103
 
      break 2
2104
 
    fi
2105
 
  done
 
2108
  if test -f "$ac_dir/install-sh"; then
 
2109
    ac_aux_dir=$ac_dir
 
2110
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2111
    break
 
2112
  elif test -f "$ac_dir/install.sh"; then
 
2113
    ac_aux_dir=$ac_dir
 
2114
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2115
    break
 
2116
  elif test -f "$ac_dir/shtool"; then
 
2117
    ac_aux_dir=$ac_dir
 
2118
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2119
    break
 
2120
  fi
2106
2121
done
2107
2122
if test -z "$ac_aux_dir"; then
2108
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2123
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2109
2124
fi
2110
2125
 
2111
2126
# These three variables are undocumented and unsupported,
2134
2149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2135
2150
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2136
2151
if test -z "$INSTALL"; then
2137
 
if test "${ac_cv_path_install+set}" = set; then :
 
2152
if ${ac_cv_path_install+:} false; then :
2138
2153
  $as_echo_n "(cached) " >&6
2139
2154
else
2140
2155
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2221
2236
'
2222
2237
case `pwd` in
2223
2238
  *[\\\"\#\$\&\'\`$am_lf]*)
2224
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2239
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2225
2240
esac
2226
2241
case $srcdir in
2227
2242
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2228
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2243
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2229
2244
esac
2230
2245
 
2231
2246
# Do `set' in a subshell so we don't clobber the current shell's
2247
2262
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2248
2263
      # broken ls alias from the environment.  This has actually
2249
2264
      # happened.  Such a system could not be considered "sane".
2250
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2265
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2251
2266
alias in your environment" "$LINENO" 5
2252
2267
   fi
2253
2268
 
2257
2272
   # Ok.
2258
2273
   :
2259
2274
else
2260
 
   as_fn_error "newly created file is older than distributed files!
 
2275
   as_fn_error $? "newly created file is older than distributed files!
2261
2276
Check your system clock" "$LINENO" 5
2262
2277
fi
2263
2278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2311
2326
set dummy ${ac_tool_prefix}strip; ac_word=$2
2312
2327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2313
2328
$as_echo_n "checking for $ac_word... " >&6; }
2314
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2329
if ${ac_cv_prog_STRIP+:} false; then :
2315
2330
  $as_echo_n "(cached) " >&6
2316
2331
else
2317
2332
  if test -n "$STRIP"; then
2351
2366
set dummy strip; ac_word=$2
2352
2367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2353
2368
$as_echo_n "checking for $ac_word... " >&6; }
2354
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2369
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2355
2370
  $as_echo_n "(cached) " >&6
2356
2371
else
2357
2372
  if test -n "$ac_ct_STRIP"; then
2404
2419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2405
2420
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2406
2421
if test -z "$MKDIR_P"; then
2407
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2422
  if ${ac_cv_path_mkdir+:} false; then :
2408
2423
  $as_echo_n "(cached) " >&6
2409
2424
else
2410
2425
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455
2470
set dummy $ac_prog; ac_word=$2
2456
2471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2457
2472
$as_echo_n "checking for $ac_word... " >&6; }
2458
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2473
if ${ac_cv_prog_AWK+:} false; then :
2459
2474
  $as_echo_n "(cached) " >&6
2460
2475
else
2461
2476
  if test -n "$AWK"; then
2495
2510
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2496
2511
set x ${MAKE-make}
2497
2512
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2498
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2513
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2499
2514
  $as_echo_n "(cached) " >&6
2500
2515
else
2501
2516
  cat >conftest.make <<\_ACEOF
2503
2518
all:
2504
2519
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2505
2520
_ACEOF
2506
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2521
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2507
2522
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2508
2523
  *@@@%%%=?*=@@@%%%*)
2509
2524
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2537
2552
  am__isrc=' -I$(srcdir)'
2538
2553
  # test to see if srcdir already configured
2539
2554
  if test -f $srcdir/config.status; then
2540
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2555
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2541
2556
  fi
2542
2557
fi
2543
2558
 
2553
2568
 
2554
2569
# Define the identity of the package.
2555
2570
 PACKAGE='xlsclients'
2556
 
 VERSION='1.1.0'
 
2571
 VERSION='1.1.1'
2557
2572
 
2558
2573
 
2559
2574
cat >>confdefs.h <<_ACEOF
2617
2632
 
2618
2633
 
2619
2634
 
2620
 
# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS
 
2635
# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
2621
2636
 
2622
2637
 
2623
2638
 
2633
2648
ac_config_headers="$ac_config_headers config.h"
2634
2649
 
2635
2650
 
 
2651
# Check for functional strnlen
 
2652
DEPDIR="${am__leading_dot}deps"
 
2653
 
 
2654
ac_config_commands="$ac_config_commands depfiles"
 
2655
 
 
2656
 
 
2657
am_make=${MAKE-make}
 
2658
cat > confinc << 'END'
 
2659
am__doit:
 
2660
        @echo this is the am__doit target
 
2661
.PHONY: am__doit
 
2662
END
 
2663
# If we don't find an include directive, just comment out the code.
 
2664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
2665
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
2666
am__include="#"
 
2667
am__quote=
 
2668
_am_result=none
 
2669
# First try GNU make style include.
 
2670
echo "include confinc" > confmf
 
2671
# Ignore all kinds of additional output from `make'.
 
2672
case `$am_make -s -f confmf 2> /dev/null` in #(
 
2673
*the\ am__doit\ target*)
 
2674
  am__include=include
 
2675
  am__quote=
 
2676
  _am_result=GNU
 
2677
  ;;
 
2678
esac
 
2679
# Now try BSD make style include.
 
2680
if test "$am__include" = "#"; then
 
2681
   echo '.include "confinc"' > confmf
 
2682
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
2683
   *the\ am__doit\ target*)
 
2684
     am__include=.include
 
2685
     am__quote="\""
 
2686
     _am_result=BSD
 
2687
     ;;
 
2688
   esac
 
2689
fi
 
2690
 
 
2691
 
 
2692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
2693
$as_echo "$_am_result" >&6; }
 
2694
rm -f confinc confmf
 
2695
 
 
2696
# Check whether --enable-dependency-tracking was given.
 
2697
if test "${enable_dependency_tracking+set}" = set; then :
 
2698
  enableval=$enable_dependency_tracking;
 
2699
fi
 
2700
 
 
2701
if test "x$enable_dependency_tracking" != xno; then
 
2702
  am_depcomp="$ac_aux_dir/depcomp"
 
2703
  AMDEPBACKSLASH='\'
 
2704
fi
 
2705
 if test "x$enable_dependency_tracking" != xno; then
 
2706
  AMDEP_TRUE=
 
2707
  AMDEP_FALSE='#'
 
2708
else
 
2709
  AMDEP_TRUE='#'
 
2710
  AMDEP_FALSE=
 
2711
fi
 
2712
 
 
2713
 
2636
2714
ac_ext=c
2637
2715
ac_cpp='$CPP $CPPFLAGS'
2638
2716
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2643
2721
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2644
2722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2645
2723
$as_echo_n "checking for $ac_word... " >&6; }
2646
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2724
if ${ac_cv_prog_CC+:} false; then :
2647
2725
  $as_echo_n "(cached) " >&6
2648
2726
else
2649
2727
  if test -n "$CC"; then
2683
2761
set dummy gcc; ac_word=$2
2684
2762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685
2763
$as_echo_n "checking for $ac_word... " >&6; }
2686
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2764
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2687
2765
  $as_echo_n "(cached) " >&6
2688
2766
else
2689
2767
  if test -n "$ac_ct_CC"; then
2736
2814
set dummy ${ac_tool_prefix}cc; ac_word=$2
2737
2815
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2738
2816
$as_echo_n "checking for $ac_word... " >&6; }
2739
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2817
if ${ac_cv_prog_CC+:} false; then :
2740
2818
  $as_echo_n "(cached) " >&6
2741
2819
else
2742
2820
  if test -n "$CC"; then
2776
2854
set dummy cc; ac_word=$2
2777
2855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2778
2856
$as_echo_n "checking for $ac_word... " >&6; }
2779
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2857
if ${ac_cv_prog_CC+:} false; then :
2780
2858
  $as_echo_n "(cached) " >&6
2781
2859
else
2782
2860
  if test -n "$CC"; then
2835
2913
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2836
2914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2837
2915
$as_echo_n "checking for $ac_word... " >&6; }
2838
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2916
if ${ac_cv_prog_CC+:} false; then :
2839
2917
  $as_echo_n "(cached) " >&6
2840
2918
else
2841
2919
  if test -n "$CC"; then
2879
2957
set dummy $ac_prog; ac_word=$2
2880
2958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2881
2959
$as_echo_n "checking for $ac_word... " >&6; }
2882
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2960
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2883
2961
  $as_echo_n "(cached) " >&6
2884
2962
else
2885
2963
  if test -n "$ac_ct_CC"; then
2933
3011
 
2934
3012
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2935
3013
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2936
 
as_fn_error "no acceptable C compiler found in \$PATH
2937
 
See \`config.log' for more details." "$LINENO" 5; }
 
3014
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3015
See \`config.log' for more details" "$LINENO" 5; }
2938
3016
 
2939
3017
# Provide some information about the compiler.
2940
3018
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3048
3126
 
3049
3127
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3050
3128
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3051
 
{ as_fn_set_status 77
3052
 
as_fn_error "C compiler cannot create executables
3053
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3129
as_fn_error 77 "C compiler cannot create executables
 
3130
See \`config.log' for more details" "$LINENO" 5; }
3054
3131
else
3055
3132
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3056
3133
$as_echo "yes" >&6; }
3092
3169
else
3093
3170
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3094
3171
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3095
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3096
 
See \`config.log' for more details." "$LINENO" 5; }
 
3172
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3173
See \`config.log' for more details" "$LINENO" 5; }
3097
3174
fi
3098
3175
rm -f conftest conftest$ac_cv_exeext
3099
3176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3150
3227
    else
3151
3228
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3152
3229
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153
 
as_fn_error "cannot run C compiled programs.
 
3230
as_fn_error $? "cannot run C compiled programs.
3154
3231
If you meant to cross compile, use \`--host'.
3155
 
See \`config.log' for more details." "$LINENO" 5; }
 
3232
See \`config.log' for more details" "$LINENO" 5; }
3156
3233
    fi
3157
3234
  fi
3158
3235
fi
3163
3240
ac_clean_files=$ac_clean_files_save
3164
3241
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3165
3242
$as_echo_n "checking for suffix of object files... " >&6; }
3166
 
if test "${ac_cv_objext+set}" = set; then :
 
3243
if ${ac_cv_objext+:} false; then :
3167
3244
  $as_echo_n "(cached) " >&6
3168
3245
else
3169
3246
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203
3280
 
3204
3281
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3205
3282
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3206
 
as_fn_error "cannot compute suffix of object files: cannot compile
3207
 
See \`config.log' for more details." "$LINENO" 5; }
 
3283
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3284
See \`config.log' for more details" "$LINENO" 5; }
3208
3285
fi
3209
3286
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3210
3287
fi
3214
3291
ac_objext=$OBJEXT
3215
3292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3216
3293
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3217
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3294
if ${ac_cv_c_compiler_gnu+:} false; then :
3218
3295
  $as_echo_n "(cached) " >&6
3219
3296
else
3220
3297
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3251
3328
ac_save_CFLAGS=$CFLAGS
3252
3329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3253
3330
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3254
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3331
if ${ac_cv_prog_cc_g+:} false; then :
3255
3332
  $as_echo_n "(cached) " >&6
3256
3333
else
3257
3334
  ac_save_c_werror_flag=$ac_c_werror_flag
3329
3406
fi
3330
3407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3331
3408
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3332
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3409
if ${ac_cv_prog_cc_c89+:} false; then :
3333
3410
  $as_echo_n "(cached) " >&6
3334
3411
else
3335
3412
  ac_cv_prog_cc_c89=no
3423
3500
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3424
3501
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3425
3502
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3426
 
DEPDIR="${am__leading_dot}deps"
3427
 
 
3428
 
ac_config_commands="$ac_config_commands depfiles"
3429
 
 
3430
 
 
3431
 
am_make=${MAKE-make}
3432
 
cat > confinc << 'END'
3433
 
am__doit:
3434
 
        @echo this is the am__doit target
3435
 
.PHONY: am__doit
3436
 
END
3437
 
# If we don't find an include directive, just comment out the code.
3438
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3439
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3440
 
am__include="#"
3441
 
am__quote=
3442
 
_am_result=none
3443
 
# First try GNU make style include.
3444
 
echo "include confinc" > confmf
3445
 
# Ignore all kinds of additional output from `make'.
3446
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3447
 
*the\ am__doit\ target*)
3448
 
  am__include=include
3449
 
  am__quote=
3450
 
  _am_result=GNU
3451
 
  ;;
3452
 
esac
3453
 
# Now try BSD make style include.
3454
 
if test "$am__include" = "#"; then
3455
 
   echo '.include "confinc"' > confmf
3456
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3457
 
   *the\ am__doit\ target*)
3458
 
     am__include=.include
3459
 
     am__quote="\""
3460
 
     _am_result=BSD
3461
 
     ;;
3462
 
   esac
3463
 
fi
3464
 
 
3465
 
 
3466
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3467
 
$as_echo "$_am_result" >&6; }
3468
 
rm -f confinc confmf
3469
 
 
3470
 
# Check whether --enable-dependency-tracking was given.
3471
 
if test "${enable_dependency_tracking+set}" = set; then :
3472
 
  enableval=$enable_dependency_tracking;
3473
 
fi
3474
 
 
3475
 
if test "x$enable_dependency_tracking" != xno; then
3476
 
  am_depcomp="$ac_aux_dir/depcomp"
3477
 
  AMDEPBACKSLASH='\'
3478
 
fi
3479
 
 if test "x$enable_dependency_tracking" != xno; then
3480
 
  AMDEP_TRUE=
3481
 
  AMDEP_FALSE='#'
3482
 
else
3483
 
  AMDEP_TRUE='#'
3484
 
  AMDEP_FALSE=
3485
 
fi
3486
 
 
3487
 
 
3488
3503
 
3489
3504
depcc="$CC"   am_compiler_list=
3490
3505
 
3491
3506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3492
3507
$as_echo_n "checking dependency style of $depcc... " >&6; }
3493
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3508
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3494
3509
  $as_echo_n "(cached) " >&6
3495
3510
else
3496
3511
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3614
3629
 
3615
3630
 
3616
3631
 
3617
 
 
3618
 
# Check for functional strnlen
3619
 
 
3620
3632
ac_ext=c
3621
3633
ac_cpp='$CPP $CPPFLAGS'
3622
3634
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629
3641
  CPP=
3630
3642
fi
3631
3643
if test -z "$CPP"; then
3632
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
3644
  if ${ac_cv_prog_CPP+:} false; then :
3633
3645
  $as_echo_n "(cached) " >&6
3634
3646
else
3635
3647
      # Double quotes because CPP needs to be expanded
3659
3671
  # Broken: fails on valid input.
3660
3672
continue
3661
3673
fi
3662
 
rm -f conftest.err conftest.$ac_ext
 
3674
rm -f conftest.err conftest.i conftest.$ac_ext
3663
3675
 
3664
3676
  # OK, works on sane cases.  Now check whether nonexistent headers
3665
3677
  # can be detected and how.
3675
3687
ac_preproc_ok=:
3676
3688
break
3677
3689
fi
3678
 
rm -f conftest.err conftest.$ac_ext
 
3690
rm -f conftest.err conftest.i conftest.$ac_ext
3679
3691
 
3680
3692
done
3681
3693
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3682
 
rm -f conftest.err conftest.$ac_ext
 
3694
rm -f conftest.i conftest.err conftest.$ac_ext
3683
3695
if $ac_preproc_ok; then :
3684
3696
  break
3685
3697
fi
3718
3730
  # Broken: fails on valid input.
3719
3731
continue
3720
3732
fi
3721
 
rm -f conftest.err conftest.$ac_ext
 
3733
rm -f conftest.err conftest.i conftest.$ac_ext
3722
3734
 
3723
3735
  # OK, works on sane cases.  Now check whether nonexistent headers
3724
3736
  # can be detected and how.
3734
3746
ac_preproc_ok=:
3735
3747
break
3736
3748
fi
3737
 
rm -f conftest.err conftest.$ac_ext
 
3749
rm -f conftest.err conftest.i conftest.$ac_ext
3738
3750
 
3739
3751
done
3740
3752
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3741
 
rm -f conftest.err conftest.$ac_ext
 
3753
rm -f conftest.i conftest.err conftest.$ac_ext
3742
3754
if $ac_preproc_ok; then :
3743
3755
 
3744
3756
else
3745
3757
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3746
3758
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3747
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
3748
 
See \`config.log' for more details." "$LINENO" 5; }
 
3759
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
3760
See \`config.log' for more details" "$LINENO" 5; }
3749
3761
fi
3750
3762
 
3751
3763
ac_ext=c
3757
3769
 
3758
3770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3759
3771
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3760
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
3772
if ${ac_cv_path_GREP+:} false; then :
3761
3773
  $as_echo_n "(cached) " >&6
3762
3774
else
3763
3775
  if test -z "$GREP"; then
3806
3818
  done
3807
3819
IFS=$as_save_IFS
3808
3820
  if test -z "$ac_cv_path_GREP"; then
3809
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
3821
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3810
3822
  fi
3811
3823
else
3812
3824
  ac_cv_path_GREP=$GREP
3820
3832
 
3821
3833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3822
3834
$as_echo_n "checking for egrep... " >&6; }
3823
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
3835
if ${ac_cv_path_EGREP+:} false; then :
3824
3836
  $as_echo_n "(cached) " >&6
3825
3837
else
3826
3838
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3872
3884
  done
3873
3885
IFS=$as_save_IFS
3874
3886
  if test -z "$ac_cv_path_EGREP"; then
3875
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
3887
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3876
3888
  fi
3877
3889
else
3878
3890
  ac_cv_path_EGREP=$EGREP
3887
3899
 
3888
3900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3889
3901
$as_echo_n "checking for ANSI C header files... " >&6; }
3890
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
3902
if ${ac_cv_header_stdc+:} false; then :
3891
3903
  $as_echo_n "(cached) " >&6
3892
3904
else
3893
3905
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4004
4016
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4005
4017
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4006
4018
"
4007
 
eval as_val=\$$as_ac_Header
4008
 
   if test "x$as_val" = x""yes; then :
 
4019
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4009
4020
  cat >>confdefs.h <<_ACEOF
4010
4021
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4011
4022
_ACEOF
4017
4028
 
4018
4029
 
4019
4030
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4020
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
 
4031
if test "x$ac_cv_header_minix_config_h" = xyes; then :
4021
4032
  MINIX=yes
4022
4033
else
4023
4034
  MINIX=
4039
4050
 
4040
4051
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4041
4052
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4042
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
 
4053
if ${ac_cv_safe_to_define___extensions__+:} false; then :
4043
4054
  $as_echo_n "(cached) " >&6
4044
4055
else
4045
4056
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4076
4087
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4077
4088
 
4078
4089
 
4079
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
 
4090
# Make sure we can run config.sub.
 
4091
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4092
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
4093
 
 
4094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
4095
$as_echo_n "checking build system type... " >&6; }
 
4096
if ${ac_cv_build+:} false; then :
 
4097
  $as_echo_n "(cached) " >&6
 
4098
else
 
4099
  ac_build_alias=$build_alias
 
4100
test "x$ac_build_alias" = x &&
 
4101
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4102
test "x$ac_build_alias" = x &&
 
4103
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
4104
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4105
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4106
 
 
4107
fi
 
4108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
4109
$as_echo "$ac_cv_build" >&6; }
 
4110
case $ac_cv_build in
 
4111
*-*-*) ;;
 
4112
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
4113
esac
 
4114
build=$ac_cv_build
 
4115
ac_save_IFS=$IFS; IFS='-'
 
4116
set x $ac_cv_build
 
4117
shift
 
4118
build_cpu=$1
 
4119
build_vendor=$2
 
4120
shift; shift
 
4121
# Remember, the first character of IFS is used to create $*,
 
4122
# except with old shells:
 
4123
build_os=$*
 
4124
IFS=$ac_save_IFS
 
4125
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4126
 
 
4127
 
 
4128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
4129
$as_echo_n "checking host system type... " >&6; }
 
4130
if ${ac_cv_host+:} false; then :
 
4131
  $as_echo_n "(cached) " >&6
 
4132
else
 
4133
  if test "x$host_alias" = x; then
 
4134
  ac_cv_host=$ac_cv_build
 
4135
else
 
4136
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4137
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
4138
fi
 
4139
 
 
4140
fi
 
4141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
4142
$as_echo "$ac_cv_host" >&6; }
 
4143
case $ac_cv_host in
 
4144
*-*-*) ;;
 
4145
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
4146
esac
 
4147
host=$ac_cv_host
 
4148
ac_save_IFS=$IFS; IFS='-'
 
4149
set x $ac_cv_host
 
4150
shift
 
4151
host_cpu=$1
 
4152
host_vendor=$2
 
4153
shift; shift
 
4154
# Remember, the first character of IFS is used to create $*,
 
4155
# except with old shells:
 
4156
host_os=$*
 
4157
IFS=$ac_save_IFS
 
4158
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4159
 
 
4160
 
 
4161
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
4080
4162
$as_echo_n "checking for working strnlen... " >&6; }
4081
 
if test "${ac_cv_func_strnlen_working+set}" = set; then :
 
4163
if ${ac_cv_func_strnlen_working+:} false; then :
4082
4164
  $as_echo_n "(cached) " >&6
4083
4165
else
4084
4166
  if test "$cross_compiling" = yes; then :
4085
 
  ac_cv_func_strnlen_working=no
 
4167
  # Guess no on AIX systems, yes otherwise.
 
4168
                case "$host_os" in
 
4169
                  aix*) ac_cv_func_strnlen_working=no;;
 
4170
                  *)    ac_cv_func_strnlen_working=yes;;
 
4171
                esac
4086
4172
else
4087
4173
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088
4174
/* end confdefs.h.  */
4137
4223
 
4138
4224
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4139
4225
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4140
 
if test "${ac_cv_prog_cc_c99+set}" = set; then :
 
4226
if ${ac_cv_prog_cc_c99+:} false; then :
4141
4227
  $as_echo_n "(cached) " >&6
4142
4228
else
4143
4229
  ac_cv_prog_cc_c99=no
4320
4406
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4321
4407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4322
4408
$as_echo_n "checking for $ac_word... " >&6; }
4323
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
4409
if ${ac_cv_path_PKG_CONFIG+:} false; then :
4324
4410
  $as_echo_n "(cached) " >&6
4325
4411
else
4326
4412
  case $PKG_CONFIG in
4363
4449
set dummy pkg-config; ac_word=$2
4364
4450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4365
4451
$as_echo_n "checking for $ac_word... " >&6; }
4366
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
4452
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4367
4453
  $as_echo_n "(cached) " >&6
4368
4454
else
4369
4455
  case $ac_pt_PKG_CONFIG in
4428
4514
        fi
4429
4515
 
4430
4516
fi
4431
 
# Make sure we can run config.sub.
4432
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4433
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4434
 
 
4435
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4436
 
$as_echo_n "checking build system type... " >&6; }
4437
 
if test "${ac_cv_build+set}" = set; then :
4438
 
  $as_echo_n "(cached) " >&6
4439
 
else
4440
 
  ac_build_alias=$build_alias
4441
 
test "x$ac_build_alias" = x &&
4442
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4443
 
test "x$ac_build_alias" = x &&
4444
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4445
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4446
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4447
 
 
4448
 
fi
4449
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4450
 
$as_echo "$ac_cv_build" >&6; }
4451
 
case $ac_cv_build in
4452
 
*-*-*) ;;
4453
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4454
 
esac
4455
 
build=$ac_cv_build
4456
 
ac_save_IFS=$IFS; IFS='-'
4457
 
set x $ac_cv_build
4458
 
shift
4459
 
build_cpu=$1
4460
 
build_vendor=$2
4461
 
shift; shift
4462
 
# Remember, the first character of IFS is used to create $*,
4463
 
# except with old shells:
4464
 
build_os=$*
4465
 
IFS=$ac_save_IFS
4466
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4467
 
 
4468
 
 
4469
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4470
 
$as_echo_n "checking host system type... " >&6; }
4471
 
if test "${ac_cv_host+set}" = set; then :
4472
 
  $as_echo_n "(cached) " >&6
4473
 
else
4474
 
  if test "x$host_alias" = x; then
4475
 
  ac_cv_host=$ac_cv_build
4476
 
else
4477
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4478
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4479
 
fi
4480
 
 
4481
 
fi
4482
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4483
 
$as_echo "$ac_cv_host" >&6; }
4484
 
case $ac_cv_host in
4485
 
*-*-*) ;;
4486
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4487
 
esac
4488
 
host=$ac_cv_host
4489
 
ac_save_IFS=$IFS; IFS='-'
4490
 
set x $ac_cv_host
4491
 
shift
4492
 
host_cpu=$1
4493
 
host_vendor=$2
4494
 
shift; shift
4495
 
# Remember, the first character of IFS is used to create $*,
4496
 
# except with old shells:
4497
 
host_os=$*
4498
 
IFS=$ac_save_IFS
4499
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4518
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4519
if ${ac_cv_path_SED+:} false; then :
 
4520
  $as_echo_n "(cached) " >&6
 
4521
else
 
4522
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4523
     for ac_i in 1 2 3 4 5 6 7; do
 
4524
       ac_script="$ac_script$as_nl$ac_script"
 
4525
     done
 
4526
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4527
     { ac_script=; unset ac_script;}
 
4528
     if test -z "$SED"; then
 
4529
  ac_path_SED_found=false
 
4530
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4531
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4532
for as_dir in $PATH
 
4533
do
 
4534
  IFS=$as_save_IFS
 
4535
  test -z "$as_dir" && as_dir=.
 
4536
    for ac_prog in sed gsed; do
 
4537
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4538
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4539
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4540
# Check for GNU ac_path_SED and select it if it is found.
 
4541
  # Check for GNU $ac_path_SED
 
4542
case `"$ac_path_SED" --version 2>&1` in
 
4543
*GNU*)
 
4544
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4545
*)
 
4546
  ac_count=0
 
4547
  $as_echo_n 0123456789 >"conftest.in"
 
4548
  while :
 
4549
  do
 
4550
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4551
    mv "conftest.tmp" "conftest.in"
 
4552
    cp "conftest.in" "conftest.nl"
 
4553
    $as_echo '' >> "conftest.nl"
 
4554
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4555
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4556
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4557
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4558
      # Best one so far, save it but keep looking for a better one
 
4559
      ac_cv_path_SED="$ac_path_SED"
 
4560
      ac_path_SED_max=$ac_count
 
4561
    fi
 
4562
    # 10*(2^10) chars as input seems more than enough
 
4563
    test $ac_count -gt 10 && break
 
4564
  done
 
4565
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4566
esac
 
4567
 
 
4568
      $ac_path_SED_found && break 3
 
4569
    done
 
4570
  done
 
4571
  done
 
4572
IFS=$as_save_IFS
 
4573
  if test -z "$ac_cv_path_SED"; then
 
4574
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4575
  fi
 
4576
else
 
4577
  ac_cv_path_SED=$SED
 
4578
fi
 
4579
 
 
4580
fi
 
4581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4582
$as_echo "$ac_cv_path_SED" >&6; }
 
4583
 SED="$ac_cv_path_SED"
 
4584
  rm -f conftest.sed
4500
4585
 
4501
4586
 
4502
4587
 
4513
4598
    esac
4514
4599
else
4515
4600
    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4516
 
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
 
4601
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4517
4602
  SUNCC="yes"
4518
4603
else
4519
4604
  SUNCC="no"
4526
4611
 
4527
4612
 
4528
4613
 
4529
 
 
 
4614
# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4530
4615
 
4531
4616
 
4532
4617
 
4539
4624
 
4540
4625
if test "x$STRICT_COMPILE" = "xyes"; then
4541
4626
        ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4542
 
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
 
4627
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4543
4628
  SUNCC="yes"
4544
4629
else
4545
4630
  SUNCC="no"
4546
4631
fi
4547
4632
 
4548
4633
        ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4549
 
if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then :
 
4634
if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4550
4635
  INTELCC="yes"
4551
4636
else
4552
4637
  INTELCC="no"
4565
4650
 
4566
4651
 
4567
4652
 
4568
 
# Check whether --with-release-version was given.
4569
 
if test "${with_release_version+set}" = set; then :
4570
 
  withval=$with_release_version; RELEASE_VERSION="$withval"
4571
 
else
4572
 
  RELEASE_VERSION=""
4573
 
fi
4574
 
 
4575
 
        if test "x$RELEASE_VERSION" != "x"; then
4576
 
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
4577
 
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4578
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: Building with package name set to $PACKAGE" >&5
4579
 
$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4580
 
        fi
4581
 
 
4582
4653
cat >>confdefs.h <<_ACEOF
4583
4654
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4584
4655
_ACEOF
4621
4692
 
4622
4693
 
4623
4694
 
 
4695
 
4624
4696
if test x$APP_MAN_SUFFIX = x    ; then
4625
4697
    APP_MAN_SUFFIX=1
4626
4698
fi
4697
4769
        -e 's|__xservername__|Xorg|g' \
4698
4770
        -e 's|__xconfigfile__|xorg.conf|g' \
4699
4771
        -e 's|__projectroot__|\$(prefix)|g' \
 
4772
        -e 's|__apploaddir__|\$(appdefaultdir)|g' \
4700
4773
        -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4701
4774
        -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4702
4775
        -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4776
4849
        # Put the nasty error message in config.log where it belongs
4777
4850
        echo "$XLSCLIENTS_PKG_ERRORS" >&5
4778
4851
 
4779
 
        as_fn_error "Package requirements (xcb xcb-atom) were not met:
 
4852
        as_fn_error $? "Package requirements (xcb xcb-atom) were not met:
4780
4853
 
4781
4854
$XLSCLIENTS_PKG_ERRORS
4782
4855
 
4790
4863
elif test $pkg_failed = untried; then
4791
4864
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4792
4865
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4793
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
4866
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
4794
4867
is in your PATH or set the PKG_CONFIG environment variable to the full
4795
4868
path to pkg-config.
4796
4869
 
4799
4872
See the pkg-config man page for more details.
4800
4873
 
4801
4874
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4802
 
See \`config.log' for more details." "$LINENO" 5; }
 
4875
See \`config.log' for more details" "$LINENO" 5; }
4803
4876
else
4804
4877
        XLSCLIENTS_CFLAGS=$pkg_cv_XLSCLIENTS_CFLAGS
4805
4878
        XLSCLIENTS_LIBS=$pkg_cv_XLSCLIENTS_LIBS
4808
4881
        :
4809
4882
fi
4810
4883
 
4811
 
 
4812
 
 
4813
4884
ac_config_files="$ac_config_files Makefile"
4814
4885
 
4815
4886
cat >confcache <<\_ACEOF
4876
4947
     :end' >>confcache
4877
4948
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4878
4949
  if test -w "$cache_file"; then
4879
 
    test "x$cache_file" != "x/dev/null" &&
 
4950
    if test "x$cache_file" != "x/dev/null"; then
4880
4951
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4881
4952
$as_echo "$as_me: updating cache $cache_file" >&6;}
4882
 
    cat confcache >$cache_file
 
4953
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
4954
        cat confcache >"$cache_file"
 
4955
      else
 
4956
        case $cache_file in #(
 
4957
        */* | ?:*)
 
4958
          mv -f confcache "$cache_file"$$ &&
 
4959
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
4960
        *)
 
4961
          mv -f confcache "$cache_file" ;;
 
4962
        esac
 
4963
      fi
 
4964
    fi
4883
4965
  else
4884
4966
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4885
4967
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4895
4977
 
4896
4978
ac_libobjs=
4897
4979
ac_ltlibobjs=
 
4980
U=
4898
4981
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4899
4982
  # 1. Remove the extension, and $U if already installed.
4900
4983
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4918
5001
fi
4919
5002
 
4920
5003
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4921
 
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
5004
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4922
5005
Usually this means the macro was only invoked conditionally." "$LINENO" 5
4923
5006
fi
4924
5007
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4925
 
  as_fn_error "conditional \"AMDEP\" was never defined.
 
5008
  as_fn_error $? "conditional \"AMDEP\" was never defined.
4926
5009
Usually this means the macro was only invoked conditionally." "$LINENO" 5
4927
5010
fi
4928
5011
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4929
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
5012
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4930
5013
Usually this means the macro was only invoked conditionally." "$LINENO" 5
4931
5014
fi
4932
5015
 
4933
 
: ${CONFIG_STATUS=./config.status}
 
5016
: "${CONFIG_STATUS=./config.status}"
4934
5017
ac_write_fail=0
4935
5018
ac_clean_files_save=$ac_clean_files
4936
5019
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5031
5114
IFS=" ""        $as_nl"
5032
5115
 
5033
5116
# Find who we are.  Look in the path if we contain no directory separator.
 
5117
as_myself=
5034
5118
case $0 in #((
5035
5119
  *[\\/]* ) as_myself=$0 ;;
5036
5120
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076
5160
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5077
5161
 
5078
5162
 
5079
 
# as_fn_error ERROR [LINENO LOG_FD]
5080
 
# ---------------------------------
 
5163
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
5164
# ----------------------------------------
5081
5165
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5082
5166
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5083
 
# script with status $?, using 1 if that was 0.
 
5167
# script with STATUS, using 1 if that was 0.
5084
5168
as_fn_error ()
5085
5169
{
5086
 
  as_status=$?; test $as_status -eq 0 && as_status=1
5087
 
  if test "$3"; then
5088
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5089
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
5170
  as_status=$1; test $as_status -eq 0 && as_status=1
 
5171
  if test "$4"; then
 
5172
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
5173
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5090
5174
  fi
5091
 
  $as_echo "$as_me: error: $1" >&2
 
5175
  $as_echo "$as_me: error: $2" >&2
5092
5176
  as_fn_exit $as_status
5093
5177
} # as_fn_error
5094
5178
 
5284
5368
      test -d "$as_dir" && break
5285
5369
    done
5286
5370
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5287
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
5371
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5288
5372
 
5289
5373
 
5290
5374
} # as_fn_mkdir_p
5337
5421
# report actual input values of CONFIG_FILES etc. instead of their
5338
5422
# values after options handling.
5339
5423
ac_log="
5340
 
This file was extended by xlsclients $as_me 1.1.0, which was
5341
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
5424
This file was extended by xlsclients $as_me 1.1.1, which was
 
5425
generated by GNU Autoconf 2.68.  Invocation command line was
5342
5426
 
5343
5427
  CONFIG_FILES    = $CONFIG_FILES
5344
5428
  CONFIG_HEADERS  = $CONFIG_HEADERS
5403
5487
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5404
5488
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5405
5489
ac_cs_version="\\
5406
 
xlsclients config.status 1.1.0
5407
 
configured by $0, generated by GNU Autoconf 2.65,
 
5490
xlsclients config.status 1.1.1
 
5491
configured by $0, generated by GNU Autoconf 2.68,
5408
5492
  with options \\"\$ac_cs_config\\"
5409
5493
 
5410
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
5494
Copyright (C) 2010 Free Software Foundation, Inc.
5411
5495
This config.status script is free software; the Free Software Foundation
5412
5496
gives unlimited permission to copy, distribute and modify it."
5413
5497
 
5425
5509
while test $# != 0
5426
5510
do
5427
5511
  case $1 in
5428
 
  --*=*)
 
5512
  --*=?*)
5429
5513
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5430
5514
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5431
5515
    ac_shift=:
5432
5516
    ;;
 
5517
  --*=)
 
5518
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
5519
    ac_optarg=
 
5520
    ac_shift=:
 
5521
    ;;
5433
5522
  *)
5434
5523
    ac_option=$1
5435
5524
    ac_optarg=$2
5451
5540
    $ac_shift
5452
5541
    case $ac_optarg in
5453
5542
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
5543
    '') as_fn_error $? "missing file argument" ;;
5454
5544
    esac
5455
5545
    as_fn_append CONFIG_FILES " '$ac_optarg'"
5456
5546
    ac_need_defaults=false;;
5463
5553
    ac_need_defaults=false;;
5464
5554
  --he | --h)
5465
5555
    # Conflict between --help and --header
5466
 
    as_fn_error "ambiguous option: \`$1'
 
5556
    as_fn_error $? "ambiguous option: \`$1'
5467
5557
Try \`$0 --help' for more information.";;
5468
5558
  --help | --hel | -h )
5469
5559
    $as_echo "$ac_cs_usage"; exit ;;
5472
5562
    ac_cs_silent=: ;;
5473
5563
 
5474
5564
  # This is an error.
5475
 
  -*) as_fn_error "unrecognized option: \`$1'
 
5565
  -*) as_fn_error $? "unrecognized option: \`$1'
5476
5566
Try \`$0 --help' for more information." ;;
5477
5567
 
5478
5568
  *) as_fn_append ac_config_targets " $1"
5530
5620
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5531
5621
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5532
5622
 
5533
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
5623
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5534
5624
  esac
5535
5625
done
5536
5626
 
5553
5643
# after its creation but before its name has been assigned to `$tmp'.
5554
5644
$debug ||
5555
5645
{
5556
 
  tmp=
 
5646
  tmp= ac_tmp=
5557
5647
  trap 'exit_status=$?
5558
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
5648
  : "${ac_tmp:=$tmp}"
 
5649
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5559
5650
' 0
5560
5651
  trap 'as_fn_exit 1' 1 2 13 15
5561
5652
}
5563
5654
 
5564
5655
{
5565
5656
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5566
 
  test -n "$tmp" && test -d "$tmp"
 
5657
  test -d "$tmp"
5567
5658
}  ||
5568
5659
{
5569
5660
  tmp=./conf$$-$RANDOM
5570
5661
  (umask 077 && mkdir "$tmp")
5571
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
5662
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
5663
ac_tmp=$tmp
5572
5664
 
5573
5665
# Set up the scripts for CONFIG_FILES section.
5574
5666
# No need to generate them if there are no CONFIG_FILES.
5585
5677
fi
5586
5678
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5587
5679
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5588
 
  ac_cs_awk_cr='\r'
 
5680
  ac_cs_awk_cr='\\r'
5589
5681
else
5590
5682
  ac_cs_awk_cr=$ac_cr
5591
5683
fi
5592
5684
 
5593
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
5685
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5594
5686
_ACEOF
5595
5687
 
5596
5688
 
5599
5691
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5600
5692
  echo "_ACEOF"
5601
5693
} >conf$$subs.sh ||
5602
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5603
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
5694
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
5695
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5604
5696
ac_delim='%!_!# '
5605
5697
for ac_last_try in false false false false false :; do
5606
5698
  . ./conf$$subs.sh ||
5607
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
5699
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5608
5700
 
5609
5701
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5610
5702
  if test $ac_delim_n = $ac_delim_num; then
5611
5703
    break
5612
5704
  elif $ac_last_try; then
5613
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
5705
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5614
5706
  else
5615
5707
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5616
5708
  fi
5618
5710
rm -f conf$$subs.sh
5619
5711
 
5620
5712
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5621
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
5713
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5622
5714
_ACEOF
5623
5715
sed -n '
5624
5716
h
5666
5758
rm -f conf$$subs.awk
5667
5759
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5668
5760
_ACAWK
5669
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
5761
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5670
5762
  for (key in S) S_is_set[key] = 1
5671
5763
  FS = ""
5672
5764
 
5698
5790
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5699
5791
else
5700
5792
  cat
5701
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5702
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
5793
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
5794
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5703
5795
_ACEOF
5704
5796
 
5705
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5706
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
5797
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
5798
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5707
5799
# trailing colons and then remove the whole line if VPATH becomes empty
5708
5800
# (actually we leave an empty line to preserve line numbers).
5709
5801
if test "x$srcdir" = x.; then
5710
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
5711
 
s/:*\$(srcdir):*/:/
5712
 
s/:*\${srcdir}:*/:/
5713
 
s/:*@srcdir@:*/:/
5714
 
s/^\([^=]*=[     ]*\):*/\1/
 
5802
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
5803
h
 
5804
s///
 
5805
s/^/:/
 
5806
s/[      ]*$/:/
 
5807
s/:\$(srcdir):/:/g
 
5808
s/:\${srcdir}:/:/g
 
5809
s/:@srcdir@:/:/g
 
5810
s/^:*//
5715
5811
s/:*$//
 
5812
x
 
5813
s/\(=[   ]*\).*/\1/
 
5814
G
 
5815
s/\n//
5716
5816
s/^[^=]*=[       ]*$//
5717
5817
}'
5718
5818
fi
5724
5824
# No need to generate them if there are no CONFIG_HEADERS.
5725
5825
# This happens for instance with `./config.status Makefile'.
5726
5826
if test -n "$CONFIG_HEADERS"; then
5727
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
5827
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5728
5828
BEGIN {
5729
5829
_ACEOF
5730
5830
 
5736
5836
# handling of long lines.
5737
5837
ac_delim='%!_!# '
5738
5838
for ac_last_try in false false :; do
5739
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5740
 
  if test -z "$ac_t"; then
 
5839
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
5840
  if test -z "$ac_tt"; then
5741
5841
    break
5742
5842
  elif $ac_last_try; then
5743
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
5843
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5744
5844
  else
5745
5845
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5746
5846
  fi
5825
5925
_ACAWK
5826
5926
_ACEOF
5827
5927
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5828
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
5928
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5829
5929
fi # test -n "$CONFIG_HEADERS"
5830
5930
 
5831
5931
 
5838
5938
  esac
5839
5939
  case $ac_mode$ac_tag in
5840
5940
  :[FHL]*:*);;
5841
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
5941
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5842
5942
  :[FH]-) ac_tag=-:-;;
5843
5943
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5844
5944
  esac
5857
5957
    for ac_f
5858
5958
    do
5859
5959
      case $ac_f in
5860
 
      -) ac_f="$tmp/stdin";;
 
5960
      -) ac_f="$ac_tmp/stdin";;
5861
5961
      *) # Look for the file first in the build tree, then in the source tree
5862
5962
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
5863
5963
         # because $ac_f cannot contain `:'.
5866
5966
           [\\/$]*) false;;
5867
5967
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5868
5968
           esac ||
5869
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
5969
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5870
5970
      esac
5871
5971
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5872
5972
      as_fn_append ac_file_inputs " '$ac_f'"
5892
5992
    esac
5893
5993
 
5894
5994
    case $ac_tag in
5895
 
    *:-:* | *:-) cat >"$tmp/stdin" \
5896
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
5995
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
5996
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5897
5997
    esac
5898
5998
    ;;
5899
5999
  esac
6029
6129
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6030
6130
$ac_datarootdir_hack
6031
6131
"
6032
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6033
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
6132
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
6133
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6034
6134
 
6035
6135
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6036
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6037
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
6136
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
6137
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
6138
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
6038
6139
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6039
 
which seems to be undefined.  Please make sure it is defined." >&5
 
6140
which seems to be undefined.  Please make sure it is defined" >&5
6040
6141
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6041
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
6142
which seems to be undefined.  Please make sure it is defined" >&2;}
6042
6143
 
6043
 
  rm -f "$tmp/stdin"
 
6144
  rm -f "$ac_tmp/stdin"
6044
6145
  case $ac_file in
6045
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
6046
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
6146
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
6147
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6047
6148
  esac \
6048
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
6149
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6049
6150
 ;;
6050
6151
  :H)
6051
6152
  #
6054
6155
  if test x"$ac_file" != x-; then
6055
6156
    {
6056
6157
      $as_echo "/* $configure_input  */" \
6057
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6058
 
    } >"$tmp/config.h" \
6059
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
6060
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
6158
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
6159
    } >"$ac_tmp/config.h" \
 
6160
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
6161
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6061
6162
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6062
6163
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6063
6164
    else
6064
6165
      rm -f "$ac_file"
6065
 
      mv "$tmp/config.h" "$ac_file" \
6066
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
6166
      mv "$ac_tmp/config.h" "$ac_file" \
 
6167
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6067
6168
    fi
6068
6169
  else
6069
6170
    $as_echo "/* $configure_input  */" \
6070
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6071
 
      || as_fn_error "could not create -" "$LINENO" 5
 
6171
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
6172
      || as_fn_error $? "could not create -" "$LINENO" 5
6072
6173
  fi
6073
6174
# Compute "$ac_file"'s index in $config_headers.
6074
6175
_am_arg="$ac_file"
6218
6319
ac_clean_files=$ac_clean_files_save
6219
6320
 
6220
6321
test $ac_write_fail = 0 ||
6221
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
6322
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6222
6323
 
6223
6324
 
6224
6325
# configure is writing to config.log, and then calls config.status.
6239
6340
  exec 5>>config.log
6240
6341
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6241
6342
  # would make configure fail if this is the last instruction.
6242
 
  $ac_cs_success || as_fn_exit $?
 
6343
  $ac_cs_success || as_fn_exit 1
6243
6344
fi
6244
6345
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6245
6346
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5