[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_CONFIG_LIBOBJ_DIR usage
From: |
Ralf Wildenhues |
Subject: |
AC_CONFIG_LIBOBJ_DIR usage |
Date: |
Tue, 22 Jul 2003 15:45:00 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi there,
Could someone point me to the documentation I am overlooking when trying
to use AC_CONFIG_LIBOBJ_DIR? Why doesn't the following work and what do
I need to do so it does (using autoconf 2.57, automake 1.7.5b) besides
providing a better strtod?
Regards,
Ralf
$ mkdir lib; touch foo.c lib/strtod.c
$ cat >Makefile.am <<'EOF'
bin_PROGRAMS = foo
foo_SOURCES = foo.c
foo_LDADD = $(LIBOBJS)
EOF
$ cat >configure.ac <<EOF
AC_INIT([foo], [0.1])
AC_CONFIG_SRCDIR([foo.c])
AC_CONFIG_LIBOBJ_DIR([lib])
AM_INIT_AUTOMAKE([foreign])
AC_PROG_CC
AC_FUNC_STRTOD
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
EOF
$ autoreconf -vis
# ... from automake:
Makefile.am:3: required file `./strtod.c' not found
- AC_CONFIG_LIBOBJ_DIR usage,
Ralf Wildenhues <=