Logo
Explore Help
Sign In
mirror/json-c
1
0
Fork 0
You've already forked json-c
mirror of https://github.com/json-c/json-c.git synced 2026-03-23 06:59:06 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
deb9fa482d7bbe8544dc3cc866aec00a17aa8ff4
json-c/autogen.sh

14 lines
298 B
Bash
Raw Normal View History

autogen.sh: Add /bin/sh interpreter, honor NOCONFIGURE=1 First, we should be able to execute as "./autogen.sh". Second, add support for NOCONFIGURE=1. For more information, see http://people.gnome.org/~walters/docs/build-api.txt
2012-07-11 15:33:49 -04:00
#!/bin/sh
Use AX_APPEND_COMPILE_FLAGS() to check the various compile flags, such as -Wall, to ensure the compile supports.
2015-10-23 02:16:40 +00:00
autoreconf -Iautoconf-archive/m4 -v --install || exit 1
Default autogen.sh to not running configure, unless some command line options are specified.
2012-07-29 12:18:37 -05:00
# If there are any options, assume the user wants to run configure.
# To run configure w/o any options, use ./autogen.sh --configure
if [ $# -gt 0 ] ; then
case "$1" in
--conf*)
shift 1
;;
esac
autogen.sh: Add /bin/sh interpreter, honor NOCONFIGURE=1 First, we should be able to execute as "./autogen.sh". Second, add support for NOCONFIGURE=1. For more information, see http://people.gnome.org/~walters/docs/build-api.txt
2012-07-11 15:33:49 -04:00
exec ./configure "$@"
fi
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 26ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API 粤ICP备2023071974号-5