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)/BUGS \
|
||||||
$(PACKAGE)-$(VERSION)/CHANGES \
|
$(PACKAGE)-$(VERSION)/CHANGES \
|
||||||
$(PACKAGE)-$(VERSION)/COPYING \
|
$(PACKAGE)-$(VERSION)/COPYING \
|
||||||
|
$(PACKAGE)-$(VERSION)/config.h \
|
||||||
$(PACKAGE)-$(VERSION)/configure.txt \
|
$(PACKAGE)-$(VERSION)/configure.txt \
|
||||||
$(PACKAGE)-$(VERSION)/INSTALL \
|
$(PACKAGE)-$(VERSION)/INSTALL \
|
||||||
$(PACKAGE)-$(VERSION)/README \
|
$(PACKAGE)-$(VERSION)/README \
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package=configure
|
package=configure
|
||||||
version=0.0.5
|
version=0.0.5
|
||||||
|
config=h
|
||||||
|
|
||||||
subdirs=src
|
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 <string.h>
|
||||||
#include "makefile.h"
|
#include "makefile.h"
|
||||||
#include "configure.h"
|
#include "configure.h"
|
||||||
|
#include "../config.h"
|
||||||
|
|
||||||
|
#ifndef PACKAGE
|
||||||
|
# define PACKAGE "configure"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* configure */
|
/* configure */
|
||||||
@ -81,7 +86,7 @@ String * _source_extension(String * source)
|
|||||||
/* functions */
|
/* functions */
|
||||||
int configure_error(char const * message, int ret)
|
int configure_error(char const * message, int ret)
|
||||||
{
|
{
|
||||||
fputs("configure: ", stderr);
|
fputs(PACKAGE ": ", stderr);
|
||||||
perror(message);
|
perror(message);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user