#17 Update stdc to c99
Closed 7 years ago Opened 7 years ago by firstyear.

All of our projects are moving to c99. We should update svrcore to match.


Is this the essential change? If so, you have my ack.

diff --git a/configure.ac b/configure.ac

index 936e0f8..f9ac060 100644

--- a/configure.ac

+++ b/configure.ac

@@ -16,6 +16,7 @@ AC_HEADER_STDC

AC_CHECK_HEADER([string.h],,[AC_ERROR([We need string.h in order to build])])

AC_CHECK_HEADER([termios.h],,[AC_ERROR([We need termios.h in order to build])])

AC_CHECK_HEADER([unistd.h],,[AC_ERROR([We need unistd.h in order to build])])

+AC_PROG_CC_STDC

# Checks for typedefs, structures, and compiler characteristics.

AC_C_CONST

commit 20a4942
Compressing objects: 100% (14/14), done.
Writing objects: 100% (14/14), 6.99 KiB | 0 bytes/s, done.
Total 14 (delta 13), reused 0 (delta 0)
To ssh://git@pagure.io/svrcore.git
2e8ffb5..20a4942 master -> master

commit 20a4942
Compressing objects: 100% (14/14), done.
Writing objects: 100% (14/14), 6.99 KiB | 0 bytes/s, done.
Total 14 (delta 13), reused 0 (delta 0)
To ssh://git@pagure.io/svrcore.git
2e8ffb5..20a4942 master -> master

@firstyear changed the status to Closed

7 years ago

Login to comment on this ticket.

Metadata