This commit is contained in:
Laurence Withers 2006-12-08 15:22:36 +00:00
parent 1f2f79bb05
commit 726ec70f7a
4 changed files with 26 additions and 54 deletions

View File

@ -1,13 +0,0 @@
/* @P@/src/@NAME@/BottomHeader.h
*
* (c)2006, @AUTHOR@, <@EMAIL@>.
* Released under the GNU GPLv2. See file COPYING or
* http://www.gnu.org/copyleft/gpl.html for details.
*/
#endif
/* options for text editors
kate: @KATE_MODELINE@
vim: @VIM_MODELINE@
*/

View File

@ -1,15 +0,0 @@
/* @P@/src/@NAME@/TopSource.c
*
* (c)2006, @AUTHOR@, <@EMAIL@>.
* Released under the GNU GPLv2. See file COPYING or
* http://www.gnu.org/copyleft/gpl.html for details.
*/
#include "@HEADER_NAME@"
// Below are all the includes used throughout the library.
/* options for text editors
kate: @KATE_MODELINE@
vim: @VIM_MODELINE@
*/

View File

@ -14,13 +14,13 @@ lib_dir_set="no"
usage() { usage() {
cat <<EOF cat <<EOF
Usage: libgcf2-config [OPTIONS] [LIBRARIES] Usage: @NAME@-config [options]
Options: Options:
[--version] [--version]
[--libs] [--libs]
[--libdir[=DIR]] [--libdir[=DIR]]
[--cflags] [--cflags]
[--includedir[=DIR]] [--includedir[=DIR]]
EOF EOF
exit $1 exit $1
} }
@ -39,28 +39,28 @@ do
;; ;;
*) *)
optarg="" optarg=""
;; ;;
esac esac
case "$1" in case "$1" in
--libdir=*) --libdir=*)
lib_dir="${optarg}" lib_dir="${optarg}"
lib_dir_set="yes" lib_dir_set="yes"
;; ;;
--libdir) --libdir)
echo_lib_dir="yes" echo_lib_dir="yes"
;; ;;
--includedir=*) --includedir=*)
include_dir="${optarg}" include_dir="${optarg}"
include_dir_set="yes" include_dir_set="yes"
;; ;;
--includedir) --includedir)
echo_include_dir="yes" echo_include_dir="yes"
;; ;;
--version) --version)
echo "@VERSION@" echo "@VERSION@"
@ -68,7 +68,7 @@ do
;; ;;
--cflags) --cflags)
[ "${include_dir}" != "/usr/include" ] && includes="-I${include_dir}" [ "${include_dir}" != "/usr/include" ] && includes="-I${include_dir}"
echo_cflags="yes" echo_cflags="yes"
;; ;;

View File

@ -14,13 +14,13 @@ lib_dir_set="no"
usage() { usage() {
cat <<EOF cat <<EOF
Usage: libgcf2-config [OPTIONS] [LIBRARIES] Usage: @NAME@-config [options]
Options: Options:
[--version] [--version]
[--libs] [--libs]
[--libdir[=DIR]] [--libdir[=DIR]]
[--cflags] [--cflags]
[--includedir[=DIR]] [--includedir[=DIR]]
EOF EOF
exit $1 exit $1
} }
@ -39,28 +39,28 @@ do
;; ;;
*) *)
optarg="" optarg=""
;; ;;
esac esac
case "$1" in case "$1" in
--libdir=*) --libdir=*)
lib_dir="${optarg}" lib_dir="${optarg}"
lib_dir_set="yes" lib_dir_set="yes"
;; ;;
--libdir) --libdir)
echo_lib_dir="yes" echo_lib_dir="yes"
;; ;;
--includedir=*) --includedir=*)
include_dir="${optarg}" include_dir="${optarg}"
include_dir_set="yes" include_dir_set="yes"
;; ;;
--includedir) --includedir)
echo_include_dir="yes" echo_include_dir="yes"
;; ;;
--version) --version)
echo "@VERSION@" echo "@VERSION@"
@ -68,7 +68,7 @@ do
;; ;;
--cflags) --cflags)
[ "${include_dir}" != "/usr/include" ] && includes="-I${include_dir}" [ "${include_dir}" != "/usr/include" ] && includes="-I${include_dir}"
echo_cflags="yes" echo_cflags="yes"
;; ;;