[prev in list] [next in list] [prev in thread] [next in thread]
List: autoconf-bug
Subject: Re: problem when running autoconf
From: "amit pansuria" <pansuriya.amit () gmail ! com>
Date: 2006-09-21 5:17:33
Message-ID: 1fd60fb80609202205q37e30c18tebcd1a8e1c9fd3ac () mail ! gmail ! com
[Download RAW message or body]
helo Sir,
i m showing u my configure.in file is given as below
Original Author was Kalle@kde.org
# I lifted it in some mater. (Stephan Kulow)
# I used much code from Janos Farkas
dnl Process this file with autoconf to produce a configure script.
AC_INIT(acinclude.m4) dnl a source file from your sub dir
dnl This is so we can use kde-common
AC_CONFIG_AUX_DIR(admin)
AC_CANONICAL_SYSTEM
dnl Automake doc recommends to do this only here. (Janos)
AM_INIT_AUTOMAKE(aa,0.1)
dnl KDE_SET_PREFIX
AC_PREFIX_DEFAULT(/usr/local)
if test "x$prefix" = "xNONE"; then
prefix=$ac_default_prefix
ac_configure_args="$ac_configure_args --prefix $prefix"
fi
dnl generate the config header
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
dnl Checks for programs.
AC_CHECK_COMPILERS
dnl CXXFLAGS="$NOOPT_CXXFLAGS" dnl __kdevelop[noopt]__
dnl CFLAGS="$NOOPT_CFLAGS" dnl __kdevelop[noopt]__
dnl CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" dnl __kdevelop[exc]__
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
KDE_PROG_LIBTOOL
all_libraries="$all_libraries $USER_LDFLAGS"
all_includes="$all_includes $USER_INCLUDES"
AC_SUBST(all_includes)
AC_SUBST(all_libraries)
dnl for NLS support. Call them in this order!
dnl WITH_NLS is for the po files
AM_KDE_WITH_NLS
KDE_USE_QT(3)
AC_PATH_QT
dnl KDE_NEED_FLEX dnl __kdevelop__
dnl AC_PROG_YACC dnl __kdevelop__
dnl Perform program name transformation
dnl AC_ARG_PROGRAM
dnl PACKAGE set before
KDE_CREATE_SUBDIRSLIST
dnl add here all your Makefiles. This are created by configure
AC_OUTPUT(Makefile aa/Makefile )
so tell me what to do
Thx and regards,
Amit
On 9/20/06, Ralf Wildenhues <Ralf.Wildenhues@gmx.de> wrote:
>
> Hello Amit,
>
> * amit pansuria wrote on Wed, Sep 20, 2006 at 05:28:43PM CEST:
> > helo i got following error when i run the project file with autoconf
> > on redhat 9.
> > i m using kde-2.1.5 on redhat 9
>
> > #autoconf
> > configure.in:63: error: m4_popdef: undefined macro: AC_Dest
> > autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
> > configure.in:63: the top level
> > autom4te: /usr/bin/m4 failed with exit status: 1
>
> Do you have something like this in configure.in:
> AC_CONFIG_FILES([file1
> file2 ...
> dnl commented-out-file
> fileN ..
> ])
>
> If yes: remove the line that starts with `dnl'. or change it to be
> AC_CONFIG_FILES([file1
> file2 ...
> ]dnl commented-out-file
> [fileN ..
> ])
>
> If no: please show your configure.in.
>
> Cheers,
> Ralf
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic