Ignore:
Timestamp:
Dec 20, 2010, 2:17:21 AM (11 years ago)
Author:
Peter
Message:

closes #496

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/yat_lt_link_ifelse_test.sh

    r2245 r2376  
    3030
    3131cat >> configure.ac <<EOF
     32AC_MSG_CHECKING([libtool linking])
     33YAT_LT_LINK_IFELSE([AC_LANG_PROGRAM],
     34                   [],
     35                   [AC_MSG_ERROR([cannot libtool link simple program])])
     36AC_MSG_RESULT([ok])
     37
     38AC_MSG_CHECKING([libtool linking against -lrapakalja])
     39LIBS=-lrapakalja
     40YAT_LT_LINK_IFELSE([AC_LANG_PROGRAM],
     41                   [AC_MSG_ERROR([unexpectedly succesful linking with $LIBS])])
     42AC_MSG_RESULT([no (as expected)])
     43
    3244YAT_FIND_YAT
    3345m4_define([PROG],
     
    4355                           ])
    4456           ])
    45 LIBS=-lrapakalja
    46 YAT_LT_LINK_IFELSE([PROG],
    47                    [AC_MSG_ERROR([unexpectedly succesful linking with $LIBS])])
     57AC_MSG_CHECKING([libtool linking against -lyat])
    4858LIBS=\`\$yat_config --link-libtool\`;
    4959YAT_LT_LINK_IFELSE([PROG],
    5060                   [test_result=ok; AC_SUBST(test_result)],
    5161                   [AC_MSG_ERROR([cannot libtool link yat])])
     62AC_MSG_CHECKING([ok])
    5263AC_CONFIG_FILES([Makefile])
    5364AC_OUTPUT
     
    5970    echo OK;
    6071else
    61     tail -n 30 config.log;
     72    tail -n 500 config.log;
    6273    exit 1;
    6374fi
Note: See TracChangeset for help on using the changeset viewer.