Skip to content

Commit

Permalink
Merge pull request #312 from eli-schwartz/quoting
Browse files Browse the repository at this point in the history
fix quoting of m4_fatal
  • Loading branch information
peti authored Oct 20, 2024
2 parents fc6324f + 3a23daa commit fadde16
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions m4/ax_check_gl.m4
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.

#serial 23
#serial 24

# example gl program
m4_define([_AX_CHECK_GL_PROGRAM],
Expand Down Expand Up @@ -187,7 +187,7 @@ AC_DEFUN([_AX_CHECK_GL_LINK_CV],
AC_DEFUN([_AX_CHECK_GL_MANUAL_LIBS_GENERIC], [
AS_IF([test -n "$GL_LIBS"],[], [
ax_check_gl_manual_libs_generic_extra_libs="$1"
m4_if($1, [], m4_fatal([$0: argument must not be empty]))
m4_if($1, [], [m4_fatal([$0: argument must not be empty])])
_AX_CHECK_GL_SAVE_FLAGS([CFLAGS])
AC_SEARCH_LIBS([glBegin],[$ax_check_gl_manual_libs_generic_extra_libs], [
Expand Down
4 changes: 2 additions & 2 deletions m4/ax_check_glx.m4
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.

#serial 9
#serial 10

# example program
m4_define([_AX_CHECK_GLX_PROGRAM],
Expand Down Expand Up @@ -183,7 +183,7 @@ AC_DEFUN([_AX_CHECK_GLX_HEADERS],
AC_DEFUN([_AX_CHECK_GLX_MANUAL_LIBS_GENERIC],
[dnl
ax_check_glx_manual_libs_generic_extra_libs="$1"
m4_if($1, [], m4_fatal([$0: argument must not be empty]))
m4_if($1, [], [m4_fatal([$0: argument must not be empty])])
AC_LANG_PUSH([C])
_AX_CHECK_GLX_SAVE_FLAGS()
Expand Down
4 changes: 2 additions & 2 deletions m4/ax_switch_flags.m4
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.

#serial 5
#serial 6

AC_DEFUN([AX_SWITCH_FLAGS], [
m4_if($1, [], m4_fatal([$0: namespace is empty]))
m4_if($1, [], [m4_fatal([$0: namespace is empty])])
AC_REQUIRE(AX_SAVE_FLAGS)
AC_REQUIRE(AX_RESTORE_FLAGS)
AX_SAVE_FLAGS($1[])
Expand Down

0 comments on commit fadde16

Please sign in to comment.