/[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 459 by rousseau, Tue Sep 16 16:51:02 2003 UTC revision 460 by rousseau, Mon Sep 22 14:21:57 2003 UTC
# Line 82  esac Line 82  esac
82  CFLAGS="$CFLAGS -Wall -fno-common"  CFLAGS="$CFLAGS -Wall -fno-common"
83    
84  dnl --enable-libusb=PATH  dnl --enable-libusb=PATH
85  AC_ARG_ENABLE(libusb, [  --enable-libusb=PATH    libusb path (default /usr)],  AC_ARG_ENABLE(libusb,
86            AC_HELP_STRING([--enable-libusb=PATH],[libusb path (default /usr)]),
87          [          [
88                  case ${enableval} in                  case ${enableval} in
89                          "" | "yes" | "YES")                          "" | "yes" | "YES")
# Line 113  dnl check shat to use for dlopen Line 114  dnl check shat to use for dlopen
114  AC_SUBST(LIBDL)  AC_SUBST(LIBDL)
115  AC_CHECK_LIB(dl, dlopen, [LIBDL="$LIBDL -ldl" ac_cv_func_dlopen_ldl=yes], ac_cv_func_dlopen_ldl=no)  AC_CHECK_LIB(dl, dlopen, [LIBDL="$LIBDL -ldl" ac_cv_func_dlopen_ldl=yes], ac_cv_func_dlopen_ldl=no)
116    
117    dnl --enable-multi-thread
118    AC_ARG_ENABLE(multi-thread,
119            AC_HELP_STRING([--enable-multi-thread],[enable multi threading
120            (default=yes)]),
121            [ multithread="${enableval}" ], [ multithread=yes ] )
122    
123    if test "${multithread}" != no ; then
124            AC_CHECK_HEADERS(pthread.h, [], [ AC_MSG_ERROR([pthread.h not found]) ])
125            AC_CHECK_LIB(pthread, pthread_mutex_lock, [ LIBS="$LIBS -lpthread" ],
126                    [ multithread=no ])
127    fi
128    AC_MSG_RESULT([multi threading         : $multithread])
129    
130  dnl --enable-bundle=NAME  dnl --enable-bundle=NAME
131  AC_ARG_ENABLE(bundle,  AC_ARG_ENABLE(bundle,
132  [  --enable-bundle=NAME    bundle directory name (default ifd-ccid.bundle)],          AC_HELP_STRING([--enable-bundle=NAME],[bundle directory name
133  [bundle="${enableval}"], [bundle=false])          (default ifd-ccid.bundle)]),
134            [bundle="${enableval}"], [bundle=false])
135  if test "${bundle}" = false ; then  if test "${bundle}" = false ; then
136          bundle="ifd-ccid.bundle"          bundle="ifd-ccid.bundle"
137  fi  fi
# Line 125  AC_DEFINE_UNQUOTED(BUNDLE, "$bundle", [b Line 140  AC_DEFINE_UNQUOTED(BUNDLE, "$bundle", [b
140    
141  dnl --enable-usbdropdir=DIR  dnl --enable-usbdropdir=DIR
142  AC_ARG_ENABLE(usbdropdir,  AC_ARG_ENABLE(usbdropdir,
143  [  --enable-usbdropdir=DIR directory containing USB drivers                                                (default /usr/local/pcsc/drivers)],          AC_HELP_STRING([--enable-usbdropdir=DIR],[directory containing USB
144  [usbdropdir="${enableval}"], [usbdropdir=false])          drivers (default /usr/local/pcsc/drivers)]),
145            [usbdropdir="${enableval}"], [usbdropdir=false])
146  if test "${usbdropdir}" = false ; then  if test "${usbdropdir}" = false ; then
147          usbdropdir="/usr/local/pcsc/drivers"          usbdropdir="/usr/local/pcsc/drivers"
148  fi  fi
# Line 135  AC_DEFINE_UNQUOTED(PCSCLITE_HP_DROPDIR, Line 151  AC_DEFINE_UNQUOTED(PCSCLITE_HP_DROPDIR,
151    
152  dnl --enable-debugcritical  dnl --enable-debugcritical
153  AC_ARG_ENABLE(debugcritical,  AC_ARG_ENABLE(debugcritical,
154  [  --enable-debugcritical  print critical debug messages (default yes)],          AC_HELP_STRING([--enable-debugcritical],[print critical debug
155  [ debugcritical="${enableval}" ], [ debugcritical=yes ])          messages (default yes)]), [ debugcritical="${enableval}" ],
156            [ debugcritical=yes ])
157  dnl yes by default  dnl yes by default
158  if test "${debugcritical}" != yes  if test "${debugcritical}" != yes
159  then  then
# Line 148  fi Line 165  fi
165    
166  dnl --enable-debuginfo  dnl --enable-debuginfo
167  AC_ARG_ENABLE(debuginfo,  AC_ARG_ENABLE(debuginfo,
168  [  --enable-debuginfo      print info debug messages (default yes)],          AC_HELP_STRING([--enable-debuginfo],[print info debug messages
169  [ debuginfo="${enableval}" ], [ debuginfo=yes ])          (default yes)]),
170            [ debuginfo="${enableval}" ], [ debuginfo=yes ])
171  dnl yes by default  dnl yes by default
172  if test "${debuginfo}" != yes  if test "${debuginfo}" != yes
173  then  then
# Line 161  fi Line 179  fi
179    
180  dnl --enable-debugperiodic  dnl --enable-debugperiodic
181  AC_ARG_ENABLE(debugperiodic,  AC_ARG_ENABLE(debugperiodic,
182  [  --enable-debugperiodic  print periodic debug messages (default no)],          AC_HELP_STRING([--enable-debugperiodic],[print periodic debug
183  [ debugperiodic="${enableval}" ], [ debugperiodic=no ])          messages (default no)]),
184            [ debugperiodic="${enableval}" ], [ debugperiodic=no ])
185  dnl no by default  dnl no by default
186  if test "${debugperiodic}" != no  if test "${debugperiodic}" != no
187  then  then
# Line 174  fi Line 193  fi
193    
194  dnl --enable-debugcomm  dnl --enable-debugcomm
195  AC_ARG_ENABLE(debugcomm,  AC_ARG_ENABLE(debugcomm,
196  [  --enable-debugcomm      print comm debug messages (default no)],          AC_HELP_STRING([--enable-debugcomm],[print comm debug messages
197  [ debugcomm="${enableval}" ], [ debugcomm=no ])          (default no)]),
198            [ debugcomm="${enableval}" ], [ debugcomm=no ])
199  dnl no by default  dnl no by default
200  if test "${debugcomm}" != no  if test "${debugcomm}" != no
201  then  then

Legend:
Removed from v.459  
changed lines
  Added in v.460

  ViewVC Help
Powered by ViewVC 1.1.5