/[rdesktop]/sourceforge.net/trunk/rdesktop/configure.ac
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/configure.ac

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

revision 1297 by astrand, Wed Oct 18 05:12:30 2006 UTC revision 1319 by stargo, Thu Nov 2 20:48:28 2006 UTC
# Line 79  LIBS="$LIBS -L$ssldir/lib -lcrypto" Line 79  LIBS="$LIBS -L$ssldir/lib -lcrypto"
79  rpath="$rpath:$ssldir/lib"  rpath="$rpath:$ssldir/lib"
80               ])               ])
81    
82    AC_ARG_ENABLE(smartcard,
83                 [  --enable-smartcard        Enables smart-card support.
84                 ],
85                 [
86                    case "$OSTYPE" in
87                            darwin*)
88                                    AC_CHECK_HEADER(PCSC/pcsclite.h, [WITH_SCARD=1], [WITH_SCARD=0])
89                                    AC_DEFINE(PCSC_OSX)
90                                    AC_DEFINE(WITH_PCSC120)
91                                    PCSCLITE_CFLAGS=""
92                                    PCSCLITE_LIBS="-framework PCSC"
93                                    ;;
94                            *)
95                                    if test -n "$PKG_CONFIG"; then
96                                            PKG_CHECK_MODULES(PCSCLITE, libpcsclite, [WITH_SCARD=1], [WITH_SCARD=0])
97                                    fi
98                                    ;;
99                    esac
100    
101                    if test x"$WITH_SCARD" = "x1"; then
102                            SCARDOBJ="scard.o"
103                            CFLAGS="$CFLAGS $PCSCLITE_CFLAGS"
104                            LIBS="$LIBS $PCSCLITE_LIBS"
105                            AC_DEFINE(WITH_SCARD)
106                    fi
107                 ])
108    
109    AC_SUBST(SCARDOBJ)
110    
111  #  #
112  # Alignment  # Alignment
# Line 168  if test -n "$PKG_CONFIG"; then Line 196  if test -n "$PKG_CONFIG"; then
196              _libsamplerate_libdir=`$PKG_CONFIG --errors-to-stdout --variable=libdir samplerate`              _libsamplerate_libdir=`$PKG_CONFIG --errors-to-stdout --variable=libdir samplerate`
197              LIBSAMPLERATE_LIBS="$_libsamplerate_libdir""/libsamplerate.a"              LIBSAMPLERATE_LIBS="$_libsamplerate_libdir""/libsamplerate.a"
198          fi          fi
199            LIBSAMPLERATE_LIBS="$LIBSAMPLERATE_LIBS -lm"
200      fi      fi
201  fi  fi
202    
# Line 175  if test "$sound" != "no"; then Line 204  if test "$sound" != "no"; then
204      SOUNDOBJ="$SOUNDOBJ rdpsnd.o rdpsnd_dsp.o"      SOUNDOBJ="$SOUNDOBJ rdpsnd.o rdpsnd_dsp.o"
205      CFLAGS="$CFLAGS $LIBSAMPLERATE_CFLAGS"      CFLAGS="$CFLAGS $LIBSAMPLERATE_CFLAGS"
206      LIBS="$LIBS $LIBSAMPLERATE_LIBS"      LIBS="$LIBS $LIBSAMPLERATE_LIBS"
207        AC_DEFINE(WITH_RDPSND)
208  fi  fi
209    
210  case $sound in  case $sound in
# Line 783  AC_ARG_WITH(debug-channel, Line 813  AC_ARG_WITH(debug-channel,
813      ])      ])
814    
815    
816    AC_ARG_WITH(debug-smartcard,
817        [  --with-debug-smartcard  enable debugging of smart-card code],
818        [
819            if test $withval != "no";
820            then
821                    if test x"$WITH_SCARD" = "x1"; then
822                            AC_DEFINE(WITH_DEBUG_SCARD,1)
823                    fi
824            fi
825        ])
826    
827  #  #
828  # target-specific stuff  # target-specific stuff
829  #  #

Legend:
Removed from v.1297  
changed lines
  Added in v.1319

  ViewVC Help
Powered by ViewVC 1.1.26