Changeset 261 for trunk/coin.m4
- Timestamp:
- Mar 16, 2007 8:50:36 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/coin.m4
r253 r261 2788 2788 2789 2789 # library extension 2790 AC_LANG_PUSH(C) 2791 AC_CHECK_LIB([pthread],[pthread_create],[LIBS="-lpthread $LIBS"; ADDLIBS="-lpthread $ADDLIBS"],[]) 2792 AC_LANG_POP(C) 2793 2790 2794 case "$CC" in 2791 2795 cl* | */cl* | CL* | */CL*) … … 2816 2820 if test -r $coin_mumpsobjdir/.MakeOk; then 2817 2821 use_mumps=BUILD 2822 # Mumps needs pthreads 2823 AC_LANG_PUSH(C) 2824 AC_CHECK_LIB([pthread],[pthread_create],[LIBS="-lpthread $LIBS"; ADDLIBS="-lpthread $ADDLIBS"],[]) 2825 AC_LANG_POP(C) 2818 2826 else 2819 2827 use_mumps= … … 2823 2831 2824 2832 if test x"$use_mumps" != x; then 2825 # Mumps needs pthreads2826 AC_LANG_PUSH(C)2827 AC_CHECK_LIB([pthread],[pthread_create],[LIBS="-lpthread $LIBS"; ADDLIBS="-lpthread $ADDLIBS"],[])2828 AC_LANG_POP(C)2829 2833 2830 2834 # and we need the Fortran runtime libraries if we want to link with C/C++
Note: See TracChangeset
for help on using the changeset viewer.