configure.in i autoconf

Artur Flinta aflinta w at.kernel.pl
Czw, 31 Paź 2002, 00:17:12 CET


Witam!

+ autoconf
configure.in:59: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use
m4_pattern_allow.      See the Autoconf documentation.
błąd: Bad exit status from /var/tmp/rpm-tmp.40719 (%build)

Odpowiadający temu kawałek kodu wygląda tak:

AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-debug], [Enable debug info and some debugging \
code to be compiled]),
[if test "x$enable_debug" ="xyes"; then
CXXFLAGS="$CXXFLAGS -ggdb"
AC_DEFINE(DEBUG_ALL, , [Activate debug code])
fi])            

				Artur

-- 
Zawsze kiedy jest problem, jest jakieś rozwiązanie;
 zatem jeśli nie ma rozwiązania, nie ma problemu.



Więcej informacji o liście dyskusyjnej pld-devel-pl