/[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

Contents of /sourceforge.net/trunk/rdesktop/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 98 - (show annotations)
Wed Aug 14 14:43:25 2002 UTC (21 years, 9 months ago) by astrand
File size: 1765 byte(s)
Added DESTDIR and --sharedir support. Uses DESTDIR in .spec

1 #!/bin/sh
2 #
3 # rdesktop: A Remote Desktop Protocol client
4 # configure script
5 # Copyright (C) Matthew Chapman 1999-2001
6 #
7
8 echo "# Generated by $0 $*" >Makeconf
9
10 for arg in $*; do
11 optarg=`echo $arg | sed 's/[-a-z]*=//'`
12 case $arg in
13 --prefix=*)
14 echo "PREFIX = $optarg" >>Makeconf
15 ;;
16 --exec-prefix=*)
17 echo "EPREFIX = $optarg" >>Makeconf
18 ;;
19 --bindir=*)
20 echo "BINDIR = $optarg" >>Makeconf
21 ;;
22 --mandir=*)
23 echo "MANDIR = $optarg" >>Makeconf
24 ;;
25 --sharedir=*)
26 echo "SHAREDIR = $optarg" >>Makeconf
27 ;;
28 --with-openssl*)
29 echo "CFLAGS += -DWITH_OPENSSL" >>Makeconf
30 echo "LDLIBS += -lcrypto" >>Makeconf
31 echo "CRYPTOBJ =" >>Makeconf
32 ;;
33 --without-openssl*)
34 ;;
35 --with-debug)
36 echo "CFLAGS += -g -DWITH_DEBUG" >>Makeconf
37 ;;
38 --with-debug-kbd)
39 echo "CFLAGS += -g -DWITH_DEBUG_KBD" >>Makeconf
40 ;;
41 --without-debug*)
42 ;;
43 *)
44 echo "rdesktop build configuration script"
45 echo
46 echo "Target directories:"
47 echo " --prefix=PREFIX location for architecture-independent files"
48 echo " --exec-prefix=EPREFIX location for architecture-dependent files"
49 echo " --bindir=BINDIR location for program binaries [EPREFIX/bin]"
50 echo " --mandir=MANDIR location for man pages [PREFIX/man]"
51 echo " --sharedir=SHAREDIR location for architecture-independent shared files [PREFIX/share/rdesktop]"
52 echo
53 echo "Build configuration:"
54 echo " --with-openssl use system OpenSSL libraries for crypto"
55 echo " --with-debug enable debugging output"
56 echo " --with-debug-kbd enable debugging of keyboard handling"
57 echo
58 rm -f Makeconf
59 exit 1
60 ;;
61 esac
62 done
63
64 echo "configure complete - now run make"

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26