1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

configure: Removed macro that are not used anymore

...and took opportunity to add the traditional copyright notice

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2013-11-16 20:14:27 +01:00
committed by Carlos R. Mafra
parent 32342a6428
commit a3ee595115

View File

@@ -1,25 +1,20 @@
dnl # windowmaker.m4 - General macros for Window Maker autoconf
dnl WM_CHECK_LIB(NAME, FUNCTION, EXTRALIBS) #
dnl # Copyright (c) 2004 Dan Pascu
AC_DEFUN([WM_CHECK_LIB], #
[ # This program is free software; you can redistribute it and/or modify
LDFLAGS_old="$LDFLAGS" # it under the terms of the GNU General Public License as published by
LDFLAGS="$LDFLAGS $lib_search_path" # the Free Software Foundation; either version 2 of the License, or
AC_CHECK_LIB([$1],[$2],yes=yes,no=no,[$3]) # (at your option) any later version.
LDFLAGS="$LDFLAGS_old" #
]) # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl WM_CHECK_HEADER(NAME) # GNU General Public License for more details.
dnl #
AC_DEFUN([WM_CHECK_HEADER], # You should have received a copy of the GNU General Public License along
[ # with this program; if not, write to the Free Software Foundation, Inc.,
CPPFLAGS_old="$CPPFLAGS" # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
CPPFLAGS="$CPPFLAGS $inc_search_path"
AC_CHECK_HEADER([$1])
CPPFLAGS="$CPPFLAGS_old"
])
dnl dnl
dnl WM_CHECK_XFT_VERSION(MIN_VERSION, [ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]) dnl WM_CHECK_XFT_VERSION(MIN_VERSION, [ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]])