Hi,
Why all to docs about autotools suggest to guard the include of config.h
like this ?
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
Is it possible to don't have it, if I've explicitly requested it to be
generated by AM_CONFIG_HEADERS ?
Why can't I just say ?
#include "config.h"
TIA,
Ionutz Borcoman <[EMAIL PROTECTED]> writes:
|> Why all to docs about autotools suggest to guard the include of config.h
|> like this ?
|>
|> #ifdef HAVE_CONFIG_H
|> #include "config.h"
|> #endif
|>
|> Is it possible to don't have it, if I've explicitly requested it to be
|> generated by AM_CON
> "Glenn" == Glenn McGrath <[EMAIL PROTECTED]> writes:
Glenn> In my configure.ac i have
Glenn> AC_CONFIG_AUX_DIR(./buildtools)
Glenn> then when i run ./configure i get
Glenn> configure: error: cannot find install-sh or install.sh in . ./.. ./../..
It sounds like there may be an ordering pro
Below is the result of your feedback form. It was submitted by
([EMAIL PROTECTED]) on Friday, July 12, 19102 at 13:08:27
---
:: Feeling hungry? Cum join us and let us feed your appetite! We have BEAUTIFUL girls
:with AWES
On 12 Jul 2002 10:22:05 -0600
"Tom Tromey" <[EMAIL PROTECTED]> wrote:
> It sounds like there may be an ordering problem.
> I think we may still fail to diagnose some of those.
> We'll need more information. The output of configure from the
> beginning through the error might be sufficient.
To k
> AC_INIT(hello.c)
> AC_CONFIG_AUX_DIR(autoscripts)
> AM_INIT_AUTOMAKE(hello,0.1)
> AC_PROG_CC
> AC_PROG_INSTALL
> AC_OUTPUT(Makefile)
That works... the AC_CONFIG_AUX_DIR statement has to happen prior to
AC_INIT_AUTOMAKE, maybe it was a newbie error on my behal
I'm having some troubles with checking for some X libraries using
autoconf-2.52.
The piece of the configure.ac file in question is:
AC_PATH_XTRA
#
# uncommenting this makes it `work' on my system
# but of course its not portable
# X_LIBS="$X_LIBS -R/usr/X11R6/lib"
#
AC_CHECK_LIB(X11, XOpenD