]> git.pld-linux.org Git - packages/electric.git/commitdiff
- whooooops... I've made a huge mistake :)
authorMariusz Mazur <mmazur@pld-linux.org>
Sun, 11 Aug 2002 22:03:30 +0000 (22:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    electric-ac_fix.patch -> 1.2

electric-ac_fix.patch

index f18c2af4e9b629f23c592e92dde88e42e04888c2..d785231f9c9037dbbe6eddeaa52201f015ad308a 100644 (file)
@@ -1,12 +1,26 @@
---- configure.in.orig  Sat Jun 15 01:01:30 2002
-+++ configure.in       Sun Aug 11 22:28:01 2002
-@@ -47,8 +47,7 @@
+--- configure.in~      Sat Jun 15 01:01:30 2002
++++ configure.in       Mon Aug 12 00:01:01 2002
+@@ -47,8 +47,21 @@
  AC_FUNC_VPRINTF
  AC_CHECK_FUNCS(ftime getcwd gethostid getpagesize gettimeofday getwd qsort scandir setlocale strstr strchr valloc vsnprintf)
  
 -PTHREAD_LIBS=-lpthread
 -ACX_PTHREAD()
-+AC_CHECK_PTH(1.4.0,,,no,AC_DEFINE(HAVE_PTHREAD))
++dnl Checks for libpthreads
++AC_ARG_WITH(pthreads, 
++          AC_HELP_STRING([--with-pthreads],[Use pthreads.]), [ 
++           if test "$withval" = "yes" ; then
++                   INCLUDEPTHREAD=1
++           else
++                   INCLUDEPTHREAD=0; 
++           fi ],[INCLUDEPTHREAD=1])
++
++if test "$INCLUDEPTHREAD"=1 ; then
++      AC_CHECK_LIB(pthread,pthread_mutex_init, 
++                   [LDFLAGS="$LDFLAGS -pthread"],
++                   [AC_MSG_ERROR(****Library not found: -pthread****)])
++      AC_DEFINE(HAVE_PTHREAD)
++fi
  
  dnl Figure out how to reference 64-bit unsigned integers
  AC_CHECK_TYPE(u_int64_t, long long)
This page took 0.069706 seconds and 4 git commands to generate.