Ignore:
Timestamp:
2004-12-08T17:04:00+13:00 (19 years ago)
Author:
jrm21
Message:

fixes for autoconf v2.59, remove libstdc++ from ACLIBS since we don't
want it passed to $CC for c things like mg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/configure.in

    r8202 r8756  
    131131
    132132dnl Checks for libraries.
    133 dnl Replace `main' with a function in -lg:
    134 AC_CHECK_LIB(g, main)
    135 dnl Replace `main' with a function in -lgdbm:
    136 AC_CHECK_LIB(gdbm, main)
    137 dnl Replace `main' with a function in -lm:
    138 AC_CHECK_LIB(m, main)
    139 dnl Replace `main' with a function in -lstdc++:
    140 AC_CHECK_LIB(stdc++, main)
    141 dnl Replace `main' with a function in -lcrypt:
    142 AC_CHECK_LIB(crypt, main)
     133dnl check for -lg:
     134AC_HAVE_LIBRARY(g)
     135dnl check for -lm:
     136AC_HAVE_LIBRARY(m)
     137dnl check for -lcrypt:
     138AC_HAVE_LIBRARY(crypt)
    143139
    144140
     
    167163if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    168164  AC_MSG_RESULT(yes)
    169   LIBOBJS="$LIBOBJS gmalloc.o"
     165  AC_LIBOBJ([gmalloc])
    170166  AC_DEFINE(HAVE_VALLOC)
    171167else
     
    191187if test "$ac_cv_func_alloca" = 'no'; then
    192188dnl    support functions for alloca.c
    193   LIBOBJS="$LIBOBJS xmalloc.o error.o"
     189  AC_LIBOBJ([xmalloc])
     190  AC_LIBOBJ([error])
    194191fi
    195192
     
    370367if test "$ac_cv_func_alloca" = 'no'; then
    371368dnl    support functions for alloca.c
    372   LIBOBJS="$LIBOBJS xmalloc.o error.o"
     369  AC_LIBOBJ([xmalloc.o])
     370  AC_LIBOBJ([error])
    373371fi
    374372
Note: See TracChangeset for help on using the changeset viewer.