diff --git a/configure.in b/configure.in index 189c79e7fd5f2b3e42ad1de083729b8aa5c3dc6b..d89ebb8b2436acdcce62232c6717450c8268c399 100644 --- a/configure.in +++ b/configure.in @@ -16,7 +16,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # init the project -AC_INIT(src/sched.c) +AC_INIT(src/qsched.c) VERSION="0.1.0" AC_SUBST(VERSION) AM_INIT_AUTOMAKE(QUICKSCHED,VERSION) @@ -48,7 +48,8 @@ AC_HEADER_STDC # Check for pthreads ACX_PTHREAD([LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - CC="$PTHREAD_CC" LDFLAGS="$PTHREAD_LIBS $LIBS"], + CC="$PTHREAD_CC" LDFLAGS="$PTHREAD_LIBS $LIBS" + AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.])], AC_MSG_ERROR([Could not find a working version of the pthread library. Make sure you have the library and header files installed or use CPPFLAGS and LDFLAGS if the library is installed in a