Changeset 263


Ignore:
Timestamp:
Mar 16, 2007 9:03:00 AM (14 years ago)
Author:
andreasw
Message:

yet another fix for MUMPS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r261 r263  
    27892789  # library extension
    27902790  AC_LANG_PUSH(C)
    2791   AC_CHECK_LIB([pthread],[pthread_create],[LIBS="-lpthread $LIBS"; ADDLIBS="-lpthread $ADDLIBS"],[])
     2791  save_LIBS="$LIBS"
     2792  LIBS="$LIBS $FLIBS"
     2793  AC_CHECK_LIB([pthread],[pthread_create],[LIBS="-lpthread $save_LIBS"; ADDLIBS="-lpthread $ADDLIBS"],[LIBS="$save_LIBS"])
    27922794  AC_LANG_POP(C)
    27932795
     
    28222824      # Mumps needs pthreads
    28232825      AC_LANG_PUSH(C)
    2824       AC_CHECK_LIB([pthread],[pthread_create],[LIBS="-lpthread $LIBS"; ADDLIBS="-lpthread $ADDLIBS"],[])
     2826      save_LIBS="$LIBS"
     2827      LIBS="$LIBS $FLIBS"
     2828      AC_CHECK_LIB([pthread],[pthread_create],[LIBS="-lpthread $save_LIBS"; ADDLIBS="-lpthread $ADDLIBS"],[LIBS="save_LIBS"])
    28252829      AC_LANG_POP(C)
    28262830    else
Note: See TracChangeset for help on using the changeset viewer.