2 # Copyright (C) 2006 K.Kosako
4 ONIG_VERSION=@PACKAGE_VERSION@
9 Usage: onig-config [OPTION]
11 Values for OPTION are:
12 --prefix[=DIR] change prefix to DIR
14 --exec-prefix[=DIR] change exec_prefix to DIR
15 --exec-prefix print exec_prefix
16 --cflags print C compiler flags
17 --libs print library information
18 --version print oniguruma version
19 --help print this help
26 if test $# -eq 0; then
31 exec_prefix=@exec_prefix@
34 while test $# -gt 0; do
36 -*=*) val=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'`
45 if test $is_set_exec_prefix = no ; then
54 is_set_exec_prefix=yes
60 if test @includedir@ != /usr/include ; then
61 show_includedir=-I@includedir@
66 echo -L@libdir@ -lonig