Changeset 138 for trunk/aclocal.m4


Ignore:
Timestamp:
Oct 28, 2007, 4:55:19 PM (14 years ago)
Author:
rainer
Message:

More fixes for compile and runtime errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/aclocal.m4

    r129 r138  
    17011701                ;;
    17021702
     1703                -pthread)
     1704                AC_MSG_CHECKING([whether pthreads work with $flag])
     1705                PTHREAD_CFLAGS="$flag"
     1706                PTHREAD_LDFLAGS="$flag"
     1707                ;;
     1708
    17031709                -*)
    17041710                AC_MSG_CHECKING([whether pthreads work with $flag])
     
    17211727        save_LIBS="$LIBS"
    17221728        save_CFLAGS="$CFLAGS"
     1729        save_LDFLAGS="$LDFLAGS"
    17231730        LIBS="$PTHREAD_LIBS $LIBS"
    17241731        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
     1732        LDFLAGS="$LDFLAGS $PTHREAD_LDFLAGS"
    17251733
    17261734        # Check for various functions.  We must include pthread.h,
     
    17401748
    17411749        LIBS="$save_LIBS"
     1750        LDFLAGS="$save_LDFLAGS"
    17421751        CFLAGS="$save_CFLAGS"
    17431752
     
    17491758        PTHREAD_LIBS=""
    17501759        PTHREAD_CFLAGS=""
     1760        PTHREAD_LDFLAGS=""
    17511761done
    17521762fi
     
    17991809AC_SUBST(PTHREAD_LIBS)
    18001810AC_SUBST(PTHREAD_CFLAGS)
     1811AC_SUBST(PTHREAD_LDFLAGS)
    18011812AC_SUBST(PTHREAD_CC)
    18021813
Note: See TracChangeset for help on using the changeset viewer.