summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/embryo/Makefile.am2
-rw-r--r--legacy/embryo/configure.in3
-rw-r--r--legacy/embryo/embryo-config.in59
-rw-r--r--legacy/embryo/embryo.spec.in1
4 files changed, 1 insertions, 64 deletions
diff --git a/legacy/embryo/Makefile.am b/legacy/embryo/Makefile.am
index 16a46bcd6b..6deecb4680 100644
--- a/legacy/embryo/Makefile.am
+++ b/legacy/embryo/Makefile.am
@@ -10,7 +10,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
10 embryo.spec \ 10 embryo.spec \
11 debian/changelog 11 debian/changelog
12 12
13bin_SCRIPTS = embryo-config 13bin_SCRIPTS =
14 14
15EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN embryo.c.in gendoc \ 15EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN embryo.c.in gendoc \
16 Doxyfile \ 16 Doxyfile \
diff --git a/legacy/embryo/configure.in b/legacy/embryo/configure.in
index 29cfe7c7f2..2e39aff0a1 100644
--- a/legacy/embryo/configure.in
+++ b/legacy/embryo/configure.in
@@ -85,10 +85,7 @@ include/Makefile
85src/Makefile 85src/Makefile
86src/lib/Makefile 86src/lib/Makefile
87src/bin/Makefile 87src/bin/Makefile
88embryo-config
89README 88README
90embryo.spec 89embryo.spec
91debian/changelog 90debian/changelog
92],[
93chmod +x embryo-config
94]) 91])
diff --git a/legacy/embryo/embryo-config.in b/legacy/embryo/embryo-config.in
deleted file mode 100644
index a5f9084dea..0000000000
--- a/legacy/embryo/embryo-config.in
+++ /dev/null
@@ -1,59 +0,0 @@
1#!/bin/sh
2
3prefix=@prefix@
4exec_prefix=@exec_prefix@
5exec_prefix_set=no
6
7usage="\
8Usage: embryo-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
9
10if test $# -eq 0; then
11 echo "${usage}" 1>&2
12 exit 1
13fi
14
15while test $# -gt 0; do
16 case "$1" in
17 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
18 *) optarg= ;;
19 esac
20
21 case $1 in
22 --prefix=*)
23 prefix=$optarg
24 if test $exec_prefix_set = no ; then
25 exec_prefix=$optarg
26 fi
27 ;;
28 --prefix)
29 echo $prefix
30 ;;
31 --exec-prefix=*)
32 exec_prefix=$optarg
33 exec_prefix_set=yes
34 ;;
35 --exec-prefix)
36 echo $exec_prefix
37 ;;
38 --version)
39 echo @VERSION@
40 ;;
41 --cflags)
42 if test @prefix@/include != /usr/include ; then
43 includes="-I@prefix@/include"
44 fi
45 echo $includes
46 ;;
47 --libs)
48 libdirs=-L@libdir@
49 echo $libdirs -lembryo -lm
50 ;;
51 *)
52 echo "${usage}" 1>&2
53 exit 1
54 ;;
55 esac
56 shift
57done
58
59exit 0
diff --git a/legacy/embryo/embryo.spec.in b/legacy/embryo/embryo.spec.in
index 8b64c78d07..140d4d3103 100644
--- a/legacy/embryo/embryo.spec.in
+++ b/legacy/embryo/embryo.spec.in
@@ -69,7 +69,6 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
69%{_libdir}/*.so 69%{_libdir}/*.so
70%{_libdir}/*.la 70%{_libdir}/*.la
71%{_libdir}/*.a 71%{_libdir}/*.a
72%{_bindir}/embryo-config
73%{_libdir}/pkgconfig/* 72%{_libdir}/pkgconfig/*
74%{_includedir}/*.h 73%{_includedir}/*.h
75 74