lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LYNX-DEV Reusability of "./configure"


From: pg
Subject: LYNX-DEV Reusability of "./configure"
Date: Sun, 5 Apr 1998 19:34:25 -0600 (MDT)

Hello, Lyncei,

First, let me say that the autoconfigure with Lynx2-8 is wonderful!
it saves untold setting of options.  Many thanks to the developers
for doing this.

Alas, like anything, it breaks if one stresses it enough.  Here's
how I stressed it enough:

First, I did a "./configure; make".  Worked great.

Subsequently, I decided to try the NSL_FORK facility.
So, I deleted HTTCP.o, then did "./configure --enable-nsl-fork; make".
This time, I got compilation errors concerning (IIRC) missing
declaration of "sys_nerrs".

Try again.  I deleted all apparent products of the earlier configure,
then did another configure --enable-nsl-fork and make.  Again, it worked.

Apparently, re-running configure with different options uses some
hangover data from the first run.  So, what's different.  I see:

    diff -c trash/lynx_cfg.h ./lynx_cfg.h
    *** trash/lynx_cfg.h        Sun Apr  5 17:20:24 1998
    --- ./lynx_cfg.h    Sun Apr  5 17:28:18 1998
    ***************
    *** 14,20 ****
      /* #undef DECL_GETGRGID */
      /* #undef DECL_GETGRNAM */
      /* #undef DECL_STRSTR */
    ! /* #undef DECL_SYS_ERRLIST */
      #define DIRED_SUPPORT 1           /* AC_ARG_WITH(dired) */
      #define DONT_TRACK_INTERNAL_LINKS 1 /* CF_ARG_DISABLE(internal-links) */
      /* #undef EXP_8BIT_TOUPPER */             /* AC_ARG_WITH(8bit-toupper) */
    --- 14,20 ----
      /* #undef DECL_GETGRGID */
      /* #undef DECL_GETGRNAM */
      /* #undef DECL_STRSTR */
    ! #define DECL_SYS_ERRLIST 1
      #define DIRED_SUPPORT 1           /* AC_ARG_WITH(dired) */
      #define DONT_TRACK_INTERNAL_LINKS 1 /* CF_ARG_DISABLE(internal-links) */
      /* #undef EXP_8BIT_TOUPPER */             /* AC_ARG_WITH(8bit-toupper) */

So, configure failed to #define DECL_SYS_ERRLIST when I provided the
--enable-nls-cache option unless I deleted all the cached data.  I
don't know whether this is a bug, or merely a feature.

-- gil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]