Skip to content

Commit

Permalink
support cross compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
goatpig committed Mar 12, 2017
1 parent e51b038 commit b00dc69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# $Id: Makefile.am,v 1.7 2001/12/22 13:05:39 robs Exp $
#

SUBDIRS = libfcgi cgi-fcgi examples include
SUBDIRS = libfcgi examples include

ACLOCAL_AMFLAGS = -I m4

Expand Down
9 changes: 4 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if test "x$want_debug" = "xyes" -a $ac_cv_c_compiler_gnu != no; then
CXXFLAGS="$CXXFLAGS -O0 -g"
AC_DEFINE([DEBUG], 1, [Define for debugging])
else
CFLAGS="$CFLAGS -O2 -D_FORTIFY_SOURCE=2"
CXXFLAGS="$CXXFLAGS -O2 -D_FORTIFY_SOURCE=2"
CFLAGS="$CFLAGS -O2"
CXXFLAGS="$CXXFLAGS -O2"
fi

# Checks for programs.
Expand All @@ -49,8 +49,8 @@ AC_TYPE_SIZE_T

# Checks for library functions.
AC_FUNC_FORK
AC_FUNC_MALLOC
AC_FUNC_REALLOC
#AC_FUNC_MALLOC
#AC_FUNC_REALLOC
AC_CHECK_FUNCS([atexit dup2 ftime gethostbyname inet_ntoa memchr memset putenv select socket strchr strerror strrchr strspn strstr strtol])

AC_SUBST(LIBFCGIXX)
Expand All @@ -75,7 +75,6 @@ AC_REPLACE_FUNCS([strerror])
AC_C_INLINE

AC_CONFIG_FILES([Makefile
cgi-fcgi/Makefile
examples/Makefile
include/Makefile
libfcgi/Makefile])
Expand Down

0 comments on commit b00dc69

Please sign in to comment.