Changeset 138 for trunk/aclocal.m4
- Timestamp:
- Oct 28, 2007, 4:55:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/aclocal.m4
r129 r138 1701 1701 ;; 1702 1702 1703 -pthread) 1704 AC_MSG_CHECKING([whether pthreads work with $flag]) 1705 PTHREAD_CFLAGS="$flag" 1706 PTHREAD_LDFLAGS="$flag" 1707 ;; 1708 1703 1709 -*) 1704 1710 AC_MSG_CHECKING([whether pthreads work with $flag]) … … 1721 1727 save_LIBS="$LIBS" 1722 1728 save_CFLAGS="$CFLAGS" 1729 save_LDFLAGS="$LDFLAGS" 1723 1730 LIBS="$PTHREAD_LIBS $LIBS" 1724 1731 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 1732 LDFLAGS="$LDFLAGS $PTHREAD_LDFLAGS" 1725 1733 1726 1734 # Check for various functions. We must include pthread.h, … … 1740 1748 1741 1749 LIBS="$save_LIBS" 1750 LDFLAGS="$save_LDFLAGS" 1742 1751 CFLAGS="$save_CFLAGS" 1743 1752 … … 1749 1758 PTHREAD_LIBS="" 1750 1759 PTHREAD_CFLAGS="" 1760 PTHREAD_LDFLAGS="" 1751 1761 done 1752 1762 fi … … 1799 1809 AC_SUBST(PTHREAD_LIBS) 1800 1810 AC_SUBST(PTHREAD_CFLAGS) 1811 AC_SUBST(PTHREAD_LDFLAGS) 1801 1812 AC_SUBST(PTHREAD_CC) 1802 1813
Note:
See TracChangeset
for help on using the changeset viewer.