106 fi |
109 fi |
107 if [ -z $SBINDIR ]; then |
110 if [ -z $SBINDIR ]; then |
108 SBINDIR=$EPREFIX/sbin |
111 SBINDIR=$EPREFIX/sbin |
109 fi |
112 fi |
110 if [ -z $LIBDIR ]; then |
113 if [ -z $LIBDIR ]; then |
111 LIBDIRDIR=$EPREFIX/lib |
114 LIBDIR=$EPREFIX/lib |
112 fi |
115 fi |
113 if [ -z $LIBEXEC ]; then |
116 if [ -z $LIBEXEC ]; then |
114 LIBExECDIR=$EPREFIX/libexec |
117 LIBEXECDIR=$EPREFIX/libexec |
115 fi |
118 fi |
116 if [ -z $DATADIR ]; then |
119 if [ -z $DATADIR ]; then |
117 DATADIR=$PREFIX/share |
120 DATADIR=$PREFIX/share |
118 fi |
121 fi |
119 if [ -z $SYSCONFDIR]; then |
122 if [ -z $SYSCONFDIR]; then |
187 # generate config.mk and config.h |
190 # generate config.mk and config.h |
188 cat > $TEMP_DIR/config.mk << __EOF__ |
191 cat > $TEMP_DIR/config.mk << __EOF__ |
189 # |
192 # |
190 # config.mk generated by configure |
193 # config.mk generated by configure |
191 # |
194 # |
|
195 |
|
196 # general vars |
|
197 HOST=$HOST |
|
198 INSTALL_DIR=$INSTALL_DIR |
|
199 PREFIX=$PREFIX |
|
200 |
|
201 EPREFIX=$EPREFIX |
|
202 |
|
203 BINDIR=$BINDIR |
|
204 SBINDIR=$SBINDIR |
|
205 LIBDIR=$LIBDIR |
|
206 LIBEXECDIR=$LIBEXECDIR |
|
207 DATADIR=$DATADIR |
|
208 SYSCONFDIR=$SYSCONFDIR |
|
209 SHAREDSTATEDIR=$SHAREDSTATEDIR |
|
210 LOCALSTATEDIR=$LOCALSTATEDIR |
|
211 INCLUDEDIR=$INCLUDEDIR |
|
212 INFODIR=$INFODIR |
|
213 MANDIR=$MANDIR |
|
214 |
192 __EOF__ |
215 __EOF__ |
193 |
216 |
194 echo > $TEMP_DIR/make.mk |
217 echo > $TEMP_DIR/make.mk |
195 |
218 |
196 ENV_CFLAGS=$CFLAGS |
219 ENV_CFLAGS=$CFLAGS |