From 3950ffe2a485479f6561c27364d3d7df5a21d124 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 24 Jun 2012 22:28:35 +0000 Subject: Imported Upstream version 93u+ --- src/lib/libast/features/prog | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/lib/libast/features/prog (limited to 'src/lib/libast/features/prog') diff --git a/src/lib/libast/features/prog b/src/lib/libast/features/prog new file mode 100644 index 0000000..365ce88 --- /dev/null +++ b/src/lib/libast/features/prog @@ -0,0 +1,12 @@ +lib getexecname,_NSGetExecutablePath + +tst run{ + for p in /proc/self/exe /proc/self/path/a.out + do if test -e $p + then echo "#define _PROC_PROG \"$p\"" + break + fi + done +}end + +_hdr_macho_o_dyld = hdr mach-o/dyld -- cgit v1.2.3