Skip to content

Commit

Permalink
Standardize Autotools: -std=gnu99 → AC_PROG_CC_STDC
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Apr 10, 2020
1 parent a5a51b2 commit 8b0c235
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ openfortivpn_SOURCES = src/config.c src/config.h src/hdlc.c src/hdlc.h \
src/xml.h src/userinput.c src/userinput.h \
src/openssl_hostname_validation.c \
src/openssl_hostname_validation.h
openfortivpn_CFLAGS = -Wall -pedantic -std=gnu99
openfortivpn_CFLAGS = -Wall -pedantic
openfortivpn_CPPFLAGS = -DSYSCONFDIR=\"$(sysconfdir)\" \
-DPPP_PATH=\"@PPP_PATH@\" \
-DNETSTAT_PATH=\"@NETSTAT_PATH@\" \
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ AM_INIT_AUTOMAKE([foreign subdir-objects])

# Checks for programs.
AC_PROG_CC
AC_PROG_CC_STDC
AC_PROG_MKDIR_P
AC_PROG_SED
AC_PROG_INSTALL
Expand Down

0 comments on commit 8b0c235

Please sign in to comment.