autoconf
[Top][All Lists]
Advanced

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

problem with CFLAGS


From: Wayne Davis
Subject: problem with CFLAGS
Date: 21 Oct 2001 18:32:11 -0400

Hi,

I'm working on a simple configure.in.  Here's what i have:

dnl Process this file with autoconf to produce a configure script.
AC_INIT(blah.c)

AM_CONFIG_HEADER(config.h)

AM_INIT_AUTOMAKE([blah], [0.01])

AC_PROG_CC

dnl Checks for programs.
dnl AC_CHECK_PROGS(blahblah, blahblah)

dnl Checks for libraries.
AC_CHECK_LIB(crypto, main)

dnl Checks for header files.
AC_HEADER_STDC

dnl Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T

dnl Checks for library functions.
AC_CHECK_FUNCS(strdup)

AC_SUBST(CFLAGS)
AC_OUTPUT(Makefile)


---

I'm not sure what to call so that CFLAGS contains system default paths,
such as /usr/include.  How do I make sure CFLAGS contains the defaults?

Thanks,
Wayne





reply via email to

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