Changeset 3113
- Timestamp:
- Nov 10, 2013, 10:47:37 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/m4/yat_lt_link_ifelse.m4
r3090 r3113 48 48 # YAT_USE_LIBTOOL_PUSH 49 49 # -------------------- 50 # Assign `$ac_link' and `$ac_compile' to use libtool. Variables are51 # saved so they can berestored with YAT_USE_LIBTOOL_POP50 # Assign `$ac_link' to use libtool. Variable is saved so they can be 51 # restored with YAT_USE_LIBTOOL_POP 52 52 AC_DEFUN([YAT_USE_LIBTOOL_PUSH], 53 53 [ … … 55 55 m4_ifdef([_YAT_USE_LIBTOOL], [], 56 56 [LT_OUTPUT 57 yat_use_libtool_ac_compile=$ac_compile;58 ac_compile='./libtool --mode=compile --tag=_YAT_USE_LIBTOOL_TAG '"$ac_compile";59 57 yat_use_libtool_ac_link=$ac_link; 60 58 ac_link='./libtool --mode=link --tag=_YAT_USE_LIBTOOL_TAG '"$ac_link"; … … 72 70 m4_popdef([_YAT_USE_LIBTOOL]) 73 71 m4_ifndef([_YAT_USE_LIBTOOL], dnl 74 [ac_compile=$yat_use_libtool_ac_compile; 75 ac_link=$yat_use_libtool_ac_link; 72 [ac_link=$yat_use_libtool_ac_link; 76 73 ]) 77 74 ]) # YAT_USE_LIBTOOL_POP -
trunk/test/yat_lt_compile_ifelse_test.sh
r3112 r3113 21 21 22 22 # test that YAT_USE_LIBTOOL_PUSH works with AC_COMPILE_IFELSE 23 24 # This test is obsolete as YAT_USE_LIBTOOL_PUSH no longer affects 25 # behaviour of AC_COMPILE_IFELSE, but we leave this test here as a 26 # reminder in case we would modify YAT_USE_LIBTOOL_PUSH in the future. 23 27 24 28 required="autoconf automake libtool" … … 50 54 bootstrap 51 55 ./configure $configure_opts || exit_fail 56 57 # test that it works with --disable-static (see 58 # http://dev.thep.lu.se/yat/ticket/737#comment:18) 59 if x$enable_shared = xyes; then 60 ./configure --disable-static || exit_fail 61 fi 62 52 63 exit_success
Note: See TracChangeset
for help on using the changeset viewer.