~ubuntu-branches/ubuntu/karmic/pcsc-lite/karmic-updates

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Rousseau
  • Date: 2007-05-16 14:40:30 UTC
  • mfrom: (1.2.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070516144030-0cb2ngb6d4rt7bue
Tags: 1.4.1-1
* New upstream release
* debian/control: Standards-Version: 3.6.2.0 -> 3.7.2.0. No change needed
* debian/libpcsclite-dev.docs: no PDF to distribute. Use the online HTML
  documentation instead

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
AC_PREREQ(2.58)
5
5
 
6
 
AC_INIT(pcsc-lite, 1.4.0)
 
6
AC_INIT(pcsc-lite, 1.4.1)
7
7
AC_CONFIG_SRCDIR(src/pcscdaemon.c)
8
8
AM_INIT_AUTOMAKE(1.8)
9
9
AM_CONFIG_HEADER(config.h)
252
252
        AC_MSG_RESULT([enable confdir                : /etc (default)])
253
253
fi
254
254
 
 
255
# --enable-ipcdir=DIR
 
256
AC_ARG_ENABLE(ipcdir,
 
257
  AC_HELP_STRING([--enable-ipcdir=DIR],[directory containing IPC files
 
258
                                  (default /var/run)]),
 
259
[ipcdir="${enableval}"], [ipcdir=false])
 
260
 
 
261
if test x${ipcdir} = xfalse ; then
 
262
        ipcdir="/var/run"
 
263
fi
 
264
AC_DEFINE_UNQUOTED(USE_IPCDIR, "$ipcdir", [directory containing IPC files])
 
265
AC_MSG_RESULT([enable ipcdir                 : $ipcdir])
 
266
 
255
267
# --enable-runpid=FILE
256
268
AC_ARG_ENABLE(runpid,
257
269
  AC_HELP_STRING([--enable-runpid=FILE],[file containing pcscd pid]),
258
270
[runpid="${enableval}"], [runpid=false])
259
271
 
260
 
AC_MSG_RESULT([enable runpid                 : $runpid])
261
 
 
262
272
# HAVE_RUNPID is for pcscd.8
263
273
if test x${runpid} != xfalse ; then
264
 
        AC_DEFINE_UNQUOTED(USE_RUN_PID, "$runpid", [file containing pcscd pid])
265
274
        AC_SUBST(HAVE_RUNPID,'')
266
275
else
 
276
        runpid="$ipcdir/pcscd.pid"
267
277
        AC_SUBST(HAVE_RUNPID,'.\" ')
268
278
fi
269
 
 
270
 
# --enable-ipcdir=DIR
271
 
AC_ARG_ENABLE(ipcdir,
272
 
  AC_HELP_STRING([--enable-ipcdir=DIR],[directory containing IPC files
273
 
                                  (default /var/run)]),
274
 
[ipcdir="${enableval}"], [ipcdir=false])
275
 
 
276
 
if test x${ipcdir} != xfalse ; then
277
 
        AC_MSG_RESULT([enable ipcdir                 : $ipcdir])
278
 
 
279
 
        AC_DEFINE_UNQUOTED(USE_IPCDIR, "$ipcdir", [directory containing IPC files (default /var/run)])
280
 
else
281
 
        AC_MSG_RESULT([enable ipcdir                 : /var/run (default)])
282
 
fi
 
279
AC_DEFINE_UNQUOTED(USE_RUN_PID, "$runpid", [file containing pcscd pid])
 
280
AC_MSG_RESULT([enable runpid                 : $runpid])
283
281
 
284
282
CPPFLAGS="-I\${top_srcdir}/src $CPPFLAGS"
285
283