Find ld in the PATH when make_ld_r_object is called
[striptease.git] / version.c
blob1cdf0de7e114bea58655ca0a000f99814fdde1a3
1 extern const char apple_version[];
2 #ifndef PROGRAMNAME
3 #define PROGRAMNAME striptease
4 #endif
5 #define STRINGIZE_PN2(x) #x
6 #define STRINGIZE_PN(x) STRINGIZE_PN2(x)
7 #if defined(__ppc64__)
8 #define ARCHNAME " (ppc64)"
9 #elif defined(__x86_64__)
10 #define ARCHNAME " (x86_64)"
11 #elif defined(__ppc__)
12 #define ARCHNAME " (ppc)"
13 #elif defined(__i386__)
14 #define ARCHNAME " (i386)"
15 #elif defined(__arm__)
16 #define ARCHNAME " (arm)"
17 #else
18 #define ARCHNAME
19 #endif
20 #ifdef CCTOOLSVER
21 #define CCTOOLSVERSTR "-"STRINGIZE_PN(CCTOOLSVER)
22 #else
23 #define CCTOOLSVERSTR
24 #endif
25 __attribute__((__used__)) const char apple_version[] =
26 /* Create a string that is compatible with both the ident and what programs */
27 "@(#)$PROGRAM: " STRINGIZE_PN(PROGRAMNAME) ARCHNAME
28 " PROJECT: cctools"CCTOOLSVERSTR" http://mackyle.github.com/striptease $"