Skip to main content.
home | support | download

Back to List Archive

autoconf changes for 2.1.8 for MacOS X

From: Bas Meijer <bas(at)not-real.antraciet.nl>
Date: Fri Nov 17 2000 - 10:14:26 GMT
>
>Hope to release 2.1.9 on monday with the changes and the
>fixes drom Bas to compile properly in HPUX and IRIX.
>
>BTW, yesterday I removed all vsnprintf and snprintf
>to avoid IRIX problems with these functions and also moved
>many of the structs to typedefs (SWISH, indexfile, etc).
>
>cu
>Jose

Hi Jose,

To be even more portable... I just received the developer tools for MacOS X.
MacOS X doesn't want the math library when building, so LIBS in the Makefile
should be dynamicly set by configure:

diff -c configure.in.org configure.in
*** configure.in.org    Fri Nov 17 11:03:39 2000
--- configure.in        Fri Nov 17 11:03:54 2000
***************
*** 25,29 ****
--- 25,30 ----
   AC_FUNC_STRFTIME
   AC_FUNC_VPRINTF
   AC_CHECK_FUNCS(re_comp regcomp strdup strstr)
+ AC_CHECK_LIB(m)

   AC_OUTPUT(Makefile)

diff -c Makefile.in.org Makefile.in
*** Makefile.in.org     Wed Nov 15 09:42:40 2000
--- Makefile.in Fri Nov 17 10:57:45 2000
***************
*** 23,29 ****
   # Flags for C compiler
   CFLAGS = @CFLAGS@

! LIBS=-lm

   AR = ar
   RANLIB = @RANLIB@
--- 23,29 ----
   # Flags for C compiler
   CFLAGS = @CFLAGS@

! LIBS=@LIBS@

   AR = ar
   RANLIB = @RANLIB@


I look forward to 2.1.9!

cu


Bas Meijer
Received on Fri Nov 17 10:16:03 2000