mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 17:39:28 +02:00
It is usual for the user to have control of CFLAGS like: CFLAGS="-O2" ./configure
13 lines
417 B
Bash
Executable File
13 lines
417 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Use: ./configure [args]
|
|
#
|
|
# where [args] are arguments passed to the scripts/configure script
|
|
#
|
|
# This script is a workaround to GNU autoconf which can't deal with having
|
|
# all of its config scripts in a different directory than the configure
|
|
# script itself. It also sets up CFLAGS without the default optimizer
|
|
# flag (-O2).
|
|
|
|
( CFLAGS=${CFLAGS:-"-g"}; export CFLAGS; cd scripts ; ./configure "$@" )
|