autogen tweaks
This commit is contained in:
parent
11261da971
commit
2747d87a1f
|
@ -14,7 +14,7 @@ Makefile
|
|||
NEWS
|
||||
pipecolors.pc
|
||||
README
|
||||
test
|
||||
tests/test
|
||||
Makefile.in
|
||||
aclocal.m4
|
||||
autom4te.cache
|
||||
|
@ -26,5 +26,9 @@ config.h
|
|||
config.status
|
||||
libtool
|
||||
stamp-h1
|
||||
# Ignore output files
|
||||
libpipecolors.o
|
||||
libpipecolors.so
|
||||
|
||||
# Ignore backup files
|
||||
*~
|
|
@ -1,7 +1,7 @@
|
|||
pkgconfig_DATA = pipecolors.pc
|
||||
|
||||
AM_CXXFLAGS =+ -std=c++11 -fPIC -pipe
|
||||
ACLOCAL_AMFLAGS =+ -I m4
|
||||
AM_CXXFLAGS += -std=c++11 -fPIC -pipe
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
LIBTOOL_DEPS += @LIBTOOL_DEPS@
|
||||
libtool: $(LIBTOOL_DEPS)
|
||||
$(SHELL) ./config.status libtool
|
||||
|
@ -15,4 +15,5 @@ libpipecolors_so_SOURCES = libpipecolors.cpp
|
|||
libpipecolors_so_LDFLAGS = \
|
||||
-shared \
|
||||
-fPIC \
|
||||
-Wl,-soname,libpipecolors.so.0.1
|
||||
-Wl,-soname,libpipecolors.so.0.1 \
|
||||
-ltermcap
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
set -x
|
||||
|
||||
test -d autom4te.cache && rm -rf autom4te.cache
|
||||
test -d config && rm -rf config || exit 1
|
||||
mkdir config || exit 1
|
||||
libtoolize --install --copy || exit 1
|
||||
aclocal -I config || exit 1
|
||||
autoheader || exit 1
|
||||
|
|
|
@ -11,4 +11,4 @@ void cprintf(const char* format, ...);
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
int main(void) {
|
||||
|
||||
const char* str = "|0101|0202|0303|0404|0505|0606|0707|0808|0909|1010|1111|1212|1313|1414|1515";
|
||||
const char* name = "|01P|02i|03p|04e|05c|06ol|07o|08r|09s |10l|11i|12b|13r|14a|15r|14y |130|12.|111|07"
|
||||
const char* name = "|01P|02i|03p|04e|05c|06ol|07o|08r|09s |10l|11i|12b|13r|14a|15r|14y |130|12.|111|07";
|
||||
|
||||
cprintf("\n%s\n\n", name);
|
||||
cprintf("%s\n", str);
|
Loading…
Reference in New Issue