On 12 Apr 2002 at 12:18, Ian Abbott wrote: > How about: > % env CC=c89 CPPFLAGS='-I/usr/local/include' ./configure
To sum up the email correspondence between Nelson and myself since this message, the above configure command resulted in both HAVE_NLS and HAVE_LIBINTL_H to be defined in src/config.h and the program built fine up until linking the program, when libtool failed to recognize that it was given a link command due to compiler being called 'c89'. A small patch to src/Makefile.in put that right (see below). There is still the question of whether the configure script and/or src/config.h should do something about HAVE_NLS being defined, but not HAVE_LIBINTL_H. --- src/Makefile.in.orig Fri Apr 12 13:51:37 2002 +++ src/Makefile.in Fri Apr 12 13:52:09 2002 @@ -49,7 +49,7 @@ INCLUDES = -I. -I$(srcdir) @SSL_INCLUDES@ COMPILE = $(CC) $(INCLUDES) $(CPPFLAGS) $(DEFS) $(CFLAGS) -LINK = @LIBTOOL@ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ +LINK = @LIBTOOL@ --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ RM = rm -f
