Permalink
Browse files

Add /usr/lib/x86_64-linux-gnu to PCSC search path. It is used in Ubun…

…tu 12.04.
  • Loading branch information...
1 parent bd9b3c0 commit 4ca42810ee5913a08bdbaa5978f97c6cab476128 @larskanis committed May 2, 2012
Showing with 14 additions and 12 deletions.
  1. +6 −5 configure
  2. +8 −7 m4/pcsc.m4
View
@@ -16809,11 +16809,12 @@ if test "${with_pcsc_libs+set}" = set; then :
withval=$with_pcsc_libs; pcsc_search_lib_dirs="$withval"
else
pcsc_search_lib_dirs="/usr/lib64 \
- /usr/lib \
- /usr/local/lib \
- /usr/lib/pcsc/lib \
- /usr/local/pcsc/lib \
- /lib"
+ /usr/lib \
+ /usr/local/lib \
+ /usr/lib/pcsc/lib \
+ /usr/local/pcsc/lib \
+ /usr/lib/x86_64-linux-gnu \
+ /lib"
fi
for d in $pcsc_search_lib_dirs; do
View
@@ -5,11 +5,11 @@
AC_DEFUN([AQ_CHECK_PCSC],[
dnl PREREQUISITES:
dnl - AQ_CHECK_OS must becalled before
-dnl IN:
+dnl IN:
dnl nothing
dnl OUT:
dnl Variables:
-dnl pcsc_libraries: Path to the PC/SC libraries
+dnl pcsc_libraries: Path to the PC/SC libraries
dnl pcsc_lib: PC/SC libraries to link against
dnl pcsc_includes: Path to the PC/SC includes
dnl have_pcsc: "yes" if pc/sc is available
@@ -68,11 +68,12 @@ else
AC_ARG_WITH(pcsc-libs, [ --with-pcsc-libs=DIR adds pcsc library path],
[pcsc_search_lib_dirs="$withval"],
[pcsc_search_lib_dirs="/usr/lib64 \
- /usr/lib \
- /usr/local/lib \
- /usr/lib/pcsc/lib \
- /usr/local/pcsc/lib \
- /lib"])
+ /usr/lib \
+ /usr/local/lib \
+ /usr/lib/pcsc/lib \
+ /usr/local/pcsc/lib \
+ /usr/lib/x86_64-linux-gnu \
+ /lib"])
dnl search for pcsc libs
for d in $pcsc_search_lib_dirs; do
AQ_SEARCH_FILES("$d",$pcsc_search_lib_names)

0 comments on commit 4ca4281

Please sign in to comment.