OSSP CVS Repository

ossp - Check-in [2266]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2266
Date: 2002-Jul-10 11:08:51 (local)
2002-Jul-10 09:08:51 (UTC)
User:rse
Branch:
Comment: add Autoconf support for --with-cfgdir option
Tickets:
Inspections:
Files:
ossp-pkg/fsl/configure.ac      1.1 -> 1.2     9 inserted, 0 deleted

ossp-pkg/fsl/configure.ac 1.1 -> 1.2

--- configure.ac 2002/07/09 09:42:09     1.1
+++ configure.ac 2002/07/10 09:08:51     1.2
@@ -71,6 +71,15 @@
 AC_SUBST(LIB_DEPS)
 AC_CONFIG_SUBDIRS([$SUBDIR_L2 $SUBDIR_CFG])
 
+AC_MSG_CHECKING(for configuration directory)
+AC_ARG_WITH(cfgdir,dnl
+[  --with-cfgdir=PATH      set configuration directory (default=PREFIX/etc/fsl)],
+[ fsl_cfgdir=$withval ],
+[ fsl_cfgdir="${prefix}/etc/fsl" ]
+)dnl
+AC_DEFINE_UNQUOTED(FSL_CFGDIR, "$fsl_cfgdir", [Define for configuration directory])
+AC_MSG_RESULT([$fsl_cfgdir])
+
 AC_CONFIG_HEADERS(config.h)
 AC_CONFIG_FILES([Makefile fsl-config])
 AC_CONFIG_COMMANDS([adjustment], [chmod a+x fsl-config])

CVSTrac 2.0.1