Changeset 3016 for libpipi


Ignore:
Timestamp:
Oct 19, 2008, 12:24:41 PM (12 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Added a better math library detection
Location:
libpipi/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/configure.ac

    r2957 r3016  
    8787# Code qui fait des warnings == code de porc == deux baffes dans ta gueule
    8888CFLAGS="${CFLAGS} -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare"
     89
     90
     91AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm")
    8992
    9093# Use DevIL?
     
    170173fi
    171174
     175AC_SUBST(MATH_LIBS)
     176
    172177# Build pipi-sharp?
    173178AC_PATH_PROG(GMCS, gmcs, no)
  • libpipi/trunk/src/Makefile.am

    r2913 r3016  
    66
    77pipi_SOURCES = pipi.c $(GETOPT)
    8 pipi_LDADD = ../pipi/libpipi.la $(GETOPT_LIBS)
     8pipi_LDADD = ../pipi/libpipi.la $(GETOPT_LIBS) @MATH_LIBS@
    99
     10
Note: See TracChangeset for help on using the changeset viewer.