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

Problems building rc for powerpc



A recent problem with va_copy was repaired by using __va_copy instead, but
I failed to upgrade the configure script, and since there is neither
va_copy or __va_copy on the powerpc, rc will fail to build there.

The solution seemed easy. Fix the configure script to test for __va_copy,
and patch the code to actually use HAVE_VA_COPY to provide a macro when
the function call is not provided.

In order to make the configure patch "stick" it became obvious that I
needed to change configure.in and run autoconf to produce a repeatable
configure is another builder tried to autoconfig first.

This caused the build to fail becuase the new configure script builds a
makefile that removes essential header files from the source during a
clean process.

I compared the old and new configure scripts, and could only find two
functional differences between the scripts:

1. In the old script the call to $ac_func looks like:

            f = $ac_func;

where f is defined as a char function.

The new script calls the function bare:

            $ac_func;

2. In the old script there are many lines like:

            LIBS = "$LIBS -ledit"

while in the new script these lines look like:

            LIBS = "-ledit $LIBS"


While I admit to being pretty ignorant about autoconfig and configure
scripts, neither of these differences seems likely to create remove
commands in the make file.

Can anyone point me in the right direction? Are there any special options
I should be passing to autoconf in order to get the correct behavior?

One final point: The autoconf version I am using is a bit newer than the
one used to construct the old configure script. Is it possible that the
new autoconf is the problem?

Any thoughts greatfully accepted,

Dwarf
--
_-_-_-_-_-   Author of "The Debian Linux User's Guide"  _-_-_-_-_-_-

aka   Dale Scheetz                   Phone:   1 (850) 656-9769
      Flexible Software              11000 McCrackin Road
      e-mail:  dwarf@polaris.net     Tallahassee, FL  32308

_-_-_-_-_-_- See www.linuxpress.com for more details  _-_-_-_-_-_-_-


Reply to: