forked from certnanny/sscep
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for autoconf / automake / libtool.
Replaces certnanny#24
- Loading branch information
Showing
10 changed files
with
444 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
See the COPYING file. | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
bin_PROGRAMS = sscep | ||
sscep_SOURCES = configuration.c engine.c fileutils.c getopt.c ias.c init.c net.c pkcs7.c sceputils.c sscep.c cmd.h conf.h configuration.h engine.h fileutils_capi.h getopt.h ias.h sscep.h | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
No news is good news. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
See README.md. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# -*- Autoconf -*- | ||
# Process this file with autoconf to produce a configure script. | ||
|
||
AC_PREREQ([2.69]) | ||
AC_INIT([sscep],[0.7.0],[[email protected]]) | ||
AC_CONFIG_AUX_DIR([build-aux]) | ||
AM_INIT_AUTOMAKE([dist-bzip2]) | ||
AC_CONFIG_HEADERS([config.h]) | ||
AC_CONFIG_SRCDIR([sscep.c]) | ||
AC_CONFIG_MACRO_DIR([m4]) | ||
LT_INIT | ||
|
||
# Checks for programs. | ||
AC_PROG_CC | ||
|
||
# Checks for libraries. | ||
PKG_CHECK_MODULES(openssl, openssl >= 0.9.7) | ||
# | ||
CFLAGS="$CFLAGS $openssl_CFLAGS" | ||
CPPFLAGS="$CPPFLAGS $openssl_CPPFLAGS" | ||
LDFLAGS="$LDFLAGS $openssl_LIBS" | ||
|
||
# Checks for header files. | ||
AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h]) | ||
|
||
# Checks for typedefs, structures, and compiler characteristics. | ||
AC_TYPE_SIZE_T | ||
|
||
# Checks for library functions. | ||
AC_FUNC_MALLOC | ||
AC_FUNC_REALLOC | ||
AC_CHECK_FUNCS([alarm gethostbyname memset socket strchr strdup strstr]) | ||
|
||
AC_CONFIG_FILES([Makefile]) | ||
AC_SUBST([LIBTOOL_DEPS]) | ||
AC_OUTPUT | ||
|