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`"
|
SYSTEM="`uname -s`"
|
||||||
CPU="`uname -m`"
|
CPU="`uname -m`"
|
||||||
LDFLAGS="-I /usr/local/include"
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
@ -4299,9 +4298,9 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$debugging" = "yes"; then
|
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
|
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
|
fi
|
||||||
|
|
||||||
# Check whether --enable-optimize was given.
|
# Check whether --enable-optimize was given.
|
||||||
|
@ -40,7 +40,6 @@ AC_DEFINE_UNQUOTED(SHORTRIGHT, "$SHORTRIGHT")
|
|||||||
AC_SUBST(VERSION)
|
AC_SUBST(VERSION)
|
||||||
SYSTEM="`uname -s`"
|
SYSTEM="`uname -s`"
|
||||||
CPU="`uname -m`"
|
CPU="`uname -m`"
|
||||||
LDFLAGS="-I /usr/local/include"
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
@ -75,9 +74,9 @@ fi
|
|||||||
|
|
||||||
AC_ARG_ENABLE(debugging, [ --enable-debugging Compile for debugging], [ debugging=$enableval ], [ debugging=no ])
|
AC_ARG_ENABLE(debugging, [ --enable-debugging Compile for debugging], [ debugging=$enableval ], [ debugging=no ])
|
||||||
if test "$debugging" = "yes"; then
|
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
|
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
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(optimize, [ --enable-optimize Enable CPU optimize], [ optimize=$enableval ], [ optimize=no ])
|
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:
|
.c.o:
|
||||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ SLIBS = ../lib/libmbse.a
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||||
|
|
||||||
all: ${TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ TARGET = mbcico mbout
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||||
|
|
||||||
all: ${TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ TARGET = mbfido mbseq mbaff mbindex mbdiff mbfile mbmsg
|
|||||||
####################################################################################################################
|
####################################################################################################################
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||||
|
|
||||||
all: ${TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ OTHER = Makefile
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||||
|
|
||||||
all: mbmon
|
all: mbmon
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ OTHER = Makefile
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||||
|
|
||||||
all: mbnntp
|
all: mbnntp
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ TARGET = mbsebbs mbnewusr
|
|||||||
#############################################################################################################
|
#############################################################################################################
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||||
|
|
||||||
all: ${TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ OTHER = Makefile
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||||
|
|
||||||
all: mbsetup
|
all: mbsetup
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ OTHER = Makefile issue issue.netbsd
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||||
|
|
||||||
all: mbtask
|
all: mbtask
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ TARGET = mball mblang mbstat mbtoberep mbuser mbbw
|
|||||||
#############################################################################################################
|
#############################################################################################################
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||||
|
|
||||||
all: ${TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ TARGET = mbuseradd mbpasswd mblogin
|
|||||||
#############################################################################################################
|
#############################################################################################################
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
${CC} ${CFLAGS} ${LDFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
|
||||||
|
|
||||||
all: ${TARGET}
|
all: ${TARGET}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user