aboutsummaryrefslogtreecommitdiffstats
path: root/XLIBS.c
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-09-13 10:08:35 +0200
committerBert <ber.t@gmx.com>2011-09-13 10:08:35 +0200
commit81cfbf171dfd11c6f8a4d277159ee077b5ca0255 (patch)
treec971f0309dd388985cab2a94f3a7fb3452318400 /XLIBS.c
parent255dd5bbcda9de790e543ef8c658cfab942ab71f (diff)
downloadnsxiv-81cfbf171dfd11c6f8a4d277159ee077b5ca0255.tar.zst
Renamed XLIBS to config, added -D/-l options
Diffstat (limited to 'XLIBS.c')
-rw-r--r--XLIBS.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/XLIBS.c b/XLIBS.c
deleted file mode 100644
index 14dc1e1..0000000
--- a/XLIBS.c
+++ /dev/null
@@ -1,23 +0,0 @@
-#define _POSIX_C_SOURCE 200112L
-#define _FEATURE_CONFIG
-
-#include <stdio.h>
-
-#include "config.h"
-
-int n = 0;
-
-inline void put_lib_flag(const char *flag, int needed) {
- if (needed)
- printf("%s%s", n++ ? " " : "", flag);
-}
-
-int main(int argc, char **argv) {
- put_lib_flag("-lexif", EXIF_SUPPORT);
- put_lib_flag("-lgif", GIF_SUPPORT);
-
- if (n)
- printf("\n");
-
- return 0;
-}