hack_fakeautoconf.sh (n2n-3.0) | : | hack_fakeautoconf.sh (n2n-3.1.1) | ||
---|---|---|---|---|
#!/bin/sh | #!/bin/sh | |||
# | # | |||
# Specifically for windows, where installing autoconf looks suspiciously | # Specifically for windows, where installing autoconf looks suspiciously | |||
# like boiling the ocean. | # like boiling the ocean. | |||
sed \ | sed \ | |||
-e "s%@N2N_VERSION_SHORT@%FIXME%g" \ | ||||
-e "s%@GIT_COMMITS@%FIXME%g" \ | ||||
-e "s%@CC@%gcc%g" \ | -e "s%@CC@%gcc%g" \ | |||
-e "s%@AR@%ar%g" \ | -e "s%@AR@%ar%g" \ | |||
-e "s%@CFLAGS@%$CFLAGS%g" \ | -e "s%@CFLAGS@%$CFLAGS%g" \ | |||
-e "s%@LDFLAGS@%$LDFLAGS%g" \ | -e "s%@LDFLAGS@%$LDFLAGS%g" \ | |||
-e "s%@N2N_LIBS@%$LDLIBS%g" \ | -e "s%@N2N_LIBS@%$LDLIBS%g" \ | |||
< Makefile.in > Makefile | < Makefile.in > Makefile | |||
sed \ | sed \ | |||
-e "s%@ADDITIONAL_TOOLS@%%g" \ | -e "s%@ADDITIONAL_TOOLS@%%g" \ | |||
< tools/Makefile.in > tools/Makefile | < tools/Makefile.in > tools/Makefile | |||
cat <<EOF >include/config.h | cat <<EOF >include/config.h | |||
#define PACKAGE_VERSION "FIXME" | #define PACKAGE_VERSION "FIXME" | |||
#define PACKAGE_OSNAME "FIXME" | #define PACKAGE_OSNAME "FIXME" | |||
#define GIT_RELEASE "FIXME" | ||||
EOF | EOF | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 0 lines changed or added |