[pacman-dev] CVS update of pacman-lib (configure.ac)

Juergen Hoetzel juergen at archlinux.org
Tue Jan 30 15:37:59 EST 2007


    Date: Tuesday, January 30, 2007 @ 15:37:59
  Author: juergen
    Path: /home/cvs-pacman/pacman-lib

Modified: configure.ac (1.25 -> 1.26)

* doxygen check cleanup


--------------+
 configure.ac |   10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)


Index: pacman-lib/configure.ac
diff -u pacman-lib/configure.ac:1.25 pacman-lib/configure.ac:1.26
--- pacman-lib/configure.ac:1.25	Tue Jan 30 03:17:02 2007
+++ pacman-lib/configure.ac	Tue Jan 30 15:37:59 2007
@@ -195,25 +195,17 @@
 fi
 
 dnl Check for doxygen support
-AC_MSG_CHECKING(for support Doxygen)
 if test x$wantdoxygen = xyes ; then
     AC_CHECK_PROGS([DOXYGEN], [doxygen])
-    AM_CONDITIONAL(HAS_DOXYGEN, test $DOXYGEN)
     if test $DOXYGEN ; then
-        AC_DEFINE([HAS_DOXYGEN], [TRUE], [Enabled Doxygen Support])
-	AC_MSG_RESULT(yes)
 	DOXYSTATUS="yes, path: `which $DOXYGEN`"
     else
-        AC_DEFINE([HAS_DOXYGEN], [FALSE], [Disabled Doxygen support])
-	AC_MSG_RESULT(no, doxygen missing)
 	DOXYSTATUS="doxygen binary not found"
     fi
 else
-    AM_CONDITIONAL(HAS_DOXYGEN, test $DOXYGEN)
-    AC_DEFINE([HAS_DOXYGEN], [FALSE], [Not specified at configure line])
-    AC_MSG_RESULT(not requested by configure)
     DOXYSTATUS="no, disabled by configure"
 fi
+AM_CONDITIONAL(HAS_DOXYGEN, test $DOXYGEN)
 
 dnl Check for swig binary
 AC_CHECK_PROGS([SWIG], [swig])




More information about the pacman-dev mailing list