2 # From configure.ac Id: configure.ac.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by Autoconf 2.52 for GForge 3.0.
6 # Report bugs to <http://gforge.org/tracker/?group_id=1>.
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
14 # Copyright (c) 2003 Richard Offer. All rights reserved.
15 # Any local macros are licensed under the BSD license
18 # Avoid depending upon Character Ranges.
19 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22 as_cr_digits='0123456789'
23 as_cr_alnum=$as_cr_Letters$as_cr_digits
25 # Sed expression to map a string onto a valid variable name.
26 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
28 # Sed expression to map a string onto a valid CPP name.
29 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
31 # Be Bourne compatible
32 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
39 # Name of the executable.
40 as_me=`echo "$0" |sed 's,.*[\\/],,'`
42 if expr a : '\(a\)' >/dev/null 2>&1; then
48 rm -f conf$$ conf$$.exe conf$$.file
50 if ln -s conf$$.file conf$$ 2>/dev/null; then
51 # We could just check for DJGPP; but this test a) works b) is more generic
52 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
53 if test -f conf$$.exe; then
54 # Don't use ln at all; we don't have any links
59 elif ln conf$$.file conf$$ 2>/dev/null; then
64 rm -f conf$$ conf$$.exe conf$$.file
66 as_executable_p="test -f"
68 # Support unset when possible.
69 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
76 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
77 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
78 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
79 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
80 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
81 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
82 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
83 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
86 # We need space, tab and new line, in precisely that order.
92 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
95 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
96 # so uname gets run too.
97 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
104 ac_default_prefix=/usr/local
108 SHELL=${CONFIG_SHELL-/bin/sh}
110 # Maximum number of lines to put in a shell here document.
111 # This variable seems obsolete. It should probably be removed, and
112 # only ac_max_sed_lines should be used.
113 : ${ac_max_here_lines=38}
115 ac_unique_file="README.configure"
117 # Initialize some variables set by options.
119 ac_init_version=false
120 # The variables have the same names as the options, with
121 # dashes changed to underlines.
129 program_transform_name=s,x,x,
137 # Installation directory options.
138 # These are left unexpanded so users can "make install exec_prefix=/foo"
139 # and all the variables that are supposed to be based on exec_prefix
140 # by default will actually change.
141 # Use braces instead of parens because sh, perl, etc. also accept them.
142 bindir='${exec_prefix}/bin'
143 sbindir='${exec_prefix}/sbin'
144 libexecdir='${exec_prefix}/libexec'
145 datadir='${prefix}/share'
146 sysconfdir='${prefix}/etc'
147 sharedstatedir='${prefix}/com'
148 localstatedir='${prefix}/var'
149 libdir='${exec_prefix}/lib'
150 includedir='${prefix}/include'
151 oldincludedir='/usr/include'
152 infodir='${prefix}/info'
153 mandir='${prefix}/man'
155 # Identity of this package.
156 PACKAGE_NAME='GForge'
157 PACKAGE_TARNAME='gforge'
158 PACKAGE_VERSION='3.0'
159 PACKAGE_STRING='GForge 3.0'
160 PACKAGE_BUGREPORT='http://gforge.org/tracker/?group_id=1'
165 # If the previous option needs an argument, assign it.
166 if test -n "$ac_prev"; then
167 eval "$ac_prev=\$ac_option"
172 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
174 # Accept the important Cygnus configure options, so we can diagnose typos.
178 -bindir | --bindir | --bindi | --bind | --bin | --bi)
180 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
183 -build | --build | --buil | --bui | --bu)
184 ac_prev=build_alias ;;
185 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
186 build_alias=$ac_optarg ;;
188 -cache-file | --cache-file | --cache-fil | --cache-fi \
189 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
190 ac_prev=cache_file ;;
191 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
192 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
193 cache_file=$ac_optarg ;;
196 cache_file=config.cache ;;
198 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
200 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
202 datadir=$ac_optarg ;;
204 -disable-* | --disable-*)
205 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
206 # Reject names that are not valid shell variable names.
207 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
208 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
209 { (exit 1); exit 1; }; }
210 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
211 eval "enable_$ac_feature=no" ;;
213 -enable-* | --enable-*)
214 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
215 # Reject names that are not valid shell variable names.
216 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
217 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
218 { (exit 1); exit 1; }; }
219 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
221 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
224 eval "enable_$ac_feature='$ac_optarg'" ;;
226 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
227 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
228 | --exec | --exe | --ex)
229 ac_prev=exec_prefix ;;
230 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
231 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
232 | --exec=* | --exe=* | --ex=*)
233 exec_prefix=$ac_optarg ;;
235 -gas | --gas | --ga | --g)
236 # Obsolete; use --with-gas.
239 -help | --help | --hel | --he | -h)
241 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
242 ac_init_help=recursive ;;
243 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
244 ac_init_help=short ;;
246 -host | --host | --hos | --ho)
247 ac_prev=host_alias ;;
248 -host=* | --host=* | --hos=* | --ho=*)
249 host_alias=$ac_optarg ;;
251 -includedir | --includedir | --includedi | --included | --include \
252 | --includ | --inclu | --incl | --inc)
253 ac_prev=includedir ;;
254 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
255 | --includ=* | --inclu=* | --incl=* | --inc=*)
256 includedir=$ac_optarg ;;
258 -infodir | --infodir | --infodi | --infod | --info | --inf)
260 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
261 infodir=$ac_optarg ;;
263 -libdir | --libdir | --libdi | --libd)
265 -libdir=* | --libdir=* | --libdi=* | --libd=*)
268 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
269 | --libexe | --libex | --libe)
270 ac_prev=libexecdir ;;
271 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
272 | --libexe=* | --libex=* | --libe=*)
273 libexecdir=$ac_optarg ;;
275 -localstatedir | --localstatedir | --localstatedi | --localstated \
276 | --localstate | --localstat | --localsta | --localst \
277 | --locals | --local | --loca | --loc | --lo)
278 ac_prev=localstatedir ;;
279 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
280 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
281 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
282 localstatedir=$ac_optarg ;;
284 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
286 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
290 # Obsolete; use --without-fp.
293 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
297 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
298 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
301 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
302 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
303 | --oldin | --oldi | --old | --ol | --o)
304 ac_prev=oldincludedir ;;
305 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
306 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
307 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
308 oldincludedir=$ac_optarg ;;
310 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
312 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
315 -program-prefix | --program-prefix | --program-prefi | --program-pref \
316 | --program-pre | --program-pr | --program-p)
317 ac_prev=program_prefix ;;
318 -program-prefix=* | --program-prefix=* | --program-prefi=* \
319 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
320 program_prefix=$ac_optarg ;;
322 -program-suffix | --program-suffix | --program-suffi | --program-suff \
323 | --program-suf | --program-su | --program-s)
324 ac_prev=program_suffix ;;
325 -program-suffix=* | --program-suffix=* | --program-suffi=* \
326 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
327 program_suffix=$ac_optarg ;;
329 -program-transform-name | --program-transform-name \
330 | --program-transform-nam | --program-transform-na \
331 | --program-transform-n | --program-transform- \
332 | --program-transform | --program-transfor \
333 | --program-transfo | --program-transf \
334 | --program-trans | --program-tran \
335 | --progr-tra | --program-tr | --program-t)
336 ac_prev=program_transform_name ;;
337 -program-transform-name=* | --program-transform-name=* \
338 | --program-transform-nam=* | --program-transform-na=* \
339 | --program-transform-n=* | --program-transform-=* \
340 | --program-transform=* | --program-transfor=* \
341 | --program-transfo=* | --program-transf=* \
342 | --program-trans=* | --program-tran=* \
343 | --progr-tra=* | --program-tr=* | --program-t=*)
344 program_transform_name=$ac_optarg ;;
346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
347 | -silent | --silent | --silen | --sile | --sil)
350 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
352 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
354 sbindir=$ac_optarg ;;
356 -sharedstatedir | --sharedstatedir | --sharedstatedi \
357 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
358 | --sharedst | --shareds | --shared | --share | --shar \
360 ac_prev=sharedstatedir ;;
361 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
362 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
363 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
365 sharedstatedir=$ac_optarg ;;
367 -site | --site | --sit)
369 -site=* | --site=* | --sit=*)
372 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
374 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
377 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
378 | --syscon | --sysco | --sysc | --sys | --sy)
379 ac_prev=sysconfdir ;;
380 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
381 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
382 sysconfdir=$ac_optarg ;;
384 -target | --target | --targe | --targ | --tar | --ta | --t)
385 ac_prev=target_alias ;;
386 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
387 target_alias=$ac_optarg ;;
389 -v | -verbose | --verbose | --verbos | --verbo | --verb)
392 -version | --version | --versio | --versi | --vers | -V)
396 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid package name: $ac_package" >&2
400 { (exit 1); exit 1; }; }
401 ac_package=`echo $ac_package| sed 's/-/_/g'`
403 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
406 eval "with_$ac_package='$ac_optarg'" ;;
408 -without-* | --without-*)
409 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid package name: $ac_package" >&2
413 { (exit 1); exit 1; }; }
414 ac_package=`echo $ac_package | sed 's/-/_/g'`
415 eval "with_$ac_package=no" ;;
418 # Obsolete; use --with-x.
421 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
422 | --x-incl | --x-inc | --x-in | --x-i)
423 ac_prev=x_includes ;;
424 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
425 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
426 x_includes=$ac_optarg ;;
428 -x-libraries | --x-libraries | --x-librarie | --x-librari \
429 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
430 ac_prev=x_libraries ;;
431 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
432 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
433 x_libraries=$ac_optarg ;;
435 -*) { echo "$as_me: error: unrecognized option: $ac_option
436 Try \`$0 --help' for more information." >&2
437 { (exit 1); exit 1; }; }
441 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
442 # Reject names that are not valid shell variable names.
443 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
444 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
445 { (exit 1); exit 1; }; }
446 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
447 eval "$ac_envvar='$ac_optarg'"
451 # FIXME: should be removed in autoconf 3.0.
452 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
453 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
454 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
455 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
461 if test -n "$ac_prev"; then
462 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
463 { echo "$as_me: error: missing argument to $ac_option" >&2
464 { (exit 1); exit 1; }; }
467 # Be sure to have absolute paths.
468 for ac_var in exec_prefix prefix
470 eval ac_val=$`echo $ac_var`
472 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
473 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
474 { (exit 1); exit 1; }; };;
478 # Be sure to have absolute paths.
479 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
480 localstatedir libdir includedir oldincludedir infodir mandir
482 eval ac_val=$`echo $ac_var`
484 [\\/$]* | ?:[\\/]* ) ;;
485 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
486 { (exit 1); exit 1; }; };;
490 # There might be people who depend on the old broken behavior: `$host'
491 # used to hold the argument of --host etc.
496 # FIXME: should be removed in autoconf 3.0.
497 if test "x$host_alias" != x; then
498 if test "x$build_alias" = x; then
499 cross_compiling=maybe
500 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
501 If a cross compiler is detected then cross compile mode will be used." >&2
502 elif test "x$build_alias" != "x$host_alias"; then
508 test -n "$host_alias" && ac_tool_prefix=$host_alias-
510 test "$silent" = yes && exec 6>/dev/null
512 # Find the source files, if location was not specified.
513 if test -z "$srcdir"; then
514 ac_srcdir_defaulted=yes
515 # Try the directory containing this script, then its parent.
517 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
518 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
520 if test ! -r $srcdir/$ac_unique_file; then
524 ac_srcdir_defaulted=no
526 if test ! -r $srcdir/$ac_unique_file; then
527 if test "$ac_srcdir_defaulted" = yes; then
528 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
529 { (exit 1); exit 1; }; }
531 { echo "$as_me: error: cannot find sources in $srcdir" >&2
532 { (exit 1); exit 1; }; }
535 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
536 ac_env_build_alias_set=${build_alias+set}
537 ac_env_build_alias_value=$build_alias
538 ac_cv_env_build_alias_set=${build_alias+set}
539 ac_cv_env_build_alias_value=$build_alias
540 ac_env_host_alias_set=${host_alias+set}
541 ac_env_host_alias_value=$host_alias
542 ac_cv_env_host_alias_set=${host_alias+set}
543 ac_cv_env_host_alias_value=$host_alias
544 ac_env_target_alias_set=${target_alias+set}
545 ac_env_target_alias_value=$target_alias
546 ac_cv_env_target_alias_set=${target_alias+set}
547 ac_cv_env_target_alias_value=$target_alias
550 # Report the --help message.
552 if test "$ac_init_help" = "long"; then
553 # Omit some internal or obsolete options to make the list less imposing.
554 # This message is too long to be a string in the A/UX 3.1 sh.
556 \`configure' configures GForge 3.0 to adapt to many kinds of systems.
558 Usage: $0 [OPTION]... [VAR=VALUE]...
560 To assign environment variables (e.g., CC, CFLAGS...), specify them as
561 VAR=VALUE. See below for descriptions of some of the useful variables.
563 Defaults for the options are specified in brackets.
566 -h, --help display this help and exit
567 --help=short display options specific to this package
568 --help=recursive display the short help of all the included packages
569 -V, --version display version information and exit
570 -q, --quiet, --silent do not print \`checking...' messages
571 --cache-file=FILE cache test results in FILE [disabled]
572 -C, --config-cache alias for \`--cache-file=config.cache'
573 -n, --no-create do not create output files
574 --srcdir=DIR find the sources in DIR [configure dir or \`..']
579 Installation directories:
580 --prefix=PREFIX install architecture-independent files in PREFIX
582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
585 By default, \`make install' will install all the files in
586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
588 for instance \`--prefix=\$HOME'.
590 For better control, use the options below.
592 Fine tuning of the installation directories:
593 --bindir=DIR user executables [EPREFIX/bin]
594 --sbindir=DIR system admin executables [EPREFIX/sbin]
595 --libexecdir=DIR program executables [EPREFIX/libexec]
596 --datadir=DIR read-only architecture-independent data [PREFIX/share]
597 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
598 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
599 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
600 --libdir=DIR object code libraries [EPREFIX/lib]
601 --includedir=DIR C header files [PREFIX/include]
602 --oldincludedir=DIR C header files for non-gcc [/usr/include]
603 --infodir=DIR info documentation [PREFIX/info]
604 --mandir=DIR man documentation [PREFIX/man]
611 if test -n "$ac_init_help"; then
612 case $ac_init_help in
613 short | recursive ) echo "Configuration of GForge 3.0:";;
618 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
619 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
620 --enable-defaults=TYPE enable TYPE specific defaults (None)
621 --enable-ldap enable LDAP (no)
622 --enable-jabber enable Jabber (no)
625 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
626 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
627 --with-domain-name the default domain (company.com)
628 --with-sys-default-domain
629 the gforge server (gforge.DOMAIN-NAME)
630 --with-sys-fallback-domain
631 the gforge fallback server (gforge2.DOMAIN-NAME)
632 --with-sys-internal-network
633 netmask of internal network (192.168.1.)
634 --with-sys-cvs-host the CVS server (cvs.DOMAIN-NAME)
635 --with-project-cvs-hosts
636 run an individual CVS server per project (a single
637 CVS server for the entire site)
638 --with-sys-download-host
639 the download server (download.DOMAIN-NAME)
640 --with-sys-upload-host the upload server (upload.DOMAIN-NAME)
641 --with-sys-shell-host the shell server (shell.DOMAIN-NAME)
642 --with-sys-users-host the users server (users.DOMAIN-NAME)
643 --with-sys-docs-host the docs server (docs.DOMAIN-NAME)
644 --with-sys-lists-host the lists server (lists.DOMAIN-NAME)
645 --with-sys-dns1-host the primary nameserver (ns1.DOMAIN-NAME)
646 --with-sys-dns2-host the secondary nameserver (ns2.DOMAIN-NAME)
647 --with-sys-dbhost the DB server (localhost)
648 --with-sys-dbreadhost the readonly DB server (localhost)
649 --with-sys-dbreaddb databases that are read only (stats)
650 --with-sys-dbname name of database (alexandria)
651 --with-sys-dbuser user to access DB as (www)
652 --with-sys-dbpasswd use password to access DB
653 --with-sys-ldap-host LDAP server (ldap.DOMAIN-NAME)
654 --with-sys-ldap-base-dn LDAP base dn (dc=DOMAIN-NAME)
655 --with-sys-ldap-bind-dn LDAP bind dn (cn=SF_robot,$LDAP_BASE_DN)
656 --with-sys-ldap-admin-dn
657 LDAP admin dn ($LDAP_ADMIN_DN)
658 --with-sys-ldap-password
660 --with-sys-jabber-host Jabber server (jabber.DOMAIN-NAME)
661 --with-sys-jabber-user Jabber messages come from USER (noreply)
662 --with-sys-jabber-pass JABBER password (temp123)
663 --with-sys-path-to-jpgraph
665 --with-sys-upload-dir location of upload, must be outside of DocumentRoot
666 --with-homedir-prefix homedir prefix ($HOME_DIR)
667 --with-groupdir-prefix groups prefix ($GROUP_DIR)
668 --with-db=DB DB to use (only pgsql currently supported)
669 --with-scm=SCM SCM system to use (only CVS currently supported)
670 --with-sys-name the name of the GForge installation (prodigy)
671 --with-sys-news-group the group id for news (3)
672 --with-sys-stats-group the group id for stats (2)
673 --with-sys-peer-rating-group
674 the group id for peer ratings (4)
675 --with-default-trove-cat
676 the default Trove category (18)
677 --with-sys-theme Theme to use by default (gforge)
678 --with-sys-lang language to use (English)
679 --with-sys-session-key the session key (generate one using ps)
681 Report bugs to <http://gforge.org/tracker/?group_id=1>.
685 if test "$ac_init_help" = "recursive"; then
686 # If there are subdirs, report their specific --help.
688 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
690 # A "../" for each directory in /$ac_subdir.
691 ac_dots=`echo $ac_subdir |
692 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
695 .) # No --srcdir option. We are building in place.
696 ac_sub_srcdir=$srcdir ;;
697 [\\/]* | ?:[\\/]* ) # Absolute path.
698 ac_sub_srcdir=$srcdir/$ac_subdir ;;
700 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
703 # Check for guested configure; otherwise get Cygnus style configure.
704 if test -f $ac_sub_srcdir/configure.gnu; then
706 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
707 elif test -f $ac_sub_srcdir/configure; then
709 $SHELL $ac_sub_srcdir/configure --help=recursive
710 elif test -f $ac_sub_srcdir/configure.ac ||
711 test -f $ac_sub_srcdir/configure.in; then
715 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
721 test -n "$ac_init_help" && exit 0
722 if $ac_init_version; then
725 generated by GNU Autoconf 2.52
727 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
728 Free Software Foundation, Inc.
729 This configure script is free software; the Free Software Foundation
730 gives unlimited permission to copy, distribute and modify it.
732 Copyright (c) 2003 Richard Offer. All rights reserved.
733 Any local macros are licensed under the BSD license
740 This file contains any messages produced by compilers while
741 running configure, to aid debugging if configure makes a mistake.
743 It was created by GForge $as_me 3.0, which was
744 generated by GNU Autoconf 2.52. Invocation command line was
755 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
756 uname -m = `(uname -m) 2>/dev/null || echo unknown`
757 uname -r = `(uname -r) 2>/dev/null || echo unknown`
758 uname -s = `(uname -s) 2>/dev/null || echo unknown`
759 uname -v = `(uname -v) 2>/dev/null || echo unknown`
761 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
762 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
764 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
765 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
766 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
767 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
768 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
769 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
770 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
784 # Keep a trace of the command line.
785 # Strip out --no-create and --no-recursion so they do not pile up.
786 # Also quote any args containing shell meta-characters.
792 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
793 | --no-cr | --no-c) ;;
794 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
795 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
796 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
797 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
798 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
800 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
803 # Get rid of the leading space.
806 # When interrupted or exit'd, cleanup temporary files, and complete
807 # config.log. We remove comments because anyway the quotes in there
808 # would cause problems or look ugly.
810 # Save into config.log some information that might help in debugging.
812 echo "## ----------------- ##" >&5
813 echo "## Cache variables. ##" >&5
814 echo "## ----------------- ##" >&5
816 # The following way of writing the cache mishandles newlines in values,
819 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
822 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
823 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
827 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
831 sed "/^$/d" confdefs.h >conftest.log
832 if test -s conftest.log; then
834 echo "## ------------ ##" >&5
835 echo "## confdefs.h. ##" >&5
836 echo "## ------------ ##" >&5
841 test "$ac_signal" != 0 &&
842 echo "$as_me: caught signal $ac_signal" >&5
843 echo "$as_me: exit $exit_status" >&5
844 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
847 for ac_signal in 1 2 13 15; do
848 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
852 # confdefs.h avoids OS command line length limits that DEFS can exceed.
853 rm -rf conftest* confdefs.h
854 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
857 # Let the site file select an alternate cache file if it wants to.
858 # Prefer explicitly selected file to automatically selected ones.
859 if test -z "$CONFIG_SITE"; then
860 if test "x$prefix" != xNONE; then
861 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
863 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
866 for ac_site_file in $CONFIG_SITE; do
867 if test -r "$ac_site_file"; then
868 { echo "$as_me:868: loading site script $ac_site_file" >&5
869 echo "$as_me: loading site script $ac_site_file" >&6;}
870 cat "$ac_site_file" >&5
875 if test -r "$cache_file"; then
876 # Some versions of bash will fail to source /dev/null (special
877 # files actually), so we avoid doing that.
878 if test -f "$cache_file"; then
879 { echo "$as_me:879: loading cache $cache_file" >&5
880 echo "$as_me: loading cache $cache_file" >&6;}
882 [\\/]* | ?:[\\/]* ) . $cache_file;;
887 { echo "$as_me:887: creating cache $cache_file" >&5
888 echo "$as_me: creating cache $cache_file" >&6;}
892 # Check that the precious variables saved in the cache have kept the same
894 ac_cache_corrupted=false
895 for ac_var in `(set) 2>&1 |
896 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
897 eval ac_old_set=\$ac_cv_env_${ac_var}_set
898 eval ac_new_set=\$ac_env_${ac_var}_set
899 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
900 eval ac_new_val="\$ac_env_${ac_var}_value"
901 case $ac_old_set,$ac_new_set in
903 { echo "$as_me:903: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
904 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
905 ac_cache_corrupted=: ;;
907 { echo "$as_me:907: error: \`$ac_var' was not set in the previous run" >&5
908 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
909 ac_cache_corrupted=: ;;
912 if test "x$ac_old_val" != "x$ac_new_val"; then
913 { echo "$as_me:913: error: \`$ac_var' has changed since the previous run:" >&5
914 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
915 { echo "$as_me:915: former value: $ac_old_val" >&5
916 echo "$as_me: former value: $ac_old_val" >&2;}
917 { echo "$as_me:917: current value: $ac_new_val" >&5
918 echo "$as_me: current value: $ac_new_val" >&2;}
922 # Pass precious variables to config.status. It doesn't matter if
923 # we pass some twice (in addition to the command line arguments).
924 if test "$ac_new_set" = set; then
926 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
927 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
928 ac_configure_args="$ac_configure_args '$ac_arg'"
930 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
935 if $ac_cache_corrupted; then
936 { echo "$as_me:936: error: changes in the environment can compromise the build" >&5
937 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
938 { { echo "$as_me:938: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
939 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
940 { (exit 1); exit 1; }; }
944 ac_cpp='$CPP $CPPFLAGS'
945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
949 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
950 *c*,-n*) ECHO_N= ECHO_C='
952 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
953 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
955 echo "#! $SHELL" >conftest.sh
956 echo "exit 0" >>conftest.sh
958 if { (echo "$as_me:958: PATH=\".;.\"; conftest.sh") >&5
959 (PATH=".;."; conftest.sh) 2>&5
961 echo "$as_me:961: \$? = $ac_status" >&5
962 (exit $ac_status); }; then
963 ac_path_separator=';'
967 PATH_SEPARATOR="$ac_path_separator"
970 # provide a unique file name so autoconf can check that its
973 for ac_prog in mawk gawk nawk awk
975 # Extract the first word of "$ac_prog", so it can be a program name with args.
976 set dummy $ac_prog; ac_word=$2
977 echo "$as_me:977: checking for $ac_word" >&5
978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
979 if test "${ac_cv_prog_AWK+set}" = set; then
980 echo $ECHO_N "(cached) $ECHO_C" >&6
982 if test -n "$AWK"; then
983 ac_cv_prog_AWK="$AWK" # Let the user override the test.
985 ac_save_IFS=$IFS; IFS=$ac_path_separator
987 for ac_dir in $ac_dummy; do
989 test -z "$ac_dir" && ac_dir=.
990 $as_executable_p "$ac_dir/$ac_word" || continue
991 ac_cv_prog_AWK="$ac_prog"
992 echo "$as_me:992: found $ac_dir/$ac_word" >&5
999 if test -n "$AWK"; then
1000 echo "$as_me:1000: result: $AWK" >&5
1001 echo "${ECHO_T}$AWK" >&6
1003 echo "$as_me:1003: result: no" >&5
1004 echo "${ECHO_T}no" >&6
1007 test -n "$AWK" && break
1010 for ac_prog in md5sum md5 sum
1012 # Extract the first word of "$ac_prog", so it can be a program name with args.
1013 set dummy $ac_prog; ac_word=$2
1014 echo "$as_me:1014: checking for $ac_word" >&5
1015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1016 if test "${ac_cv_prog_HASHING_PROG+set}" = set; then
1017 echo $ECHO_N "(cached) $ECHO_C" >&6
1019 if test -n "$HASHING_PROG"; then
1020 ac_cv_prog_HASHING_PROG="$HASHING_PROG" # Let the user override the test.
1022 ac_save_IFS=$IFS; IFS=$ac_path_separator
1024 for ac_dir in $ac_dummy; do
1026 test -z "$ac_dir" && ac_dir=.
1027 $as_executable_p "$ac_dir/$ac_word" || continue
1028 ac_cv_prog_HASHING_PROG="$ac_prog"
1029 echo "$as_me:1029: found $ac_dir/$ac_word" >&5
1035 HASHING_PROG=$ac_cv_prog_HASHING_PROG
1036 if test -n "$HASHING_PROG"; then
1037 echo "$as_me:1037: result: $HASHING_PROG" >&5
1038 echo "${ECHO_T}$HASHING_PROG" >&6
1040 echo "$as_me:1040: result: no" >&5
1041 echo "${ECHO_T}no" >&6
1044 test -n "$HASHING_PROG" && break
1047 # If you find that you are having to use too many command line options
1048 # to get the settings you require, you should consider adding a new
1049 # defaults TYPE, Dont forget that the definitions of the AC_ARG_WITH() macros
1050 # will need to be changed to remove the defaults (the last parameter).
1052 # Check whether --enable-defaults or --disable-defaults was given.
1053 if test "${enable_defaults+set}" = set; then
1054 enableval="$enable_defaults"
1056 case "$enableval" in
1059 echo "$as_me:1059: result: Using Debian specific defaults (FHS)" >&5
1060 echo "${ECHO_T}Using Debian specific defaults (FHS)" >&6
1062 homedir_prefix=/var/lib/gforge/chroot/home/users
1063 groupdir_prefix=/var/lib/gforge/chroot/home/groups
1065 sys_upload_dir=/var/lib/gforge/download/
1067 TOP_DIR=/usr/share/gforge
1068 CGIBIN_DIR=/usr/share/gforge/cgi-bin
1070 sys_urlroot=/usr/share/gforge/www/
1071 sys_ldap_admin_dn="admin,$LDAP_BASE_DN"
1076 echo "$as_me:1076: result: Using built-in defaults" >&5
1077 echo "${ECHO_T}Using built-in defaults" >&6
1081 echo "$as_me:1081: result: Using defaults from $enableval" >&5
1082 echo "${ECHO_T}Using defaults from $enableval" >&6
1083 # local defaults are stored in a file, source it.
1088 { { echo "$as_me:1088: error: \"$enableval\" should be an absolute path" >&5
1089 echo "$as_me: error: \"$enableval\" should be an absolute path" >&2;}
1090 { (exit 1); exit 1; }; }
1094 { { echo "$as_me:1094: error: \"$enableval\" not a valid setting for defaults" >&5
1095 echo "$as_me: error: \"$enableval\" not a valid setting for defaults" >&2;}
1096 { (exit 1); exit 1; }; }
1102 # This should really be example.com, see RFC2606.
1104 # Check whether --with-domain-name or --without-domain-name was given.
1105 if test "${with_domain_name+set}" = set; then
1106 withval="$with_domain_name"
1107 domain_name="$withval"
1110 # defaults for when no defaults are specified (or defaults=NONE.
1112 this_dir=`dirname $0`
1113 test -n "${TOP_DIR}" || TOP_DIR=`(cd $this_dir/../../ ; pwd)`
1115 test -n "${domain_name}" || domain_name="company.com"
1116 test -n "${sys_default_domain}" || sys_default_domain="gforge.$domain_name"
1117 test -n "${sys_fallback_domain}" || sys_fallback_domain="gforge2.$domain_name"
1118 test -n "${sys_internal_network}" || sys_internal_network="192.168.1."
1120 test -n "${sys_cvs_host}" || sys_cvs_host="cvs.$domain_name"
1121 test -n "${sys_cvs_single_host}" || sys_cvs_single_host=1
1122 test -n "${sys_download_host}" || sys_download_host="download.$domain_name"
1123 test -n "${sys_upload_host}" || sys_upload_host="upload.$domain_name"
1124 test -n "${sys_shell_host}" || sys_shell_host="shell.$domain_name"
1125 test -n "${sys_users_host}" || sys_users_host="users.$domain_name"
1126 test -n "${sys_docs_host}" || sys_docs_host="sfdocs.$domain_name"
1127 test -n "${sys_lists_host}" || sys_lists_host="lists.$domain_name"
1128 test -n "${sys_dns1_host}" || sys_dns1_host="ns1.$domain_name"
1129 test -n "${sys_dns2_host}" || sys_dns2_host="ns2.$domain_name"
1130 test -n "${sys_dbhost}" || sys_dbhost="localhost"
1131 test -n "${sys_dbreadhost}" || sys_dbreadhost="localhost"
1132 test -n "${sys_dbreaddb}" || sys_dbreaddb="stats"
1133 test -n "${sys_dbname}" || sys_dbname="alexandria"
1134 test -n "${sys_dbuser}" || sys_dbuser="www"
1135 test -n "${sys_dbpasswd}" || sys_dbpasswd=""
1137 test -n "${sys_use_ldap}" || sys_use_ldap=0
1138 test -n "${sys_ldap_host}" || sys_ldap_host="ldap.$domain_name"
1139 test -n "${sys_ldap_base_dn}" || sys_ldap_base_dn="`echo $domain_name | awk -F. '{printf(\"dc=%s,dc=%s\",$(NF-1), $NF) }'`"
1140 test -n "${sys_ldap_bind_dn}" || sys_ldap_bind_dn="cn=SF_robot,$sys_ldap_base_dn"
1141 test -n "${sys_ldap_admin_dn}" || sys_ldap_admin_dn="cn=Manager,$sys_ldap_base_dn"
1142 test -n "${sys_ldap_passwd}" || sys_ldap_passwd=""
1144 test -n "${sys_use_jabber}" || sys_use_jabber=0
1145 test -n "${sys_jabber_host}" || sys_jabber_host="jabber.$domain_name"
1146 test -n "${sys_jabber_user}" || sys_jabber_user="noreply"
1147 test -n "${sys_jabber_pass}" || sys_jabber_pass="temp123"
1149 test -n "${sys_path_to_jpgraph}" || sys_path_to_jpgraph="/path/to/jpgraph/src/"
1150 test -n "${sys_upload_dir}" || sys_upload_dir=$TOP_DIR/uploads
1151 test -n "${homedir_prefix}" || homedir_prefix="/home"
1152 test -n "${groupdir_prefix}" || groupdir_prefix="/home/groups"
1154 test -n "${sys_urlroot}" || sys_urlroot=$TOP_DIR/www/
1156 test -n "${sys_name}" || sys_name="prodigy"
1158 test -n "${sys_theme}" || sys_theme="gforge"
1159 test -n "${sys_lang}" || sys_lang="English"
1161 test -n "${sys_news_group}" || sys_news_group=3
1162 test -n "${sys_stats_group}" || sys_stats_group=2
1163 test -n "${sys_peer_rating_group}" || sys_peer_rating_group=4
1164 test -n "${default_trove_cat}" || default_trove_cat=18
1167 test -n "${sys_server}" || sys_server="pgsql"
1168 test -n "${sys_scm}" || sys_scm="CVS"
1170 #############################################################################
1171 # Basic hosts configuration.
1172 #############################################################################
1174 # Check whether --with-sys-default-domain or --without-sys-default-domain was given.
1175 if test "${with_sys_default_domain+set}" = set; then
1176 withval="$with_sys_default_domain"
1177 sys_default_domain="$withval"
1180 # Check whether --with-sys-fallback-domain or --without-sys-fallback-domain was given.
1181 if test "${with_sys_fallback_domain+set}" = set; then
1182 withval="$with_sys_fallback_domain"
1183 sys_fallback_domain="$withval"
1186 # Check whether --with-sys-internal-network or --without-sys-internal-network was given.
1187 if test "${with_sys_internal_network+set}" = set; then
1188 withval="$with_sys_internal_network"
1189 sys_internal_network="$withval"
1192 # Check whether --with-sys-cvs-host or --without-sys-cvs-host was given.
1193 if test "${with_sys_cvs_host+set}" = set; then
1194 withval="$with_sys_cvs_host"
1195 sys_cvs_host="$withval"
1198 # Check whether --with-project-cvs-hosts or --without-project-cvs-hosts was given.
1199 if test "${with_project_cvs_hosts+set}" = set; then
1200 withval="$with_project_cvs_hosts"
1201 sys_cvs_single_host=0
1204 # Check whether --with-sys-download-host or --without-sys-download-host was given.
1205 if test "${with_sys_download_host+set}" = set; then
1206 withval="$with_sys_download_host"
1207 sys_download_host="$withval"
1210 # Check whether --with-sys-upload-host or --without-sys-upload-host was given.
1211 if test "${with_sys_upload_host+set}" = set; then
1212 withval="$with_sys_upload_host"
1213 sys_upload_host="$withval"
1216 # Check whether --with-sys-shell-host or --without-sys-shell-host was given.
1217 if test "${with_sys_shell_host+set}" = set; then
1218 withval="$with_sys_shell_host"
1219 sys_shell_host="$withval"
1222 # Check whether --with-sys-users-host or --without-sys-users-host was given.
1223 if test "${with_sys_users_host+set}" = set; then
1224 withval="$with_sys_users_host"
1225 sys_users_host="$withval"
1228 # Check whether --with-sys-docs-host or --without-sys-docs-host was given.
1229 if test "${with_sys_docs_host+set}" = set; then
1230 withval="$with_sys_docs_host"
1231 sys_docs_host="$withval"
1234 # Check whether --with-sys-lists-host or --without-sys-lists-host was given.
1235 if test "${with_sys_lists_host+set}" = set; then
1236 withval="$with_sys_lists_host"
1237 sys_lists_host="$withval"
1240 # Check whether --with-sys-dns1-host or --without-sys-dns1-host was given.
1241 if test "${with_sys_dns1_host+set}" = set; then
1242 withval="$with_sys_dns1_host"
1243 sys_dns1_host="$withval"
1246 # Check whether --with-sys-dns2-host or --without-sys-dns2-host was given.
1247 if test "${with_sys_dns2_host+set}" = set; then
1248 withval="$with_sys_dns2_host"
1249 sys_dns2_host="$withval"
1252 # Check whether --with-sys-dbhost or --without-sys-dbhost was given.
1253 if test "${with_sys_dbhost+set}" = set; then
1254 withval="$with_sys_dbhost"
1255 sys_dbhost="$withval"
1258 # Check whether --with-sys-dbreadhost or --without-sys-dbreadhost was given.
1259 if test "${with_sys_dbreadhost+set}" = set; then
1260 withval="$with_sys_dbreadhost"
1261 sys_dbreadhost="$withval"
1264 # Check whether --with-sys-dbreaddb or --without-sys-dbreaddb was given.
1265 if test "${with_sys_dbreaddb+set}" = set; then
1266 withval="$with_sys_dbreaddb"
1267 sys_dbreaddb="$withval"
1270 # Check whether --with-sys-dbname or --without-sys-dbname was given.
1271 if test "${with_sys_dbname+set}" = set; then
1272 withval="$with_sys_dbname"
1273 sys_dbname="$withval"
1276 # Check whether --with-sys-dbuser or --without-sys-dbuser was given.
1277 if test "${with_sys_dbuser+set}" = set; then
1278 withval="$with_sys_dbuser"
1279 sys_dbuser="$withval"
1282 # Check whether --with-sys-dbpasswd or --without-sys-dbpasswd was given.
1283 if test "${with_sys_dbpasswd+set}" = set; then
1284 withval="$with_sys_dbpasswd"
1285 sys_dbpasswd="$withval"
1288 #############################################################################
1289 # optional features (LDAP, JABBER etc )
1290 #############################################################################
1292 #############################################################################
1295 # Check whether --enable-ldap or --disable-ldap was given.
1296 if test "${enable_ldap+set}" = set; then
1297 enableval="$enable_ldap"
1301 # Check whether --with-sys-ldap-host or --without-sys-ldap-host was given.
1302 if test "${with_sys_ldap_host+set}" = set; then
1303 withval="$with_sys_ldap_host"
1304 sys_ldap_host="$withval"
1307 # Check whether --with-sys-ldap-base-dn or --without-sys-ldap-base-dn was given.
1308 if test "${with_sys_ldap_base_dn+set}" = set; then
1309 withval="$with_sys_ldap_base_dn"
1310 sys_ldap_base_dn="$withval"
1313 # Check whether --with-sys-ldap-bind-dn or --without-sys-ldap-bind-dn was given.
1314 if test "${with_sys_ldap_bind_dn+set}" = set; then
1315 withval="$with_sys_ldap_bind_dn"
1316 sys_ldap_bind_dn="$withval"
1319 # Check whether --with-sys-ldap-admin-dn or --without-sys-ldap-admin-dn was given.
1320 if test "${with_sys_ldap_admin_dn+set}" = set; then
1321 withval="$with_sys_ldap_admin_dn"
1322 sys_ldap_admin_dn="$withval"
1325 # Check whether --with-sys-ldap-password or --without-sys-ldap-password was given.
1326 if test "${with_sys_ldap_password+set}" = set; then
1327 withval="$with_sys_ldap_password"
1328 sys_ldap_passwd="$withval"
1331 #############################################################################
1334 # Check whether --enable-jabber or --disable-jabber was given.
1335 if test "${enable_jabber+set}" = set; then
1336 enableval="$enable_jabber"
1340 # Check whether --with-sys-jabber-host or --without-sys-jabber-host was given.
1341 if test "${with_sys_jabber_host+set}" = set; then
1342 withval="$with_sys_jabber_host"
1343 sys_jabber_host="$withval"
1346 # Check whether --with-sys-jabber-user or --without-sys-jabber-user was given.
1347 if test "${with_sys_jabber_user+set}" = set; then
1348 withval="$with_sys_jabber_user"
1349 sys_jabber_user="$withval"
1352 # Check whether --with-sys-jabber-pass or --without-sys-jabber-pass was given.
1353 if test "${with_sys_jabber_pass+set}" = set; then
1354 withval="$with_sys_jabber_pass"
1355 sys_jabber_pass="$withval"
1358 #############################################################################
1360 #############################################################################
1362 # Check whether --with-sys-path-to-jpgraph or --without-sys-path-to-jpgraph was given.
1363 if test "${with_sys_path_to_jpgraph+set}" = set; then
1364 withval="$with_sys_path_to_jpgraph"
1365 sys_path_to_jpgraph="$withval"
1368 # Check whether --with-sys-upload-dir or --without-sys-upload-dir was given.
1369 if test "${with_sys_upload_dir+set}" = set; then
1370 withval="$with_sys_upload_dir"
1371 sys_upload_dir="$withval"
1374 # Check whether --with-homedir-prefix or --without-homedir-prefix was given.
1375 if test "${with_homedir_prefix+set}" = set; then
1376 withval="$with_homedir_prefix"
1377 homedir_prefix="$withval"
1380 # Check whether --with-groupdir-prefix or --without-groupdir-prefix was given.
1381 if test "${with_groupdir_prefix+set}" = set; then
1382 withval="$with_groupdir_prefix"
1383 groupdir_prefix="$withval"
1386 #############################################################################
1388 #############################################################################
1390 # Check whether --with-db or --without-db was given.
1391 if test "${with_db+set}" = set; then
1393 sys_server="$withval"
1396 # Check whether --with-scm or --without-scm was given.
1397 if test "${with_scm+set}" = set; then
1402 # Check whether --with-sys-name or --without-sys-name was given.
1403 if test "${with_sys_name+set}" = set; then
1404 withval="$with_sys_name"
1408 # Check whether --with-sys-news-group or --without-sys-news-group was given.
1409 if test "${with_sys_news_group+set}" = set; then
1410 withval="$with_sys_news_group"
1411 sys_news_group="$withval"
1414 # Check whether --with-sys-stats-group or --without-sys-stats-group was given.
1415 if test "${with_sys_stats_group+set}" = set; then
1416 withval="$with_sys_stats_group"
1417 sys_stats_group="$withval"
1420 # Check whether --with-sys-peer-rating-group or --without-sys-peer-rating-group was given.
1421 if test "${with_sys_peer_rating_group+set}" = set; then
1422 withval="$with_sys_peer_rating_group"
1423 sys_peer_rating_group="$withval"
1426 # Check whether --with-default-trove-cat or --without-default-trove-cat was given.
1427 if test "${with_default_trove_cat+set}" = set; then
1428 withval="$with_default_trove_cat"
1429 default_trove_cat="$withval"
1432 # Check whether --with-sys-theme or --without-sys-theme was given.
1433 if test "${with_sys_theme+set}" = set; then
1434 withval="$with_sys_theme"
1435 sys_theme="$withval"
1438 # Check whether --with-sys-lang or --without-sys-lang was given.
1439 if test "${with_sys_lang+set}" = set; then
1440 withval="$with_sys_lang"
1444 # Check whether --with-sys-session-key or --without-sys-session-key was given.
1445 if test "${with_sys_session_key+set}" = set; then
1446 withval="$with_sys_session_key"
1447 sys_session_key="$withval"
1448 echo "$as_me:1448: result: Session key... $SESSION_KEY" >&5
1449 echo "${ECHO_T}Session key... $SESSION_KEY" >&6
1453 sys_session_key="`ps aux | $HASHING_PROG`"
1454 if test "$HASHING_PROG" == "sum"
1456 POST_PROC=" | $AWK '{print \$1}'"
1457 sys_session_key="`echo \"$sys_session_key\" | $AWK '{print \$1}' `"
1459 echo "$as_me:1459: result: Session key (using \"ps aux | $HASHING_PROG$POST_PROC\")... $sys_session_key" >&5
1460 echo "${ECHO_T}Session key (using \"ps aux | $HASHING_PROG$POST_PROC\")... $sys_session_key" >&6
1464 #############################################################################
1465 # check to see if the values given are okay.
1466 #############################################################################
1468 echo "$as_me:1468: checking whether sys_upload_dir directory exists" >&5
1469 echo $ECHO_N "checking whether sys_upload_dir directory exists... $ECHO_C" >&6
1470 if test -d "$sys_upload_dir"
1472 echo "$as_me:1472: result: Yes." >&5
1473 echo "${ECHO_T}Yes." >&6
1474 if `echo $sys_upload_dir | grep -- "${sys_urlroot}" > /dev/null `
1476 { { echo "$as_me:1476: error: sys_upload_dir must not be under Document Root ($sys_urlroot)." >&5
1477 echo "$as_me: error: sys_upload_dir must not be under Document Root ($sys_urlroot)." >&2;}
1478 { (exit 1); exit 1; }; }
1481 { { echo "$as_me:1481: error: No." >&5
1482 echo "$as_me: error: No." >&2;}
1483 { (exit 1); exit 1; }; }
1486 echo "$as_me:1486: checking whether \"$sys_lang\" is supported" >&5
1487 echo $ECHO_N "checking whether \"$sys_lang\" is supported... $ECHO_C" >&6
1488 if test -f "$TOP_DIR/www/include/languages/$sys_lang.tab"
1490 echo "$as_me:1490: result: Yes." >&5
1491 echo "${ECHO_T}Yes." >&6
1493 { { echo "$as_me:1493: error: No." >&5
1494 echo "$as_me: error: No." >&2;}
1495 { (exit 1); exit 1; }; }
1498 echo "$as_me:1498: checking whether the theme \"$sys_theme\" exists" >&5
1499 echo $ECHO_N "checking whether the theme \"$sys_theme\" exists... $ECHO_C" >&6
1500 if test -d "$TOP_DIR/www/themes/$sys_theme"
1502 echo "$as_me:1502: result: Yes." >&5
1503 echo "${ECHO_T}Yes." >&6
1505 { { echo "$as_me:1505: error: $sys_theme theme does not exist." >&5
1506 echo "$as_me: error: $sys_theme theme does not exist." >&2;}
1507 { (exit 1); exit 1; }; }
1510 #############################################################################
1511 # The names of hosts that provide services
1515 #############################################################################
1518 #############################################################################
1523 #############################################################################
1530 #############################################################################
1531 # process these files
1532 ac_config_files="$ac_config_files local.inc sample-apache.vhost"
1534 #############################################################################
1535 # give a summary of the config for quick debugging...
1537 cat >confcache <<\_ACEOF
1538 # This file is a shell script that caches the results of configure
1539 # tests run on this system so they can be shared between configure
1540 # scripts and configure runs, see configure's option --config-cache.
1541 # It is not useful on other systems. If it contains results you don't
1542 # want to keep, you may remove or edit it.
1544 # config.status only pays attention to the cache file if you give it
1545 # the --recheck option to rerun configure.
1547 # `ac_cv_env_foo' variables (set or unset) will be overriden when
1548 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1553 # The following way of writing the cache mishandles newlines in values,
1554 # but we know of no workaround that is simple, portable, and efficient.
1555 # So, don't put newlines in cache variables' values.
1556 # Ultrix sh set writes to stderr and can't be redirected directly,
1557 # and sets the high bit in the cache file unless we assign to the vars.
1560 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1562 # `set' does not quote correctly, so add quotes (double-quote
1563 # substitution turns \\\\ into \\, and sed turns \\ into \).
1566 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1569 # `set' quotes correctly as required by POSIX, so do not add quotes.
1571 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1580 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1582 if cmp -s $cache_file confcache; then :; else
1583 if test -w $cache_file; then
1584 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1585 cat confcache >$cache_file
1587 echo "not updating unwritable cache $cache_file"
1592 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1593 # Let make expand exec_prefix.
1594 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1596 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1597 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1598 # trailing colons and then remove the whole line if VPATH becomes empty
1599 # (actually we leave an empty line to preserve line numbers).
1600 if test "x$srcdir" = x.; then
1601 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1602 s/:*\$(srcdir):*/:/;
1603 s/:*\${srcdir}:*/:/;
1605 s/^\([^=]*=[ ]*\):*/\1/;
1611 # Transform confdefs.h into DEFS.
1612 # Protect against shell expansion while executing Makefile rules.
1613 # Protect against Makefile macro expansion.
1615 # If the first sed substitution is executed (which looks for macros that
1616 # take arguments), then we branch to the quote section. Otherwise,
1617 # look for a macro that doesn't take arguments.
1618 cat >confdef2opt.sed <<\EOF
1621 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1623 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1627 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1633 # We use echo to avoid assuming a particular line-breaking character.
1634 # The extra dot is to prevent the shell from consuming trailing
1635 # line-breaks from the sub-command output. A line-break within
1636 # single-quotes doesn't work because, if this script is created in a
1637 # platform that uses two characters for line-breaks (e.g., DOS), tr
1639 ac_LF_and_DOT=`echo; echo .`
1640 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1641 rm -f confdef2opt.sed
1643 : ${CONFIG_STATUS=./config.status}
1644 ac_clean_files_save=$ac_clean_files
1645 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1646 { echo "$as_me:1646: creating $CONFIG_STATUS" >&5
1647 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1648 cat >$CONFIG_STATUS <<_ACEOF
1650 # Generated automatically by configure.
1651 # Run this file to recreate the current configuration.
1652 # Compiler output produced by configure, useful for debugging
1653 # configure, is in config.log if it exists.
1656 SHELL=\${CONFIG_SHELL-$SHELL}
1657 ac_cs_invocation="\$0 \$@"
1661 cat >>$CONFIG_STATUS <<\_ACEOF
1662 # Be Bourne compatible
1663 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1666 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1670 # Name of the executable.
1671 as_me=`echo "$0" |sed 's,.*[\\/],,'`
1673 if expr a : '\(a\)' >/dev/null 2>&1; then
1679 rm -f conf$$ conf$$.exe conf$$.file
1681 if ln -s conf$$.file conf$$ 2>/dev/null; then
1682 # We could just check for DJGPP; but this test a) works b) is more generic
1683 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1684 if test -f conf$$.exe; then
1685 # Don't use ln at all; we don't have any links
1690 elif ln conf$$.file conf$$ 2>/dev/null; then
1695 rm -f conf$$ conf$$.exe conf$$.file
1697 as_executable_p="test -f"
1699 # Support unset when possible.
1700 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1707 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
1708 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
1709 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
1710 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
1711 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
1712 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
1713 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
1714 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
1717 # We need space, tab and new line, in precisely that order.
1723 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
1729 # Files that config.status was made for.
1730 if test -n "$ac_config_files"; then
1731 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1734 if test -n "$ac_config_headers"; then
1735 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1738 if test -n "$ac_config_links"; then
1739 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1742 if test -n "$ac_config_commands"; then
1743 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1746 cat >>$CONFIG_STATUS <<\EOF
1749 \`$as_me' instantiates files from templates according to the
1750 current configuration.
1752 Usage: $0 [OPTIONS] [FILE]...
1754 -h, --help print this help, then exit
1755 -V, --version print version number, then exit
1756 -d, --debug don't remove temporary files
1757 --recheck update $as_me by reconfiguring in the same conditions
1758 --file=FILE[:TEMPLATE]
1759 instantiate the configuration file FILE
1761 Configuration files:
1764 Report bugs to <bug-autoconf@gnu.org>."
1767 cat >>$CONFIG_STATUS <<EOF
1769 GForge config.status 3.0
1770 configured by $0, generated by GNU Autoconf 2.52,
1771 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1773 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
1774 Free Software Foundation, Inc.
1775 This config.status script is free software; the Free Software Foundation
1776 gives unlimited permission to copy, distribute and modify it."
1780 cat >>$CONFIG_STATUS <<\EOF
1781 # If no file are specified by the user, then we need to provide default
1782 # value. By we need to know if files were specified by the user.
1788 ac_option=`expr "x$1" : 'x\([^=]*\)='`
1789 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1791 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
1795 *) # This is not an option, so the user has probably given explicit
1797 ac_need_defaults=false;;
1801 # Handling of the options.
1803 cat >>$CONFIG_STATUS <<EOF
1804 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1805 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
1806 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
1808 cat >>$CONFIG_STATUS <<\EOF
1809 --version | --vers* | -V )
1810 echo "$ac_cs_version"; exit 0 ;;
1812 # Conflict between --help and --header
1813 { { echo "$as_me:1813: error: ambiguous option: $1
1814 Try \`$0 --help' for more information." >&5
1815 echo "$as_me: error: ambiguous option: $1
1816 Try \`$0 --help' for more information." >&2;}
1817 { (exit 1); exit 1; }; };;
1818 --help | --hel | -h )
1819 echo "$ac_cs_usage"; exit 0 ;;
1820 --debug | --d* | -d )
1822 --file | --fil | --fi | --f )
1824 CONFIG_FILES="$CONFIG_FILES $1"
1825 ac_need_defaults=false;;
1826 --header | --heade | --head | --hea )
1828 CONFIG_HEADERS="$CONFIG_HEADERS $1"
1829 ac_need_defaults=false;;
1832 -*) { { echo "$as_me:1832: error: unrecognized option: $1
1833 Try \`$0 --help' for more information." >&5
1834 echo "$as_me: error: unrecognized option: $1
1835 Try \`$0 --help' for more information." >&2;}
1836 { (exit 1); exit 1; }; } ;;
1838 *) ac_config_targets="$ac_config_targets $1" ;;
1847 ## ----------------------- ##
1848 ## Running config.status. ##
1849 ## ----------------------- ##
1851 This file was extended by $as_me (GForge 3.0) 2.52, executed with
1852 CONFIG_FILES = $CONFIG_FILES
1853 CONFIG_HEADERS = $CONFIG_HEADERS
1854 CONFIG_LINKS = $CONFIG_LINKS
1855 CONFIG_COMMANDS = $CONFIG_COMMANDS
1857 on `(hostname || uname -n) 2>/dev/null | sed 1q`
1862 cat >>$CONFIG_STATUS <<\EOF
1863 for ac_config_target in $ac_config_targets
1865 case "$ac_config_target" in
1866 # Handling of arguments.
1867 "local.inc" ) CONFIG_FILES="$CONFIG_FILES local.inc" ;;
1868 "sample-apache.vhost" ) CONFIG_FILES="$CONFIG_FILES sample-apache.vhost" ;;
1869 *) { { echo "$as_me:1869: error: invalid argument: $ac_config_target" >&5
1870 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
1871 { (exit 1); exit 1; }; };;
1875 # If the user did not use the arguments to specify the items to instantiate,
1876 # then the envvar interface is used. Set only those that are not.
1877 # We use the long form for the default assignment because of an extremely
1878 # bizarre bug on SunOS 4.1.3.
1879 if $ac_need_defaults; then
1880 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
1883 # Create a temporary directory, and hook for its removal unless debugging.
1886 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
1887 trap '{ (exit 1); exit 1; }' 1 2 13 15
1890 # Create a (secure) tmp directory for tmp files.
1893 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
1894 test -n "$tmp" && test -d "$tmp"
1897 tmp=$TMPDIR/cs$$-$RANDOM
1898 (umask 077 && mkdir $tmp)
1901 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
1902 { (exit 1); exit 1; }
1907 cat >>$CONFIG_STATUS <<EOF
1910 # CONFIG_FILES section.
1913 # No need to generate the scripts if there are no CONFIG_FILES.
1914 # This happens for instance when ./config.status config.h
1915 if test -n "\$CONFIG_FILES"; then
1916 # Protect against being on the right side of a sed subst in config.status.
1917 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1918 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1919 s,@SHELL@,$SHELL,;t t
1920 s,@exec_prefix@,$exec_prefix,;t t
1921 s,@prefix@,$prefix,;t t
1922 s,@program_transform_name@,$program_transform_name,;t t
1923 s,@bindir@,$bindir,;t t
1924 s,@sbindir@,$sbindir,;t t
1925 s,@libexecdir@,$libexecdir,;t t
1926 s,@datadir@,$datadir,;t t
1927 s,@sysconfdir@,$sysconfdir,;t t
1928 s,@sharedstatedir@,$sharedstatedir,;t t
1929 s,@localstatedir@,$localstatedir,;t t
1930 s,@libdir@,$libdir,;t t
1931 s,@includedir@,$includedir,;t t
1932 s,@oldincludedir@,$oldincludedir,;t t
1933 s,@infodir@,$infodir,;t t
1934 s,@mandir@,$mandir,;t t
1935 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1936 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1937 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1938 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1939 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1940 s,@build_alias@,$build_alias,;t t
1941 s,@host_alias@,$host_alias,;t t
1942 s,@target_alias@,$target_alias,;t t
1943 s,@ECHO_C@,$ECHO_C,;t t
1944 s,@ECHO_N@,$ECHO_N,;t t
1945 s,@ECHO_T@,$ECHO_T,;t t
1946 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1950 s,@HASHING_PROG@,$HASHING_PROG,;t t
1951 s,@sys_default_domain@,$sys_default_domain,;t t
1952 s,@sys_fallback_domain@,$sys_fallback_domain,;t t
1953 s,@sys_internal_network@,$sys_internal_network,;t t
1954 s,@sys_cvs_host@,$sys_cvs_host,;t t
1955 s,@sys_cvs_single_host@,$sys_cvs_single_host,;t t
1956 s,@sys_download_host@,$sys_download_host,;t t
1957 s,@sys_upload_host@,$sys_upload_host,;t t
1958 s,@sys_shell_host@,$sys_shell_host,;t t
1959 s,@sys_users_host@,$sys_users_host,;t t
1960 s,@sys_docs_host@,$sys_docs_host,;t t
1961 s,@sys_lists_host@,$sys_lists_host,;t t
1962 s,@sys_dns1_host@,$sys_dns1_host,;t t
1963 s,@sys_dns2_host@,$sys_dns2_host,;t t
1964 s,@sys_server@,$sys_server,;t t
1965 s,@sys_dbhost@,$sys_dbhost,;t t
1966 s,@sys_dbreadhost@,$sys_dbreadhost,;t t
1967 s,@sys_dbreaddb@,$sys_dbreaddb,;t t
1968 s,@sys_dbname@,$sys_dbname,;t t
1969 s,@sys_dbuser@,$sys_dbuser,;t t
1970 s,@sys_dbpasswd@,$sys_dbpasswd,;t t
1971 s,@TOP_DIR@,$TOP_DIR,;t t
1972 s,@sys_upload_dir@,$sys_upload_dir,;t t
1973 s,@sys_path_to_jpgraph@,$sys_path_to_jpgraph,;t t
1974 s,@homedir_prefix@,$homedir_prefix,;t t
1975 s,@groupdir_prefix@,$groupdir_prefix,;t t
1976 s,@sys_urlroot@,$sys_urlroot,;t t
1977 s,@sys_name@,$sys_name,;t t
1978 s,@sys_theme@,$sys_theme,;t t
1979 s,@sys_lang@,$sys_lang,;t t
1980 s,@sys_session_key@,$sys_session_key,;t t
1981 s,@sys_scm@,$sys_scm,;t t
1982 s,@sys_news_group@,$sys_news_group,;t t
1983 s,@sys_stats_group@,$sys_stats_group,;t t
1984 s,@sys_peer_rating_group@,$sys_peer_rating_group,;t t
1985 s,@default_trove_cat@,$default_trove_cat,;t t
1986 s,@sys_use_ldap@,$sys_use_ldap,;t t
1987 s,@sys_ldap_host@,$sys_ldap_host,;t t
1988 s,@sys_ldap_base_dn@,$sys_ldap_base_dn,;t t
1989 s,@sys_ldap_bind_dn@,$sys_ldap_bind_dn,;t t
1990 s,@sys_ldap_admin_dn@,$sys_ldap_admin_dn,;t t
1991 s,@sys_ldap_passwd@,$sys_ldap_passwd,;t t
1992 s,@sys_use_jabber@,$sys_use_jabber,;t t
1993 s,@sys_jabber_host@,$sys_jabber_host,;t t
1994 s,@sys_jabber_user@,$sys_jabber_user,;t t
1995 s,@sys_jabber_pass@,$sys_jabber_pass,;t t
2000 cat >>$CONFIG_STATUS <<\EOF
2001 # Split the substitutions into bite-sized pieces for seds with
2002 # small command number limits, like on Digital OSF/1 and HP-UX.
2004 ac_sed_frag=1 # Number of current file.
2005 ac_beg=1 # First line for current file.
2006 ac_end=$ac_max_sed_lines # Line after last line for current file.
2009 while $ac_more_lines; do
2010 if test $ac_beg -gt 1; then
2011 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2013 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2015 if test ! -s $tmp/subs.frag; then
2018 # The purpose of the label and of the branching condition is to
2019 # speed up the sed processing (if there are no `@' at all, there
2020 # is no need to browse any of the substitutions).
2021 # These are the two extra sed commands mentioned above.
2023 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2024 if test -z "$ac_sed_cmds"; then
2025 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2027 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2029 ac_sed_frag=`expr $ac_sed_frag + 1`
2031 ac_end=`expr $ac_end + $ac_max_sed_lines`
2034 if test -z "$ac_sed_cmds"; then
2037 fi # test -n "$CONFIG_FILES"
2040 cat >>$CONFIG_STATUS <<\EOF
2041 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2042 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2044 - | *:- | *:-:* ) # input from stdin
2046 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2047 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2048 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2049 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2050 * ) ac_file_in=$ac_file.in ;;
2053 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2054 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2055 X"$ac_file" : 'X\(//\)[^/]' \| \
2056 X"$ac_file" : 'X\(//\)$' \| \
2057 X"$ac_file" : 'X\(/\)' \| \
2058 . : '\(.\)' 2>/dev/null ||
2060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2061 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2062 /^X\(\/\/\)$/{ s//\1/; q; }
2063 /^X\(\/\).*/{ s//\1/; q; }
2065 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2067 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2071 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2072 case $as_mkdir_dir in
2073 # Skip DOS drivespec
2074 ?:) as_incr_dir=$as_mkdir_dir ;;
2076 as_incr_dir=$as_incr_dir/$as_mkdir_dir
2077 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
2082 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
2083 # A "../" for each directory in $ac_dir_suffix.
2084 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
2086 ac_dir_suffix= ac_dots=
2091 if test -z "$ac_dots"; then
2094 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
2097 ac_srcdir=$srcdir$ac_dir_suffix;
2098 ac_top_srcdir=$srcdir ;;
2100 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
2101 ac_top_srcdir=$ac_dots$srcdir ;;
2104 if test x"$ac_file" != x-; then
2105 { echo "$as_me:2105: creating $ac_file" >&5
2106 echo "$as_me: creating $ac_file" >&6;}
2109 # Let's still pretend it is `configure' which instantiates (i.e., don't
2110 # use $as_me), people would be surprised to read:
2111 # /* config.h. Generated automatically by config.status. */
2112 configure_input="Generated automatically from `echo $ac_file_in |
2113 sed 's,.*/,,'` by configure."
2115 # First look for the input files in the build tree, otherwise in the
2117 ac_file_inputs=`IFS=:
2118 for f in $ac_file_in; do
2120 -) echo $tmp/stdin ;;
2122 # Absolute (can't be DOS-style, as IFS=:)
2123 test -f "$f" || { { echo "$as_me:2123: error: cannot find input file: $f" >&5
2124 echo "$as_me: error: cannot find input file: $f" >&2;}
2125 { (exit 1); exit 1; }; }
2128 if test -f "$f"; then
2131 elif test -f "$srcdir/$f"; then
2136 { { echo "$as_me:2136: error: cannot find input file: $f" >&5
2137 echo "$as_me: error: cannot find input file: $f" >&2;}
2138 { (exit 1); exit 1; }; }
2141 done` || { (exit 1); exit 1; }
2143 cat >>$CONFIG_STATUS <<EOF
2147 cat >>$CONFIG_STATUS <<\EOF
2149 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2150 s,@configure_input@,$configure_input,;t t
2151 s,@srcdir@,$ac_srcdir,;t t
2152 s,@top_srcdir@,$ac_top_srcdir,;t t
2153 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2155 if test x"$ac_file" != x-; then
2156 mv $tmp/out $ac_file
2165 cat >>$CONFIG_STATUS <<\EOF
2167 { (exit 0); exit 0; }
2169 chmod +x $CONFIG_STATUS
2170 ac_clean_files=$ac_clean_files_save
2173 echo "Some key variables:-"
2175 echo " sys_default_domain = $sys_default_domain"
2176 echo " sys_cvs_host = $sys_cvs_host"
2177 echo " sys_download_host = $sys_download_host"
2178 echo " sys_upload_host = $sys_upload_host"
2179 echo " sys_shell_host = $sys_shell_host"
2180 echo " sys_users_host = $sys_users_host"
2181 echo " sys_docs_host = $sys_docs_host"
2182 echo " sys_lists_host = $sys_lists_host"
2183 echo " sys_dns1_host = $sys_dns1_host"
2184 echo " sys_dns2_host = $sys_dns2_host"
2185 echo " sys_dbhost = $sys_dbhost"
2186 echo " sys_dbreadhost = $sys_dbreadhost"
2187 echo " sys_dbname = $sys_dbname"
2188 echo " sys_dbreaddb = $sys_dbreaddb"
2189 echo " sys_dbuser = $sys_dbuser"
2190 if test $sys_use_ldap == 1
2193 echo " sys_ldap_host = $sys_ldap_host"
2194 echo " sys_ldap_base_dn = $sys_ldap_base_dn"
2195 echo " sys_ldap_bind_dn = $sys_ldap_bind_dn"
2196 echo " sys_ldap_admin_dn = $sys_ldap_admin_dn"
2198 if test $sys_use_jabber == 1
2201 echo " sys_jabber_host = $sys_jabber_host"
2202 echo " sys_jabber_user = $sys_jabber_user"
2205 echo " sys_name = $sys_name"
2207 echo " sys_urlroot = $sys_urlroot"
2208 echo " sys_upload_dir = $sys_upload_dir"
2209 echo " sys_path_to_jpgraph = $sys_path_to_jpgraph"
2211 echo " sys_session_key = $sys_session_key"
2214 # configure is writing to config.log, and then calls config.status.
2215 # config.status does its own redirection, appending to config.log.
2216 # Unfortunately, on DOS this fails, as config.log is still kept open
2217 # by configure, so config.status won't be able to write to it; its
2218 # output is simply discarded. So we exec the FD to /dev/null,
2219 # effectively closing config.log, so it can be properly (re)opened and
2220 # appended to by config.status. When coming back to configure, we
2221 # need to make the FD available again.
2222 if test "$no_create" != yes; then
2225 $SHELL $CONFIG_STATUS || ac_cs_success=false
2227 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2228 # would make configure fail if this is the last instruction.
2229 $ac_cs_success || { (exit 1); exit 1; }