autoconf question

Cheuk Cheng cheng@powertv.com
Thu Oct 25 11:30:00 GMT 2001


Hi, does anyone know what macros to use (when writing configure.in) to add
conditional statements to surround variable definitions within makefiles
generated by autoconf?  I am trying to have something similar to the
following inside the makefile created by autoconf.

ifeq($myvar,)
myvar = some_value_defined_inside_configure_in_using_AC_DEFINE
else
# use the existing value of $myvar, which can be passed on the commandline
when invoking make
endif

Thanks.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list