diff --git a/ase/configure.ac b/ase/configure.ac index 0acda669..e97cdb76 100644 --- a/ase/configure.ac +++ b/ase/configure.ac @@ -1,24 +1,21 @@ -# -# $Id: configure.ac,v 1.5 2007/05/25 07:54:15 bacon Exp $ -# - AC_PREREQ(2.59) AC_INIT([ase],[0.5.0],[bacon@abiyo.net]) AC_CONFIG_HEADER([include/ase/config.h]) AC_CONFIG_AUX_DIR(autoconf) -# Does compilation test using CC and CPP with extension .c for test programs. +dnl uses CC and CPP for compilation tests with .c test programs. AC_LANG(C) -# Initializes automake +dnl initializes automake AM_INIT_AUTOMAKE([-Wall -Werror foreign]) -# Determines a C compiler to use +dnl determines a C compiler to use AC_PROG_CC -# Determines a C++ compiler to use +dnl determines a C++ compiler to use AC_PROG_CXX -# Checks the C++ compiler exists in PATH. + +dnl checks if the C++ compiler exists in PATH. AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no) AC_PROG_LIBTOOL @@ -31,7 +28,7 @@ AC_CHECK_TOOL(GREP, grep) AC_CHECK_TOOL(RM, rm) AC_CHECK_TOOL(CJ, gcj) -# Overrides the default CFLAGS setting +dnl overrides the default CFLAGS setting if test "$ac_test_CFLAGS" = "set" then CFLAGS=$ac_save_CFLAGS diff --git a/ase/include/ase/makefile.am b/ase/include/ase/makefile.am index 85514df7..168aa5c1 100644 --- a/ase/include/ase/makefile.am +++ b/ase/include/ase/makefile.am @@ -11,3 +11,6 @@ CLEANFILES = *dist install-data-hook: @"$(GREP)" -E "#define[ ]+ASE_" "$(srcdir)/config.h" > "$(pkgincludedir)/config.h" @"$(RM)" -f "$(pkgincludedir)/config.h.in" + +uninstall-hook: + @"$(RM)" -f "$(pkgincludedir)/config.h"