summaryrefslogtreecommitdiff
path: root/m4/aa.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/aa.m4')
-rw-r--r--m4/aa.m438
1 files changed, 19 insertions, 19 deletions
diff --git a/m4/aa.m4 b/m4/aa.m4
index bab0d9d28..f7eefd8d7 100644
--- a/m4/aa.m4
+++ b/m4/aa.m4
@@ -1,27 +1,27 @@
dnl Configure path and dependencies for aalib.
dnl
dnl Copyright (C) 2001 Daniel Caujolle-Bert <segfault@club-internet.fr>
-dnl
+dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 2 of the License, or
dnl (at your option) any later version.
-dnl
+dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details.
-dnl
+dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-dnl
-dnl
+dnl
+dnl
dnl As a special exception to the GNU General Public License, if you
dnl distribute this file as part of a program that contains a configuration
dnl script generated by Autoconf, you may include it under the same
dnl distribution terms that you use for the rest of that program.
-dnl
+dnl
dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND ]]])
dnl Test for AALIB, and define AALIB_CFLAGS and AALIB_LIBS, AALIB_STATIC_LIBS.
dnl
@@ -32,7 +32,7 @@ dnl 17/09/2001
dnl * use both aalib-config, and *last chance* aainfo for guessing.
dnl 19/08/2001
dnl * use aalib-config instead of aainfo now.
-dnl 17/06/2001
+dnl 17/06/2001
dnl * First shot
dnl
@@ -66,7 +66,7 @@ int main () {
exit(1);
}
- if ((AA_LIB_VERSION > major) || ((AA_LIB_VERSION == major) &&
+ if ((AA_LIB_VERSION > major) || ((AA_LIB_VERSION == major) &&
#ifdef AA_LIB_MINNOR
(AA_LIB_MINNOR >= minor)
#else
@@ -89,11 +89,11 @@ int main () {
return 1;
}
]])],[],[no_aalib=yes],[no_aalib=cc])
- if test "x$no_aalib" = xcc; then
+ if test "x$no_aalib" = xcc; then
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <stdio.h>
#include <aalib.h>
-]], [[ return ((AA_LIB_VERSION) ||
+]], [[ return ((AA_LIB_VERSION) ||
#ifdef AA_LIB_MINNOR
(AA_LIB_MINNOR)
#else
@@ -107,7 +107,7 @@ int main () {
AC_DEFUN([AM_PATH_AALIB],
-[dnl
+[dnl
dnl
AC_ARG_WITH(aalib-prefix,
AS_HELP_STRING([--with-aalib-prefix=DIR], [prefix where AALIB is installed (optional)]),
@@ -115,7 +115,7 @@ AC_ARG_WITH(aalib-prefix,
AC_ARG_WITH(aalib-exec-prefix,
AS_HELP_STRING([--with-aalib-exec-prefix=DIR], [exec prefix where AALIB is installed (optional)]),
aalib_config_exec_prefix="$withval", aalib_config_exec_prefix="")
-AC_ARG_ENABLE(aalibtest,
+AC_ARG_ENABLE(aalibtest,
AS_HELP_STRING([--disable-aalibtest], [do not try to compile and run a test AALIB program]),
enable_aalibtest=$enableval, enable_aalibtest=yes)
@@ -169,9 +169,9 @@ dnl aalib-config is missing, check for old aainfo
AC_PATH_TOOL(AAINFO, aainfo, no)
else
AC_MSG_CHECKING(for $AAINFO)
- if test -x $AAINFO; then
+ if test -x $AAINFO; then
AC_MSG_RESULT(yes)
- else
+ else
AAINFO="no"
AC_MSG_RESULT(no)
fi
@@ -189,10 +189,10 @@ dnl aalib-config is missing, check for old aainfo
AALIB_CFLAGS="$AALIB_CFLAGS `echo $X_CFLAGS|sed -e 's/\-I/\-L/g;s/include/lib/g'`"
x11dep="yes"
fi
-dnl if test $drv = "slang" -a x$slangdep = "x"; then
+dnl if test $drv = "slang" -a x$slangdep = "x"; then
dnl slangdep="yes"
dnl fi
-dnl if test $drv = "gpm" -a x$gmpdep = "x"; then
+dnl if test $drv = "gpm" -a x$gmpdep = "x"; then
dnl gpmdep="yes"
dnl fi
done
@@ -218,7 +218,7 @@ dnl fi
if test "x$no_aalib" = x; then
AC_MSG_RESULT(yes)
- ifelse([$2], , :, [$2])
+ ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$AALIB_CONFIG" = "no"; then
@@ -236,8 +236,8 @@ dnl fi
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <stdio.h>
#include <aalib.h>
-]], [[
- return ((AA_LIB_VERSION) ||
+]], [[
+ return ((AA_LIB_VERSION) ||
#ifdef AA_LIB_MINNOR
(AA_LIB_MINNOR)
#else