| 771 |
|
with_gnu_ld |
| 772 |
|
with_sysroot |
| 773 |
|
enable_libtool_lock |
| 774 |
– |
with_werror |
| 774 |
|
' |
| 775 |
|
ac_precious_vars='build_alias |
| 776 |
|
host_alias |
| 1428 |
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 1429 |
|
--with-sysroot[=DIR] Search for dependent libraries within DIR (or the |
| 1430 |
|
compiler's sysroot if not specified). |
| 1432 |
– |
--with-werror use -Werror to abort compilation on any warning |
| 1431 |
|
|
| 1432 |
|
Some influential environment variables: |
| 1433 |
|
CC C compiler command |
| 12467 |
|
done |
| 12468 |
|
|
| 12469 |
|
|
| 12472 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
| 12473 |
– |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| 12474 |
– |
if ${ac_cv_c_const+:} false; then : |
| 12475 |
– |
$as_echo_n "(cached) " >&6 |
| 12476 |
– |
else |
| 12477 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12478 |
– |
/* end confdefs.h. */ |
| 12479 |
– |
|
| 12480 |
– |
int |
| 12481 |
– |
main () |
| 12482 |
– |
{ |
| 12483 |
– |
|
| 12484 |
– |
#ifndef __cplusplus |
| 12485 |
– |
/* Ultrix mips cc rejects this sort of thing. */ |
| 12486 |
– |
typedef int charset[2]; |
| 12487 |
– |
const charset cs = { 0, 0 }; |
| 12488 |
– |
/* SunOS 4.1.1 cc rejects this. */ |
| 12489 |
– |
char const *const *pcpcc; |
| 12490 |
– |
char **ppc; |
| 12491 |
– |
/* NEC SVR4.0.2 mips cc rejects this. */ |
| 12492 |
– |
struct point {int x, y;}; |
| 12493 |
– |
static struct point const zero = {0,0}; |
| 12494 |
– |
/* AIX XL C 1.02.0.0 rejects this. |
| 12495 |
– |
It does not let you subtract one const X* pointer from another in |
| 12496 |
– |
an arm of an if-expression whose if-part is not a constant |
| 12497 |
– |
expression */ |
| 12498 |
– |
const char *g = "string"; |
| 12499 |
– |
pcpcc = &g + (g ? g-g : 0); |
| 12500 |
– |
/* HPUX 7.0 cc rejects these. */ |
| 12501 |
– |
++pcpcc; |
| 12502 |
– |
ppc = (char**) pcpcc; |
| 12503 |
– |
pcpcc = (char const *const *) ppc; |
| 12504 |
– |
{ /* SCO 3.2v4 cc rejects this sort of thing. */ |
| 12505 |
– |
char tx; |
| 12506 |
– |
char *t = &tx; |
| 12507 |
– |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 12508 |
– |
|
| 12509 |
– |
*t++ = 0; |
| 12510 |
– |
if (s) return 0; |
| 12511 |
– |
} |
| 12512 |
– |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 12513 |
– |
int x[] = {25, 17}; |
| 12514 |
– |
const int *foo = &x[0]; |
| 12515 |
– |
++foo; |
| 12516 |
– |
} |
| 12517 |
– |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
| 12518 |
– |
typedef const int *iptr; |
| 12519 |
– |
iptr p = 0; |
| 12520 |
– |
++p; |
| 12521 |
– |
} |
| 12522 |
– |
{ /* AIX XL C 1.02.0.0 rejects this sort of thing, saying |
| 12523 |
– |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
| 12524 |
– |
struct s { int j; const int *ap[3]; } bx; |
| 12525 |
– |
struct s *b = &bx; b->j = 5; |
| 12526 |
– |
} |
| 12527 |
– |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 12528 |
– |
const int foo = 10; |
| 12529 |
– |
if (!foo) return 0; |
| 12530 |
– |
} |
| 12531 |
– |
return !cs[0] && !zero.x; |
| 12532 |
– |
#endif |
| 12533 |
– |
|
| 12534 |
– |
; |
| 12535 |
– |
return 0; |
| 12536 |
– |
} |
| 12537 |
– |
_ACEOF |
| 12538 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12539 |
– |
ac_cv_c_const=yes |
| 12540 |
– |
else |
| 12541 |
– |
ac_cv_c_const=no |
| 12542 |
– |
fi |
| 12543 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12544 |
– |
fi |
| 12545 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
| 12546 |
– |
$as_echo "$ac_cv_c_const" >&6; } |
| 12547 |
– |
if test $ac_cv_c_const = no; then |
| 12548 |
– |
|
| 12549 |
– |
$as_echo "#define const /**/" >>confdefs.h |
| 12550 |
– |
|
| 12551 |
– |
fi |
| 12552 |
– |
|
| 12470 |
|
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
| 12471 |
|
if test "x$ac_cv_type_size_t" = xyes; then : |
| 12472 |
|
|
| 12549 |
|
fi |
| 12550 |
|
|
| 12551 |
|
|
| 12635 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
| 12636 |
– |
$as_echo_n "checking return type of signal handlers... " >&6; } |
| 12637 |
– |
if ${ac_cv_type_signal+:} false; then : |
| 12638 |
– |
$as_echo_n "(cached) " >&6 |
| 12639 |
– |
else |
| 12640 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12641 |
– |
/* end confdefs.h. */ |
| 12642 |
– |
#include <sys/types.h> |
| 12643 |
– |
#include <signal.h> |
| 12644 |
– |
|
| 12645 |
– |
int |
| 12646 |
– |
main () |
| 12647 |
– |
{ |
| 12648 |
– |
return *(signal (0, 0)) (0) == 1; |
| 12649 |
– |
; |
| 12650 |
– |
return 0; |
| 12651 |
– |
} |
| 12652 |
– |
_ACEOF |
| 12653 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 12654 |
– |
ac_cv_type_signal=int |
| 12655 |
– |
else |
| 12656 |
– |
ac_cv_type_signal=void |
| 12657 |
– |
fi |
| 12658 |
– |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12659 |
– |
fi |
| 12660 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 |
| 12661 |
– |
$as_echo "$ac_cv_type_signal" >&6; } |
| 12662 |
– |
|
| 12663 |
– |
cat >>confdefs.h <<_ACEOF |
| 12664 |
– |
#define RETSIGTYPE $ac_cv_type_signal |
| 12665 |
– |
_ACEOF |
| 12666 |
– |
|
| 12667 |
– |
|
| 12668 |
– |
for ac_func in strftime |
| 12669 |
– |
do : |
| 12670 |
– |
ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" |
| 12671 |
– |
if test "x$ac_cv_func_strftime" = xyes; then : |
| 12672 |
– |
cat >>confdefs.h <<_ACEOF |
| 12673 |
– |
#define HAVE_STRFTIME 1 |
| 12674 |
– |
_ACEOF |
| 12675 |
– |
|
| 12676 |
– |
else |
| 12677 |
– |
# strftime is in -lintl on SCO UNIX. |
| 12678 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 |
| 12679 |
– |
$as_echo_n "checking for strftime in -lintl... " >&6; } |
| 12680 |
– |
if ${ac_cv_lib_intl_strftime+:} false; then : |
| 12681 |
– |
$as_echo_n "(cached) " >&6 |
| 12682 |
– |
else |
| 12683 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 12684 |
– |
LIBS="-lintl $LIBS" |
| 12685 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12686 |
– |
/* end confdefs.h. */ |
| 12687 |
– |
|
| 12688 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 12689 |
– |
Use char because int might match the return type of a GCC |
| 12690 |
– |
builtin and then its argument prototype would still apply. */ |
| 12691 |
– |
#ifdef __cplusplus |
| 12692 |
– |
extern "C" |
| 12693 |
– |
#endif |
| 12694 |
– |
char strftime (); |
| 12695 |
– |
int |
| 12696 |
– |
main () |
| 12697 |
– |
{ |
| 12698 |
– |
return strftime (); |
| 12699 |
– |
; |
| 12700 |
– |
return 0; |
| 12701 |
– |
} |
| 12702 |
– |
_ACEOF |
| 12703 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 12704 |
– |
ac_cv_lib_intl_strftime=yes |
| 12705 |
– |
else |
| 12706 |
– |
ac_cv_lib_intl_strftime=no |
| 12707 |
– |
fi |
| 12708 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 12709 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 12710 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 12711 |
– |
fi |
| 12712 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 |
| 12713 |
– |
$as_echo "$ac_cv_lib_intl_strftime" >&6; } |
| 12714 |
– |
if test "x$ac_cv_lib_intl_strftime" = xyes; then : |
| 12715 |
– |
$as_echo "#define HAVE_STRFTIME 1" >>confdefs.h |
| 12716 |
– |
|
| 12717 |
– |
LIBS="-lintl $LIBS" |
| 12718 |
– |
fi |
| 12719 |
– |
|
| 12720 |
– |
fi |
| 12721 |
– |
done |
| 12722 |
– |
|
| 12723 |
– |
|
| 12552 |
|
|
| 12553 |
|
for ac_prog in 'bison -y' byacc |
| 12554 |
|
do |
| 12953 |
|
done |
| 12954 |
|
|
| 12955 |
|
|
| 12956 |
< |
for ac_func in gethostbyname gethostbyname2 |
| 12956 |
> |
for ac_func in gethostbyname |
| 12957 |
|
do : |
| 12958 |
< |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 12959 |
< |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 13132 |
< |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 12958 |
> |
ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
| 12959 |
> |
if test "x$ac_cv_func_gethostbyname" = xyes; then : |
| 12960 |
|
cat >>confdefs.h <<_ACEOF |
| 12961 |
< |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 12961 |
> |
#define HAVE_GETHOSTBYNAME 1 |
| 12962 |
|
_ACEOF |
| 12963 |
|
|
| 12964 |
|
fi |
| 13298 |
|
subdirs="$subdirs src/libopm" |
| 13299 |
|
|
| 13300 |
|
|
| 13301 |
< |
|
| 13475 |
< |
# Check whether --with-werror was given. |
| 13476 |
< |
if test "${with_werror+set}" = set; then : |
| 13477 |
< |
withval=$with_werror; CFLAGS="$CFLAGS -Werror" |
| 13478 |
< |
fi |
| 13479 |
< |
|
| 13480 |
< |
|
| 13481 |
< |
ac_config_files="$ac_config_files Makefile src/Makefile" |
| 13301 |
> |
ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile" |
| 13302 |
|
|
| 13303 |
|
cat >confcache <<\_ACEOF |
| 13304 |
|
# This file is a shell script that caches the results of configure |
| 14314 |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 14315 |
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
| 14316 |
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 14317 |
+ |
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
| 14318 |
|
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 14319 |
|
|
| 14320 |
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 15667 |
|
|
| 15668 |
|
|
| 15669 |
|
|
| 15670 |
< |
echo "##############################################################################" |
| 15671 |
< |
echo "Everything is now configured, but you can find some more (infrequently" |
| 15851 |
< |
echo "changed) options in options.h. To compile HOPM now, just type make. It" |
| 15852 |
< |
echo "requires GNU Make, which may be installed as gmake on your system." |
| 15670 |
> |
echo "###############################################################################" |
| 15671 |
> |
echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile." |
| 15672 |
|
echo |
| 15673 |
< |
echo "hopm will be installed in ${prefix}. To change this, run:" |
| 15673 |
> |
echo "HOPM will be installed in ${prefix}. To change this, run:" |
| 15674 |
|
echo " ./configure --prefix=DIRECTORY" |
| 15675 |
< |
echo "##############################################################################" |
| 15675 |
> |
echo "###############################################################################" |