autoconf
[Top][All Lists]
Advanced

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

config.h HOW TO GENERATE !!!!


From: address@hidden
Subject: config.h HOW TO GENERATE !!!!
Date: Wed, 21 Aug 2002 17:31:27 +0200

Hello,

I'm a little bored with this CONFIG.H problem ....

Here my configure.ac files, generated first with
autoscan-2.53.

AC_INIT([CDK-MAIN],[1.0],address@hidden)
AC_CONFIG_HEADERS([config.h:config/config.h.in])
dnl
dnl   I want to put my config.h file in another directory
dnl   than the current one.
dnl
AC_CONFIG_SRCDIR([config/config.h.in])
AC_CONFIG_AUX_DIR([config])
AC_REVISION($Revision$)

AC_PROG_CXX
AC_PROG_CC

AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h])

AC_C_CONST
AC_C_INLINE

AC_CHECK_FUNCS([memmove setenv strchr])

AC_CONFIG_FILES([Makefile:config/Makefile.in])
AC_OUTPUT



Tell me if I'm wrong but according to the documentation,
I would expect to have a config.h file in directory
"config/", no ??

Instead, config.status could not create config.h because
it don't find config.h.in, but's it's in config/ directory
and it was generated using autoheader-2.53 !!

Then, i run autoconf-2.53 and then ./configure

Please, could someone help me ....

thanks you very much

Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 
LAPOSTENET (0,13 €/mn) ; tél : 08 92 68 13 50 (0,34€/mn)"







reply via email to

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