/[rdesktop]/sourceforge.net/trunk/rdesktop/configure
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

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

revision 298 by matthewc, Thu Jan 30 10:57:38 2003 UTC revision 476 by matthewc, Sat Oct 4 00:03:24 2003 UTC
# Line 47  case $arg in Line 47  case $arg in
47    --with-egd-socket=*)    --with-egd-socket=*)
48      extraegdpath=$optarg      extraegdpath=$optarg
49      ;;      ;;
50      --with-libvncserver)
51        withvncserver=yes
52        ;;
53      --with-libvncserver-config=*)
54        vncserverconfig=$optarg
55        ;;
56    --with-debug)    --with-debug)
57      cflags="$cflags -g -DWITH_DEBUG"      cflags="$cflags -g -DWITH_DEBUG"
58      ;;      ;;
59    --with-debug-kbd)    --with-debug-kbd)
60      cflags="$cflags -g -DWITH_DEBUG_KBD"      cflags="$cflags -g -DWITH_DEBUG_KBD"
61      ;;      ;;
62      --with-debug-rdp5)
63        cflags="$cflags -g -DWITH_DEBUG_RDP5"
64        ;;
65      --with-debug-clipboard)
66        cflags="$cflags -g -DWITH_DEBUG_CLIPBOARD"
67        ;;
68    --without-debug*)    --without-debug*)
69      ;;      ;;
70    *)    *)
# Line 68  case $arg in Line 80  case $arg in
80      echo " --with-openssl=DIR      look for OpenSSL at DIR/include, DIR/lib"      echo " --with-openssl=DIR      look for OpenSSL at DIR/include, DIR/lib"
81      echo " --without-openssl       use in-tree crypto, even if OpenSSL is available"      echo " --without-openssl       use in-tree crypto, even if OpenSSL is available"
82      echo " --with-egd-socket=PATH  look for Entropy Gathering Daemon socket at PATH"      echo " --with-egd-socket=PATH  look for Entropy Gathering Daemon socket at PATH"
83        echo " --with-libvncserver     make rdp2vnc"
84        echo " --with-libvncserver-config=CMD"
85        echo "                         use CMD as libvncserver-config"
86      echo " --with-debug            enable protocol debugging output"      echo " --with-debug            enable protocol debugging output"
87      echo " --with-debug-kbd        enable debugging of keyboard handling"      echo " --with-debug-kbd        enable debugging of keyboard handling"
88        echo " --with-debug-rdp5       enable debugging of RDP5 code"
89        echo " --with-debug-clipboard  enable debugging of clipboard code"
90      echo      echo
91      rm -f Makeconf      rm -f Makeconf
92      exit 1      exit 1
# Line 120  if [ -z "$xdir" ]; then Line 137  if [ -z "$xdir" ]; then
137      echo "(searched for include/X11/Xlib.h in: $xdirs)"      echo "(searched for include/X11/Xlib.h in: $xdirs)"
138    
139      # additional helpful information for Linux users      # additional helpful information for Linux users
140      if [ -f /etc/redhat_release ]; then      if [ -f /etc/redhat-release ]; then
141        echo You probably need to install the XFree86-devel package        echo You probably need to install the XFree86-devel package
142      elif [ -f /etc/debian_version ]; then      elif [ -f /etc/debian_version ]; then
143        echo You probably need to install the xlibs-dev package        echo You probably need to install the xlibs-dev package
# Line 139  if [ $xdir != "/usr" ]; then Line 156  if [ $xdir != "/usr" ]; then
156      rpath="$rpath:$xdir/lib"      rpath="$rpath:$xdir/lib"
157  fi  fi
158    
159  ldflags="$ldflags -lX11"  ldflags="$ldflags"
160    targets="$targets rdesktop"
161    
162  if [ -z "$withoutopenssl" ]; then  if [ -z "$withoutopenssl" ]; then
163      # Find OpenSSL installation if available      # Find OpenSSL installation if available
# Line 177  if [ -z "$withoutopenssl" ]; then Line 194  if [ -z "$withoutopenssl" ]; then
194      fi      fi
195  fi  fi
196            
197    if [ ! -z "$withvncserver" ]; then
198        if [ -z "$vncserverconfig" ]; then
199            vncserverconfig=libvncserver-config
200        fi
201    
202        echo "VNCINC=`$vncserverconfig --cflags`" >> Makeconf
203        echo "LDVNC=`$vncserverconfig --libs`" >> Makeconf
204        echo "CCLD=`$vncserverconfig --link`" >> Makeconf
205        echo >> Makeconf
206        targets="$targets rdp2vnc"
207    
208        echo "Found libvncserver: Building rdp2vnc"
209    fi
210    
211    
212  # Find EGD socket if we don't have /dev/urandom or /dev/random  # Find EGD socket if we don't have /dev/urandom or /dev/random
213    
# Line 204  if [ ! -c /dev/random -a ! -c /dev/urand Line 235  if [ ! -c /dev/random -a ! -c /dev/urand
235      fi      fi
236  fi  fi
237    
238    # Check for OSS sound support
239    
240    if [ -f /usr/include/sys/soundcard.h ]; then
241        echo Sound support enabled: Open Sound System
242        echo
243        echo "SOUNDOBJ    = rdpsnd.o rdpsnd_oss.o" >>Makeconf
244        cflags="$cflags -DWITH_RDPSND"
245    elif [ -f /usr/include/sys/audio.h ]; then
246        echo Sound support enabled: Sun
247        echo
248        echo "SOUNDOBJ    = rdpsnd.o rdpsnd_sun.o" >>Makeconf
249        cflags="$cflags -DWITH_RDPSND"
250    else
251        echo "WARNING: sound support disabled (no /usr/include/sys/soundcard.h or /usr/include/sys/audio.h)"
252        echo "Currently supported systems are Open Sound System and Sun"
253        echo
254    fi
255    
256    
257  # Platform-specific options  # Platform-specific options
258    
# Line 222  esac Line 271  esac
271    
272  echo "CFLAGS      = $cflags" >>Makeconf  echo "CFLAGS      = $cflags" >>Makeconf
273  echo "LDFLAGS     = $ldflags" >>Makeconf  echo "LDFLAGS     = $ldflags" >>Makeconf
274    echo "TARGETS     = $targets" >>Makeconf
275    
276  echo "configure complete - now run make"  echo "configure complete - now run make"
277    

Legend:
Removed from v.298  
changed lines
  Added in v.476

  ViewVC Help
Powered by ViewVC 1.1.26