2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59.
3
# Generated by GNU Autoconf 2.59 for hp 0.80.
5
5
# Copyright (C) 2003 Free Software Foundation, Inc.
6
6
# This configure script is free software; the Free Software Foundation
265
265
: ${ac_max_here_lines=38}
267
267
# Identity of this package.
270
PACKAGE_VERSION='0.80'
271
PACKAGE_STRING='hp 0.80'
274
274
ac_unique_file="hp.c"
275
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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 am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CPP EGREP CUPS_BACKEND_PATH LIBOBJS LTLIBOBJS'
275
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CPP EGREP CUPS_BACKEND_PATH LIBOBJS LTLIBOBJS'
276
276
ac_subst_files=''
278
278
# Initialize some variables set by options.
749
749
# Omit some internal or obsolete options to make the list less imposing.
750
750
# This message is too long to be a string in the A/UX 3.1 sh.
752
\`configure' configures this package to adapt to many kinds of systems.
752
\`configure' configures hp 0.80 to adapt to many kinds of systems.
754
754
Usage: $0 [OPTION]... [VAR=VALUE]...
812
812
if test -n "$ac_init_help"; then
813
case $ac_init_help in
814
short | recursive ) echo "Configuration of hp 0.80:";;
816
818
Optional Features:
817
819
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
818
820
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
819
--disable-dependency-tracking Speeds up one-time builds
820
--enable-dependency-tracking Do not reject slow dependency extractors
821
--enable-maintainer-mode enable make rules and dependencies not useful
822
(and sometimes confusing) to the casual installer
823
--disable-dependency-tracking speeds up one-time build
824
--enable-dependency-tracking do not reject slow dependency extractors
822
826
Some influential environment variables:
823
827
CC C compiler command
922
926
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
928
932
test -n "$ac_init_help" && exit 0
929
933
if $ac_init_version; then
936
generated by GNU Autoconf 2.59
932
938
Copyright (C) 2003 Free Software Foundation, Inc.
933
939
This configure script is free software; the Free Software Foundation
940
946
This file contains any messages produced by compilers while
941
947
running configure, to aid debugging if configure makes a mistake.
943
It was created by $as_me, which was
949
It was created by hp $as_me 0.80, which was
944
950
generated by GNU Autoconf 2.59. Invocation command line was
1288
1302
if test -z "$ac_aux_dir"; then
1289
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1290
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1303
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&5
1304
echo "$as_me: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&2;}
1291
1305
{ (exit 1); exit 1; }; }
1293
1307
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1294
1308
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1295
1309
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1311
am__api_version="1.9"
1297
1312
# Find a good install program. We prefer a C program (faster),
1298
1313
# so one script is as good as another. But avoid the broken or
1299
1314
# incompatible versions:
1445
1459
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1462
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1463
# We used to keeping the `.' as first argument, in order to
1464
# allow $(mkdir_p) to be used without argument. As in
1465
# $(mkdir_p) $(somedir)
1466
# where $(somedir) is conditionally defined. However this is wrong
1468
# 1. if the package is installed by a user who cannot write `.'
1469
# make install will fail,
1470
# 2. the above comment should most certainly read
1471
# $(mkdir_p) $(DESTDIR)$(somedir)
1472
# so it does not work when $(somedir) is undefined and
1473
# $(DESTDIR) is not.
1474
# To support the latter case, we have to write
1475
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1476
# so the `.' trick is pointless.
1477
mkdir_p='mkdir -p --'
1479
# On NextStep and OpenStep, the `mkdir' command does not
1480
# recognize any option. It will interpret all options as
1481
# directories to create, and then abort because `.' already
1483
for d in ./-p ./--version;
1485
test -d $d && rmdir $d
1487
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1488
if test -f "$ac_aux_dir/mkinstalldirs"; then
1489
mkdir_p='$(mkinstalldirs)'
1491
mkdir_p='$(install_sh) -d'
1448
1495
for ac_prog in gawk mawk nawk awk
1450
1497
# Extract the first word of "$ac_prog", so it can be a program name with args.
1524
1571
rmdir .tst 2>/dev/null
1526
# test to see if srcdir already configured
1573
# test to see if srcdir already configured
1527
1574
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1528
1575
test -f $srcdir/config.status; then
1529
1576
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1572
1619
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1575
AMTAR=${AMTAR-"${am_missing_run}tar"}
1577
1621
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1579
1623
# Installed binaries are usually stripped using `strip' when the user
1667
1711
# We need awk for the "check" target. The system "awk" is bad on
1668
1712
# some platforms.
1713
# Always define AMTAR for backward compatibility.
1715
AMTAR=${AMTAR-"${am_missing_run}tar"}
1717
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1723
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1724
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1725
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1726
if test "${enable_maintainer_mode+set}" = set; then
1727
enableval="$enable_maintainer_mode"
1728
USE_MAINTAINER_MODE=$enableval
1730
USE_MAINTAINER_MODE=no
1732
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1733
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1736
if test $USE_MAINTAINER_MODE = yes; then
1737
MAINTAINER_MODE_TRUE=
1738
MAINTAINER_MODE_FALSE='#'
1740
MAINTAINER_MODE_TRUE='#'
1741
MAINTAINER_MODE_FALSE=
1744
MAINT=$MAINTAINER_MODE_TRUE
2239
2314
cat conftest.err >&5
2240
2315
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241
2316
(exit $ac_status); } &&
2242
{ ac_try='test -z "$ac_c_werror_flag"
2243
|| test ! -s conftest.err'
2317
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2244
2318
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2245
2319
(eval $ac_try) 2>&5
2298
2372
cat conftest.err >&5
2299
2373
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300
2374
(exit $ac_status); } &&
2301
{ ac_try='test -z "$ac_c_werror_flag"
2302
|| test ! -s conftest.err'
2375
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2303
2376
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2304
2377
(eval $ac_try) 2>&5
2415
2488
cat conftest.err >&5
2416
2489
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417
2490
(exit $ac_status); } &&
2418
{ ac_try='test -z "$ac_c_werror_flag"
2419
|| test ! -s conftest.err'
2491
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2420
2492
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421
2493
(eval $ac_try) 2>&5
2470
2542
cat conftest.err >&5
2471
2543
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472
2544
(exit $ac_status); } &&
2473
{ ac_try='test -z "$ac_c_werror_flag"
2474
|| test ! -s conftest.err'
2545
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2475
2546
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2476
2547
(eval $ac_try) 2>&5
2516
2587
cat conftest.err >&5
2517
2588
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518
2589
(exit $ac_status); } &&
2519
{ ac_try='test -z "$ac_c_werror_flag"
2520
|| test ! -s conftest.err'
2590
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2521
2591
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2522
2592
(eval $ac_try) 2>&5
2561
2631
cat conftest.err >&5
2562
2632
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563
2633
(exit $ac_status); } &&
2564
{ ac_try='test -z "$ac_c_werror_flag"
2565
|| test ! -s conftest.err'
2634
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2566
2635
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567
2636
(eval $ac_try) 2>&5
2707
2776
: > sub/conftest.c
2708
2777
for i in 1 2 3 4 5 6; do
2709
2778
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2779
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2780
# Solaris 8's {/usr,}/bin/sh.
2781
touch sub/conftst$i.h
2712
2783
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2735
2806
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2736
2807
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2737
2808
# icc doesn't choke on unknown options, it will just issue warnings
2738
# (even with -Werror). So we grep stderr for any message
2739
# that says an option was ignored.
2740
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2809
# or remarks (even with -Werror). So we grep stderr for any message
2810
# that says an option was ignored or not supported.
2811
# When given -MP, icc 7.0 and 7.1 complain thusly:
2812
# icc: Command line warning: ignoring option '-M'; no argument required
2813
# The diagnosis changed in icc 8.0:
2814
# icc: Command line remark: option '-MP' not supported
2815
if (grep 'ignoring option' conftest.err ||
2816
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2741
2817
am_cv_CC_dependencies_compiler_type=$depmode
2913
2989
cat conftest.err >&5
2914
2990
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915
2991
(exit $ac_status); } &&
2916
{ ac_try='test -z "$ac_cxx_werror_flag"
2917
|| test ! -s conftest.err'
2992
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2918
2993
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2919
2994
(eval $ac_try) 2>&5
2972
3047
cat conftest.err >&5
2973
3048
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974
3049
(exit $ac_status); } &&
2975
{ ac_try='test -z "$ac_cxx_werror_flag"
2976
|| test ! -s conftest.err'
3050
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2977
3051
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2978
3052
(eval $ac_try) 2>&5
3044
3118
cat conftest.err >&5
3045
3119
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046
3120
(exit $ac_status); } &&
3047
{ ac_try='test -z "$ac_cxx_werror_flag"
3048
|| test ! -s conftest.err'
3121
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3049
3122
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3050
3123
(eval $ac_try) 2>&5
3089
3162
cat conftest.err >&5
3090
3163
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091
3164
(exit $ac_status); } &&
3092
{ ac_try='test -z "$ac_cxx_werror_flag"
3093
|| test ! -s conftest.err'
3165
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3094
3166
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095
3167
(eval $ac_try) 2>&5
3164
3236
: > sub/conftest.c
3165
3237
for i in 1 2 3 4 5 6; do
3166
3238
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3239
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3240
# Solaris 8's {/usr,}/bin/sh.
3241
touch sub/conftst$i.h
3169
3243
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3192
3266
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3193
3267
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3194
3268
# icc doesn't choke on unknown options, it will just issue warnings
3195
# (even with -Werror). So we grep stderr for any message
3196
# that says an option was ignored.
3197
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3269
# or remarks (even with -Werror). So we grep stderr for any message
3270
# that says an option was ignored or not supported.
3271
# When given -MP, icc 7.0 and 7.1 complain thusly:
3272
# icc: Command line warning: ignoring option '-M'; no argument required
3273
# The diagnosis changed in icc 8.0:
3274
# icc: Command line remark: option '-MP' not supported
3275
if (grep 'ignoring option' conftest.err ||
3276
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3198
3277
am_cv_CXX_dependencies_compiler_type=$depmode
3592
3671
cat conftest.err >&5
3593
3672
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594
3673
(exit $ac_status); } &&
3595
{ ac_try='test -z "$ac_c_werror_flag"
3596
|| test ! -s conftest.err'
3674
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3597
3675
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3598
3676
(eval $ac_try) 2>&5
3802
3880
cat conftest.err >&5
3803
3881
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804
3882
(exit $ac_status); } &&
3805
{ ac_try='test -z "$ac_c_werror_flag"
3806
|| test ! -s conftest.err'
3883
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3807
3884
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3808
3885
(eval $ac_try) 2>&5
3973
4051
LTLIBOBJS=$ac_ltlibobjs
4054
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4055
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4056
Usually this means the macro was only invoked conditionally." >&5
4057
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4058
Usually this means the macro was only invoked conditionally." >&2;}
4059
{ (exit 1); exit 1; }; }
3976
4061
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3977
4062
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3978
4063
Usually this means the macro was only invoked conditionally." >&5
4266
4351
cat >&5 <<_CSEOF
4268
This file was extended by $as_me, which was
4353
This file was extended by hp $as_me 0.80, which was
4269
4354
generated by GNU Autoconf 2.59. Invocation command line was
4271
4356
CONFIG_FILES = $CONFIG_FILES
4530
4615
s,@AUTOMAKE@,$AUTOMAKE,;t t
4531
4616
s,@AUTOHEADER@,$AUTOHEADER,;t t
4532
4617
s,@MAKEINFO@,$MAKEINFO,;t t
4533
s,@AMTAR@,$AMTAR,;t t
4534
4618
s,@install_sh@,$install_sh,;t t
4535
4619
s,@STRIP@,$STRIP,;t t
4536
4620
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4537
4621
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4622
s,@mkdir_p@,$mkdir_p,;t t
4538
4623
s,@AWK@,$AWK,;t t
4539
4624
s,@SET_MAKE@,$SET_MAKE,;t t
4540
4625
s,@am__leading_dot@,$am__leading_dot,;t t
4626
s,@AMTAR@,$AMTAR,;t t
4627
s,@am__tar@,$am__tar,;t t
4628
s,@am__untar@,$am__untar,;t t
4629
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4630
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4631
s,@MAINT@,$MAINT,;t t
4541
4632
s,@CC@,$CC,;t t
4542
4633
s,@CFLAGS@,$CFLAGS,;t t
4543
4634
s,@LDFLAGS@,$LDFLAGS,;t t
4731
4822
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4734
if test x"$ac_file" != x-; then
4735
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4736
echo "$as_me: creating $ac_file" >&6;}
4739
4825
# Let's still pretend it is `configure' which instantiates (i.e., don't
4740
4826
# use $as_me), people would be surprised to read:
4741
4827
# /* config.h. Generated by config.status. */
4776
4862
done` || { (exit 1); exit 1; }
4864
if test x"$ac_file" != x-; then
4865
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4866
echo "$as_me: creating $ac_file" >&6;}
4778
4870
cat >>$CONFIG_STATUS <<_ACEOF
4945
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4946
# Extract the definition of DEP_FILES from the Makefile without
4948
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5037
# Extract the definition of DEPDIR, am__include, and am__quote
5038
# from the Makefile without running `make'.
5039
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4949
5040
test -z "$DEPDIR" && continue
5041
am__include=`sed -n 's/^am__include = //p' < "$mf"`
5042
test -z "am__include" && continue
5043
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4950
5044
# When using ansi2knr, U may be empty or an underscore; expand it
4951
U=`sed -n -e '/^U = / s///p' < "$mf"`
4952
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4953
# We invoke sed twice because it is the simplest approach to
4954
# changing $(DEPDIR) to its actual value in the expansion.
4955
for file in `sed -n -e '
4956
/^DEP_FILES = .*\\\\$/ {
4965
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5045
U=`sed -n 's/^U = //p' < "$mf"`
5046
# Find all dependency output files, they are included files with
5047
# $(DEPDIR) in their names. We invoke sed twice because it is the
5048
# simplest approach to changing $(DEPDIR) to its actual value in the
5050
for file in `sed -n "
5051
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4966
5052
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4967
5053
# Make sure the directory exists.
4968
5054
test -f "$dirpart/$file" && continue