| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 6222 2015-07-01 18:09:27Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 8549 2018-09-22 20:55:30Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
< |
# Generated by GNU Autoconf 2.69 for hopm TRUNK. |
| 4 |
> |
# Generated by GNU Autoconf 2.69 for hopm 1.1.5. |
| 5 |
|
# |
| 6 |
|
# Report bugs to <bugs@ircd-hybrid.org>. |
| 7 |
|
# |
| 591 |
|
# Identity of this package. |
| 592 |
|
PACKAGE_NAME='hopm' |
| 593 |
|
PACKAGE_TARNAME='hopm' |
| 594 |
< |
PACKAGE_VERSION='TRUNK' |
| 595 |
< |
PACKAGE_STRING='hopm TRUNK' |
| 594 |
> |
PACKAGE_VERSION='1.1.5' |
| 595 |
> |
PACKAGE_STRING='hopm 1.1.5' |
| 596 |
|
PACKAGE_BUGREPORT='bugs@ircd-hybrid.org' |
| 597 |
|
PACKAGE_URL='' |
| 598 |
|
|
| 1331 |
|
# Omit some internal or obsolete options to make the list less imposing. |
| 1332 |
|
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1333 |
|
cat <<_ACEOF |
| 1334 |
< |
\`configure' configures hopm TRUNK to adapt to many kinds of systems. |
| 1334 |
> |
\`configure' configures hopm 1.1.5 to adapt to many kinds of systems. |
| 1335 |
|
|
| 1336 |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1337 |
|
|
| 1401 |
|
|
| 1402 |
|
if test -n "$ac_init_help"; then |
| 1403 |
|
case $ac_init_help in |
| 1404 |
< |
short | recursive ) echo "Configuration of hopm TRUNK:";; |
| 1404 |
> |
short | recursive ) echo "Configuration of hopm 1.1.5:";; |
| 1405 |
|
esac |
| 1406 |
|
cat <<\_ACEOF |
| 1407 |
|
|
| 1524 |
|
test -n "$ac_init_help" && exit $ac_status |
| 1525 |
|
if $ac_init_version; then |
| 1526 |
|
cat <<\_ACEOF |
| 1527 |
< |
hopm configure TRUNK |
| 1527 |
> |
hopm configure 1.1.5 |
| 1528 |
|
generated by GNU Autoconf 2.69 |
| 1529 |
|
|
| 1530 |
|
Copyright (C) 2012 Free Software Foundation, Inc. |
| 1802 |
|
This file contains any messages produced by compilers while |
| 1803 |
|
running configure, to aid debugging if configure makes a mistake. |
| 1804 |
|
|
| 1805 |
< |
It was created by hopm $as_me TRUNK, which was |
| 1805 |
> |
It was created by hopm $as_me 1.1.5, which was |
| 1806 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 1807 |
|
|
| 1808 |
|
$ $0 $@ |
| 2665 |
|
|
| 2666 |
|
# Define the identity of the package. |
| 2667 |
|
PACKAGE='hopm' |
| 2668 |
< |
VERSION='TRUNK' |
| 2668 |
> |
VERSION='1.1.5' |
| 2669 |
|
|
| 2670 |
|
|
| 2671 |
|
cat >>confdefs.h <<_ACEOF |
| 13183 |
|
|
| 13184 |
|
|
| 13185 |
|
|
| 13186 |
< |
for flag in -Wempty-body; do |
| 13186 |
> |
for flag in -Wduplicated-cond; do |
| 13187 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13188 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13189 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13258 |
|
|
| 13259 |
|
|
| 13260 |
|
|
| 13261 |
< |
for flag in -Wignored-qualifiers; do |
| 13261 |
> |
for flag in -Wempty-body; do |
| 13262 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13263 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13264 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13333 |
|
|
| 13334 |
|
|
| 13335 |
|
|
| 13336 |
< |
for flag in -Wlogical-op; do |
| 13336 |
> |
for flag in -Wignored-qualifiers; do |
| 13337 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13338 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13339 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13408 |
|
|
| 13409 |
|
|
| 13410 |
|
|
| 13411 |
< |
for flag in -Wmissing-declarations; do |
| 13411 |
> |
for flag in -Wlogical-op; do |
| 13412 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13413 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13414 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13483 |
|
|
| 13484 |
|
|
| 13485 |
|
|
| 13486 |
< |
for flag in -Wmissing-field-initializers; do |
| 13486 |
> |
for flag in -Wmissing-declarations; do |
| 13487 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13488 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13489 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13558 |
|
|
| 13559 |
|
|
| 13560 |
|
|
| 13561 |
< |
for flag in -Wmissing-include-dirs; do |
| 13561 |
> |
for flag in -Wmissing-field-initializers; do |
| 13562 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13563 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13564 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13633 |
|
|
| 13634 |
|
|
| 13635 |
|
|
| 13636 |
< |
for flag in -Wmissing-parameter-type; do |
| 13636 |
> |
for flag in -Wmissing-include-dirs; do |
| 13637 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13638 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13639 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13708 |
|
|
| 13709 |
|
|
| 13710 |
|
|
| 13711 |
< |
for flag in -Wmissing-prototypes; do |
| 13711 |
> |
for flag in -Wmissing-parameter-type; do |
| 13712 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13713 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13714 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13783 |
|
|
| 13784 |
|
|
| 13785 |
|
|
| 13786 |
< |
for flag in -Wnested-externs; do |
| 13786 |
> |
for flag in -Wmissing-prototypes; do |
| 13787 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13788 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13789 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13858 |
|
|
| 13859 |
|
|
| 13860 |
|
|
| 13861 |
< |
for flag in -Wold-style-declaration; do |
| 13861 |
> |
for flag in -Wnested-externs; do |
| 13862 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13863 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13864 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 13933 |
|
|
| 13934 |
|
|
| 13935 |
|
|
| 13936 |
< |
for flag in -Woverride-init; do |
| 13936 |
> |
for flag in -Wold-style-declaration; do |
| 13937 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 13938 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 13939 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14008 |
|
|
| 14009 |
|
|
| 14010 |
|
|
| 14011 |
< |
for flag in -Wpointer-arith; do |
| 14011 |
> |
for flag in -Woverride-init; do |
| 14012 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14013 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14014 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14083 |
|
|
| 14084 |
|
|
| 14085 |
|
|
| 14086 |
< |
for flag in -Wredundant-decls; do |
| 14086 |
> |
for flag in -Wpointer-arith; do |
| 14087 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14088 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14089 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14158 |
|
|
| 14159 |
|
|
| 14160 |
|
|
| 14161 |
< |
for flag in -Wshadow; do |
| 14161 |
> |
for flag in -Wredundant-decls; do |
| 14162 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14163 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14164 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14233 |
|
|
| 14234 |
|
|
| 14235 |
|
|
| 14236 |
< |
for flag in -Wsign-compare; do |
| 14236 |
> |
for flag in -Wshadow; do |
| 14237 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14238 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14239 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14308 |
|
|
| 14309 |
|
|
| 14310 |
|
|
| 14311 |
< |
for flag in -Wtype-limits; do |
| 14311 |
> |
for flag in -Wshift-negative-value; do |
| 14312 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14313 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14314 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14383 |
|
|
| 14384 |
|
|
| 14385 |
|
|
| 14386 |
< |
for flag in -Wundef; do |
| 14386 |
> |
for flag in -Wsign-compare; do |
| 14387 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14388 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14389 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14458 |
|
|
| 14459 |
|
|
| 14460 |
|
|
| 14461 |
< |
for flag in -Wuninitialized; do |
| 14461 |
> |
for flag in -Wtype-limits; do |
| 14462 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14463 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14464 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14533 |
|
|
| 14534 |
|
|
| 14535 |
|
|
| 14536 |
< |
for flag in -Wwrite-strings; do |
| 14536 |
> |
for flag in -Wundef; do |
| 14537 |
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14538 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14539 |
|
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14605 |
|
done |
| 14606 |
|
|
| 14607 |
|
|
| 14608 |
– |
fi |
| 14608 |
|
|
| 14609 |
|
|
| 14611 |
– |
for ac_func in strlcpy strlcat |
| 14612 |
– |
do : |
| 14613 |
– |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14614 |
– |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 14615 |
– |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 14616 |
– |
cat >>confdefs.h <<_ACEOF |
| 14617 |
– |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 14618 |
– |
_ACEOF |
| 14619 |
– |
|
| 14620 |
– |
fi |
| 14621 |
– |
done |
| 14610 |
|
|
| 14611 |
< |
|
| 14612 |
< |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
| 14613 |
< |
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
| 14614 |
< |
if ${ac_cv_c_bigendian+:} false; then : |
| 14611 |
> |
for flag in -Wuninitialized; do |
| 14612 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14613 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14614 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14615 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14616 |
|
$as_echo_n "(cached) " >&6 |
| 14617 |
|
else |
| 14629 |
– |
ac_cv_c_bigendian=unknown |
| 14630 |
– |
# See if we're dealing with a universal compiler. |
| 14631 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14632 |
– |
/* end confdefs.h. */ |
| 14633 |
– |
#ifndef __APPLE_CC__ |
| 14634 |
– |
not a universal capable compiler |
| 14635 |
– |
#endif |
| 14636 |
– |
typedef int dummy; |
| 14618 |
|
|
| 14619 |
< |
_ACEOF |
| 14620 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14621 |
< |
|
| 14641 |
< |
# Check for potential -arch flags. It is not universal unless |
| 14642 |
< |
# there are at least two -arch flags with different values. |
| 14643 |
< |
ac_arch= |
| 14644 |
< |
ac_prev= |
| 14645 |
< |
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do |
| 14646 |
< |
if test -n "$ac_prev"; then |
| 14647 |
< |
case $ac_word in |
| 14648 |
< |
i?86 | x86_64 | ppc | ppc64) |
| 14649 |
< |
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then |
| 14650 |
< |
ac_arch=$ac_word |
| 14651 |
< |
else |
| 14652 |
< |
ac_cv_c_bigendian=universal |
| 14653 |
< |
break |
| 14654 |
< |
fi |
| 14655 |
< |
;; |
| 14656 |
< |
esac |
| 14657 |
< |
ac_prev= |
| 14658 |
< |
elif test "x$ac_word" = "x-arch"; then |
| 14659 |
< |
ac_prev=arch |
| 14660 |
< |
fi |
| 14661 |
< |
done |
| 14662 |
< |
fi |
| 14663 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14664 |
< |
if test $ac_cv_c_bigendian = unknown; then |
| 14665 |
< |
# See if sys/param.h defines the BYTE_ORDER macro. |
| 14666 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14667 |
< |
/* end confdefs.h. */ |
| 14668 |
< |
#include <sys/types.h> |
| 14669 |
< |
#include <sys/param.h> |
| 14670 |
< |
|
| 14671 |
< |
int |
| 14672 |
< |
main () |
| 14673 |
< |
{ |
| 14674 |
< |
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ |
| 14675 |
< |
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ |
| 14676 |
< |
&& LITTLE_ENDIAN) |
| 14677 |
< |
bogus endian macros |
| 14678 |
< |
#endif |
| 14679 |
< |
|
| 14680 |
< |
; |
| 14681 |
< |
return 0; |
| 14682 |
< |
} |
| 14683 |
< |
_ACEOF |
| 14684 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14685 |
< |
# It does; now see whether it defined to BIG_ENDIAN or not. |
| 14686 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14619 |
> |
ax_check_save_flags=$CFLAGS |
| 14620 |
> |
CFLAGS="$CFLAGS $flag" |
| 14621 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14622 |
|
/* end confdefs.h. */ |
| 14688 |
– |
#include <sys/types.h> |
| 14689 |
– |
#include <sys/param.h> |
| 14623 |
|
|
| 14624 |
|
int |
| 14625 |
|
main () |
| 14626 |
|
{ |
| 14694 |
– |
#if BYTE_ORDER != BIG_ENDIAN |
| 14695 |
– |
not big endian |
| 14696 |
– |
#endif |
| 14627 |
|
|
| 14628 |
|
; |
| 14629 |
|
return 0; |
| 14630 |
|
} |
| 14631 |
|
_ACEOF |
| 14632 |
|
if ac_fn_c_try_compile "$LINENO"; then : |
| 14633 |
< |
ac_cv_c_bigendian=yes |
| 14633 |
> |
eval "$as_CACHEVAR=yes" |
| 14634 |
|
else |
| 14635 |
< |
ac_cv_c_bigendian=no |
| 14635 |
> |
eval "$as_CACHEVAR=no" |
| 14636 |
|
fi |
| 14637 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14638 |
+ |
CFLAGS=$ax_check_save_flags |
| 14639 |
|
fi |
| 14640 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14641 |
< |
fi |
| 14642 |
< |
if test $ac_cv_c_bigendian = unknown; then |
| 14643 |
< |
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). |
| 14713 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14714 |
< |
/* end confdefs.h. */ |
| 14715 |
< |
#include <limits.h> |
| 14640 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14641 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14642 |
> |
$as_echo "$ac_res" >&6; } |
| 14643 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14644 |
|
|
| 14645 |
< |
int |
| 14718 |
< |
main () |
| 14719 |
< |
{ |
| 14720 |
< |
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) |
| 14721 |
< |
bogus endian macros |
| 14722 |
< |
#endif |
| 14645 |
> |
if ${CFLAGS+:} false; then : |
| 14646 |
|
|
| 14647 |
< |
; |
| 14648 |
< |
return 0; |
| 14649 |
< |
} |
| 14650 |
< |
_ACEOF |
| 14651 |
< |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14652 |
< |
# It does; now see whether it defined to _BIG_ENDIAN or not. |
| 14653 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14654 |
< |
/* end confdefs.h. */ |
| 14732 |
< |
#include <limits.h> |
| 14647 |
> |
case " $CFLAGS " in #( |
| 14648 |
> |
*" $flag "*) : |
| 14649 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14650 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14651 |
> |
ac_status=$? |
| 14652 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14653 |
> |
test $ac_status = 0; } ;; #( |
| 14654 |
> |
*) : |
| 14655 |
|
|
| 14656 |
< |
int |
| 14657 |
< |
main () |
| 14658 |
< |
{ |
| 14659 |
< |
#ifndef _BIG_ENDIAN |
| 14660 |
< |
not big endian |
| 14661 |
< |
#endif |
| 14656 |
> |
as_fn_append CFLAGS " $flag" |
| 14657 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14658 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14659 |
> |
ac_status=$? |
| 14660 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14661 |
> |
test $ac_status = 0; } |
| 14662 |
> |
;; |
| 14663 |
> |
esac |
| 14664 |
|
|
| 14741 |
– |
; |
| 14742 |
– |
return 0; |
| 14743 |
– |
} |
| 14744 |
– |
_ACEOF |
| 14745 |
– |
if ac_fn_c_try_compile "$LINENO"; then : |
| 14746 |
– |
ac_cv_c_bigendian=yes |
| 14665 |
|
else |
| 14666 |
< |
ac_cv_c_bigendian=no |
| 14666 |
> |
|
| 14667 |
> |
CFLAGS=$flag |
| 14668 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14669 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14670 |
> |
ac_status=$? |
| 14671 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14672 |
> |
test $ac_status = 0; } |
| 14673 |
> |
|
| 14674 |
|
fi |
| 14675 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14675 |
> |
|
| 14676 |
> |
else |
| 14677 |
> |
: |
| 14678 |
|
fi |
| 14679 |
< |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14680 |
< |
fi |
| 14681 |
< |
if test $ac_cv_c_bigendian = unknown; then |
| 14682 |
< |
# Compile a test program. |
| 14683 |
< |
if test "$cross_compiling" = yes; then : |
| 14684 |
< |
# Try to guess by grepping values from an object file. |
| 14685 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14679 |
> |
|
| 14680 |
> |
done |
| 14681 |
> |
|
| 14682 |
> |
|
| 14683 |
> |
|
| 14684 |
> |
|
| 14685 |
> |
|
| 14686 |
> |
for flag in -Wwrite-strings; do |
| 14687 |
> |
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh` |
| 14688 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
| 14689 |
> |
$as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
| 14690 |
> |
if eval \${$as_CACHEVAR+:} false; then : |
| 14691 |
> |
$as_echo_n "(cached) " >&6 |
| 14692 |
> |
else |
| 14693 |
> |
|
| 14694 |
> |
ax_check_save_flags=$CFLAGS |
| 14695 |
> |
CFLAGS="$CFLAGS $flag" |
| 14696 |
> |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14697 |
|
/* end confdefs.h. */ |
| 14760 |
– |
short int ascii_mm[] = |
| 14761 |
– |
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
| 14762 |
– |
short int ascii_ii[] = |
| 14763 |
– |
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
| 14764 |
– |
int use_ascii (int i) { |
| 14765 |
– |
return ascii_mm[i] + ascii_ii[i]; |
| 14766 |
– |
} |
| 14767 |
– |
short int ebcdic_ii[] = |
| 14768 |
– |
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
| 14769 |
– |
short int ebcdic_mm[] = |
| 14770 |
– |
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
| 14771 |
– |
int use_ebcdic (int i) { |
| 14772 |
– |
return ebcdic_mm[i] + ebcdic_ii[i]; |
| 14773 |
– |
} |
| 14774 |
– |
extern int foo; |
| 14698 |
|
|
| 14699 |
|
int |
| 14700 |
|
main () |
| 14701 |
|
{ |
| 14702 |
< |
return use_ascii (foo) == use_ebcdic (foo); |
| 14702 |
> |
|
| 14703 |
|
; |
| 14704 |
|
return 0; |
| 14705 |
|
} |
| 14706 |
|
_ACEOF |
| 14707 |
|
if ac_fn_c_try_compile "$LINENO"; then : |
| 14708 |
< |
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then |
| 14709 |
< |
ac_cv_c_bigendian=yes |
| 14710 |
< |
fi |
| 14788 |
< |
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
| 14789 |
< |
if test "$ac_cv_c_bigendian" = unknown; then |
| 14790 |
< |
ac_cv_c_bigendian=no |
| 14791 |
< |
else |
| 14792 |
< |
# finding both strings is unlikely to happen, but who knows? |
| 14793 |
< |
ac_cv_c_bigendian=unknown |
| 14794 |
< |
fi |
| 14795 |
< |
fi |
| 14708 |
> |
eval "$as_CACHEVAR=yes" |
| 14709 |
> |
else |
| 14710 |
> |
eval "$as_CACHEVAR=no" |
| 14711 |
|
fi |
| 14712 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14713 |
< |
else |
| 14714 |
< |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14715 |
< |
/* end confdefs.h. */ |
| 14716 |
< |
$ac_includes_default |
| 14717 |
< |
int |
| 14718 |
< |
main () |
| 14804 |
< |
{ |
| 14713 |
> |
CFLAGS=$ax_check_save_flags |
| 14714 |
> |
fi |
| 14715 |
> |
eval ac_res=\$$as_CACHEVAR |
| 14716 |
> |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14717 |
> |
$as_echo "$ac_res" >&6; } |
| 14718 |
> |
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
| 14719 |
|
|
| 14720 |
< |
/* Are we little or big endian? From Harbison&Steele. */ |
| 14721 |
< |
union |
| 14722 |
< |
{ |
| 14723 |
< |
long int l; |
| 14724 |
< |
char c[sizeof (long int)]; |
| 14725 |
< |
} u; |
| 14726 |
< |
u.l = 1; |
| 14727 |
< |
return u.c[sizeof (long int) - 1] == 1; |
| 14720 |
> |
if ${CFLAGS+:} false; then : |
| 14721 |
> |
|
| 14722 |
> |
case " $CFLAGS " in #( |
| 14723 |
> |
*" $flag "*) : |
| 14724 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5 |
| 14725 |
> |
(: CFLAGS already contains $flag) 2>&5 |
| 14726 |
> |
ac_status=$? |
| 14727 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14728 |
> |
test $ac_status = 0; } ;; #( |
| 14729 |
> |
*) : |
| 14730 |
> |
|
| 14731 |
> |
as_fn_append CFLAGS " $flag" |
| 14732 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14733 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14734 |
> |
ac_status=$? |
| 14735 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14736 |
> |
test $ac_status = 0; } |
| 14737 |
> |
;; |
| 14738 |
> |
esac |
| 14739 |
|
|
| 14815 |
– |
; |
| 14816 |
– |
return 0; |
| 14817 |
– |
} |
| 14818 |
– |
_ACEOF |
| 14819 |
– |
if ac_fn_c_try_run "$LINENO"; then : |
| 14820 |
– |
ac_cv_c_bigendian=no |
| 14740 |
|
else |
| 14741 |
< |
ac_cv_c_bigendian=yes |
| 14741 |
> |
|
| 14742 |
> |
CFLAGS=$flag |
| 14743 |
> |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 |
| 14744 |
> |
(: CFLAGS="$CFLAGS") 2>&5 |
| 14745 |
> |
ac_status=$? |
| 14746 |
> |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 14747 |
> |
test $ac_status = 0; } |
| 14748 |
> |
|
| 14749 |
|
fi |
| 14750 |
< |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 14751 |
< |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 14750 |
> |
|
| 14751 |
> |
else |
| 14752 |
> |
: |
| 14753 |
|
fi |
| 14754 |
|
|
| 14755 |
< |
fi |
| 14755 |
> |
done |
| 14756 |
> |
|
| 14757 |
> |
|
| 14758 |
|
fi |
| 14830 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 |
| 14831 |
– |
$as_echo "$ac_cv_c_bigendian" >&6; } |
| 14832 |
– |
case $ac_cv_c_bigendian in #( |
| 14833 |
– |
yes) |
| 14834 |
– |
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h |
| 14835 |
– |
;; #( |
| 14836 |
– |
no) |
| 14837 |
– |
;; #( |
| 14838 |
– |
universal) |
| 14759 |
|
|
| 14840 |
– |
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
| 14760 |
|
|
| 14761 |
< |
;; #( |
| 14762 |
< |
*) |
| 14763 |
< |
as_fn_error $? "unknown endianness |
| 14764 |
< |
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
| 14765 |
< |
esac |
| 14761 |
> |
for ac_func in strlcpy strlcat |
| 14762 |
> |
do : |
| 14763 |
> |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14764 |
> |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
| 14765 |
> |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 14766 |
> |
cat >>confdefs.h <<_ACEOF |
| 14767 |
> |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 14768 |
> |
_ACEOF |
| 14769 |
> |
|
| 14770 |
> |
fi |
| 14771 |
> |
done |
| 14772 |
|
|
| 14773 |
|
|
| 14774 |
|
ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile" |
| 14915 |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 14916 |
|
fi |
| 14917 |
|
|
| 14993 |
– |
|
| 14918 |
|
: "${CONFIG_STATUS=./config.status}" |
| 14919 |
|
ac_write_fail=0 |
| 14920 |
|
ac_clean_files_save=$ac_clean_files |
| 15311 |
|
# report actual input values of CONFIG_FILES etc. instead of their |
| 15312 |
|
# values after options handling. |
| 15313 |
|
ac_log=" |
| 15314 |
< |
This file was extended by hopm $as_me TRUNK, which was |
| 15314 |
> |
This file was extended by hopm $as_me 1.1.5, which was |
| 15315 |
|
generated by GNU Autoconf 2.69. Invocation command line was |
| 15316 |
|
|
| 15317 |
|
CONFIG_FILES = $CONFIG_FILES |
| 15377 |
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 15378 |
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 15379 |
|
ac_cs_version="\\ |
| 15380 |
< |
hopm config.status TRUNK |
| 15380 |
> |
hopm config.status 1.1.5 |
| 15381 |
|
configured by $0, generated by GNU Autoconf 2.69, |
| 15382 |
|
with options \\"\$ac_cs_config\\" |
| 15383 |
|
|