| 1 |
|
#! /bin/sh |
| 2 |
< |
# From configure.ac Id: configure.ac 2318 2013-06-21 17:47:52Z michael . |
| 2 |
> |
# From configure.ac Id: configure.ac 2334 2013-06-23 17:32:44Z michael . |
| 3 |
|
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
|
# Generated by GNU Autoconf 2.69 for ircd-hybrid TRUNK. |
| 5 |
|
# |
| 2636 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2637 |
|
|
| 2638 |
|
|
| 2639 |
< |
am__api_version='1.13' |
| 2639 |
> |
am__api_version='1.14' |
| 2640 |
|
|
| 2641 |
|
ac_aux_dir= |
| 2642 |
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 3202 |
|
|
| 3203 |
|
|
| 3204 |
|
|
| 3205 |
+ |
# POSIX will say in a future version that running "rm -f" with no argument |
| 3206 |
+ |
# is OK; and we want to be able to make that assumption in our Makefile |
| 3207 |
+ |
# recipes. So use an aggressive probe to check that the usage we want is |
| 3208 |
+ |
# actually supported "in the wild" to an acceptable degree. |
| 3209 |
+ |
# See automake bug#10828. |
| 3210 |
+ |
# To make any issue more visible, cause the running configure to be aborted |
| 3211 |
+ |
# by default if the 'rm' program in use doesn't match our expectations; the |
| 3212 |
+ |
# user can still override this though. |
| 3213 |
+ |
if rm -f && rm -fr && rm -rf; then : OK; else |
| 3214 |
+ |
cat >&2 <<'END' |
| 3215 |
+ |
Oops! |
| 3216 |
+ |
|
| 3217 |
+ |
Your 'rm' program seems unable to run without file operands specified |
| 3218 |
+ |
on the command line, even when the '-f' option is present. This is contrary |
| 3219 |
+ |
to the behaviour of most rm programs out there, and not conforming with |
| 3220 |
+ |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
| 3221 |
+ |
|
| 3222 |
+ |
Please tell bug-automake@gnu.org about your system, including the value |
| 3223 |
+ |
of your $PATH and any error possibly output before this message. This |
| 3224 |
+ |
can help us improve future automake versions. |
| 3225 |
+ |
|
| 3226 |
+ |
END |
| 3227 |
+ |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
| 3228 |
+ |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
| 3229 |
+ |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
| 3230 |
+ |
echo >&2 |
| 3231 |
+ |
else |
| 3232 |
+ |
cat >&2 <<'END' |
| 3233 |
+ |
Aborting the configuration process, to ensure you take notice of the issue. |
| 3234 |
+ |
|
| 3235 |
+ |
You can download and install GNU coreutils to get an 'rm' implementation |
| 3236 |
+ |
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 3237 |
+ |
|
| 3238 |
+ |
If you want to complete the configuration process using your problematic |
| 3239 |
+ |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 3240 |
+ |
to "yes", and re-run configure. |
| 3241 |
+ |
|
| 3242 |
+ |
END |
| 3243 |
+ |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
| 3244 |
+ |
fi |
| 3245 |
+ |
fi |
| 3246 |
|
|
| 3247 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 3248 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
| 4123 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4124 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4125 |
|
|
| 4126 |
+ |
ac_ext=c |
| 4127 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 4128 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4129 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4130 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4131 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 4132 |
+ |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
| 4133 |
+ |
if ${am_cv_prog_cc_c_o+:} false; then : |
| 4134 |
+ |
$as_echo_n "(cached) " >&6 |
| 4135 |
+ |
else |
| 4136 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4137 |
+ |
/* end confdefs.h. */ |
| 4138 |
+ |
|
| 4139 |
+ |
int |
| 4140 |
+ |
main () |
| 4141 |
+ |
{ |
| 4142 |
+ |
|
| 4143 |
+ |
; |
| 4144 |
+ |
return 0; |
| 4145 |
+ |
} |
| 4146 |
+ |
_ACEOF |
| 4147 |
+ |
# Make sure it works both with $CC and with simple cc. |
| 4148 |
+ |
# Following AC_PROG_CC_C_O, we do the test twice because some |
| 4149 |
+ |
# compilers refuse to overwrite an existing .o file with -o, |
| 4150 |
+ |
# though they will create one. |
| 4151 |
+ |
am_cv_prog_cc_c_o=yes |
| 4152 |
+ |
for am_i in 1 2; do |
| 4153 |
+ |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
| 4154 |
+ |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
| 4155 |
+ |
ac_status=$? |
| 4156 |
+ |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4157 |
+ |
(exit $ac_status); } \ |
| 4158 |
+ |
&& test -f conftest2.$ac_objext; then |
| 4159 |
+ |
: OK |
| 4160 |
+ |
else |
| 4161 |
+ |
am_cv_prog_cc_c_o=no |
| 4162 |
+ |
break |
| 4163 |
+ |
fi |
| 4164 |
+ |
done |
| 4165 |
+ |
rm -f core conftest* |
| 4166 |
+ |
unset am_i |
| 4167 |
+ |
fi |
| 4168 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| 4169 |
+ |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
| 4170 |
+ |
if test "$am_cv_prog_cc_c_o" != yes; then |
| 4171 |
+ |
# Losing compiler, so override with the script. |
| 4172 |
+ |
# FIXME: It is wrong to rewrite CC. |
| 4173 |
+ |
# But if we don't then we get into trouble of one sort or another. |
| 4174 |
+ |
# A longer-term fix would be to have automake use am__CC in this case, |
| 4175 |
+ |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 4176 |
+ |
CC="$am_aux_dir/compile $CC" |
| 4177 |
+ |
fi |
| 4178 |
+ |
ac_ext=c |
| 4179 |
+ |
ac_cpp='$CPP $CPPFLAGS' |
| 4180 |
+ |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4181 |
+ |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4182 |
+ |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4183 |
+ |
|
| 4184 |
+ |
|
| 4185 |
|
depcc="$CC" am_compiler_list= |
| 4186 |
|
|
| 4187 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |