summaryrefslogtreecommitdiff
path: root/server/configure.ac
AgeCommit message (Collapse)Author
2025-12-28fix(server): replace tempnam with mkstemp/_tempnamJimmy Yuen Ho Wong
Use platform-appropriate temp file creation: - _tempnam() on Windows (Microsoft-recommended) - mkstemp() on Unix-like systems Fixes #110, addresses #316 Supersedes #235
2025-12-28feat(server): add MSYS2 UCRT64 environment supportSundaram Ramaswamy
Support the newer UCRT64 MSYS2 environment (recommended default per msys2.org). - Add UCRT64 detection to server/autobuild - Fix vasprintf implicit declaration error on Windows (synctex_parser.c) - Update configure.ac for Windows compatibility Fixes #282, #286 Supersedes #295 Tested by multiple users on Windows 10/11 with MSYS2. Co-authored-by: legends2k
2022-08-23Revert "synctex_parser: fix vasprintf() not exists in non-GNU environment ↵Vedang Manerikar
(#134)" This reverts commit bea5ddb9fc234b48db6df3dcb66d75e76bec00c8 because `pdf-tools` compilation is broken. Closes: #141 Reopens: #134
2022-08-22synctex_parser: fix vasprintf() not exists in non-GNU environment (#134)lin.sun
The vasprintf() is a GNU extension function, missed in non-GNU build environment, so we define it. Without this change, there will have error message when we build with clang: ``` ./autogen.sh ./configure CC=clang make ``` We will get errors: ``` synctex_parser.c:8448:13: error: call to undeclared function 'vasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (vasprintf(&buffer, format, va) < 0) { ``` This change fixes the problem.
2022-05-21Remove usage of all private poppler headers in pdf-toolsPi-Cla
This commit also removes C++ entirely, as it is not needed anymore for correct compilation of `epdfinfo`. The following changes are made: - Remove private headers from all the server code. This involves: - Replace private header functionality with the correct public functions provided by poppler. - Remove unneeded headers around date checks - Delete dead-code (headers, m4 macros) - Remove C++, g++ and similar aliases from all the code. Also: - Remove related information from the README - Remove related information from CI and Dockerfiles Work done by: @Pi-Cla Closes: #105, #103, #109, #114
2019-11-26Fix typosDamien Cassou
Typos found with codespell.
2018-12-21Update versionAndreas Politz
2017-10-13Link against shlwapi on windows systemsAndreas Politz
2017-10-07Add automake conditional detecting msys2 systemsAndreas Politz
2017-09-12Bump version to 0.90Andreas Politz
2017-09-10New release (v0.80)v0.800.80Andreas Politz
2017-09-06Use ansi-stdio when compiling on msys2Andreas Politz
2017-09-05Compile with --std=c++11 if available.Andreas Politz
Recent poppler versions seem to require it, on the other hand llvm c++ defaults to some ancient standard.
2017-03-03Reformat c-source macro to not mess up Emacs sexp handlingAndreas Politz
2017-03-01Delete trailing whitespaceAndreas Politz
2016-02-26Enable building under WindowsLars Ljung
Added some functions missing in Windows. Switch to binary mode on stdin and stdout to avoid line ending issues.
2015-06-02Bumped versionAndreas Politz
2015-05-03Corrected configure checkAndreas Politz
* server/configure.ac: Use proper CFLAGS when checking for error.h .
2015-04-22Fix typo.Andreas Politz
2015-04-20Build CompatibilityAndreas Politz
* server/configure.ac: Check for error.h * server/epdfinfo.h: * server/epdfinfo.c: Use result of above check. * server/autogen.sh: Use /bin/sh instead of bash.
2015-02-05Added potentially required automake macro.Andreas Politz
* server/configure.ac: Use AM_PROG_CC_C_O, which is required for automake < 1.14, when using per-target flags.
2015-02-02Use silent make rules.Andreas Politz
* server/configure.ac: Added silent-rules option. * lisp/pdf-tools.el (pdf-tools--melpa-build-server): Use V=0 flag.
2015-01-23Add melpa install code.Andreas Politz
* lisp/pdf-tools.el: (pdf-tools--melpa-build-server): Function for building the server. (pdf-tools-install): Offer to build the server. * Makefile (PACKAGE_VERSION): Hard-code duplicate version here (mh). * server/configure.ac: Dito (grh).
2015-01-21Check for ar and don't check for EMACS.Andreas Politz
* server/configure.ac:
2015-01-21Shut up make.Andreas Politz
* server/configure.ac: Add -s flag.
2015-01-21Changed built system.Andreas Politz
* test/run-tests.el (file-name-directory): Run tests on the installed package. * server/configure.ac: Get the version from the toplevel Makefile. * README.org: Adjust installation instructions. * Makefile: Don't require cask anymore. * Cask: Adjust dependencies. * .gitignore: Add package files.
2015-01-15Bumped version.Andreas Politz
* server/configure.ac:
2015-01-14Made epdfinfo build-system stand alone.Andreas Politz
* server/configure.ac: Change packagename and adopt config-files * server/Makefile.am: Make distclean git-clean.
2015-01-14Moved files.Andreas Politz