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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 98 - (hide 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 matty 30 #!/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 matty 32 echo "PREFIX = $optarg" >>Makeconf
15 matty 30 ;;
16     --exec-prefix=*)
17 matty 32 echo "EPREFIX = $optarg" >>Makeconf
18 matty 30 ;;
19     --bindir=*)
20 matty 32 echo "BINDIR = $optarg" >>Makeconf
21 matty 30 ;;
22     --mandir=*)
23 matty 32 echo "MANDIR = $optarg" >>Makeconf
24 matty 30 ;;
25 astrand 98 --sharedir=*)
26     echo "SHAREDIR = $optarg" >>Makeconf
27     ;;
28 matty 32 --with-openssl*)
29     echo "CFLAGS += -DWITH_OPENSSL" >>Makeconf
30     echo "LDLIBS += -lcrypto" >>Makeconf
31     echo "CRYPTOBJ =" >>Makeconf
32     ;;
33     --without-openssl*)
34     ;;
35 astrand 63 --with-debug)
36 matty 32 echo "CFLAGS += -g -DWITH_DEBUG" >>Makeconf
37 matty 30 ;;
38 astrand 63 --with-debug-kbd)
39     echo "CFLAGS += -g -DWITH_DEBUG_KBD" >>Makeconf
40     ;;
41 matty 30 --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 astrand 98 echo " --sharedir=SHAREDIR location for architecture-independent shared files [PREFIX/share/rdesktop]"
52 matty 30 echo
53     echo "Build configuration:"
54 matty 32 echo " --with-openssl use system OpenSSL libraries for crypto"
55 matty 30 echo " --with-debug enable debugging output"
56 astrand 66 echo " --with-debug-kbd enable debugging of keyboard handling"
57 matty 30 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