Changeset 1987 for trunk/auto-reply
- Timestamp:
- 06/17/00 18:27:07 (8 years ago)
- Location:
- trunk/auto-reply
- Files:
-
- 5 removed
- 4 modified
-
acinclude.m4.in (modified) (1 diff)
-
config.guess (deleted)
-
config.sub (deleted)
-
configure.in (modified) (3 diffs)
-
install-sh (deleted)
-
Makefile.am (modified) (1 diff)
-
Makefile.cvs (modified) (1 diff)
-
missing (deleted)
-
mkinstalldirs (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/auto-reply/acinclude.m4.in
r1924 r1987 1 dnl Check for sys_errlist[] and sys_nerr, check for declaration 2 dnl Check nicked from aclocal.m4 used by GNU bash 2.01 3 AC_DEFUN(AC_SYS_ERRLIST, 4 [AC_MSG_CHECKING([for sys_errlist and sys_nerr]) 5 AC_CACHE_VAL(ac_cv_sys_errlist, 6 [AC_TRY_LINK([#include <errno.h>], 7 [extern char *sys_errlist[]; 8 extern int sys_nerr; 9 char *msg = sys_errlist[sys_nerr - 1];], 10 ac_cv_sys_errlist=yes, ac_cv_sys_errlist=no)])dnl 11 AC_MSG_RESULT($ac_cv_sys_errlist) 12 if test $ac_cv_sys_errlist = yes; then 13 AC_DEFINE(HAVE_SYS_ERRLIST) 14 fi 15 ]) 1 dnl (C) Copyright by Dirk Mueller <dirk@licq.org> 2 dnl 16 3 17 18 ## ------------------------------------------------------------------------ 19 ## Find a file (or one of more files in a list of dirs) 20 ## ------------------------------------------------------------------------ 21 ## 22 AC_DEFUN(AC_FIND_FILE, 23 [ 24 $3=no 25 for i in $2; 26 do 27 for j in $1; 28 do 29 if test -r "$i/$j"; then 30 $3=$i 31 break 2 32 fi 33 done 34 done 35 ]) 36 37 38 AC_DEFUN(AC_CHECK_LICQ, 39 [ 40 AC_MSG_CHECKING([for licq header files]) 41 42 AC_FIND_FILE(licq_icqd.h, "$prefix/include/licq", licq_inc) 43 if test "$licq_inc" = no; then 44 have_licq_inc=no 45 else 46 have_licq_inc=yes 47 fi 48 if test "$have_licq_inc" = yes; then 49 AC_MSG_RESULT(["found"]) 50 LICQ_INCLUDES="$licq_inc" 51 AC_SUBST(LICQ_INCLUDES) 52 else 53 AC_MSG_RESULT(["not found"]) 54 fi 55 ]) 56 4 dnl Yes, it's empty. Isn't that cool ? :) -
trunk/auto-reply/configure.in
r1956 r1987 1 1 dnl Process this file with autoconf to produce a configure script. 2 2 AC_INIT(src/autoreply.h) 3 3 AC_CONFIG_AUX_DIR(admin) 4 4 AC_CANONICAL_SYSTEM 5 5 AC_ARG_PROGRAM … … 33 33 AC_DISABLE_STATIC 34 34 AM_PROG_LIBTOOL 35 AC_LIBTOOL_CXX 35 36 36 37 dnl Checks for header files. … … 38 39 AC_CHECK_HEADERS(errno.h dirent.h getopt.h malloc.h pwd.h sys/time.h) 39 40 AC_HEADER_TIME 40 AC_SYS_ERRLIST 41 AC_CHECK_LICQ 42 43 if test "$have_licq_inc" = no; then 44 AC_MSG_ERROR([ 45 46 I can't find the Licq header files. 47 You must unpack this archive into the plugins/ directory off of the 48 main Licq source tree. In other words, we should be in 49 /some/dir/licq-0.xx/plugins/autoreply-0.xx right now. 50 ]) 51 fi 52 41 LICQ_SYS_ERRLIST 42 LICQ_CHECK_LICQ 53 43 54 44 dnl Checks for library functions. -
trunk/auto-reply/Makefile.am
r962 r1987 1 $(top_srcdir)/acinclude.m4: $(top_srcdir)/acinclude.m4.in $(top_srcdir)/ ../../libtool.m4.in2 @cd $(top_srcdir) && cat acinclude.m4.in ../../libtool.m4.in > acinclude.m41 $(top_srcdir)/acinclude.m4: $(top_srcdir)/acinclude.m4.in $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in 2 @cd $(top_srcdir) && cat acinclude.m4.in admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4 3 3 4 4 # don't warn about missing AUTHORS, NEWS, ChangeLog .. files -
trunk/auto-reply/Makefile.cvs
r890 r1987 1 1 2 2 all: 3 @echo "*** Concatenating configure tests into acinclude.m4" 4 @-rm -f acinclude.m4 5 @$(MAKE) -f Makefile.am top_srcdir=. acinclude.m4 6 @echo "*** Fetching libtool" 7 @-rm -f ltmain.sh && cp ../../ltmain.sh ltmain.sh 8 @-rm -f ltconfig && cp ../../ltconfig ltconfig 9 @-rm -f libtool 10 @echo "*** Retrieving configure tests needed by configure.in" 11 @aclocal 12 @echo "*** Scanning for include statements" 13 @autoheader 14 @echo "*** Building Makefile templates (step one)" 15 @automake 16 @echo "*** Building Makefile templates (step two)" 17 @autoconf 18 @if grep "ac_kw foo" configure &>/dev/null; then perl -p -i -e "s/ac_kw foo/ac_kw int foo/" configure; fi 19 @echo "*** Create date/time stamp" 20 @touch stamp-h.in 21 @echo "*** Finished" 22 @echo " Don't forget to run ./configure" 23 @echo " If you haven't done so in a while, run ./configure --help" 3 @echo "This Makefile is only for the CVS repository" 4 @echo "This will be deleted before making the distribution" 5 @echo "" 6 @if test ! -d admin; then \ 7 echo "Please recheckout this module!" ;\ 8 echo "for cvs: use checkout once and after that update again" ;\ 9 exit 1 ;\ 10 fi 11 $(MAKE) -f admin/Makefile.common cvs 12 13 .SILENT:
