#! /bin/sh
#
# Use this template to create standar configuration shells.
# Apppend the configuration string with using >> redirection to the newly chosen
# shell name. Replace at the appropriate places litterals with the shell used
# variables, all starting with 'cfg'
#
# IMPORTANT: Do NOT forget to replace the single quote by a double quote or the
# substitition of the variables is not executed.
#
# Version 1.0	110505	Initial version
#
cfgHW_PLATFORM=`uname -i`

case $cfgHW_PLATFORM in
  x86_64)
    cfgLIBDIR=lib64
    cfgINTSIZE=64
    cfgEXTROPT=""
  ;;
  i386)
    cfgLIBDIR=lib
    cfgINTSIZE=32
    cfgEXTROPT=""
  ;;
  *)
    echo "**** Hardware platfrom not supported ****"
    exit 1
esac
##########################################################
#### INSERT/APPEND CONFIGURATION COMMAND(S) BELOW     ####
#### LEAVE THESE LINES INTACT FOR AUTOMATIC UPDATES!! ####
##########################################################

./configure --prefix=/usr --libdir=/usr/$cfgLIBDIR --disable-static --enable-ltdl-install CFLAGS="-O3 -march=native" CXXFLAGS="-O3 -march=native" FCFLAGS="-O3 -march=native"
