M6 KVM avatar M6 KVM committed 91c34d3

Fix underquoted macro definition warnings in autoconf extensions.

Comments (0)

Files changed (1)

 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 # SUCH DAMAGE.
 
-AC_DEFUN(AC_HEADER_IOSTREAM,
-[AC_CHECK_HEADERS(iostream,[have_iostream=yes],[have_iostream=no])])
+AC_DEFUN([AC_HEADER_IOSTREAM],[AC_PREREQ([2.57]),AC_CHECK_HEADERS(iostream,[have_iostream=yes],[have_iostream=no])])
 
-AC_DEFUN(AC_HEADER_SSTREAM,
-[AC_CHECK_HEADERS(sstream,[have_sstream=yes],[have_sstream=no])])
+AC_DEFUN([AC_HEADER_SSTREAM],[AC_PREREQ([2.57]),AC_CHECK_HEADERS(sstream,[have_sstream=yes],[have_sstream=no])])
 
-AC_DEFUN(AC_IOS_BINARY,
+AC_DEFUN([AC_IOS_BINARY],
 [AC_CACHE_CHECK([for ios::binary],
   ac_cv_ios_binary,
 [
 fi
 ])
 
-AC_DEFUN(AC_OPEN_MASK,
+AC_DEFUN([AC_OPEN_MASK],
 [AC_CACHE_CHECK([for third umask parameter to open],
   ac_cv_open_mask,
 [
 ])
 
 
-AC_DEFUN(AC_NAMESPACE,
+AC_DEFUN([AC_NAMESPACE],
 [AC_CACHE_CHECK([for compiler namespace support],
   ac_cv_namespace,
 [AC_TRY_COMPILE(
 dnl A handy function to see if a library is in a particular directory.
 dnl AC_CHECK_LIB_LOC(directory, library, function, action-if-found, action-if-not-found, other-libraries)
 dnl
-AC_DEFUN(AC_CHECK_LIB_LOC,
+AC_DEFUN([AC_CHECK_LIB_LOC],
 [AC_MSG_CHECKING([for lib$2 in $1])
 ac_lib_var=`echo $1['_']$2 | sed 'y%./+-%__p_%'`
 AC_CACHE_VAL(ac_cv_lib_loc_$ac_lib_var,
 dnl 
 dnl Sets $package_LIB to the directory containing the library, or to the
 dnl empty string if the library cannot be found.
-AC_DEFUN(AC_SEARCH_LIB, [
+AC_DEFUN([AC_SEARCH_LIB], [
 ac_found_lib=""
 for ac_check_dir in $1; do
   if test "$ac_found_lib" = ""; then
 dnl A handy function to see if a header file is in a particular directory.
 dnl AC_CHECK_HEADER_LOC(directory, header, action-if-found, action-if-not-found)
 dnl
-AC_DEFUN(AC_CHECK_HEADER_LOC, [
+AC_DEFUN([AC_CHECK_HEADER_LOC], [
   AC_MSG_CHECKING([for $2 in $1])
   ac_include_var=`echo $1['_']$2 | sed 'y%./+-%__p_%'`
   AC_CACHE_VAL(ac_cv_include_loc_$ac_include_var, [
 dnl
 dnl Sets $package_INCLUDE to the directory containing the header, or to
 dnl the empty string if the header cannot be found.
-AC_DEFUN(AC_SEARCH_HEADER, [
+AC_DEFUN([AC_SEARCH_HEADER], [
 ac_found_header=""
 for ac_check_dir in $1; do
   if test "$ac_found_header" = ""; then
 dnl are located, also sets the variable $package_PKG to "yes"; otherwise,
 dnl sets the variable $package_PKG to "no".
 dnl
-AC_DEFUN(AC_SEARCH_PACKAGE, [
+AC_DEFUN([AC_SEARCH_PACKAGE], [
 $6_LIB=""
 $6_INCLUDE=""
 $6_PKG="no"
 dnl   to be used as follows:
 dnl AM_PATH_GTKMM([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
 dnl
-AC_DEFUN(AM_PATH_GTKMM,
+AC_DEFUN([AM_PATH_GTKMM],
 [dnl 
 dnl Get the cflags and libraries from the gtkmm-config script
 dnl
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.