added an uninstall-hook into makefile.am
This commit is contained in:
parent
4b7d0446a3
commit
e5479adb21
@ -1,24 +1,21 @@
|
|||||||
#
|
|
||||||
# $Id: configure.ac,v 1.5 2007/05/25 07:54:15 bacon Exp $
|
|
||||||
#
|
|
||||||
|
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_INIT([ase],[0.5.0],[bacon@abiyo.net])
|
AC_INIT([ase],[0.5.0],[bacon@abiyo.net])
|
||||||
AC_CONFIG_HEADER([include/ase/config.h])
|
AC_CONFIG_HEADER([include/ase/config.h])
|
||||||
AC_CONFIG_AUX_DIR(autoconf)
|
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)
|
AC_LANG(C)
|
||||||
|
|
||||||
# Initializes automake
|
dnl initializes automake
|
||||||
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
|
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
|
||||||
|
|
||||||
# Determines a C compiler to use
|
dnl determines a C compiler to use
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
|
||||||
# Determines a C++ compiler to use
|
dnl determines a C++ compiler to use
|
||||||
AC_PROG_CXX
|
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_CHECK_PROG(HAVE_CXX, $CXX, yes, no)
|
||||||
|
|
||||||
AC_PROG_LIBTOOL
|
AC_PROG_LIBTOOL
|
||||||
@ -31,7 +28,7 @@ AC_CHECK_TOOL(GREP, grep)
|
|||||||
AC_CHECK_TOOL(RM, rm)
|
AC_CHECK_TOOL(RM, rm)
|
||||||
AC_CHECK_TOOL(CJ, gcj)
|
AC_CHECK_TOOL(CJ, gcj)
|
||||||
|
|
||||||
# Overrides the default CFLAGS setting
|
dnl overrides the default CFLAGS setting
|
||||||
if test "$ac_test_CFLAGS" = "set"
|
if test "$ac_test_CFLAGS" = "set"
|
||||||
then
|
then
|
||||||
CFLAGS=$ac_save_CFLAGS
|
CFLAGS=$ac_save_CFLAGS
|
||||||
|
@ -11,3 +11,6 @@ CLEANFILES = *dist
|
|||||||
install-data-hook:
|
install-data-hook:
|
||||||
@"$(GREP)" -E "#define[ ]+ASE_" "$(srcdir)/config.h" > "$(pkgincludedir)/config.h"
|
@"$(GREP)" -E "#define[ ]+ASE_" "$(srcdir)/config.h" > "$(pkgincludedir)/config.h"
|
||||||
@"$(RM)" -f "$(pkgincludedir)/config.h.in"
|
@"$(RM)" -f "$(pkgincludedir)/config.h.in"
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
@"$(RM)" -f "$(pkgincludedir)/config.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user