Index: configure.ac =================================================================== RCS file: /cvs/xorg/xserver/xorg/configure.ac,v retrieving revision 1.51 diff -u -r1.51 configure.ac --- configure.ac 8 Aug 2005 00:38:38 -0000 1.51 +++ configure.ac 15 Sep 2005 03:12:31 -0000 @@ -211,9 +211,14 @@ AC_ARG_WITH(vendor-web, [ --with-vendor-web=URL ], [ VENDOR_WEB="$withval" ], [ VENDOR_WEB="$DEFAULT_VENDOR_WEB" ]) -AC_ARG_WITH(module-dir, [ --with-module-dir=DIR ], +AC_ARG_WITH(module-dir, AS_HELP_STRING([--with-module-dir=DIR], + [directory where modules are installed (default: $libdir/xorg/modules)]), [ moduledir="$withval" ], [ moduledir="$libdir/xorg/modules" ]) +AC_ARG_WITH(log-dir, AS_HELP_STRING([--with-log-dir=DIR], + [directory where log files are kept (default: $localstatedir/log)]), + [ logdir="$withval" ], + [ logdir="$localstatedir/log" ]) AC_ARG_WITH(builder-addr, [ --with-builder-addr=ADDRESS ], [ BUILDERADDR="$withval" ], [ BUILDERADDR="xorg@lists.freedesktop.org" ]) @@ -752,7 +757,7 @@ dnl these only go in xorg-config.h CONFIGFILE="$sysconfdir/xorg.conf" -LOGPREFIX="$localstatedir/log/Xorg." +LOGPREFIX="$logdir/Xorg." AC_DEFINE(XFree86Server,1,[Building XFree86 server]) AC_DEFINE(XORGSERVER,,[Building Xorg server]) AC_DEFINE(XFree86LOADER,1,[Building XFree86 loader])