Artifact 97aae6836bbc0a6accd25a0482906e4718c4c909656e3ce5874e34eaca5e3ca4:
- File
config.h
— part of check-in
[fcc5ac8547]
at
2014-05-15 22:13:52
on branch manualheaven
— Add (initial) Makefile and config.mk in suckless style
Based on the config.mk and Makefile from suckless's sic actually. The
config.h is as was produced from the autohell setup. I'm sure it can be
simplified and improved. The config.mk and Makefile probably aren't
far off. (user: base@atomicules.co.uk size: 2203) [more...]
0000: 2f 2a 20 63 6f 6e 66 69 67 2e 68 2e 20 20 47 65 /* config.h. Ge 0010: 6e 65 72 61 74 65 64 20 66 72 6f 6d 20 63 6f 6e nerated from con 0020: 66 69 67 2e 68 2e 69 6e 20 62 79 20 63 6f 6e 66 fig.h.in by conf 0030: 69 67 75 72 65 2e 20 20 2a 2f 0a 2f 2a 20 63 6f igure. */./* co 0040: 6e 66 69 67 2e 68 2e 69 6e 2e 20 20 47 65 6e 65 nfig.h.in. Gene 0050: 72 61 74 65 64 20 66 72 6f 6d 20 63 6f 6e 66 69 rated from confi 0060: 67 75 72 65 2e 61 63 20 62 79 20 61 75 74 6f 68 gure.ac by autoh 0070: 65 61 64 65 72 2e 20 20 2a 2f 0a 0a 2f 2a 20 44 eader. */../* D 0080: 65 66 69 6e 65 20 74 6f 20 31 20 69 66 20 79 6f efine to 1 if yo 0090: 75 20 68 61 76 65 20 74 68 65 20 60 64 72 61 6e u have the `dran 00a0: 64 34 38 27 20 66 75 6e 63 74 69 6f 6e 2e 20 2a d48' function. * 00b0: 2f 0a 23 64 65 66 69 6e 65 20 48 41 56 45 5f 44 /.#define HAVE_D 00c0: 52 41 4e 44 34 38 20 31 0a 0a 2f 2a 20 44 65 66 RAND48 1../* Def 00d0: 69 6e 65 20 74 6f 20 31 20 69 66 20 79 6f 75 20 ine to 1 if you 00e0: 68 61 76 65 20 74 68 65 20 3c 69 6e 74 74 79 70 have the <inttyp 00f0: 65 73 2e 68 3e 20 68 65 61 64 65 72 20 66 69 6c es.h> header fil 0100: 65 2e 20 2a 2f 0a 23 64 65 66 69 6e 65 20 48 41 e. */.#define HA 0110: 56 45 5f 49 4e 54 54 59 50 45 53 5f 48 20 31 0a VE_INTTYPES_H 1. 0120: 0a 2f 2a 20 44 65 66 69 6e 65 20 74 6f 20 31 20 ./* Define to 1 0130: 69 66 20 79 6f 75 20 68 61 76 65 20 74 68 65 20 if you have the 0140: 3c 6c 69 6e 75 78 2f 74 65 72 6d 69 6f 73 2e 68 <linux/termios.h 0150: 3e 20 68 65 61 64 65 72 20 66 69 6c 65 2e 20 2a > header file. * 0160: 2f 0a 2f 2a 20 23 75 6e 64 65 66 20 48 41 56 45 /./* #undef HAVE 0170: 5f 4c 49 4e 55 58 5f 54 45 52 4d 49 4f 53 5f 48 _LINUX_TERMIOS_H 0180: 20 2a 2f 0a 0a 2f 2a 20 44 65 66 69 6e 65 20 74 */../* Define t 0190: 6f 20 31 20 69 66 20 79 6f 75 20 68 61 76 65 20 o 1 if you have 01a0: 74 68 65 20 3c 6c 6f 63 61 6c 65 2e 68 3e 20 68 the <locale.h> h 01b0: 65 61 64 65 72 20 66 69 6c 65 2e 20 2a 2f 0a 23 eader file. */.# 01c0: 64 65 66 69 6e 65 20 48 41 56 45 5f 4c 4f 43 41 define HAVE_LOCA 01d0: 4c 45 5f 48 20 31 0a 0a 2f 2a 20 44 65 66 69 6e LE_H 1../* Defin 01e0: 65 20 74 6f 20 31 20 69 66 20 79 6f 75 20 68 61 e to 1 if you ha 01f0: 76 65 20 74 68 65 20 3c 6d 65 6d 6f 72 79 2e 68 ve the <memory.h 0200: 3e 20 68 65 61 64 65 72 20 66 69 6c 65 2e 20 2a > header file. * 0210: 2f 0a 23 64 65 66 69 6e 65 20 48 41 56 45 5f 4d /.#define HAVE_M 0220: 45 4d 4f 52 59 5f 48 20 31 0a 0a 2f 2a 20 44 65 EMORY_H 1../* De 0230: 66 69 6e 65 20 74 6f 20 31 20 69 66 20 79 6f 75 fine to 1 if you 0240: 20 68 61 76 65 20 74 68 65 20 3c 6e 63 75 72 73 have the <ncurs 0250: 65 73 2e 68 3e 20 68 65 61 64 65 72 20 66 69 6c es.h> header fil 0260: 65 2e 20 2a 2f 0a 2f 2a 20 23 75 6e 64 65 66 20 e. */./* #undef 0270: 48 41 56 45 5f 4e 43 55 52 53 45 53 5f 48 20 2a HAVE_NCURSES_H * 0280: 2f 0a 0a 2f 2a 20 44 65 66 69 6e 65 20 74 6f 20 /../* Define to 0290: 31 20 69 66 20 79 6f 75 20 68 61 76 65 20 74 68 1 if you have th 02a0: 65 20 3c 73 74 64 69 6e 74 2e 68 3e 20 68 65 61 e <stdint.h> hea 02b0: 64 65 72 20 66 69 6c 65 2e 20 2a 2f 0a 23 64 65 der file. */.#de 02c0: 66 69 6e 65 20 48 41 56 45 5f 53 54 44 49 4e 54 fine HAVE_STDINT 02d0: 5f 48 20 31 0a 0a 2f 2a 20 44 65 66 69 6e 65 20 _H 1../* Define 02e0: 74 6f 20 31 20 69 66 20 79 6f 75 20 68 61 76 65 to 1 if you have 02f0: 20 74 68 65 20 3c 73 74 64 6c 69 62 2e 68 3e 20 the <stdlib.h> 0300: 68 65 61 64 65 72 20 66 69 6c 65 2e 20 2a 2f 0a header file. */. 0310: 23 64 65 66 69 6e 65 20 48 41 56 45 5f 53 54 44 #define HAVE_STD 0320: 4c 49 42 5f 48 20 31 0a 0a 2f 2a 20 44 65 66 69 LIB_H 1../* Defi 0330: 6e 65 20 74 6f 20 31 20 69 66 20 79 6f 75 20 68 ne to 1 if you h 0340: 61 76 65 20 74 68 65 20 3c 73 74 72 69 6e 67 73 ave the <strings 0350: 2e 68 3e 20 68 65 61 64 65 72 20 66 69 6c 65 2e .h> header file. 0360: 20 2a 2f 0a 23 64 65 66 69 6e 65 20 48 41 56 45 */.#define HAVE 0370: 5f 53 54 52 49 4e 47 53 5f 48 20 31 0a 0a 2f 2a _STRINGS_H 1../* 0380: 20 44 65 66 69 6e 65 20 74 6f 20 31 20 69 66 20 Define to 1 if 0390: 79 6f 75 20 68 61 76 65 20 74 68 65 20 3c 73 74 you have the <st 03a0: 72 69 6e 67 2e 68 3e 20 68 65 61 64 65 72 20 66 ring.h> header f 03b0: 69 6c 65 2e 20 2a 2f 0a 23 64 65 66 69 6e 65 20 ile. */.#define 03c0: 48 41 56 45 5f 53 54 52 49 4e 47 5f 48 20 31 0a HAVE_STRING_H 1. 03d0: 0a 2f 2a 20 44 65 66 69 6e 65 20 74 6f 20 31 20 ./* Define to 1 03e0: 69 66 20 79 6f 75 20 68 61 76 65 20 74 68 65 20 if you have the 03f0: 3c 73 79 73 2f 69 6f 63 74 6c 2e 68 3e 20 68 65 <sys/ioctl.h> he 0400: 61 64 65 72 20 66 69 6c 65 2e 20 2a 2f 0a 23 64 ader file. */.#d 0410: 65 66 69 6e 65 20 48 41 56 45 5f 53 59 53 5f 49 efine HAVE_SYS_I 0420: 4f 43 54 4c 5f 48 20 31 0a 0a 2f 2a 20 44 65 66 OCTL_H 1../* Def 0430: 69 6e 65 20 74 6f 20 31 20 69 66 20 79 6f 75 20 ine to 1 if you 0440: 68 61 76 65 20 74 68 65 20 3c 73 79 73 2f 73 74 have the <sys/st 0450: 61 74 2e 68 3e 20 68 65 61 64 65 72 20 66 69 6c at.h> header fil 0460: 65 2e 20 2a 2f 0a 23 64 65 66 69 6e 65 20 48 41 e. */.#define HA 0470: 56 45 5f 53 59 53 5f 53 54 41 54 5f 48 20 31 0a VE_SYS_STAT_H 1. 0480: 0a 2f 2a 20 44 65 66 69 6e 65 20 74 6f 20 31 20 ./* Define to 1 0490: 69 66 20 79 6f 75 20 68 61 76 65 20 74 68 65 20 if you have the 04a0: 3c 73 79 73 2f 74 79 70 65 73 2e 68 3e 20 68 65 <sys/types.h> he 04b0: 61 64 65 72 20 66 69 6c 65 2e 20 2a 2f 0a 23 64 ader file. */.#d 04c0: 65 66 69 6e 65 20 48 41 56 45 5f 53 59 53 5f 54 efine HAVE_SYS_T 04d0: 59 50 45 53 5f 48 20 31 0a 0a 2f 2a 20 44 65 66 YPES_H 1../* Def 04e0: 69 6e 65 20 74 6f 20 31 20 69 66 20 79 6f 75 20 ine to 1 if you 04f0: 68 61 76 65 20 74 68 65 20 3c 74 65 72 6d 69 6f have the <termio 0500: 73 2e 68 3e 20 68 65 61 64 65 72 20 66 69 6c 65 s.h> header file 0510: 2e 20 2a 2f 0a 23 64 65 66 69 6e 65 20 48 41 56 . */.#define HAV 0520: 45 5f 54 45 52 4d 49 4f 53 5f 48 20 31 0a 0a 2f E_TERMIOS_H 1../ 0530: 2a 20 44 65 66 69 6e 65 20 74 6f 20 31 20 69 66 * Define to 1 if 0540: 20 79 6f 75 20 68 61 76 65 20 74 68 65 20 3c 75 you have the <u 0550: 6e 69 73 74 64 2e 68 3e 20 68 65 61 64 65 72 20 nistd.h> header 0560: 66 69 6c 65 2e 20 2a 2f 0a 23 64 65 66 69 6e 65 file. */.#define 0570: 20 48 41 56 45 5f 55 4e 49 53 54 44 5f 48 20 31 HAVE_UNISTD_H 1 0580: 0a 0a 2f 2a 20 4e 61 6d 65 20 6f 66 20 70 61 63 ../* Name of pac 0590: 6b 61 67 65 20 2a 2f 0a 23 64 65 66 69 6e 65 20 kage */.#define 05a0: 50 41 43 4b 41 47 45 20 22 70 77 6d 61 6e 22 0a PACKAGE "pwman". 05b0: 0a 2f 2a 20 44 65 66 69 6e 65 20 74 6f 20 74 68 ./* Define to th 05c0: 65 20 61 64 64 72 65 73 73 20 77 68 65 72 65 20 e address where 05d0: 62 75 67 20 72 65 70 6f 72 74 73 20 66 6f 72 20 bug reports for 05e0: 74 68 69 73 20 70 61 63 6b 61 67 65 20 73 68 6f this package sho 05f0: 75 6c 64 20 62 65 20 73 65 6e 74 2e 20 2a 2f 0a uld be sent. */. 0600: 23 64 65 66 69 6e 65 20 50 41 43 4b 41 47 45 5f #define PACKAGE_ 0610: 42 55 47 52 45 50 4f 52 54 20 22 22 0a 0a 2f 2a BUGREPORT ""../* 0620: 20 44 65 66 69 6e 65 20 74 6f 20 74 68 65 20 66 Define to the f 0630: 75 6c 6c 20 6e 61 6d 65 20 6f 66 20 74 68 69 73 ull name of this 0640: 20 70 61 63 6b 61 67 65 2e 20 2a 2f 0a 23 64 65 package. */.#de 0650: 66 69 6e 65 20 50 41 43 4b 41 47 45 5f 4e 41 4d fine PACKAGE_NAM 0660: 45 20 22 70 77 6d 61 6e 22 0a 0a 2f 2a 20 44 65 E "pwman"../* De 0670: 66 69 6e 65 20 74 6f 20 74 68 65 20 66 75 6c 6c fine to the full 0680: 20 6e 61 6d 65 20 61 6e 64 20 76 65 72 73 69 6f name and versio 0690: 6e 20 6f 66 20 74 68 69 73 20 70 61 63 6b 61 67 n of this packag 06a0: 65 2e 20 2a 2f 0a 23 64 65 66 69 6e 65 20 50 41 e. */.#define PA 06b0: 43 4b 41 47 45 5f 53 54 52 49 4e 47 20 22 70 77 CKAGE_STRING "pw 06c0: 6d 61 6e 20 30 2e 34 2e 34 22 0a 0a 2f 2a 20 44 man 0.4.4"../* D 06d0: 65 66 69 6e 65 20 74 6f 20 74 68 65 20 6f 6e 65 efine to the one 06e0: 20 73 79 6d 62 6f 6c 20 73 68 6f 72 74 20 6e 61 symbol short na 06f0: 6d 65 20 6f 66 20 74 68 69 73 20 70 61 63 6b 61 me of this packa 0700: 67 65 2e 20 2a 2f 0a 23 64 65 66 69 6e 65 20 50 ge. */.#define P 0710: 41 43 4b 41 47 45 5f 54 41 52 4e 41 4d 45 20 22 ACKAGE_TARNAME " 0720: 70 77 6d 61 6e 22 0a 0a 2f 2a 20 44 65 66 69 6e pwman"../* Defin 0730: 65 20 74 6f 20 74 68 65 20 68 6f 6d 65 20 70 61 e to the home pa 0740: 67 65 20 66 6f 72 20 74 68 69 73 20 70 61 63 6b ge for this pack 0750: 61 67 65 2e 20 2a 2f 0a 23 64 65 66 69 6e 65 20 age. */.#define 0760: 50 41 43 4b 41 47 45 5f 55 52 4c 20 22 22 0a 0a PACKAGE_URL "".. 0770: 2f 2a 20 44 65 66 69 6e 65 20 74 6f 20 74 68 65 /* Define to the 0780: 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 69 73 version of this 0790: 20 70 61 63 6b 61 67 65 2e 20 2a 2f 0a 23 64 65 package. */.#de 07a0: 66 69 6e 65 20 50 41 43 4b 41 47 45 5f 56 45 52 fine PACKAGE_VER 07b0: 53 49 4f 4e 20 22 30 2e 34 2e 34 22 0a 0a 2f 2a SION "0.4.4"../* 07c0: 20 44 65 66 69 6e 65 20 74 6f 20 31 20 69 66 20 Define to 1 if 07d0: 79 6f 75 20 68 61 76 65 20 74 68 65 20 41 4e 53 you have the ANS 07e0: 49 20 43 20 68 65 61 64 65 72 20 66 69 6c 65 73 I C header files 07f0: 2e 20 2a 2f 0a 23 64 65 66 69 6e 65 20 53 54 44 . */.#define STD 0800: 43 5f 48 45 41 44 45 52 53 20 31 0a 0a 2f 2a 20 C_HEADERS 1../* 0810: 56 65 72 73 69 6f 6e 20 6e 75 6d 62 65 72 20 6f Version number o 0820: 66 20 70 61 63 6b 61 67 65 20 2a 2f 0a 23 64 65 f package */.#de 0830: 66 69 6e 65 20 56 45 52 53 49 4f 4e 20 22 30 2e fine VERSION "0. 0840: 34 2e 34 22 0a 0a 2f 2a 20 44 65 66 69 6e 65 20 4.4"../* Define 0850: 74 6f 20 60 75 6e 73 69 67 6e 65 64 20 69 6e 74 to `unsigned int 0860: 27 20 69 66 20 3c 73 79 73 2f 74 79 70 65 73 2e ' if <sys/types. 0870: 68 3e 20 64 6f 65 73 20 6e 6f 74 20 64 65 66 69 h> does not defi 0880: 6e 65 2e 20 2a 2f 0a 2f 2a 20 23 75 6e 64 65 66 ne. */./* #undef 0890: 20 73 69 7a 65 5f 74 20 2a 2f 0a size_t */.