Re: [glade--]How to automake?



Hi Christof,
thank you for your reply.

On Thu, 01 Jan 2004 21:55:38 +0100
Christof Petig <christof petig-baender de> wrote:

> Sorry for the delay (winter holidays)

No problem.
I really appreciate you always help me kindly.

> > 
> > AM_CONFIG_HEADER([config.h])                            # AC_ is changed to AM_
> 
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> IIRC AC_CONFIG_HEADERS is the most correct/recent command to use.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I tried to use "IIRC AC_CONFIG_HEADERS" as below but it did not work.

nana:~/2004/gtkmm/chap8/tmp2$ autoheader
nana:~/2004/gtkmm/chap8/tmp2$ automake -a -c
configure.in:8: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'


nana:~/2004/gtkmm/chap8/tmp2$ less configure.in
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.57)
AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
AM_INIT_AUTOMAKE #added
AC_CONFIG_SRCDIR([config.h.in])
IIRC AC_CONFIG_HEADERS([config.h])                    # added this time
#AM_CONFIG_HEADER([config.h]) # AC_ is changed to AM_ # commented out

# Checks for programs.
AC_PROG_CXX
AC_PROG_CC

# Checks for libraries.

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T

# Checks for library functions.
AC_FUNC_MALLOC

AC_CONFIG_FILES([Makefile
                 src/Makefile])
AC_OUTPUT




> the offending *.glade[p] file (send it privately if you don't want to 
> publish it) and your glade-- version will help most. Please try the CVS 
> version (see glademm's README) to see whether your problem is fixed there.
 
Sorry but I am not using glade-- but just gtkmm this time.
I should have sent the question to another mailing list(?).


-- 
from Susumu Yoshida(susumu yt com)
Powered by Red Hat Linux



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