Changeset 4391 for neercs


Ignore:
Timestamp:
Apr 16, 2010, 8:50:42 PM (10 years ago)
Author:
Sam Hocevar
Message:

Explicitly link neercs with -lm because of sincosf() usage.

Location:
neercs/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/configure.ac

    r4366 r4391  
    8181AC_MSG_RESULT(Disabling lock support on OSX)
    8282fi
     83
     84AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm")
     85AC_SUBST(MATH_LIBS)
    8386
    8487AC_CHECK_LIB(util, forkpty, UTIL_LIBS="${UTIL_LIBS} -lutil")
  • neercs/trunk/src/Makefile.am

    r4384 r4391  
    88                 python/py_module.h widgets.c widgets.h ansi.c
    99neercs_CFLAGS = @CACA_CFLAGS@ @PYTHON_CFLAGS@
    10 neercs_LDADD = @CACA_LIBS@ @UTIL_LIBS@ @PAM_LIBS@ @PYTHON_LIBS@
     10neercs_LDADD = @CACA_LIBS@ @MATH_LIBS@ @UTIL_LIBS@ @PAM_LIBS@ @PYTHON_LIBS@
    1111
    1212mini_neercs_SOURCES = mini-neercs.c mini-neercs.h mini-client.c \
     
    1515                      client/screen.c client/screen.h
    1616mini_neercs_CFLAGS = @CACA_CFLAGS@ @PYTHON_CFLAGS@ -DMINI_NEERCS
    17 mini_neercs_LDADD = @CACA_LIBS@ @UTIL_LIBS@ @PAM_LIBS@ @PYTHON_LIBS@
     17mini_neercs_LDADD = @CACA_LIBS@ @MATH_LIBS@ @UTIL_LIBS@ @PAM_LIBS@ @PYTHON_LIBS@
    1818
    1919echo-sources: ; echo $(SOURCES)
Note: See TracChangeset for help on using the changeset viewer.