ARGGGHHHEEHHEHEHEHH

This commit is contained in:
Christophe Alexandre 2002-04-09 14:57:44 +00:00
parent 5b0a84e89f
commit 4de1d1602d
1 changed files with 19 additions and 19 deletions

View File

@ -19,31 +19,31 @@ ac_save_LIBS="$LIBS"
CFLAGS="$ALLIANCE_CFLAGS $CFLAGS"
LIBS="$ALLIANCE_LIBS -lMut $LIBS"
AC_TRY_RUN([
#include <mut.h>
dnl AC_TRY_RUN([
dnl #include <mut.h>
int main()
{
chain_list* x = addchain(NULL,NULL);
return 0;
}
],, no_alliance=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
dnl int main()
dnl {
dnl chain_list* x = addchain(NULL,NULL);
dnl return 0;
dnl }
dnl ],, no_alliance=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
if test "x$no_alliance" = x ; then
AC_MSG_RESULT(yes)
ifelse([$1], , :, [$1])
else
AC_MSG_RESULT(no)
AC_MSG_ERROR(Please install alliance
or verify your ALLIANCE_TOP variable
or use configure with the --with-alliance-top option)
ALLIANCE_CFLAGS=""
ALLIANCE_LIBS=""
dnl if test "x$no_alliance" = x ; then
dnl AC_MSG_RESULT(yes)
dnl ifelse([$1], , :, [$1])
dnl else
dnl AC_MSG_RESULT(no)
dnl AC_MSG_ERROR(Please install alliance
dnl or verify your ALLIANCE_TOP variable
dnl or use configure with the --with-alliance-top option)
dnl ALLIANCE_CFLAGS=""
dnl ALLIANCE_LIBS=""
dnl ifelse([$2], , :, [$2])
fi
dnl fi
AC_SUBST(ALLIANCE_CFLAGS)
AC_SUBST(ALLIANCE_LIBS)