A Simple X Image Viewer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223
  1. #define _POSIX_C_SOURCE 200112L
  2. #define _FEATURE_CONFIG
  3. #include <stdio.h>
  4. #include "config.h"
  5. int n = 0;
  6. inline void put_lib_flag(const char *flag, int needed) {
  7. if (needed)
  8. printf("%s%s", n++ ? " " : "", flag);
  9. }
  10. int main(int argc, char **argv) {
  11. put_lib_flag("-lexif", EXIF_SUPPORT);
  12. put_lib_flag("-lgif", GIF_SUPPORT);
  13. if (n)
  14. printf("\n");
  15. return 0;
  16. }