Skip to content

Commit

Permalink
Use same AC_LANG invocation in both configure.ac files
Browse files Browse the repository at this point in the history
  • Loading branch information
ndim committed Oct 31, 2021
1 parent d8dac92 commit f132d8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ dnl libtool 2011-10-18 2.4.2

AM_SILENT_RULES([no])

dnl Every compile example will be using the C language unless
dnl something else is said explicitly.
AC_LANG([C])


dnl Flag all GP_ strings in result as error unless specifically allowed.
m4_pattern_forbid([^_?GP_])dnl
Expand Down Expand Up @@ -195,9 +199,6 @@ dnl GP_CONDITIONAL_COMPILE_FLAGS([CFLAGS], [-Wno-format-overflow])
dnl GP_CONDITIONAL_COMPILE_FLAGS([CFLAGS], [-Wno-format-truncation])
dnl GP_CONDITIONAL_COMPILE_FLAGS([CFLAGS], [-Wno-stringop-truncation])

dnl Every compile example after here will be using the C language
AC_LANG([C])


dnl ---------------------------------------------------------------------------
dnl Turn on (almost) all warnings when using gcc
Expand Down
2 changes: 2 additions & 0 deletions libgphoto2_port/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ AM_INIT_AUTOMAKE([

AM_SILENT_RULES([no])

dnl Every compile example will be using the C language unless
dnl something else is said explicitly.
AC_LANG([C])


Expand Down

0 comments on commit f132d8a

Please sign in to comment.