/[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 451 by matthewc, Thu Aug 28 03:13:51 2003 UTC revision 536 by matthewc, Fri Oct 31 04:29:57 2003 UTC
# Line 78  case $arg in Line 78  case $arg in
78      echo "Build configuration:"      echo "Build configuration:"
79      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"
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"      echo " --with-libvncserver     make rdp2vnc"
84      echo " --with-libvncserver-config=CMD"      echo " --with-libvncserver-config=CMD"
# Line 121  else Line 121  else
121  fi  fi
122    
123    
124    # Find install program
125    
126    if [ -z "$INSTALL" ]; then
127        # Want BSD install
128        if [ -x /usr/ucb/installbsd ]; then
129            INSTALL=/usr/ucb/installbsd
130        elif [ -x /usr/ucb/install ]; then
131            INSTALL=/usr/ucb/install
132        else
133            INSTALL=install
134        fi
135    fi
136    
137    echo "INSTALL     = $INSTALL" >>Makeconf
138    
139    
140  # Find X installation  # Find X installation
141    
142  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 159  fi Line 175  fi
175  ldflags="$ldflags"  ldflags="$ldflags"
176  targets="$targets rdesktop"  targets="$targets rdesktop"
177    
178  if [ -z "$withoutopenssl" ]; then  #withoutopenssl not currently supported
179    #if [ -z "$withoutopenssl" ]; then
180      # Find OpenSSL installation if available      # Find OpenSSL installation if available
181      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"
182            
# Line 171  if [ -z "$withoutopenssl" ]; then Line 188  if [ -z "$withoutopenssl" ]; then
188      done      done
189            
190      if [ -z "$ssldir" ]; then      if [ -z "$ssldir" ]; then
191          echo "WARNING: could not find OpenSSL headers"          echo "ERROR: could not find OpenSSL headers"
192          echo "(searched for include/openssl/rc4.h in: $ssldirs)"          echo "(searched for include/openssl/rc4.h in: $ssldirs)"
193          echo "Using in-tree crypto; installing OpenSSL is recommended."          # additional helpful information for Linux users
194          echo          if [ -f /etc/redhat-release ]; then
195                echo You probably need to install the openssl-devel package
196            elif [ -f /etc/debian_version ]; then
197                echo You probably need to install the libssl-dev package
198            fi
199            exit 1
200      else      else
201          echo "OpenSSL:"          echo "OpenSSL:"
202          echo "  includes  $ssldir/include"          echo "  includes  $ssldir/include"
# Line 192  if [ -z "$withoutopenssl" ]; then Line 214  if [ -z "$withoutopenssl" ]; then
214          cflags="$cflags -DWITH_OPENSSL"          cflags="$cflags -DWITH_OPENSSL"
215          ldflags="$ldflags -lcrypto"          ldflags="$ldflags -lcrypto"
216      fi      fi
217  fi  #fi
218            
219  if [ ! -z "$withvncserver" ]; then  if [ ! -z "$withvncserver" ]; then
220      if [ -z "$vncserverconfig" ]; then      if [ -z "$vncserverconfig" ]; then
# Line 235  if [ ! -c /dev/random -a ! -c /dev/urand Line 257  if [ ! -c /dev/random -a ! -c /dev/urand
257      fi      fi
258  fi  fi
259    
260    # Check for OSS sound support
261    
262    if [ -f /usr/include/sys/soundcard.h ]; then
263        echo Sound support enabled: Open Sound System
264        echo
265        echo "SOUNDOBJ    = rdpsnd.o rdpsnd_oss.o" >>Makeconf
266        cflags="$cflags -DWITH_RDPSND"
267    elif [ -f /usr/include/sys/audioio.h ]; then
268        echo Sound support enabled: Sun
269        echo
270        echo "SOUNDOBJ    = rdpsnd.o rdpsnd_sun.o" >>Makeconf
271        cflags="$cflags -DWITH_RDPSND"
272    else
273        echo "WARNING: sound support disabled (no /usr/include/sys/soundcard.h or /usr/include/sys/audio.h)"
274        echo "Currently supported systems are Open Sound System and Sun"
275        echo
276    fi
277    
278    
279  # Platform-specific options  # Platform-specific options
280    
# Line 248  case `uname -s` in Line 288  case `uname -s` in
288    OSF1)    OSF1)
289      ldflags="$ldflags -Wl,-rpath,$rpath"      ldflags="$ldflags -Wl,-rpath,$rpath"
290      ;;      ;;
291      HP-UX)
292        cflags="$cflags -D_XOPEN_SOURCE_EXTENDED"
293        ;;
294  esac  esac
295    
296    

Legend:
Removed from v.451  
changed lines
  Added in v.536

  ViewVC Help
Powered by ViewVC 1.1.26