Configure #3: indenting and whitespace fixes.

A few more indenting and whitespace fixes:
  - remove trailing spaces and tabs
  - use a combination of tabs and spaces for indenting.

Note: most parts of configure.ac used tabs+spaces, but there were some
  parts not consistent with this. Now tabs+spaces indenting is used
  everywhere. This commit does not change functionality.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11996 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2016-09-30 12:36:55 +00:00
parent 8a50066f8f
commit b4bf9f01f2

View File

@ -5,7 +5,7 @@ dnl "$Id$"
dnl
dnl Configuration script for the Fast Light Tool Kit (FLTK).
dnl
dnl Copyright 1998-2015 by Bill Spitzak and others.
dnl Copyright 1998-2016 by Bill Spitzak and others.
dnl
dnl This library is free software. Distribution and use rights are outlined in
dnl the file "COPYING" which should have been included with this file. If this
@ -160,7 +160,6 @@ AC_SUBST(CAIROLIBS)
AC_SUBST(LINKFLTKCAIRO)
AC_SUBST(FLTKCAIROOPTION)
AC_SUBST(FLLIBNAME)
AC_SUBST(GLDEMOS)
AC_SUBST(GLLIBNAME)
@ -207,7 +206,6 @@ if test x$enable_cp936 = xyes; then
CFLAGS="$CFLAGS -DCP936"
fi
AC_ARG_ENABLE(gl, [ --enable-gl turn on OpenGL support [[default=yes]]])
AC_ARG_ENABLE(shared, [ --enable-shared turn on shared libraries [[default=no]]])
@ -284,7 +282,8 @@ if test x$enable_shared = xyes; then
OLDCXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[]], [[]])],
[ac_cv_cxx_fvisibility=yes],
[ac_cv_cxx_fvisibility=no])
CXXFLAGS="$OLDCXXFLAGS"
@ -300,7 +299,8 @@ if test x$enable_shared = xyes; then
OLDCXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[]], [[]])],
[ac_cv_cxx_fvisibility_inlines=yes],
[ac_cv_cxx_fvisibility_inlines=no])
CXXFLAGS="$OLDCXXFLAGS"
@ -480,7 +480,8 @@ dnl Does the C++ compiler support the bool type?
AC_CACHE_CHECK(whether the compiler recognizes bool as a built-in type,
ac_cv_cxx_bool,[
AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[
int f(int x){return 1;}
int f(char x){return 1;}
int f(bool x){return 1;}
@ -1229,7 +1230,8 @@ if test -n "$GCC"; then
AC_MSG_CHECKING([if GCC supports -fno-exceptions])
OLDCFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fno-exceptions"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[]], [[]])],
[OPTIM="$OPTIM -fno-exceptions"
AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)])