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
d98fc501fb69df7612d22c19ea1bc2315fbc8151
json-c/autogen.sh

14 lines
276 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 AC_CONFIG_MACRO_DIRS to specify path to the ax macros instead of passing -I to autoreconf in autogen.sh.
2017-09-03 22:35:58 -04:00
autoreconf -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: 28ms 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