Menu

#17 configure script and unixware

open
nobody
libmcal (9)
5
2000-10-26
2000-10-26
Allan Clark
No

Hey;

Building on SCO UnixWare 7.1.1 (USL descendent DevSuite) the autoconf/automake tools normally work; the following patch should allow the ./configure-generated parameters to be used. Note that the "echo -e ... \###\###" error in "configure script and solaris" (100933) breaks similarly on UW711.

Please also indicate why warnings are deactivated in the gcc build. (gcc -Wall) Why not correct the issue that generates the warning ?

Why is/are CFLAGS=-O0 -g .. ? -O and -g are mutually-exclusive (Compiler warning so indicates)

With this patch, libmcal +icap +mstore compiles, currently untested.

FYC/FYI

Allan
loopus@sourceforge

*** Makefile.in Wed Oct 25 23:46:24 2000
--- Makefile.in Wed Oct 25 23:46:04 2000
***************
*** 1,6 ****
# $Id: Makefile.in,v 1.2 2000/01/25 03:08:10 markie Exp $

- CC=gcc
FLEX=flex

--- 1,5 ----
***************
*** 7,13 ****

INCLUDE=@DRIVER_INCDIR@ ${OTHERINCDIR} -I.

! CFLAGS=-O0 -Wall -g ${INCLUDE}

LIBOBJS=mcal.o datetime.o lex.ical_yy.o icalroutines.o cal_misc.o $(DRIVER_LIBS)
ALLOBJS=${LIBOBJS} tester.o
--- 7,13 ----

INCLUDE=@DRIVER_INCDIR@ ${OTHERINCDIR} -I.

! CFLAGS=-O0 -g ${INCLUDE}

LIBOBJS=mcal.o datetime.o lex.ical_yy.o icalroutines.o cal_misc.o $(DRIVER_LIBS)
ALLOBJS=${LIBOBJS} tester.o
***************
*** 33,39 ****
$(FLEX) $<

tester: tester.o libmcal.a
! gcc -Wall -g -o tester tester.o $(LIBCAL) -lcrypt

clean:
rm -f *.o $(LIBCAL) tester
--- 32,38 ----
$(FLEX) $<

tester: tester.o libmcal.a
! $(CC) -g -o tester tester.o $(LIBCAL) -lcrypt

clean:
rm -f *.o $(LIBCAL) tester
*** configure Thu Dec 2 03:01:40 1999
--- configure Thu Oct 26 12:08:22 2000
***************
*** 53,59 ****
rm -f drivers.h
touch drivers.h
rm --force drivers.c
! echo -e 'static const CALDRIVER *driver_registry\133\135 = {' > drivers.c
#
# Initialize some other variables.
subdirs=
--- 53,59 ----
rm -f drivers.h
touch drivers.h
rm --force drivers.c
! echo 'static const CALDRIVER *driver_registry[] = {' > drivers.c
#
# Initialize some other variables.
subdirs=

Discussion


Log in to post a comment.

MongoDB Logo MongoDB