Compilation error XXFLAGS [solved]

kdenlive r1654

/usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload ./transitionwipe_ui.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include ,#include ,g" >> transitionwipe_ui.h ;
/usr/bin/kconfig_compiler ./kdenlive.kcfg ./kdenlivesettings.kcfgc; ret=$?; \
        if test "$ret" != 0; then rm -f kdenlivesettings.h ; exit $ret ;  fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I.  -I/usr/include -I/usr/include/mlt -D_REENTRANT   -D__STDC_CONSTANT_MACROS  -DQT_THREAD_SUPPORT  -D_REENTRANT  XXFLAGS -DMLT_PREFIX=\""/usr"\" -DENABLE_FIREWIRE  -MT avfilelist.o -MD -MP -MF ".deps/avfilelist.Tpo" -c -o avfilelist.o avfilelist.cpp; \
        then mv -f ".deps/avfilelist.Tpo" ".deps/avfilelist.Po"; else rm -f ".deps/avfilelist.Tpo"; exit 1; fi
g++: XXFLAGS : Aucun fichier ou répertoire de ce type

Forums:

me too :(

/usr/bin/kconfig_compiler ./kdenlive.kcfg ./kdenlivesettings.kcfgc; ret=$?; \
        if test "$ret" != 0; then rm -f kdenlivesettings.h ; exit $ret ;  fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I.  -I/home/espinosa/build/kdenlive/include -I/home/espinosa/build/kdenlive/include/mlt -D_REENTRANT  -D__STDC_CONSTANT_MACROS  -DQT_THREAD_SUPPORT  -D_REENTRANT  XXFLAGS -DMLT_PREFIX=\""/home/espinosa/build/kdenlive"\"  -MT avfilelist.o -MD -MP -MF ".deps/avfilelist.Tpo" -c -o avfilelist.o avfilelist.cpp; \
        then mv -f ".deps/avfilelist.Tpo" ".deps/avfilelist.Po"; else rm -f ".deps/avfilelist.Tpo"; exit 1; fi
g++: XXFLAGS: No such file or directory
make[2]: *** [avfilelist.o] Error 1
make[2]: Leaving directory `/home/espinosa/src/kdenlive/kdenlive'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/espinosa/src/kdenlive'
make: *** [all] Error 2
[espinosa@esplaptop kdenlive]$ svn update

Fetching external item into 'admin'
External at revision 695759.

At revision 1655.

Shouldn't be there ${XXFLAGS} instead just XXFLAGS?
g++ thinks it is some kind of file not a variable, so the error (warning?) message.
But I have doubts if this is a real cause.
If I call the command manually
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3/include -I. -I/home/espinosa/build/kdenlive/include -I/home/espinosa/build/kdenlive/include/mlt -D_REENTRANT -D__STDC_CONSTANT_MACROS -DQT_THREAD_SUPPORT -D_REENTRANT XXFLAGS -DMLT_PREFIX=\""/home/espinosa/build/kdenlive"\" -MT aviconviewitem.o -MD -MP -MF ".deps/aviconviewitem.Tpo" -c -o aviconviewitem.o aviconviewitem.cpp
it always compile the avlistviewitem.o, with XXFLAG or without.

For the impatient:

Index: configure.in.in
===================================================================
--- configure.in.in (revision 1655)
+++ configure.in.in (working copy)
@@ -29,7 +29,7 @@
LIBMLT_CFLAGS="`$MLT_CONFIG --cflags`"

MLT_PATH=`mlt-config --prefix`
- CXXFLAGS='$CXXFLAGS -DMLT_PREFIX=\""'$MLT_PATH'"\"'
+ CXXFLAGS="$CXXFLAGS -DMLT_PREFIX=\\\"\"$MLT_PATH\"\\\""
else
AC_MSG_WARN([You need at least mlt 0.2.4])
HELP_SUBDIR=

Dan's patch has been applied, should be fixed now.