by most Unix platforms, but not all.
(this also makes the code consistent with usage everywhere else in the CUPS
code base)
Fixes: 388
- Updated the configure script to look for the OpenSSL library the old way if
pkg-config is not available (Issue #375)
- Fixed the prototype for the `httpWriteResponse` function (Issue #380)
+- Brought back minimal AIX support (Issue #389)
- `cupsGetResponse` did not always set the last error.
- Fixed a number of old references to the Apple CUPS web page.
- Restored the default/generic printer icon file for the web interface.
DSOXX="\$(CXX)"
DSOFLAGS="$DSOFLAGS -Wl,-no_warn_inits -dynamiclib -single_module -lc"
;; #(
+ aix*) :
+
+ LIBCUPS="lib$cupsbase.so.2"
+ if test "x$cupsimagebase" != x
+then :
+
+ LIBCUPSIMAGE="lib$cupsimagebase.so.2"
+
+fi
+ DSO="\$(CC)"
+ DSOXX="\$(CXX)"
+ DSOFLAGS="$DSOFLAGS -Wl,-G -o \`basename \$@\`
+ LDFLAGS="$LDFLAGS $TLSFLAGS -liconv -lz -lm"
+ ;; #(
*) :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Warning: Shared libraries may not work, trying -shared option." >&5
#endif /* !CUPS_LITE */
#include <limits.h>
+#include <fcntl.h>
#include <sys/stat.h>
#ifdef _WIN32
-# include <fcntl.h>
# include <io.h>
# include <process.h>
# define WEXITSTATUS(s) (s)
extern char **environ;
# include <spawn.h>
-# include <sys/fcntl.h>
# include <sys/wait.h>
# include <poll.h>
#endif /* _WIN32 */