summaryrefslogtreecommitdiff
path: root/dist/s_all
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2011-01-30 07:29:14 +1100
committerKeith Bostic <keith@wiredtiger.com>2011-01-30 07:29:14 +1100
commit583514a6a6391f26b45903f0a72d8beec6e6fdd3 (patch)
treedf29227681f624c08b8a1ab276294f89419463fa /dist/s_all
parent8335dc9259bb6b0539a1469740edd67903597abf (diff)
downloadmongo-583514a6a6391f26b45903f0a72d8beec6e6fdd3.tar.gz
Add the -A flag to rebuild the GNU files for the build.
--HG-- branch : keith
Diffstat (limited to 'dist/s_all')
-rw-r--r--dist/s_all15
1 files changed, 15 insertions, 0 deletions
diff --git a/dist/s_all b/dist/s_all
index fd8ff61ad82..061f53f2a42 100644
--- a/dist/s_all
+++ b/dist/s_all
@@ -15,6 +15,21 @@ run()
echo 'dist/s_all run started...'
+reconf=0
+while :
+ do case "$1" in
+ -A) # Reconfigure the library build.
+ reconf=1
+ shift;;
+ *)
+ break;;
+ esac
+done
+
+test "$reconf" -eq 0 ||
+ (cd ../build_posix &&
+ run "sh reconf" "Rebuilding GNU tools library build")
+
run "python api_flags.py" "Building API flags include file"
run "python api.py" "Building API methods"
run "python api_err.py" "Building error return API"