comparison configure @ 151:e20fe8c9936a

default values for logdir and spooldir we also have defines for LOG_DIR and SPOOL_DIR now
author meillo@marmaro.de
date Wed, 07 Jul 2010 10:32:00 +0200
parents 311d4ac8a2eb
children 27363b36a28c
comparison
equal deleted inserted replaced
142:4aa6b6e18a13 151:e20fe8c9936a
1363 --with-user=USER set user mail 1363 --with-user=USER set user mail
1364 --with-group=GROUP set group trusted 1364 --with-group=GROUP set group trusted
1365 --with-glib-static=path link glib statically (path mandatory!) 1365 --with-glib-static=path link glib statically (path mandatory!)
1366 --with-libcrypto use libcrypto 1366 --with-libcrypto use libcrypto
1367 --with-liblockfile use liblock (for Debian) 1367 --with-liblockfile use liblock (for Debian)
1368 --with-logdir=DIR set log directory /var/masqmail 1368 --with-logdir=DIR set log directory /var/log/masqmail
1369 --with-spooldir=DIR set spool directory /var/spool/masqmail 1369 --with-spooldir=DIR set spool directory /var/spool/masqmail
1370 --with-confdir directory for configuration /etc/masqmail 1370 --with-confdir directory for configuration /etc/masqmail
1371 1371
1372 Some influential environment variables: 1372 Some influential environment variables:
1373 CC C compiler command 1373 CC C compiler command
5438 with_logdir='/var/log/masqmail/' 5438 with_logdir='/var/log/masqmail/'
5439 5439
5440 fi 5440 fi
5441 5441
5442 5442
5443 cat >>confdefs.h <<_ACEOF
5444 #define LOG_DIR "${with_logdir}"
5445 _ACEOF
5446
5447
5443 5448
5444 5449
5445 # Check whether --with-spooldir was given. 5450 # Check whether --with-spooldir was given.
5446 if test "${with_spooldir+set}" = set; then : 5451 if test "${with_spooldir+set}" = set; then :
5447 withval=$with_spooldir; 5452 withval=$with_spooldir;
5448 else 5453 else
5449 with_spooldir='/var/spool/masqmail/' 5454 with_spooldir='/var/spool/masqmail/'
5450 5455
5451 fi 5456 fi
5457
5458
5459 cat >>confdefs.h <<_ACEOF
5460 #define SPOOL_DIR "${with_spooldir}"
5461 _ACEOF
5452 5462
5453 5463
5454 5464
5455 5465
5456 # Check whether --with-confdir was given. 5466 # Check whether --with-confdir was given.