Changeset 922
- Timestamp:
- 06/12/07 17:16:04 (1 year ago)
- Files:
-
- 1.8.3/branches/experimental/CHANGES.182 (modified) (1 diff)
- 1.8.3/branches/experimental/CHANGES.183 (modified) (3 diffs)
- 1.8.3/branches/experimental/MANIFEST (modified) (3 diffs)
- 1.8.3/branches/experimental/Makefile.in (modified) (8 diffs)
- 1.8.3/branches/experimental/Patchlevel (modified) (1 diff)
- 1.8.3/branches/experimental/README.SSL (modified) (1 diff)
- 1.8.3/branches/experimental/aclocal.m4 (modified) (6 diffs)
- 1.8.3/branches/experimental/configure (modified) (14 diffs)
- 1.8.3/branches/experimental/configure.in (modified) (2 diffs)
- 1.8.3/branches/experimental/game/txt/hlp/pennfunc.hlp (modified) (4 diffs)
- 1.8.3/branches/experimental/game/txt/hlp/pennv182.hlp (modified) (1 diff)
- 1.8.3/branches/experimental/game/txt/hlp/pennv183.hlp (modified) (1 diff)
- 1.8.3/branches/experimental/game/txt/hlp/pennvOLD.hlp (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/access.h (modified) (3 diffs)
- 1.8.3/branches/experimental/hdrs/ansi.h (modified) (5 diffs)
- 1.8.3/branches/experimental/hdrs/atr_tab.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/attrib.h (modified) (8 diffs)
- 1.8.3/branches/experimental/hdrs/boolexp.h (modified) (2 diffs)
- 1.8.3/branches/experimental/hdrs/bufferq.h (modified) (2 diffs)
- 1.8.3/branches/experimental/hdrs/case.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/chunk.h (modified) (2 diffs)
- 1.8.3/branches/experimental/hdrs/command.h (modified) (8 diffs)
- 1.8.3/branches/experimental/hdrs/compile.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/conf.h (modified) (7 diffs)
- 1.8.3/branches/experimental/hdrs/csrimalloc.h (modified) (3 diffs)
- 1.8.3/branches/experimental/hdrs/dbdefs.h (modified) (9 diffs)
- 1.8.3/branches/experimental/hdrs/extchat.h (modified) (7 diffs)
- 1.8.3/branches/experimental/hdrs/externs.h (modified) (22 diffs)
- 1.8.3/branches/experimental/hdrs/extmail.h (modified) (3 diffs)
- 1.8.3/branches/experimental/hdrs/flags.h (modified) (8 diffs)
- 1.8.3/branches/experimental/hdrs/function.h (modified) (8 diffs)
- 1.8.3/branches/experimental/hdrs/game.h (modified) (10 diffs)
- 1.8.3/branches/experimental/hdrs/getpgsiz.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/help.h (modified) (3 diffs)
- 1.8.3/branches/experimental/hdrs/htab.h (modified) (2 diffs)
- 1.8.3/branches/experimental/hdrs/ident.h (modified) (2 diffs)
- 1.8.3/branches/experimental/hdrs/lock.h (modified) (4 diffs)
- 1.8.3/branches/experimental/hdrs/log.h (modified) (3 diffs)
- 1.8.3/branches/experimental/hdrs/lookup.h (modified) (3 diffs)
- 1.8.3/branches/experimental/hdrs/malias.h (modified) (3 diffs)
- 1.8.3/branches/experimental/hdrs/match.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/mushdb.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/mushtype.h (modified) (4 diffs)
- 1.8.3/branches/experimental/hdrs/mymalloc.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/mysocket.h (modified) (6 diffs)
- 1.8.3/branches/experimental/hdrs/myssl.h (modified) (2 diffs)
- 1.8.3/branches/experimental/hdrs/oldflags.h (modified) (5 diffs)
- 1.8.3/branches/experimental/hdrs/parse.h (modified) (3 diffs)
- 1.8.3/branches/experimental/hdrs/pcre.h (modified) (6 diffs)
- 1.8.3/branches/experimental/hdrs/privtab.h (modified) (2 diffs)
- 1.8.3/branches/experimental/hdrs/ptab.h (modified) (2 diffs)
- 1.8.3/branches/experimental/hdrs/shs.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/sort.h (modified) (2 diffs)
- 1.8.3/branches/experimental/hdrs/ssl_slave.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/strtree.h (modified) (2 diffs)
- 1.8.3/branches/experimental/hdrs/switches.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/version.h (modified) (1 diff)
- 1.8.3/branches/experimental/hdrs/wait.h (modified) (2 diffs)
- 1.8.3/branches/experimental/src/Makefile.in (modified) (1 diff)
- 1.8.3/branches/experimental/src/access.c (modified) (16 diffs)
- 1.8.3/branches/experimental/src/atr_tab.c (modified) (6 diffs)
- 1.8.3/branches/experimental/src/attrib.c (modified) (53 diffs)
- 1.8.3/branches/experimental/src/boolexp.c (modified) (32 diffs)
- 1.8.3/branches/experimental/src/bsd.c (modified) (126 diffs)
- 1.8.3/branches/experimental/src/bufferq.c (modified) (2 diffs)
- 1.8.3/branches/experimental/src/chunk.c (modified) (60 diffs)
- 1.8.3/branches/experimental/src/cmdlocal.dst (modified) (1 diff)
- 1.8.3/branches/experimental/src/cmds.c (modified) (23 diffs)
- 1.8.3/branches/experimental/src/command.c (modified) (41 diffs)
- 1.8.3/branches/experimental/src/comp_h.c (modified) (14 diffs)
- 1.8.3/branches/experimental/src/comp_w.c (modified) (10 diffs)
- 1.8.3/branches/experimental/src/comp_w8.c (modified) (10 diffs)
- 1.8.3/branches/experimental/src/compress.c (modified) (2 diffs)
- 1.8.3/branches/experimental/src/conf.c (modified) (44 diffs)
- 1.8.3/branches/experimental/src/cque.c (modified) (42 diffs)
- 1.8.3/branches/experimental/src/create.c (modified) (17 diffs)
- 1.8.3/branches/experimental/src/csrimalloc.c (modified) (91 diffs)
- 1.8.3/branches/experimental/src/db.c (modified) (46 diffs)
- 1.8.3/branches/experimental/src/destroy.c (modified) (37 diffs)
- 1.8.3/branches/experimental/src/extchat.c (modified) (81 diffs)
- 1.8.3/branches/experimental/src/extmail.c (modified) (80 diffs)
- 1.8.3/branches/experimental/src/filecopy.c (modified) (9 diffs)
- 1.8.3/branches/experimental/src/flags.c (modified) (67 diffs)
- 1.8.3/branches/experimental/src/funcrypt.c (modified) (2 diffs)
- 1.8.3/branches/experimental/src/function.c (modified) (33 diffs)
- 1.8.3/branches/experimental/src/fundb.c (modified) (50 diffs)
- 1.8.3/branches/experimental/src/funlist.c (modified) (81 diffs)
- 1.8.3/branches/experimental/src/funmath.c (modified) (27 diffs)
- 1.8.3/branches/experimental/src/funmisc.c (modified) (21 diffs)
- 1.8.3/branches/experimental/src/funstr.c (modified) (49 diffs)
- 1.8.3/branches/experimental/src/funtime.c (modified) (15 diffs)
- 1.8.3/branches/experimental/src/funufun.c (modified) (17 diffs)
- 1.8.3/branches/experimental/src/game.c (modified) (88 diffs)
- 1.8.3/branches/experimental/src/help.c (modified) (14 diffs)
- 1.8.3/branches/experimental/src/htab.c (modified) (15 diffs)
- 1.8.3/branches/experimental/src/ident.c (modified) (14 diffs)
- 1.8.3/branches/experimental/src/info_master.c (modified) (10 diffs)
- 1.8.3/branches/experimental/src/info_slave.c (modified) (22 diffs)
- 1.8.3/branches/experimental/src/local.dst (modified) (7 diffs)
- 1.8.3/branches/experimental/src/lock.c (modified) (13 diffs)
- 1.8.3/branches/experimental/src/log.c (modified) (7 diffs)
- 1.8.3/branches/experimental/src/look.c (modified) (66 diffs)
- 1.8.3/branches/experimental/src/malias.c (modified) (33 diffs)
- 1.8.3/branches/experimental/src/markup.c (modified) (46 diffs)
- 1.8.3/branches/experimental/src/match.c (modified) (19 diffs)
- 1.8.3/branches/experimental/src/memcheck.c (modified) (3 diffs)
- 1.8.3/branches/experimental/src/move.c (modified) (41 diffs)
- 1.8.3/branches/experimental/src/myrlimit.c (modified) (3 diffs)
- 1.8.3/branches/experimental/src/mysocket.c (modified) (64 diffs)
- 1.8.3/branches/experimental/src/myssl.c (modified) (12 diffs)
- 1.8.3/branches/experimental/src/notify.c (modified) (34 diffs)
- 1.8.3/branches/experimental/src/parse.c (modified) (20 diffs)
- 1.8.3/branches/experimental/src/pcre.c (modified) (229 diffs)
- 1.8.3/branches/experimental/src/player.c (modified) (22 diffs)
- 1.8.3/branches/experimental/src/plyrlist.c (modified) (3 diffs)
- 1.8.3/branches/experimental/src/portmsg.c (modified) (1 diff)
- 1.8.3/branches/experimental/src/predicat.c (modified) (39 diffs)
- 1.8.3/branches/experimental/src/privtab.c (modified) (10 diffs)
- 1.8.3/branches/experimental/src/ptab.c (modified) (11 diffs)
- 1.8.3/branches/experimental/src/rob.c (modified) (15 diffs)
- 1.8.3/branches/experimental/src/services.c (modified) (35 diffs)
- 1.8.3/branches/experimental/src/set.c (modified) (33 diffs)
- 1.8.3/branches/experimental/src/shs.c (modified) (7 diffs)
- 1.8.3/branches/experimental/src/sig.c (modified) (3 diffs)
- 1.8.3/branches/experimental/src/sort.c (modified) (8 diffs)
- 1.8.3/branches/experimental/src/speech.c (modified) (35 diffs)
- 1.8.3/branches/experimental/src/sql.c (modified) (20 diffs)
- 1.8.3/branches/experimental/src/ssl_slave.c (modified) (30 diffs)
- 1.8.3/branches/experimental/src/strtree.c (modified) (11 diffs)
- 1.8.3/branches/experimental/src/strutil.c (modified) (24 diffs)
- 1.8.3/branches/experimental/src/switchinc.c (modified) (1 diff)
- 1.8.3/branches/experimental/src/timer.c (modified) (11 diffs)
- 1.8.3/branches/experimental/src/unparse.c (modified) (5 diffs)
- 1.8.3/branches/experimental/src/utils.c (modified) (21 diffs)
- 1.8.3/branches/experimental/src/version.c (modified) (1 diff)
- 1.8.3/branches/experimental/src/wait.c (modified) (2 diffs)
- 1.8.3/branches/experimental/src/warnings.c (modified) (13 diffs)
- 1.8.3/branches/experimental/src/wild.c (modified) (25 diffs)
- 1.8.3/branches/experimental/src/wiz.c (modified) (73 diffs)
- 1.8.3/branches/experimental/test/testletq.pl (copied) (copied from 1.8.3/branches/devel/test/testletq.pl)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.3/branches/experimental/CHANGES.182
r878 r922 15 15 ========================================================================== 16 16 17 Version 1.8. 2 patchlevel 5 ??? ??, 200717 Version 1.8.3 patchlevel 5 June 13, 2007 18 18 19 19 Minor changes: 1.8.3/branches/experimental/CHANGES.183
r897 r922 15 15 ========================================================================== 16 16 17 Version 1.8.3 patchlevel 3 ??? ??, 200717 Version 1.8.3 patchlevel 3 June 13, 2007 18 18 19 19 Minor changes: 20 20 * The sockets used to talk to info_slave changed from streams 21 to datagrams, simpl ying code. [SW]21 to datagrams, simplifying code. [SW] 22 22 * info_slave deals better with simultaneous connections. [SW] 23 * info_slave temporarily requires the presence of the socketpair(2)24 function. [SW]23 * info_slave requires the presence of the socketpair(2) function. 24 It was already using it anyways. 25 25 * Use of some system calls with portability issues encapsulated in 26 26 wrapper functions. [SW] … … 35 35 * ctime() and mtime() take an optional second argument to control which 36 36 time zone the time is displayed for: UTC or the server's. [SW] 37 * fn() by Javelin 38 * letq(). Suggested by Nathan Baum. [SW] 37 39 38 40 Fixes: 39 41 * Assorted compiler warning fixes. [SW] 40 * Won't compileon OS X 10.3. Reported by Viila. [SW]42 * Compile fix on OS X 10.3. Reported by Viila. [SW] 41 43 * @sql wasn't enabled if Sqlite3 was the only database turned on. 42 44 Reported by qa'toq. … … 50 52 * User locks were broken in the last patch. Reported by Michael Brazaitis. 51 53 [SW] 54 * ./configure --without-ssl works. Reported by Starr. [SW] 55 * objid matcher didn't work properly. [SW] 56 * Many functions that used parse_dbref updated to use parse_objid, 57 to see more objid compliance. [GM] 52 58 53 59 Version 1.8.3 patchlevel 2 May 16, 2007 1.8.3/branches/experimental/MANIFEST
r897 r922 139 139 hints/win32-gcc.sh 140 140 hints/win32.sh 141 hints/README 141 142 options.h.dist 142 143 po/Makefile … … 240 241 test/testhastype.pl 241 242 test/testinsert.pl 243 test/testletq.pl 242 244 test/testmath.pl 243 245 test/testnull.pl … … 256 258 utils/mkvershlp.pl 257 259 utils/README.txt 260 utils/splint.sh 258 261 utils/typedefs.scm 259 262 utils/update-cnf.pl 1.8.3/branches/experimental/Makefile.in
r827 r922 2 2 3 3 # - System configuration - # 4 5 VERSION=1.8.3 6 PATCHLEVEL=3 4 7 5 8 # … … 44 47 @echo "it said that config.h was unchanged, 'touch config.h'" 45 48 @echo "to suppress this message and continue compiling." 46 exit 149 @exit 1 47 50 48 51 options.h: options.h.dist 49 52 @echo "Please use 'make update' to update your options.h file from options.h.dist" 50 53 @echo "You must cp options.h.dist to options.h and edit it." 51 exit 154 @exit 1 52 55 53 56 autogen: hdrs/cmds.h hdrs/funs.h hdrs/switches.h … … 93 96 "LDFLAGS=$(LDFLAGS)" "CLIBS=$(CLIBS)" ) 94 97 95 announce:96 (cd src; make announce "CC=$(CC)" "CCFLAGS=$(CCFLAGS)" \97 "LDFLAGS=$(LDFLAGS)" "CLIBS=$(CLIBS)" )98 99 98 ssl_slave: 100 99 (cd src; make ssl_slave "CC=$(CC)" "CCFLAGS=$(CCFLAGS)" \ … … 124 123 indent: 125 124 @(cd src; make indent) 126 127 protoize:128 (cd src; make protoize "CCFLAGS=$(CCFLAGS)")129 125 130 126 customize: update-conf … … 177 173 distclean: 178 174 (cd hdrs; rm -f *.orig *~ \#* *.rej *.bak funs.h cmds.h buildinf.h patches.h) 179 (cd utils; rm -f *.orig *~ \#* *.rej *.bak mkcmds.sh )175 (cd utils; rm -f *.orig *~ \#* *.rej *.bak mkcmds.sh *.o) 180 176 (cd game; rm -rf *.log netmush info_slave *.orig *.rej *~ *.bak mush.cnf) 181 (cd os2; rm -rf *.rej *.orig *~ *.bak)182 177 (cd src; make distclean; rm -f Makefile) 183 178 (cd game/txt; make clean) … … 188 183 (cd src; rm -rf *.rej) 189 184 -rm -f Makefile 190 191 distci: distclean ci-src ci-game192 193 ci-src:194 -(yes . | ci -l -f -N$(NAME) FAQ* BUGS COPY* CHANGE* READ* MANIFEST \195 Configure utils/* Makefile.SH Patchlevel config_h.SH confmagic.h \196 *.dist src/Makefile src/SWITCHES src/*.c src/*.dst \197 hdrs/* hints/* os2/*)198 199 ci-game:200 -(yes . | ci -l -f -N$(NAME) game/restart game/mushcnf.dst \201 game/access.README \202 game/txt/* game/txt/nws/* game/txt/evt/* game/txt/hlp/* )203 185 204 186 diffs: … … 209 191 @(prcs diff -r$(VS) -N pennmush `cat MANIFEST` | grep -v 'Index:') 210 192 211 checkin: versions autogen212 @prcs checkin213 214 193 commit: indent 215 194 @svn commit … … 225 204 (cd src; make ctags) 226 205 227 dist.tar.Z: distclean dist.tar228 compress /tmp/dist.tar229 230 dist.tar.gz: distclean dist.tar231 gzip /tmp/dist.tar232 233 206 touchswitches: 234 207 @@TOUCH@ src/SWITCHES 235 208 236 dist.tar: indent distclean versions touchswitches autogen 237 makedist -c pennmush 238 tar -cvf /tmp/dist.tar pennmush 239 -pgp -sb /tmp/dist.tar 240 -rm -rf pennmush 241 242 CSRImalloc.tar.Z: 243 (cd src/CSRI; make clean) 244 (tar -cvFFf /tmp/CSRImalloc.tar `cat exclude.tar`) 245 compress /tmp/CSRImalloc.tar 209 dist.tar: 210 svn checkout svn+ssh://svn.pennmush.org/svn/pennmush/$(VERSION)/trunk 211 sed -e "s#^#pennmush-$(VERSION)p$(PATCHLEVEL)/#" < trunk/MANIFEST \ 212 > DISTFILES 213 mv -f trunk pennmush-$(VERSION)p$(PATCHLEVEL) 214 tar -cvf dist.tar --files-from=DISTFILES 215 -gpg -sb /tmp/dist.tar 216 bzip2 -k /tmp/dist.tar 217 openssl dgst -sha1 -out /tmp/dist.tar.bz2.sha1 /tmp/dist.tar.bz2 218 gzip -k /tmp/dist.tar 219 openssl dgst -sha1 -out /tmp/dist.tar.gz.sha1 /tmp/dist.tar.gz 220 -rm -rf pennmush-$(VERSION)p$(PATCHLEVEL) DISTFILES 246 221 247 222 globalinstall: install 1.8.3/branches/experimental/Patchlevel
r817 r922 1 1 Do not edit this file. It is maintained by the official PennMUSH patches. 2 This is PennMUSH 1.8.3p 22 This is PennMUSH 1.8.3p3 1.8.3/branches/experimental/README.SSL
r467 r922 52 52 The Configure script distributed with PennMUSH automatically detects 53 53 the OpenSSL libraries (libssl and libcrypto) and attempts to link 54 them into the executable, defining HA S_OPENSSL in config.h.55 If you have SSL libraries but wish to avoid linking with them,56 give the - D no_openssl argument to Configure when you run it.54 them into the executable, defining HAVE_SSL and HAS_OPENSSL in 55 config.h. If you have SSL libraries but wish to avoid linking with them, 56 give the --without-ssl argument to Configure when you run it. 57 57 58 58 You can compile the OpenSSL libraries yourself from source code 59 at http://www.openssl.org. 59 at http://www.openssl.org. If you install it through your OS'es 60 package management system, you need shared libraries and development 61 headers. (Packages with names like openssl, libssl, and -dev or -shlibs 62 prefixes are common. Exact names vary from OS to OS. You want at least 63 verison 0.9.7.) If OpenSSL gets installed in a place that isn't checked 64 by default, you can invoke configure with ./configure --with-ssl=/path/to 65 (The path must be the root directory of where OpenSSL's include/ and lib/ 66 directories are.) 60 67 61 68 OpenSSL can also be compiled on Windows, and you could add its 1.8.3/branches/experimental/aclocal.m4
r790 r922 93 93 fi 94 94 95 AC_MSG_CHECKING([for MySQL libraries]) 95 96 if test "$MYSQL_CONFIG" != "no"; then 96 AC_MSG_CHECKING([for MySQL libraries])97 97 98 98 MYSQL_CFLAGS="`$MYSQL_CONFIG --cflags`" … … 202 202 # the copyright notice and this notice are preserved. 203 203 204 AC_DEFUN( [CHECK_SSL],205 [AC_ MSG_CHECKING(if ssl is wanted)206 AC_ARG_WITH(ssl, 207 [ --with-ssl enable ssl [will check /usr/local/ssl208 /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr ] 204 AC_DEFUN(CHECK_SSL, 205 [AC_ARG_WITH(ssl, 206 207 [ 208 AC_HELP_STRING([--with-ssl=@<:@DIR@:>@], [look for OpenSSL in DIR (Use when it's not found with the default search path)]) 209 209 ], 210 [ AC_MSG_RESULT(yes) 211 for dir in $withval /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr; do 210 211 [ AS_IF([test "x$with_ssl" != xno], 212 [ AC_MSG_CHECKING([for OpenSSL]) 213 for dir in $with_ssl /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr; do 212 214 ssldir="$dir" 213 215 if test -f "$dir/include/openssl/ssl.h"; then 214 216 found_ssl="yes"; 215 217 CFLAGS="$CFLAGS -I$ssldir/include/"; 216 CXXFLAGS="$CXXFLAGS -I$ssldir/include/";217 218 break; 218 219 fi … … 220 221 found_ssl="yes"; 221 222 CFLAGS="$CFLAGS -I$ssldir/include/"; 222 CXXFLAGS="$CXXFLAGS -I$ssldir/include/"; 223 break 223 break; 224 224 fi 225 225 done 226 226 if test x_$found_ssl != x_yes; then 227 AC_MSG_ ERROR(Cannot find ssl libraries)227 AC_MSG_RESULT(no) 228 228 else 229 printf "OpenSSL found in $ssldir\n";229 AC_MSG_RESULT(yes) 230 230 LIBS="$LIBS -lssl -lcrypto"; 231 231 LDFLAGS="$LDFLAGS -L$ssldir/lib"; 232 HAVE_SSL=yes 232 HAVE_SSL="yes"; 233 AC_SUBST(HAVE_SSL) 233 234 fi 234 AC_SUBST(HAVE_SSL) 235 ], 235 ], 236 AC_MSG_NOTICE([ssl support disabled]) 237 )], 236 238 [ 237 AC_MSG_RESULT(no) 238 ]) 239 ])dnl 239 AC_MSG_CHECKING([for OpenSSL]) 240 for dir in /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr; do 241 ssldir="$dir" 242 if test -f "$dir/include/openssl/ssl.h"; then 243 found_ssl="yes"; 244 CFLAGS="$CFLAGS -I$ssldir/include/"; 245 break; 246 fi 247 if test -f "$dir/include/ssl.h"; then 248 found_ssl="yes"; 249 CFLAGS="$CFLAGS -I$ssldir/include/"; 250 break; 251 fi 252 done 253 if test x_$found_ssl != x_yes; then 254 AC_MSG_RESULT(no) 255 else 256 AC_MSG_RESULT(yes) 257 LIBS="$LIBS -lssl -lcrypto"; 258 LDFLAGS="$LDFLAGS -L$ssldir/lib"; 259 HAVE_SSL="yes"; 260 AC_SUBST(HAVE_SSL) 261 fi 262 ]) 263 ]) 240 264 241 265 ##### http://autoconf-archive.cryp.to/type_socklen_t.html … … 677 701 saved_CPPFLAGS="$CPPFLAGS" 678 702 CPPFLAGS="$CPPFLAGS $ac_sqlite3_cppflags" 679 680 AC_LANG_PUSH(C++)681 703 AC_COMPILE_IFELSE( 682 704 [ … … 684 706 [[ 685 707 #if (SQLITE_VERSION_NUMBER >= $sqlite3_version_req_number) 686 / / Everything is okay708 /* Everything is okay */ 687 709 #else 688 710 # error SQLite version is too old … … 700 722 ] 701 723 ) 702 AC_LANG_POP([C++])703 724 704 725 CPPFLAGS="$saved_CPPFLAGS" 1.8.3/branches/experimental/configure
r897 r922 675 675 POSTGRESQL_CFLAGS 676 676 POSTGRESQL_LDFLAGS 677 CXX678 CXXFLAGS679 ac_ct_CXX680 677 SQLITE3_CFLAGS 681 678 SQLITE3_LDFLAGS … … 692 689 CPPFLAGS 693 690 SENDMAIL 694 CPP 695 CXX 696 CXXFLAGS 697 CCC' 691 CPP' 698 692 699 693 … … 1270 1264 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1271 1265 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1272 --with-ssl enable ssl will check /usr/local/ssl 1273 /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr 1266 1267 --with-ssl=[DIR] look for OpenSSL in DIR (Use when it's not found 1268 with the default search path) 1274 1269 1275 1270 --with-mysql=[ARG] use MySQL client library [default=yes], optionally … … 1289 1284 SENDMAIL Path to sendmail 1290 1285 CPP C preprocessor 1291 CXX C++ compiler command1292 CXXFLAGS C++ compiler flags1293 1286 1294 1287 Use these variables to override the choices made by `configure' or to help … … 13100 13093 13101 13094 13102 with_ssl=set 13103 { echo "$as_me:$LINENO: checking if ssl is wanted" >&5 13104 echo $ECHO_N "checking if ssl is wanted... $ECHO_C" >&6; } 13095 # with_ssl=set 13105 13096 13106 13097 # Check whether --with-ssl was given. 13107 13098 if test "${with_ssl+set}" = set; then 13108 withval=$with_ssl; { echo "$as_me:$LINENO: result: yes" >&5 13109 echo "${ECHO_T}yes" >&6; } 13110 for dir in $withval /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr; do 13099 withval=$with_ssl; if test "x$with_ssl" != xno; then 13100 { echo "$as_me:$LINENO: checking for OpenSSL" >&5 13101 echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6; } 13102 for dir in $with_ssl /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr; do 13111 13103 ssldir="$dir" 13112 13104 if test -f "$dir/include/openssl/ssl.h"; then 13113 13105 found_ssl="yes"; 13114 13106 CFLAGS="$CFLAGS -I$ssldir/include/"; 13115 CXXFLAGS="$CXXFLAGS -I$ssldir/include/";13116 13107 break; 13117 13108 fi … … 13119 13110 found_ssl="yes"; 13120 13111 CFLAGS="$CFLAGS -I$ssldir/include/"; 13121 CXXFLAGS="$CXXFLAGS -I$ssldir/include/"; 13122 break 13112 break; 13123 13113 fi 13124 13114 done 13125 13115 if test x_$found_ssl != x_yes; then 13126 { { echo "$as_me:$LINENO: error: Cannot find ssl libraries" >&5 13127 echo "$as_me: error: Cannot find ssl libraries" >&2;} 13128 { (exit 1); exit 1; }; } 13116 { echo "$as_me:$LINENO: result: no" >&5 13117 echo "${ECHO_T}no" >&6; } 13129 13118 else 13130 printf "OpenSSL found in $ssldir\n"; 13119 { echo "$as_me:$LINENO: result: yes" >&5 13120 echo "${ECHO_T}yes" >&6; } 13131 13121 LIBS="$LIBS -lssl -lcrypto"; 13132 13122 LDFLAGS="$LDFLAGS -L$ssldir/lib"; 13133 HAVE_SSL=yes 13123 HAVE_SSL="yes"; 13124 13134 13125 fi 13135 13126 13136 13137 else 13138 13139 { echo "$as_me:$LINENO: result: no" >&5 13127 else 13128 { echo "$as_me:$LINENO: ssl support disabled" >&5 13129 echo "$as_me: ssl support disabled" >&6;} 13130 13131 fi 13132 13133 else 13134 13135 { echo "$as_me:$LINENO: checking for OpenSSL" >&5 13136 echo $ECHO_N "checking for OpenSSL... $ECHO_C" >&6; } 13137 for dir in /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr; do 13138 ssldir="$dir" 13139 if test -f "$dir/include/openssl/ssl.h"; then 13140 found_ssl="yes"; 13141 CFLAGS="$CFLAGS -I$ssldir/include/"; 13142 break; 13143 fi 13144 if test -f "$dir/include/ssl.h"; then 13145 found_ssl="yes"; 13146 CFLAGS="$CFLAGS -I$ssldir/include/"; 13147 break; 13148 fi 13149 done 13150 if test x_$found_ssl != x_yes; then 13151 { echo "$as_me:$LINENO: result: no" >&5 13140 13152 echo "${ECHO_T}no" >&6; } 13153 else 13154 { echo "$as_me:$LINENO: result: yes" >&5 13155 echo "${ECHO_T}yes" >&6; } 13156 LIBS="$LIBS -lssl -lcrypto"; 13157 LDFLAGS="$LDFLAGS -L$ssldir/lib"; 13158 HAVE_SSL="yes"; 13159 13160 fi 13141 13161 13142 13162 fi … … 13223 13243 fi 13224 13244 13245 { echo "$as_me:$LINENO: checking for MySQL libraries" >&5 13246 echo $ECHO_N "checking for MySQL libraries... $ECHO_C" >&6; } 13225 13247 if test "$MYSQL_CONFIG" != "no"; then 13226 { echo "$as_me:$LINENO: checking for MySQL libraries" >&513227 echo $ECHO_N "checking for MySQL libraries... $ECHO_C" >&6; }13228 13248 13229 13249 MYSQL_CFLAGS="`$MYSQL_CONFIG --cflags`" … … 13434 13454 13435 13455 13436 ac_ext=cpp13437 ac_cpp='$CXXCPP $CPPFLAGS'13438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'13439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'13440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu13441 if test -z "$CXX"; then13442 if test -n "$CCC"; then13443 CXX=$CCC13444 else13445 if test -n "$ac_tool_prefix"; then13446 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC13447 do13448 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.13449 set dummy $ac_tool_prefix$ac_prog; ac_word=$213450 { echo "$as_me:$LINENO: checking for $ac_word" >&513451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13452 if test "${ac_cv_prog_CXX+set}" = set; then13453 echo $ECHO_N "(cached) $ECHO_C" >&613454 else13455 if test -n "$CXX"; then13456 ac_cv_prog_CXX="$CXX" # Let the user override the test.13457 else13458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR13459 for as_dir in $PATH13460 do13461 IFS=$as_save_IFS13462 test -z "$as_dir" && as_dir=.13463 for ac_exec_ext in '' $ac_executable_extensions; do13464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then13465 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"13466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&513467 break 213468 fi13469 done13470 done13471 IFS=$as_save_IFS13472 13473 fi13474 fi13475 CXX=$ac_cv_prog_CXX13476 if test -n "$CXX"; then13477 { echo "$as_me:$LINENO: result: $CXX" >&513478 echo "${ECHO_T}$CXX" >&6; }13479 else13480 { echo "$as_me:$LINENO: result: no" >&513481 echo "${ECHO_T}no" >&6; }13482 fi13483 13484 13485 test -n "$CXX" && break13486 done13487 fi13488 if test -z "$CXX"; then13489 ac_ct_CXX=$CXX13490 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC13491 do13492 # Extract the first word of "$ac_prog", so it can be a program name with args.13493 set dummy $ac_prog; ac_word=$213494 { echo "$as_me:$LINENO: checking for $ac_word" >&513495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }13496 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then13497 echo $ECHO_N "(cached) $ECHO_C" >&613498 else13499 if test -n "$ac_ct_CXX"; then13500 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.13501 else13502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR13503 for as_dir in $PATH13504 do13505 IFS=$as_save_IFS13506 test -z "$as_dir" && as_dir=.13507 for ac_exec_ext in '' $ac_executable_extensions; do13508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then13509 ac_cv_prog_ac_ct_CXX="$ac_prog"13510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&513511 break 213512 fi13513 done13514 done13515 IFS=$as_save_IFS13516 13517 fi13518 fi13519 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX13520 if test -n "$ac_ct_CXX"; then13521 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&513522 echo "${ECHO_T}$ac_ct_CXX" >&6; }13523 else13524 { echo "$as_me:$LINENO: result: no" >&513525 echo "${ECHO_T}no" >&6; }13526 fi13527 13528 13529 test -n "$ac_ct_CXX" && break13530 done13531 13532 if test "x$ac_ct_CXX" = x; then13533 CXX="g++"13534 else13535 case $cross_compiling:$ac_tool_warned in13536 yes:)13537 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools13538 whose name does not start with the host triplet. If you think this13539 configuration is useful to you, please write to autoconf@gnu.org." >&513540 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools13541 whose name does not start with the host triplet. If you think this13542 configuration is useful to you, please write to autoconf@gnu.org." >&2;}13543 ac_tool_warned=yes ;;13544 esac13545 CXX=$ac_ct_CXX13546 fi13547 fi13548 13549 fi13550 fi13551 # Provide some information about the compiler.13552 echo "$as_me:$LINENO: checking for C++ compiler version" >&513553 ac_compiler=`set X $ac_compile; echo $2`13554 { (ac_try="$ac_compiler --version >&5"13555 case "(($ac_try" in13556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;13557 *) ac_try_echo=$ac_try;;13558 esac13559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&513560 (eval "$ac_compiler --version >&5") 2>&513561 ac_status=$?13562 echo "$as_me:$LINENO: \$? = $ac_status" >&513563 (exit $ac_status); }13564 { (ac_try="$ac_compiler -v >&5"13565 case "(($ac_try" in13566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;13567 *) ac_try_echo=$ac_try;;13568 esac13569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&513570 (eval "$ac_compiler -v >&5") 2>&513571 ac_status=$?13572 echo "$as_me:$LINENO: \$? = $ac_status" >&513573 (exit $ac_status); }13574 { (ac_try="$ac_compiler -V >&5"13575 case "(($ac_try" in13576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;13577 *) ac_try_echo=$ac_try;;13578 esac13579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&513580 (eval "$ac_compiler -V >&5") 2>&513581 ac_status=$?13582 echo "$as_me:$LINENO: \$? = $ac_status" >&513583 (exit $ac_status); }13584 13585 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&513586 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }13587 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then13588 echo $ECHO_N "(cached) $ECHO_C" >&613589 else13590 cat >conftest.$ac_ext <<_ACEOF13591 /* confdefs.h. */13592 _ACEOF13593 cat confdefs.h >>conftest.$ac_ext13594 cat >>conftest.$ac_ext <<_ACEOF13595 /* end confdefs.h. */13596 13597 int13598 main ()13599 {13600 #ifndef __GNUC__13601 choke me13602 #endif13603 13604 ;13605 return 0;13606 }13607 _ACEOF13608 rm -f conftest.$ac_objext13609 if { (ac_try="$ac_compile"13610 case "(($ac_try" in13611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;13612 *) ac_try_echo=$ac_try;;13613 esac13614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&513615 (eval "$ac_compile") 2>conftest.er113616 ac_status=$?13617 grep -v '^ *+' conftest.er1 >conftest.err13618 rm -f conftest.er113619 cat conftest.err >&513620 echo "$as_me:$LINENO: \$? = $ac_status" >&513621 (exit $ac_status); } &&13622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'13623 { (case "(($ac_try" in13624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;13625 *) ac_try_echo=$ac_try;;13626 esac13627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&513628 (eval "$ac_try") 2>&513629 ac_status=$?13630 echo "$as_me:$LINENO: \$? = $ac_status" >&513631 (exit $ac_status); }; } &&13632 { ac_try='test -s conftest.$ac_objext'13633 { (case "(($ac_try" in13634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;13635 *) ac_try_echo=$ac_try;;13636 esac13637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&513638 (eval "$ac_try") 2>&513639 ac_status=$?13640 echo "$as_me:$LINENO: \$? = $ac_status" >&513641 (exit $ac_status); }; }; then13642 ac_compiler_gnu=yes13643 else13644 echo "$as_me: failed program was:" >&513645 sed 's/^/| /' conftest.$ac_ext >&513646 13647 ac_compiler_gnu=no13648 fi13649 13650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext13651 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu13652 13653 fi13654 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&513655 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }13656 GXX=`test $ac_compiler_gnu = yes && echo yes`13657 ac_test_CXXFLAGS=${CXXFLAGS+set}13658 ac_save_CXXFLAGS=$CXXFLAGS13659 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&513660 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }13661 if test "${ac_cv_prog_cxx_g+set}" = set; then13662 echo $ECHO_N "(cached) $ECHO_C" >&613663 else13664 ac_save_cxx_werror_flag=$ac_cxx_werror_flag13665 ac_cxx_werror_flag=yes13666 ac_cv_prog_cxx_g=no13667 CXXFLAGS="-g"13668 cat >conftest.$ac_ext <<_ACEOF13669 /* confdefs.h. */13670
