3297
3300
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3298
3301
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3304
ac_cpp='$CPP $CPPFLAGS'
3305
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3306
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3307
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3309
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3310
if ${am_cv_prog_cc_c_o+:} false; then :
3311
$as_echo_n "(cached) " >&6
3313
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314
/* end confdefs.h. */
3324
# Make sure it works both with $CC and with simple cc.
3325
# Following AC_PROG_CC_C_O, we do the test twice because some
3326
# compilers refuse to overwrite an existing .o file with -o,
3327
# though they will create one.
3328
am_cv_prog_cc_c_o=yes
3330
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3331
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3333
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334
(exit $ac_status); } \
3335
&& test -f conftest2.$ac_objext; then
3338
am_cv_prog_cc_c_o=no
3342
rm -f core conftest*
3345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3346
$as_echo "$am_cv_prog_cc_c_o" >&6; }
3347
if test "$am_cv_prog_cc_c_o" != yes; then
3348
# Losing compiler, so override with the script.
3349
# FIXME: It is wrong to rewrite CC.
3350
# But if we don't then we get into trouble of one sort or another.
3351
# A longer-term fix would be to have automake use am__CC in this case,
3352
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3353
CC="$am_aux_dir/compile $CC"
3356
ac_cpp='$CPP $CPPFLAGS'
3357
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3358
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3359
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3302
3364
ac_cpp='$CPP $CPPFLAGS'
4336
# Check whether --enable-silent-rules was given.
4337
if test "${enable_silent_rules+set}" = set; then :
4338
enableval=$enable_silent_rules;
4341
case $enable_silent_rules in # (((
4342
yes) AM_DEFAULT_VERBOSITY=0;;
4343
no) AM_DEFAULT_VERBOSITY=1;;
4344
*) AM_DEFAULT_VERBOSITY=1;;
4346
am_make=${MAKE-make}
4347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4348
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4349
if ${am_cv_make_support_nested_variables+:} false; then :
4350
$as_echo_n "(cached) " >&6
4352
if $as_echo 'TRUE=$(BAR$(V))
4358
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4359
am_cv_make_support_nested_variables=yes
4361
am_cv_make_support_nested_variables=no
4364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4365
$as_echo "$am_cv_make_support_nested_variables" >&6; }
4366
if test $am_cv_make_support_nested_variables = yes; then
4368
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4370
AM_V=$AM_DEFAULT_VERBOSITY
4371
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4277
4375
if test "`cd $srcdir && pwd`" != "`pwd`"; then
4278
4376
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4279
4377
# is not polluted with repeated "-I."
4576
# POSIX will say in a future version that running "rm -f" with no argument
4577
# is OK; and we want to be able to make that assumption in our Makefile
4578
# recipes. So use an aggressive probe to check that the usage we want is
4579
# actually supported "in the wild" to an acceptable degree.
4580
# See automake bug#10828.
4581
# To make any issue more visible, cause the running configure to be aborted
4582
# by default if the 'rm' program in use doesn't match our expectations; the
4583
# user can still override this though.
4584
if rm -f && rm -fr && rm -rf; then : OK; else
4588
Your 'rm' program seems unable to run without file operands specified
4589
on the command line, even when the '-f' option is present. This is contrary
4590
to the behaviour of most rm programs out there, and not conforming with
4591
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4593
Please tell bug-automake@gnu.org about your system, including the value
4594
of your $PATH and any error possibly output before this message. This
4595
can help us improve future automake versions.
4598
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4599
echo 'Configuration will proceed anyway, since you have set the' >&2
4600
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4604
Aborting the configuration process, to ensure you take notice of the issue.
4606
You can download and install GNU coreutils to get an 'rm' implementation
4607
that behaves properly: <http://www.gnu.org/software/coreutils/>.
4609
If you want to complete the configuration process using your problematic
4610
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4611
to "yes", and re-run configure.
4614
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4474
4618
# Enable silent build when available (Automake 1.11)
4475
4619
# Check whether --enable-silent-rules was given.
5487
if test "x$CC" != xcc; then
5488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5489
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5492
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5494
set dummy $CC; ac_cc=`$as_echo "$2" |
5495
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5496
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5497
$as_echo_n "(cached) " >&6
5499
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5500
/* end confdefs.h. */
5510
# Make sure it works both with $CC and with simple cc.
5511
# We do the test twice because some compilers refuse to overwrite an
5512
# existing .o file with -o, though they will create one.
5513
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5515
if { { case "(($ac_try" in
5516
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5517
*) ac_try_echo=$ac_try;;
5519
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5520
$as_echo "$ac_try_echo"; } >&5
5521
(eval "$ac_try") 2>&5
5523
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5524
test $ac_status = 0; } &&
5525
test -f conftest2.$ac_objext && { { case "(($ac_try" in
5526
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5527
*) ac_try_echo=$ac_try;;
5529
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5530
$as_echo "$ac_try_echo"; } >&5
5531
(eval "$ac_try") 2>&5
5533
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5534
test $ac_status = 0; };
5536
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5537
if test "x$CC" != xcc; then
5538
# Test first that cc exists at all.
5539
if { ac_try='cc -c conftest.$ac_ext >&5'
5540
{ { case "(($ac_try" in
5541
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5542
*) ac_try_echo=$ac_try;;
5544
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5545
$as_echo "$ac_try_echo"; } >&5
5546
(eval "$ac_try") 2>&5
5548
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5549
test $ac_status = 0; }; }; then
5550
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5552
if { { case "(($ac_try" in
5553
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5554
*) ac_try_echo=$ac_try;;
5556
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5557
$as_echo "$ac_try_echo"; } >&5
5558
(eval "$ac_try") 2>&5
5560
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5561
test $ac_status = 0; } &&
5562
test -f conftest2.$ac_objext && { { case "(($ac_try" in
5563
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5564
*) ac_try_echo=$ac_try;;
5566
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5567
$as_echo "$ac_try_echo"; } >&5
5568
(eval "$ac_try") 2>&5
5570
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5571
test $ac_status = 0; };
5576
# cc exists but doesn't like -o.
5577
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5582
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5584
rm -f core conftest*
5587
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5589
$as_echo "yes" >&6; }
5591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5592
$as_echo "no" >&6; }
5594
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5598
# FIXME: we rely on the cache variable name because
5599
# there is no other way.
5601
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5602
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5603
if test "$am_t" != yes; then
5604
# Losing compiler, so override with the script.
5605
# FIXME: It is wrong to rewrite CC.
5606
# But if we don't then we get into trouble of one sort or another.
5607
# A longer-term fix would be to have automake use am__CC in this case,
5608
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5609
CC="$am_aux_dir/compile $CC"
18158
18183
$config_commands
18160
18185
Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=almanah>.
18161
almanah home page: <http://live.gnome.org/Almanah_Diary>."
18186
almanah home page: <http://wiki.gnome.org/Apps/Almanah_Diary>."
18164
18189
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18165
18190
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18166
18191
ac_cs_version="\\
18167
almanah config.status 0.10.8
18192
almanah config.status 0.11.0
18168
18193
configured by $0, generated by GNU Autoconf 2.69,
18169
18194
with options \\"\$ac_cs_config\\"