Fix autoconf warnings.
[awesomized/libmemcached] / config / autorun.sh
index c7e87ed1b8c8611cb7fe244d775a1b264167445f..27fcf170e5656ace96a5dafd6d8b45c3947cc477 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-#  Copyright (C) 2011 Brian Aker
+#  Copyright (C) 2011 Brian Aker, brian@tangent.org
 #  All rights reserved.
 # 
 #  Redistribution and use in source and binary forms, with or without
@@ -49,7 +49,12 @@ locate_binary() {
 }
 
 
-AUTORECONF_FLAGS=" --install --force --verbose -Wall"
+if test -d .bzr
+then
+  AUTORECONF_FLAGS=" --install --verbose -Wall -Werror"
+else
+  AUTORECONF_FLAGS=" --install --verbose -Wall"
+fi
 
 if test -f config/pre_hook.sh
 then