Commit in SimDist on MAIN
configure.in+75added 1.1


SimDist
configure.in added at 1.1
diff -N configure.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ configure.in	22 Jun 2006 23:42:52 -0000	1.1
@@ -0,0 +1,75 @@
+dnl $Header: /cvs/lcd/SimDist/configure.in,v 1.1 2006/06/22 23:42:52 jeremy Exp $
+dnl
+dnl Process this file with autoconf to produce the configure script for SimDist.
+dnl
+
+AC_PREREQ(2.57)
+
+dnl Package info.
+AC_INIT(SimDist,
+	v1r0p0,
+	[log in to unmask])
+
+dnl Set the host variables.
+AC_CANONICAL_HOST
+
+dnl Set which variable to use for runtime location of shared libs.
+AC_OS_SHARED_LIBS_VAR
+
+dnl Check for required programs.
+AC_PROG_MAKE_SET
+AC_PROG_CXX
+AC_PROG_CVS
+AC_PROG_JAVA
+AC_PROG_WGET
+AC_PROG_SCP
+
+dnl Set the SLAC CVS username.
+AC_WITH_CVSUSER
+
+dnl Set the installation prefix.
+AC_WITH_PREFIX
+
+dnl Initialize the SimDist build.
+AC_INIT_SIMDIST
+
+dnl Setup OpenGL if found.
+AC_OPENGL
+
+dnl Setup each package.
+AC_CONFIG_PACKAGES
+
+dnl Individual package configuration.
+AC_CLHEP
+dnl AC_GEANT4
+AC_MYSQL
+
+dnl Setup name of tarball.
+AC_DIST_TGZ
+
+dnl Select location for dist tarball.
+AC_WITH_UPLOAD_DIR
+
+dnl Add additional input files.
+AC_ADD_CONFIG_FILE(scripts/slic.sh)
+AC_ADD_CONFIG_FILE(scripts/mokka.sh)
+AC_ADD_CONFIG_FILE(Makefile)
+AC_ADD_CONFIG_FILE(packages/Makefile)
+AC_ADD_CONFIG_FILE(build/package.gmk)
+
+dnl AC_ADD_CONFIG_FILE(build/xerces.gmk)
+dnl AC_ADD_CONFIG_FILE(build/clhep.gmk)
+
+dnl Remove trailing space from input file list.
+config_files=${config_files%\ }
+
+dnl Set AC input files.
+AC_CONFIG_FILES(${config_files})
+
+dnl Generate the files.
+AC_OUTPUT()
+
+dnl Set the permissions on scripts.
+chmod 755 build.sh
+chmod 755 $sim_packages_dir/*/*.sh
+chmod 755 $sim_scripts_dir/*.sh
CVSspam 0.2.8