[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: distcheck and AC_CONFIG_SUBDIRS
From: |
Ralf Wildenhues |
Subject: |
Re: distcheck and AC_CONFIG_SUBDIRS |
Date: |
Mon, 16 Jan 2006 16:53:50 +0100 |
User-agent: |
Mutt/1.5.11 |
Hi Harlan,
* Harlan Stenn wrote on Mon, Jan 16, 2006 at 10:25:02AM CET:
>
> ftp://ftp.eecis.udel.edu/pub/ntp/ntp4/testing/ntp-dev-ag.tar.gz
First issue that pops up:
configure -C
cp Makefile Makefile-1
./config.status --recheck
./config.status
diff Makefile-1 Makefile
is not empty:
| --- Makefile-1
| +++ Makefile
| @@ -157,7 +157,7 @@
| PATH_SH = /bin/sh
| PROPDELAY =
| RANLIB = ranlib
| -READLINE_LIBS = -lreadline -lcurses
| +READLINE_LIBS = -lreadline
| SET_MAKE =
| SHELL = /bin/sh
| STRIP = strip
You'll have to either cache the value of READLINE_LIBS itself, or unset
the cache variable before the first try, too, in order for the cache to
be precise:
--- configure.ac
+++ configure.ac
@@ -299,6 +299,7 @@
*no*) ;;
*) save_LIBS=$LIBS
LIBS=
+ unset ac_cv_lib_readline_readline
AC_CHECK_LIB(readline, readline, ,
AC_MSG_NOTICE([Trying again with -lcurses])
unset ac_cv_lib_readline_readline
Second issue: you have per-target flags, thus need this:
--- configure.ac
+++ configure.ac
@@ -26,6 +26,7 @@
dnl we need to check for cross compile tools for vxWorks here
AC_PROG_CC
+AM_PROG_CC_C_O
AC_PROG_CC_STDC
AC_PROG_CPP
and the `compile' script (automake -a will add that).
I will eventually get to your actual issue, but I'm seeing more things
before that.
Cheers,
Ralf