Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


Autoheader in use AC_DEFINE the problem. [Resolve sufferings

I was fc4
Configure.ac written procedures in the following documents :
[QUOTE]
Dnl Process this file with autoconf to produce a configure script.
AC_INIT (Changelog)
AM_INIT_AUTOMAKE ( "xxxxxxx," "0.01")
AM_CONFIG_HEADER (config.h)

AC_DEFINE (SOMEDEFINE, 1)

AC_PROG_CC

AM_PROG_LEX
AC_PROG_YACC
AC_PROG_INSTALL

AC_C_CONST
AC_CHECK_HEADERS (string.h unistd.h] [locale.h stddef.h stdlib.h)
AC_TYPE_SIZE_T
AC_CHECK_TYPE (ptrdiff_t, size_t)

AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS ([memset setlocale strcasecmp strdup])
AC_CHECK_LIB (termcap, tgetent, [], [AC_MSG_ERROR ([library 'termcap' is required for xxxxx])])
AC_CHECK_LIB (readline, readline, [], [AC_MSG_ERROR ([library 'readline' is required for xxxx])])

AC_CHECK_LIB (ldap, ldap_init, [], [AC_MSG_ERROR (api library is required for xxxx] [ldap c)])

AC_OUTPUT (Makefile src/Makefile)
[/QUOTE]
In aclocal, autoheader use when :
[QUOTE][gnap@osiris Xxxxx]$ autoheader
SOMEDEFINE autoheader : warning : missing template :
Autoheader : Use AC_DEFINE ([SOMEDEFINE], [], [Description])
[gnap@osiris Xxxxx]$ [/QUOTE]

I have no idea do not know how to solve, please help of any kind! ~


China is not the solution has been suggested?
AC_DEFINE ([SOMEDEFINE], [], [Description])

Has been resolved! - I originally suggested by the amendment or not, I use the real culprit is abandoned : : Acer AM_CONFIG
AC beginning of the changed! ~
AC_DEFINE also another footnote in the AM, so that's not a plus.



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com