wingo's changes

Original commit message from CVS:
wingo's changes
This commit is contained in:
Thomas Vander Stichele 2001-12-20 21:27:27 +00:00
parent 03b48f327b
commit a133916d63
2 changed files with 4 additions and 5 deletions

View file

@ -158,7 +158,7 @@ int main ()
: :
else else
echo "*** Could not run ARTS test program, checking why..." echo "*** Could not run ARTS test program, checking why..."
CFLAGS="$CFLAGS $ARTS_CFLAGS" CFLAGS="$CFLAGS $ARTS_CXXFLAGS"
LIBS="$LIBS $ARTS_LIBS" LIBS="$LIBS $ARTS_LIBS"
AC_TRY_LINK([ AC_TRY_LINK([
#include <stdio.h> #include <stdio.h>
@ -181,11 +181,11 @@ int main ()
LIBS="$ac_save_LIBS" LIBS="$ac_save_LIBS"
fi fi
fi fi
ARTS_CFLAGS="" ARTS_CXXFLAGS=""
ARTS_LIBS="" ARTS_LIBS=""
ifelse([$3], , :, [$3]) ifelse([$3], , :, [$3])
fi fi
AC_SUBST(ARTS_CFLAGS) AC_SUBST(ARTS_CXXFLAGS)
AC_SUBST(ARTS_LIBS) AC_SUBST(ARTS_LIBS)
rm -f conf.artstest rm -f conf.artstest
]) ])

View file

@ -10,8 +10,7 @@ dnl
AC_DEFUN(GST_CHECK_ARTSC, AC_DEFUN(GST_CHECK_ARTSC,
[ [
AC_PATH_PROG(ARTSC_CONFIG, artsc-config, no) AC_PATH_PROG(ARTSC_CONFIG, artsc-config, no)
if test x$ARTSC_CONFIG = xno; then if test "x$ARTSC_CONFIG" = "xno"; then
if test x$ARTSC_CONFIG = xno; then
AC_MSG_WARN([Couldn't find artsc-config]) AC_MSG_WARN([Couldn't find artsc-config])
HAVE_ARTSC=no HAVE_ARTSC=no
ARTSC_LIBS= ARTSC_LIBS=