[daemon-fix] fixed querying about name information
[platform/upstream/dbus.git] / autogen.sh
index f722e94..76d5b0e 100755 (executable)
@@ -85,8 +85,9 @@ autoconf || echo "autoconf failed - version 2.5x is probably required"
 
 cd $ORIGDIR
 
-run_configure=true
-for arg in $*; do
+if test x"$NOCONFIGURE" = x; then
+  run_configure=true
+  for arg in $*; do
     case $arg in 
         --no-configure)
             run_configure=false
@@ -94,10 +95,14 @@ for arg in $*; do
         *)
             ;;
     esac
-done
+  done
+else
+  run_configure=false
+fi
 
+#--enable-developer --enable-verbose-mode 
 if $run_configure; then
-    $srcdir/configure --enable-maintainer-mode --config-cache "$@"
+    $srcdir/configure --enable-abstract-sockets --config-cache --enable-doxygen-docs=no "$@" || exit $?
     echo 
     echo "Now type 'make' to compile $PROJECT."
 else