diff options
Diffstat (limited to 'server')
| -rwxr-xr-x | server/autobuild | 4 | ||||
| -rw-r--r-- | server/install_test.cpp | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/server/autobuild b/server/autobuild index 89a4ccd..f09790d 100755 --- a/server/autobuild +++ b/server/autobuild @@ -167,9 +167,7 @@ have_packages_installed() which make || return 1 which gcc || which cc || return 1 which g++ || which c++ || return 1 - c++ $(pkg-config --cflags poppler) -o /dev/null -E - 2>/dev/null <<EOF - #include <PDFDocEncoding.h> -EOF + c++ $(pkg-config --cflags poppler) -o /dev/null -E install_test.cpp 2>/dev/null [ $? -eq 0 ] || return 1 return 0 } >/dev/null 2>&1 diff --git a/server/install_test.cpp b/server/install_test.cpp new file mode 100644 index 0000000..d553d2b --- /dev/null +++ b/server/install_test.cpp @@ -0,0 +1,7 @@ +#include <PDFDocEncoding.h> +#include <iostream> + +int main() { + std::cout << "Hello World, pdf-tools!"; + return 0; +} |
