Where do I send questions about autoconf? Is there a mailing list or
newsgroup somewhere? I have two questions:
1) How do I add -I, -L and -R flags to the compile and link lines
when searching for libs? For example, I have AFS installed but
those libraries are in /usr/afsws/libnot a
> But this is not the autoconf-way of doing things. The autoconf-way is
> to check for characteristics rather than system types. So, you could
How about this:
dnl If we're on solaris, we need lots of extra flags
SAVELIBS=$LIBS
LIBS="-L/usr/ucblib -R/usr/ucblib $LIBS"
AC_CHECK_LIB(ucb, ucbsign
I want to make sure that two functions are available, and die if they're
not.
AC_CHECK_FUNC(seteuid, AC_DEFINE(HAVE_SETEUID, 1), AC_MSG_ERROR([This
program re
quires that seteuid be available]))
AC_CHECK_FUNC(getpwent, AC_DEFINE(HAVE_GETPWENT, 1), AC_MSG_ERROR([This
program
requires that getpw
I want to verify that a program is in the path, and error if it isn't. If
it is, I'd like the value of the MKAFSVOL variable to make it into
the config.h file that gets written for other stuff. How do I properly
put that value into the file?
This is how I'm currently checking for the program in
I am having trouble getting a replacement to work. I'm trying this, but I
get
an error from sh when I run configure:
AC_CHECK_FUNCS(strrchr, [],
AC_CHECK_LIB(iberty, strrchr, [],
AC_REPLACE_FUNCS([${srcdir}/replace/strrchr.c])))
I basically want to check for the function,
Has anyone written some type of AFS awareness macro for the install piece
of autoconf? AFS uses a different path to install into. For example, if
I say to use /usr/local/bin, it really means:
(pdxss020, sunos 5.6) % cd /usr/local/bin
(pdxss020, sunos 5.6) % pwd
/afs/pdx.intel.com/local/sun4x_56
When extending perl with the XS stuff, you need a Makefile.PL that has perl
run against it, which creates a Makefile to build/install the tool properly.
I want to distribute one of those with my autoconf'd package. I have
created
a Makefile.PL.in and a few other .in files, and have configure.ac c
I have a manpage.8.in type file with lines like:
.br
.B admindo
.B create
.BR \-s [erver]
.I name
.BR \-p [artition]
.I name
.BR \-n [ame]
I want to wrap that section such that if HAVE_MKAFSVOL was defined via
the configure script (via AC_DEFINE) then that section gets included in
the resulting