/[pcsclite]/trunk/Drivers/ccid/configure.in
ViewVC logotype

Diff of /trunk/Drivers/ccid/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 562 by rousseau, Thu Nov 6 18:53:40 2003 UTC revision 563 by rousseau, Tue Nov 25 22:55:58 2003 UTC
# Line 17  AC_PREFIX_DEFAULT(/usr/local) Line 17  AC_PREFIX_DEFAULT(/usr/local)
17  dnl Automake boilerplate.  dnl Automake boilerplate.
18  AC_CANONICAL_HOST  AC_CANONICAL_HOST
19    
   
20  dnl create a config.h file (Automake will add -DHAVE_CONFIG_H)  dnl create a config.h file (Automake will add -DHAVE_CONFIG_H)
21  AM_CONFIG_HEADER(config.h)  AM_CONFIG_HEADER(config.h)
22    
# Line 127  AC_ARG_ENABLE(multi-thread, Line 126  AC_ARG_ENABLE(multi-thread,
126          [ multithread="${enableval}" ], [ multithread=yes ] )          [ multithread="${enableval}" ], [ multithread=yes ] )
127    
128  if test "${multithread}" != no ; then  if test "${multithread}" != no ; then
129          AC_CHECK_HEADERS(pthread.h, [], [ AC_MSG_ERROR([pthread.h not found]) ])          ACX_PTHREAD(
130          AC_CHECK_LIB(pthread, pthread_mutex_lock, [ LIBS="$LIBS -lpthread" ],                  [ AC_DEFINE(HAVE_PTHREAD, 1,
131                  [ multithread=no ])                          [Define if you have POSIX threads libraries and header files.])
132                    ], [ AC_MSG_ERROR([POSIX thread support required]) ])
133  fi  fi
134  AC_MSG_RESULT([multi threading         : $multithread])  AC_MSG_RESULT([multi threading         : $multithread])
135    
# Line 217  AC_SUBST(bundle) Line 217  AC_SUBST(bundle)
217  AC_SUBST(usbdropdir)  AC_SUBST(usbdropdir)
218    
219  dnl Write Makefiles.  dnl Write Makefiles.
220  AC_CONFIG_FILES(Makefile src/Makefile readers/Makefile)  AC_CONFIG_FILES(Makefile aclocal/Makefile src/Makefile readers/Makefile)
221  AC_OUTPUT  AC_OUTPUT
222    

Legend:
Removed from v.562  
changed lines
  Added in v.563

  ViewVC Help
Powered by ViewVC 1.1.5