Changeset 3123


Ignore:
Timestamp:
Nov 11, 2013, 3:05:23 PM (8 years ago)
Author:
Peter
Message:

turn off test that linking against a static lib when creating a libtool archive was expected to fail. Seems it succesful on some systems e.g. OSX 10.7

Location:
branches/0.11-stable/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/0.11-stable/test/Makefile.am

    r3109 r3123  
    152152  $(top_builddir)/build_support/yat-config
    153153test/yat_lt_link_la_ifelse_test.log: $(shell_test_deps) \
    154   test/lib/libmy-static.a test/lib/libmy-shared.la \
     154  test/lib/libmy-shared.la \
    155155  $(top_srcdir)/m4/yat_lt_link_ifelse.m4 \
    156156  $(top_srcdir)/m4/yat_common.m4
  • branches/0.11-stable/test/yat_lt_link_la_ifelse_test.sh

    r3112 r3123  
    1919# along with yat. If not, see <http://www.gnu.org/licenses/>.
    2020
    21 required="autoconf automake libtool libmy-static libmy-shared"
     21required="autoconf automake libtool libmy-shared"
    2222set -e
    2323. ./test/init.sh || exit 99
     
    4949  ])
    5050
    51 LIBS=-lmy-static
    52 AC_MSG_CHECKING([whether linking against -lmy-static works])
    53 YAT_LT_LINK_LA_IFELSE([
    54 namespace theplu {
    55 namespace yat {
    56 namespace utility {
    57     int version(void);
    58 }}}
    59     int my_func(void) { return theplu::yat::utility::version(); }
    60   ],[
    61     AC_MSG_RESULT([yes])
    62     AC_MSG_FAILURE([expected configure to fail])
    63   ],[
    64     AC_MSG_RESULT([no])
    65   ])
    66 
    6751AC_CONFIG_FILES([Makefile])
    6852AC_OUTPUT
Note: See TracChangeset for help on using the changeset viewer.