Another attempt to fix xxxBSD
This commit is contained in:
parent
9e3e85c9de
commit
ea47c714cc
5
configure
vendored
5
configure
vendored
@ -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.
|
||||
|
@ -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 ])
|
||||
|
@ -12,7 +12,7 @@ OTHER = Makefile header.txt footer.txt \
|
||||
#####################################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all:
|
||||
|
||||
|
@ -51,7 +51,7 @@ SLIBS = ../lib/libmbse.a
|
||||
#############################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: ${TARGET}
|
||||
|
||||
|
@ -38,7 +38,7 @@ TARGET = mbcico mbout
|
||||
#############################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: ${TARGET}
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -13,7 +13,7 @@ OTHER = Makefile
|
||||
#############################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: mbmon
|
||||
|
||||
|
@ -15,7 +15,7 @@ OTHER = Makefile
|
||||
#############################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: mbnntp
|
||||
|
||||
|
@ -41,7 +41,7 @@ TARGET = mbsebbs mbnewusr
|
||||
#############################################################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: ${TARGET}
|
||||
|
||||
|
@ -28,7 +28,7 @@ OTHER = Makefile
|
||||
#############################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: mbsetup
|
||||
|
||||
|
@ -19,7 +19,7 @@ OTHER = Makefile issue issue.netbsd
|
||||
#############################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: mbtask
|
||||
|
||||
|
@ -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}
|
||||
|
||||
|
@ -24,7 +24,7 @@ TARGET = mbuseradd mbpasswd mblogin
|
||||
#############################################################################################################
|
||||
|
||||
.c.o:
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||
|
||||
all: ${TARGET}
|
||||
|
||||
|
Reference in New Issue
Block a user