/[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 189 by matthewc, Tue Sep 24 07:27:43 2002 UTC revision 207 by matthewc, Thu Sep 26 14:26:46 2002 UTC
# Line 2  Line 2 
2  #  #
3  # rdesktop: A Remote Desktop Protocol client  # rdesktop: A Remote Desktop Protocol client
4  # configure script  # configure script
5  # Copyright (C) Matthew Chapman 1999-2001  # Copyright (C) Matthew Chapman 1999-2002
6  #  #
7    
8    echo "rdesktop build configuration script"
9    echo
10    
11  echo "# Generated by $0 $*" >Makeconf  echo "# Generated by $0 $*" >Makeconf
12    
13    
# Line 44  case $arg in Line 47  case $arg in
47    --without-debug*)    --without-debug*)
48      ;;      ;;
49    *)    *)
     echo "rdesktop build configuration script"  
     echo  
50      echo "Target directories:"      echo "Target directories:"
51      echo " --prefix=PREFIX        location for architecture-independent files"      echo " --prefix=PREFIX        location for architecture-independent files"
52      echo " --exec-prefix=EPREFIX  location for architecture-dependent files"      echo " --exec-prefix=EPREFIX  location for architecture-dependent files"
# Line 78  esac Line 79  esac
79    
80  # Find X installation  # Find X installation
81    
82  xdirs="/usr /usr/X11R6 /usr/X11 /usr/openwin /usr/local /usr/local/X11R6 /usr/local/X11"  xdirs="/usr/X11R6 /usr/X11 /usr/openwin /usr /usr/local/X11R6 /usr/local/X11 /usr/local"
83    
84  for dir in $xdirs; do  for dir in $xdirs; do
85      if [ -f $dir/include/X11/Xlib.h ]; then      if [ -f $dir/include/X11/Xlib.h ]; then
# Line 100  if [ -z "$xdir" ]; then Line 101  if [ -z "$xdir" ]; then
101      exit 1      exit 1
102  fi  fi
103    
104    echo "X Window System:"
105    echo "  includes  $xdir/include"
106    echo "  libraries $xdir/lib"
107    echo
108    
109  if [ $xdir != "/usr" ]; then  if [ $xdir != "/usr" ]; then
110      cflags="$cflags -I$xdir/include"      cflags="$cflags -I$xdir/include"
111      ldflags="$ldflags -L$xdir/lib"      ldflags="$ldflags -L$xdir/lib"
# Line 113  ldflags="$ldflags -lX11" Line 119  ldflags="$ldflags -lX11"
119    
120  # Find OpenSSL installation if available  # Find OpenSSL installation if available
121    
122  ssldirs="/usr /usr/openssl /usr/ssl /usr/local /usr/local/openssl /usr/local/ssl"  ssldirs="/usr/openssl /usr/ssl /usr /usr/local/openssl /usr/local/ssl /usr/local"
123    
124  for dir in $ssldirs; do  for dir in $ssldirs; do
125      if [ -f $dir/include/openssl/rc4.h ]; then      if [ -f $dir/include/openssl/rc4.h ]; then
# Line 128  if [ -z "$ssldir" ]; then Line 134  if [ -z "$ssldir" ]; then
134      echo "Using in-tree crypto; installing OpenSSL is recommended."      echo "Using in-tree crypto; installing OpenSSL is recommended."
135      echo      echo
136  else  else
137        echo "OpenSSL:"
138        echo "  includes  $ssldir/include"
139        echo "  libraries $ssldir/lib"
140        echo
141    
142      echo "CRYPTOBJ    =" >>Makeconf      echo "CRYPTOBJ    =" >>Makeconf
143    
144      if [ $ssldir != "/usr" ]; then      if [ $ssldir != "/usr" ]; then

Legend:
Removed from v.189  
changed lines
  Added in v.207

  ViewVC Help
Powered by ViewVC 1.1.26