why check for config.h ?

2002-07-12 Thread Ionutz Borcoman
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,

Re: why check for config.h ?

2002-07-12 Thread Andreas Schwab
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

Re: install-sh not found when AC_CONFIG_AUX() used

2002-07-12 Thread Tom Tromey
> "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

Exclusive Offer!

2002-07-12 Thread
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

Re: install-sh not found when AC_CONFIG_AUX() used

2002-07-12 Thread Glenn McGrath
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

Aha... AC_CONFIG_AUX_DIR has to be used before AM_INIT_AUTOMAKE

2002-07-12 Thread Glenn McGrath
> 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

correctly using -R for X tests?

2002-07-12 Thread mcmahill
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