Date: Sun Jul 7 05:57:45 CEST 2002
User: Jani Taskinen
Directory: srm
Log Message:
[1.00]
- Added 'srm-config' utility which can be used when compiling client
applications, for example PHP.
Modified files:
srm/.cvsignore (version: 1.9)
srm/Makefile.am (version: 1.8)
srm/configure.in (version: 1.56)
Added files:
srm/srm-config.in (new version: 1.1)
[FILE: /srm/srm-config.in]
#!/bin/sh
prefix="@prefix@"
libs="@LDFLAGS@ @LIBS@"
cflags="@CFLAGS@"
cppflags="@CPPFLAGS@"
includes="-I@includedir@"
version="@SRM_VERSION@"
api_version="@SRM_API_VERSION@"
show_usage()
{
echo "Usage: $0 [--prefix|--includes|--libs|--cflags|--cppflags|--version|--api-number]"
}
if test $# -eq 0; then
show_usage
exit 1
fi
flags=""
while test $# -gt 0; do
case "$1" in
--prefix)
echo $prefix
exit 0;;
--includes)
flags="$flags $includes";;
--libs)
flags="$flags $libs";;
--cflags)
flags="$flags $cflags";;
--cppflags)
flags="$flags $cppflags";;
--version)
echo $version
exit 0;;
--api-number)
echo $api_version
exit 0;;
--help)
show_usage
exit 0;;
*)
show_usage
exit 1;;
esac
shift
done
if test -n "$flags"; then
echo "$flags"
fi
exit 0
[FILE: /srm/.cvsignore]
--- srm/.cvsignore:1.8 Wed Mar 27 18:52:17 2002 GMT
+++ srm/.cvsignore Sun Jul 07 01:57:44 2002 GMT
@@ -17,4 +17,5 @@
stamp-h.in
generated_list
missing
+srm-config
autom4te.cache
[FILE: /srm/Makefile.am]
--- srm/Makefile.am:1.7 Mon Jan 14 18:53:47 2002 GMT
+++ srm/Makefile.am Sun Jul 07 01:57:44 2002 GMT
@@ -1,4 +1,4 @@
-## $Id: cvstemp,v 1.7 2002/01/14 19:53:47 peter Exp $
+## $Id: cvstemp,v 1.8 2002/07/07 03:57:44 sniper Exp $
##
## Use automake to create Makefile.in
##
@@ -26,3 +26,4 @@
SUBDIRS = modules main test
include_HEADERS = config.h
+bin_SCRIPTS = srm-config
[FILE: /srm/configure.in]
--- srm/configure.in:1.55 Tue May 07 09:07:54 2002 GMT
+++ srm/configure.in Sun Jul 07 01:57:44 2002 GMT
@@ -1,4 +1,4 @@
-dnl $Id: cvstemp,v 1.55 2002/05/07 11:07:54 sniper Exp $
+dnl $Id: cvstemp,v 1.56 2002/07/07 03:57:44 sniper Exp $
dnl
dnl Process this file with autoconf to produce a configure script.
dnl
@@ -213,7 +213,7 @@
test/smxs/Makefile \
test/storage/Makefile"
-AC_OUTPUT([$MAKES], [], [
+AC_OUTPUT([$MAKES srm-config], [], [
if test "\$CONFIG_FILES" = "$MAKES" || test -z "\$CONFIG_FILES"; then
REDO_ALL=yes
fi
Received on Sun Jul 7 06:42:33 2002
This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 05:00:03 CET