Changeset 2394
- Timestamp:
- Jan 7, 2011, 12:29:37 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/m4/yat_lt_link_ifelse.m4
r2376 r2394 32 32 33 33 # 34 # serial 234 # serial 3 35 35 # 36 36 … … 53 53 m4_defn([LT_INIT]) 54 54 m4_ifdef([_YAT_USE_LIBTOOL], [], 55 [m4_define([_YAT_USE_LIBTOOL], [yes]) 56 LT_OUTPUT 55 [LT_OUTPUT 57 56 yat_use_libtool_ac_compile=$ac_compile; 58 57 ac_compile="./libtool --mode=compile --tag=_YAT_USE_LIBTOOL_TAG $ac_link"; … … 60 59 ac_link="./libtool --mode=link --tag=_YAT_USE_LIBTOOL_TAG $ac_link"; 61 60 ]) dnl 61 m4_pushdef([_YAT_USE_LIBTOOL], [yes]) 62 62 ]) # YAT_USE_LIBTOOL_PUSH 63 63 … … 69 69 AC_DEFUN([YAT_USE_LIBTOOL_POP], 70 70 [ 71 m4_ ifdef([_YAT_USE_LIBTOOL], dnl72 [m4_undefine([_YAT_USE_LIBTOOL]) 73 71 m4_popdef([_YAT_USE_LIBTOOL]) 72 m4_ifndef([_YAT_USE_LIBTOOL], dnl 73 [ac_compile=$yat_use_libtool_ac_compile; 74 74 ac_link=$yat_use_libtool_ac_link; 75 75 ]) -
trunk/test/yat_lt_link_ifelse_test.sh
r2384 r2394 30 30 31 31 cat >> configure.ac <<EOF 32 YAT_USE_LIBTOOL_PUSH 32 33 AC_MSG_CHECKING([libtool linking]) 33 34 YAT_LT_LINK_IFELSE([AC_LANG_PROGRAM], … … 60 61 [test_result=ok; AC_SUBST(test_result)], 61 62 [AC_MSG_ERROR([cannot libtool link yat])]) 62 AC_MSG_ CHECKING([ok])63 AC_MSG_RESULT([ok]) 63 64 AC_CONFIG_FILES([Makefile]) 64 65 AC_OUTPUT
Note: See TracChangeset
for help on using the changeset viewer.