In a ./configure script I am working on
I make use of the idiom: AC_RUN_IFELSE( [ some code ], [ success ], [
failure ] )
The problem is, the CFLAGS and LDFLAGS at that point contain:
CFLAGS="-I$includedir"
And LDFLAGS="-L$libdir -Wl,-rpath,$libdir"
Which - is correct
however, whe
Allan Caffee wrote:
AC_CHECK_LIB (AFAIK) is not intended to handle static libraries.
I don't know much about AC_CHECK_LIB..
> The reason for this is that compilers handle static libraries quite
differently than shared object libraries.
This I disagree with. To a developer, these are '99.9
satyakam>Is it the right thing to do if i overwrite this rule as follows:
> $(PROGRAM): $(OBJECTS) $(LIBS)
> $(LD) $(LD_FLAGS) $(OBJECTS) $(LIBS) -o $static_link_file
> # some more intermediate steps here...
> $(POSLINK) $(PL_FLAGS) $static_link_file -o $@
In those situations (ie: Em