Added config.h

This commit is contained in:
Pierre Pronchery 2008-04-17 22:51:42 +00:00
parent 02895acd9c
commit 8366326cee
3 changed files with 9 additions and 2 deletions

View File

@ -34,6 +34,7 @@ dist:
$(PACKAGE)-$(VERSION)/BUGS \
$(PACKAGE)-$(VERSION)/CHANGES \
$(PACKAGE)-$(VERSION)/COPYING \
$(PACKAGE)-$(VERSION)/config.h \
$(PACKAGE)-$(VERSION)/configure.txt \
$(PACKAGE)-$(VERSION)/INSTALL \
$(PACKAGE)-$(VERSION)/README \

View File

@ -1,5 +1,6 @@
package=configure
version=0.0.5
config=h
subdirs=src
dist=Makefile,AUTHORS,BUGS,CHANGES,COPYING,configure.txt,INSTALL,README
dist=Makefile,AUTHORS,BUGS,CHANGES,COPYING,config.h,configure.txt,INSTALL,README

View File

@ -26,6 +26,11 @@
#include <string.h>
#include "makefile.h"
#include "configure.h"
#include "../config.h"
#ifndef PACKAGE
# define PACKAGE "configure"
#endif
/* configure */
@ -81,7 +86,7 @@ String * _source_extension(String * source)
/* functions */
int configure_error(char const * message, int ret)
{
fputs("configure: ", stderr);
fputs(PACKAGE ": ", stderr);
perror(message);
return ret;
}