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