autoconf
[Top][All Lists]
Advanced

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

AC_CONFIG_SRCDIR question/confusion


From: cs
Subject: AC_CONFIG_SRCDIR question/confusion
Date: Sat, 19 Apr 2003 14:21:20 -0700 (MST)

I saw an example in Autoconf book I believe where simple configure.ac
was something like this...

AC_INIT(helloworld, 1.0)
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_SRCDIR(src/helloworld.c)
AM_INIT_AUTOMAKE
AC_PROG_CC
AC_OUTPUT(Makefile)

I don't understand the AC_CONFIG_SRCDIR macro.  I assume
AC_CONFIG_SRCDIR tells Autoconf
which source file has main().  However, the *name* AC_CONFIG_SRCDIR
makes no sense then because it implies it wants to just set up
the *directory*.

chris


_______________________________________

Dr. Christian Seberino
Gnumatica Scientific Software
8665 Lake Murray Blvd. #3
San Diego, CA 92119-2843
U.S.A.

Phone: (619) 393-9047
Email: address@hidden
WWW  : www.gnumatica.com
_______________________________________







reply via email to

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