Mercurial > emacs
comparison configure1.in @ 3139:198e8fd690de
* config.guess: New file.
* configure.in: Use it, tentatively.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Wed, 26 May 1993 21:34:10 +0000 |
parents | e6338dd6e55f |
children | 241c63a9aaa1 |
comparison
equal
deleted
inserted
replaced
3138:80ce80f189f7 | 3139:198e8fd690de |
---|---|
271 esac | 271 esac |
272 shift | 272 shift |
273 done | 273 done |
274 | 274 |
275 if [ "${configuration}" = "" ]; then | 275 if [ "${configuration}" = "" ]; then |
276 (echo "${progname}: You must specify a configuration name as an argument." | 276 echo '- You did not tell me what kind of host system you want to configure. |
277 echo "${short_usage}") >&2 | 277 - I will attempt to guess the kind of system this is.' 1>&2 |
278 exit 1 | 278 guesssys=`echo ${progname} | sed 's/configure$/config.guess/'` |
279 fi | 279 if configuration=`${guesssys}` ; then |
280 | 280 echo "- Looks like this is a ${configuration}" 1>&2 |
281 else | |
282 echo '- Failed to guess the system type. You need to tell me.' 1>&2 | |
283 echo "${short_usage}") >&2 | |
284 exit 1 | |
285 fi | |
286 fi | |
281 | 287 |
282 #### Decide where the source is. | 288 #### Decide where the source is. |
283 case "${srcdir}" in | 289 case "${srcdir}" in |
284 | 290 |
285 ## If it's not specified, see if `.' or `..' might work. | 291 ## If it's not specified, see if `.' or `..' might work. |