diff --git a/alliance/src/alliance.m4 b/alliance/src/alliance.m4 index 45b2c5d0..568c8d40 100644 --- a/alliance/src/alliance.m4 +++ b/alliance/src/alliance.m4 @@ -19,31 +19,31 @@ ac_save_LIBS="$LIBS" CFLAGS="$ALLIANCE_CFLAGS $CFLAGS" LIBS="$ALLIANCE_LIBS -lMut $LIBS" -AC_TRY_RUN([ -#include +dnl AC_TRY_RUN([ +dnl #include -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)