diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:18 +0000 |
commit | 5da14042f70711ea5cf66e034699730335462f66 (patch) | |
tree | 0f6354ccac934ed87a2d555f45be4c831cf92f4a /src/fluent-bit/lib/onigmo/onigmo-config.in | |
parent | Releasing debian version 1.44.3-2. (diff) | |
download | netdata-5da14042f70711ea5cf66e034699730335462f66.tar.xz netdata-5da14042f70711ea5cf66e034699730335462f66.zip |
Merging upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fluent-bit/lib/onigmo/onigmo-config.in')
-rw-r--r-- | src/fluent-bit/lib/onigmo/onigmo-config.in | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/src/fluent-bit/lib/onigmo/onigmo-config.in b/src/fluent-bit/lib/onigmo/onigmo-config.in new file mode 100644 index 000000000..ab408b515 --- /dev/null +++ b/src/fluent-bit/lib/onigmo/onigmo-config.in @@ -0,0 +1,78 @@ +#!/bin/sh +# Copyright (C) 2006 K.Kosako (sndgk393 AT ybb DOT ne DOT jp) + +ONIGMO_VERSION=@PACKAGE_VERSION@ + +show_usage() +{ + cat <<EOF +Usage: onigmo-config [OPTION] + + Values for OPTION are: + --prefix[=DIR] change prefix to DIR + --prefix print prefix + --exec-prefix[=DIR] change exec_prefix to DIR + --exec-prefix print exec_prefix + --cflags print C compiler flags + --libs print library information + --version print onigmo version + --help print this help + +EOF + + exit 1 +} + +if test $# -eq 0; then + show_usage +fi + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +is_set_exec_prefix=no + +while test $# -gt 0; do + case "$1" in + -*=*) val=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` + ;; + *) val= + ;; + esac + + case $1 in + --prefix=*) + prefix=$val + if test $is_set_exec_prefix = no ; then + exec_prefix=$val + fi + ;; + --prefix) + echo $prefix + ;; + --exec-prefix=*) + exec_prefix=$val + is_set_exec_prefix=yes + ;; + --exec-prefix) + echo $exec_prefix + ;; + --cflags) + if test @includedir@ != /usr/include ; then + show_includedir=-I@includedir@ + fi + echo $show_includedir + ;; + --libs) + echo -L@libdir@ -lonigmo + ;; + --version) + echo $ONIGMO_VERSION + ;; + *) + show_usage + ;; + esac + shift +done + +# END |