Added config.h
This commit is contained in:
parent
02895acd9c
commit
8366326cee
1
Makefile
1
Makefile
@ -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 \
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user