123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #! /bin/sh
- . test-init.sh
- cat >> configure.ac << 'END'
- AC_PROG_CC
- AM_CONDITIONAL([COND1], [true])
- END
- cat > Makefile.am << 'END'
- if COND1
- BUILD_helldl = helldl
- helldl_SOURCES = dlmain.c
- helldl_DEPENDENCIES = libhello.la
- else
- BUILD_helldl =
- bin_SCRIPTS = helldl
- helldl$(EXEEXT):
- rm -f $@
- echo '#! /bin/sh' > $@
- echo '-dlopen is unsupported' >> $@
- chmod +x $@
- endif
- bin_PROGRAMS = $(BUILD_helldl)
- END
- $ACLOCAL
- $AUTOMAKE
- $FGREP helldl Makefile.in
- test $($FGREP -c 'helldl$(EXEEXT):' Makefile.in) -eq 2
- :
|