mirror of https://github.com/qpdf/qpdf.git
notes, setlinebuf
git-svn-id: svn+q:///qpdf/trunk@837 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
parent
b477b36590
commit
cd32c70b65
|
@ -25,6 +25,13 @@ cygwin, though it's possible that it could be made to work with gcc
|
|||
From your MSYS prompt, run
|
||||
|
||||
./configure --disable-test-compare-images --enable-build-external-libs --with-buildrules=mingw
|
||||
|
||||
or
|
||||
|
||||
./config-mingw
|
||||
|
||||
and then
|
||||
|
||||
make
|
||||
|
||||
Add the absolute path to the libqpdf/build directory to your PATH.
|
||||
|
@ -52,6 +59,13 @@ shell.
|
|||
Configure as follows:
|
||||
|
||||
CC=cl CXX="cl /TP /GR" CPPFLAGS=-DHAVE_VSNPRINTF ./configure --disable-test-compare-images --enable-build-external-libs --with-buildrules=msvc
|
||||
|
||||
or
|
||||
|
||||
./config-msvc
|
||||
|
||||
and then
|
||||
|
||||
make
|
||||
|
||||
The -DHAVE_VSNPRINTF is really only required for things that include
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
./configure --disable-test-compare-images --enable-build-external-libs --with-buildrules=mingw
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
CC=cl CXX="cl /TP /GR" CPPFLAGS=-DHAVE_VSNPRINTF ./configure --disable-test-compare-images --enable-build-external-libs --with-buildrules=msvc
|
|
@ -534,7 +534,7 @@ parse_encrypt_options(
|
|||
int main(int argc, char* argv[])
|
||||
{
|
||||
whoami = QUtil::getWhoami(argv[0]);
|
||||
setlinebuf(stdout);
|
||||
setvbuf(stdout, (char *) NULL, _IOLBF, 0);
|
||||
|
||||
// For libtool's sake....
|
||||
if (strncmp(whoami, "lt-", 3) == 0)
|
||||
|
|
|
@ -320,7 +320,7 @@ void runtest(int n, char const* filename)
|
|||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
setlinebuf(stdout);
|
||||
setvbuf(stdout, (char *) NULL, _IOLBF, 0);
|
||||
if ((whoami = strrchr(argv[0], '/')) == NULL)
|
||||
{
|
||||
whoami = argv[0];
|
||||
|
|
Loading…
Reference in New Issue