Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7280 in orxonox.OLD for branches/shared_lib


Ignore:
Timestamp:
Apr 10, 2006, 11:47:05 AM (19 years ago)
Author:
bensch
Message:

better configure

Location:
branches/shared_lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/shared_lib/configure.ac

    r7276 r7280  
    5151AC_PROG_LIBTOOL
    5252AC_HEADER_STDC
    53 AC_SUBST(LTDLINCL)
    54 AC_SUBST(LIBLTDL)
    55 AC_CONFIG_SUBDIRS(libltdl)
    5653
    5754## THIS IS OUR DEFAULT-DATA-DIRECTORY
     
    618615
    619616
     617#---------#
     618# libltdl #
     619#---------#
     620#AX_CHECK_HEADER_LIB ([ltdl.h], [ltdl], [lt_dlinit],
     621#  [have_ltdl=yes],,[http://www.gnu.org/software/libtool/])
     622if test x$have_ltdl = xyes ; then
     623  LTDLINCL=""
     624  LIBLTDL=""
     625  LIBADD_DL=""
     626else
     627  AC_CONFIG_SUBDIRS(libltdl)
     628fi
     629
     630AC_SUBST(LTDLINCL)
     631AC_SUBST(LIBLTDL)
     632AC_SUBST(LIBADD_DL)
     633echo $LIBADD_DL
     634
     635
     636
    620637# FIXME: Replace `main' with a function in `-lm':
    621638 AC_CHECK_LIB([m], [main])
     
    623640
    624641# Checks for header files.
    625 AC_HEADER_STDC
    626642AC_CHECK_HEADERS([stdlib.h string.h])
    627643
  • branches/shared_lib/src/Makefile.am

    r7275 r7280  
    1212
    1313orxonox_CPPFLAGS = -DIS_ORXONOX -DPKG_LIBDIR="\"$(pkglibdir)\""
    14 orxonox_LDFLAGS = --export-dynamic
     14orxonox_LDFLAGS =
    1515##-ldl -rdynamic
    1616
     
    2525                util/libORXutils.a \
    2626                $(libORXlibs_a_LIBRARIES_) \
    27                 $(LIBLTDL) \
     27                @LIBLTDL@ \
     28                @LIBADD_DL@ \
    2829                $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS)
    2930
Note: See TracChangeset for help on using the changeset viewer.