/[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 341 by forsberg, Thu Mar 6 15:36:28 2003 UTC revision 605 by stargo, Sat Feb 14 22:54:38 2004 UTC
# Line 62  case $arg in Line 62  case $arg in
62    --with-debug-rdp5)    --with-debug-rdp5)
63      cflags="$cflags -g -DWITH_DEBUG_RDP5"      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      --with-ipv6)
71        cflags="$cflags -DIPv6"
72        ;;
73    *)    *)
74      echo "Target directories:"      echo "Target directories:"
75      echo " --prefix=PREFIX         location for architecture-independent files"      echo " --prefix=PREFIX         location for architecture-independent files"
# Line 75  case $arg in Line 81  case $arg in
81      echo "Build configuration:"      echo "Build configuration:"
82      echo " --with-x=DIR            look for X Window System at DIR/include, DIR/lib"      echo " --with-x=DIR            look for X Window System at DIR/include, DIR/lib"
83      echo " --with-openssl=DIR      look for OpenSSL at DIR/include, DIR/lib"      echo " --with-openssl=DIR      look for OpenSSL at DIR/include, DIR/lib"
84      echo " --without-openssl       use in-tree crypto, even if OpenSSL is available"      #echo " --without-openssl       use in-tree crypto, even if OpenSSL is available"
85      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"
86      echo " --with-libvncserver     make rdp2vnc"      echo " --with-libvncserver     make rdp2vnc"
87      echo " --with-libvncserver-config=CMD"      echo " --with-libvncserver-config=CMD"
88      echo "                         use CMD as libvncserver-config"      echo "                         use CMD as libvncserver-config"
89      echo " --with-debug            enable protocol debugging output"      echo " --with-debug            enable protocol debugging output"
90      echo " --with-debug-kbd        enable debugging of keyboard handling"      echo " --with-debug-kbd        enable debugging of keyboard handling"
91        echo " --with-debug-rdp5       enable debugging of RDP5 code"
92        echo " --with-debug-clipboard  enable debugging of clipboard code"
93        echo " --with-ipv6             enable support for IPv6"
94      echo      echo
95      rm -f Makeconf      rm -f Makeconf
96      exit 1      exit 1
# Line 116  else Line 125  else
125  fi  fi
126    
127    
128    # Find install program
129    
130    if [ -z "$INSTALL" ]; then
131        # Want BSD install
132        if [ -x /usr/ucb/installbsd ]; then
133            INSTALL=/usr/ucb/installbsd
134        elif [ -x /usr/ucb/install ]; then
135            INSTALL=/usr/ucb/install
136        else
137            INSTALL=install
138        fi
139    fi
140    
141    echo "INSTALL     = $INSTALL" >>Makeconf
142    
143    
144  # Find X installation  # Find X installation
145    
146  xdirs="$extraxdir /usr/X11R6 /usr/X11 /usr/openwin /usr /usr/local/X11R6 /usr/local/X11 /usr/local"  xdirs="$extraxdir /usr/X11R6 /usr/X11 /usr/openwin /usr /usr/local/X11R6 /usr/local/X11 /usr/local"
# Line 132  if [ -z "$xdir" ]; then Line 157  if [ -z "$xdir" ]; then
157      echo "(searched for include/X11/Xlib.h in: $xdirs)"      echo "(searched for include/X11/Xlib.h in: $xdirs)"
158    
159      # additional helpful information for Linux users      # additional helpful information for Linux users
160      if [ -f /etc/redhat_release ]; then      if [ -f /etc/redhat-release ]; then
161        echo You probably need to install the XFree86-devel package        echo You probably need to install the XFree86-devel package
162      elif [ -f /etc/debian_version ]; then      elif [ -f /etc/debian_version ]; then
163        echo You probably need to install the xlibs-dev package        echo You probably need to install the xlibs-dev package
# Line 154  fi Line 179  fi
179  ldflags="$ldflags"  ldflags="$ldflags"
180  targets="$targets rdesktop"  targets="$targets rdesktop"
181    
182  if [ -z "$withoutopenssl" ]; then  #withoutopenssl not currently supported
183    #if [ -z "$withoutopenssl" ]; then
184      # Find OpenSSL installation if available      # Find OpenSSL installation if available
185      ssldirs="$extrassldir /usr/openssl /usr/ssl /usr /usr/local/openssl /usr/local/ssl /usr/local"      ssldirs="$extrassldir /usr/openssl /usr/ssl /usr /usr/local/openssl /usr/local/ssl /usr/local"
186            
# Line 166  if [ -z "$withoutopenssl" ]; then Line 192  if [ -z "$withoutopenssl" ]; then
192      done      done
193            
194      if [ -z "$ssldir" ]; then      if [ -z "$ssldir" ]; then
195          echo "WARNING: could not find OpenSSL headers"          echo "ERROR: could not find OpenSSL headers"
196          echo "(searched for include/openssl/rc4.h in: $ssldirs)"          echo "(searched for include/openssl/rc4.h in: $ssldirs)"
197          echo "Using in-tree crypto; installing OpenSSL is recommended."          # additional helpful information for Linux users
198          echo          if [ -f /etc/redhat-release ]; then
199                echo You probably need to install the openssl-devel package
200            elif [ -f /etc/debian_version ]; then
201                echo You probably need to install the libssl-dev package
202            fi
203            exit 1
204      else      else
205          echo "OpenSSL:"          echo "OpenSSL:"
206          echo "  includes  $ssldir/include"          echo "  includes  $ssldir/include"
# Line 187  if [ -z "$withoutopenssl" ]; then Line 218  if [ -z "$withoutopenssl" ]; then
218          cflags="$cflags -DWITH_OPENSSL"          cflags="$cflags -DWITH_OPENSSL"
219          ldflags="$ldflags -lcrypto"          ldflags="$ldflags -lcrypto"
220      fi      fi
221  fi  #fi
222            
223  if [ ! -z "$withvncserver" ]; then  if [ ! -z "$withvncserver" ]; then
224      if [ -z "$vncserverconfig" ]; then      if [ -z "$vncserverconfig" ]; then
# Line 230  if [ ! -c /dev/random -a ! -c /dev/urand Line 261  if [ ! -c /dev/random -a ! -c /dev/urand
261      fi      fi
262  fi  fi
263    
264    # Check for OSS sound support
265    
266    if [ -f /usr/include/sys/soundcard.h ]; then
267        echo Sound support enabled: Open Sound System
268        echo
269        echo "SOUNDOBJ    = rdpsnd.o rdpsnd_oss.o" >>Makeconf
270        cflags="$cflags -DWITH_RDPSND"
271    elif [ -f /usr/include/sys/audioio.h ]; then
272        echo Sound support enabled: Sun/BSD
273        echo
274        echo "SOUNDOBJ    = rdpsnd.o rdpsnd_sun.o" >>Makeconf
275        cflags="$cflags -DWITH_RDPSND"
276    else
277        echo "WARNING: sound support disabled (no /usr/include/sys/soundcard.h or /usr/include/sys/audioio.h)"
278        echo "Currently supported systems are Open Sound System and Sun"
279        echo
280    fi
281    
282    
283  # Platform-specific options  # Platform-specific options
284    
# Line 243  case `uname -s` in Line 292  case `uname -s` in
292    OSF1)    OSF1)
293      ldflags="$ldflags -Wl,-rpath,$rpath"      ldflags="$ldflags -Wl,-rpath,$rpath"
294      ;;      ;;
295      HP-UX)
296        cflags="$cflags -D_XOPEN_SOURCE_EXTENDED"
297        ;;
298  esac  esac
299    
300    

Legend:
Removed from v.341  
changed lines
  Added in v.605

  ViewVC Help
Powered by ViewVC 1.1.26