Re: math.h 98 02:02:18 pm"

From: Christian Loth (sg618lo@unidui.uni-duisburg.de)
Date: 11/29/98


Greetings again,

Leeeeeeeeeeeeeeets see...

Ronny Iversen wrote:
>
> Tnx :) One more questions though..any idea where in Circlemuds makefile i should
> put this -lm?
>

*download vanilla circle again*
*checking config/makefiles*

This is a bit crude but should work:

<SNIP>
--- Makefile.in.orig    Sun Nov 29 15:30:49 1998
+++ Makefile.in Sun Nov 29 15:31:36 1998
@@ -21,7 +21,7 @@

 CFLAGS = @CFLAGS@ $(MYFLAGS) $(PROFILE)

-LIBS = @LIBS@ @CRYPTLIB@ @NETLIB@
+LIBS = @LIBS@ @CRYPTLIB@ @NETLIB@ -lm

 OBJFILES = comm.o act.comm.o act.informative.o act.movement.o act.item.o \
        act.offensive.o act.other.o act.social.o act.wizard.o ban.o boards.o \
<SNAP>

After that just run configure again and your Makefile should be set.
If you want it more elegant, edit the configure script, and create
a @MATHLIB@ after the example of @CRYPTLIB@ or @NETLIB@ above.

- Chris


--
/----------------------------------------------------------------------------\
| Christian Loth, chris@rom.mud.de    |           REALM OF MAGIC             |
| http://rom.mud.de/~chris            | telnet rom.mud.de 4000               |
|                                     | http://rom.mud.de/                   |
\----------------------------------------------------------------------------/


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST