Another attempt to fix xxxBSD

This commit is contained in:
Michiel Broek 2007-05-27 12:47:02 +00:00
parent 9e3e85c9de
commit ea47c714cc
13 changed files with 15 additions and 17 deletions

5
configure vendored
View File

@ -1767,7 +1767,6 @@ _ACEOF
SYSTEM="`uname -s`"
CPU="`uname -m`"
LDFLAGS="-I /usr/local/include"
#
# Checks for programs.
@ -4299,9 +4298,9 @@ else
fi
if test "$debugging" = "yes"; then
CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT"
CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT -I/usr/local/include"
else
CFLAGS="-O2 -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT"
CFLAGS="-O2 -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT -I/usr/local/include"
fi
# Check whether --enable-optimize was given.

View File

@ -40,7 +40,6 @@ AC_DEFINE_UNQUOTED(SHORTRIGHT, "$SHORTRIGHT")
AC_SUBST(VERSION)
SYSTEM="`uname -s`"
CPU="`uname -m`"
LDFLAGS="-I /usr/local/include"
#
# Checks for programs.
@ -75,9 +74,9 @@ fi
AC_ARG_ENABLE(debugging, [ --enable-debugging Compile for debugging], [ debugging=$enableval ], [ debugging=no ])
if test "$debugging" = "yes"; then
CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT"
CFLAGS="-O -g -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT -I/usr/local/include"
else
CFLAGS="-O2 -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT"
CFLAGS="-O2 -fno-strict-aliasing -Wall -Wshadow -Wwrite-strings -Wstrict-prototypes -D_REENTRANT -I/usr/local/include"
fi
AC_ARG_ENABLE(optimize, [ --enable-optimize Enable CPU optimize], [ optimize=$enableval ], [ optimize=no ])

View File

@ -12,7 +12,7 @@ OTHER = Makefile header.txt footer.txt \
#####################################################################################
.c.o:
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
all:

View File

@ -51,7 +51,7 @@ SLIBS = ../lib/libmbse.a
#############################################################################
.c.o:
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: ${TARGET}

View File

@ -38,7 +38,7 @@ TARGET = mbcico mbout
#############################################################################
.c.o:
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: ${TARGET}

View File

@ -54,7 +54,7 @@ TARGET = mbfido mbseq mbaff mbindex mbdiff mbfile mbmsg
####################################################################################################################
.c.o:
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: ${TARGET}

View File

@ -13,7 +13,7 @@ OTHER = Makefile
#############################################################################
.c.o:
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: mbmon

View File

@ -15,7 +15,7 @@ OTHER = Makefile
#############################################################################
.c.o:
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: mbnntp

View File

@ -41,7 +41,7 @@ TARGET = mbsebbs mbnewusr
#############################################################################################################
.c.o:
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: ${TARGET}

View File

@ -28,7 +28,7 @@ OTHER = Makefile
#############################################################################
.c.o:
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: mbsetup

View File

@ -19,7 +19,7 @@ OTHER = Makefile issue issue.netbsd
#############################################################################
.c.o:
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: mbtask

View File

@ -24,7 +24,7 @@ TARGET = mball mblang mbstat mbtoberep mbuser mbbw
#############################################################################################################
.c.o:
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: ${TARGET}

View File

@ -24,7 +24,7 @@ TARGET = mbuseradd mbpasswd mblogin
#############################################################################################################
.c.o:
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: ${TARGET}